~ubuntu-branches/ubuntu/natty/electric/natty

« back to all changes in this revision

Viewing changes to com/sun/electric/tool/user/dialogs/options/NetworkTab.java

  • Committer: Bazaar Package Importer
  • Author(s): Onkar Shinde
  • Date: 2010-01-09 16:26:04 UTC
  • mfrom: (1.1.4 upstream) (3.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100109162604-1ypvmy8ijmlc6oq7
Tags: 8.10-1
* New upstream version.
* debian/control
  - Add libjava3d-java and quilt build dependencies.
  - Update standards version to 3.8.3.
  - Add libjava3d-java as recommends to binary package.
* debian/rules
  - Use quilt patch system instead of simple patchsys.
  - Add java3d related jar files to DEB_JARS.
* debian/patches/*
  - Update as per current upstream source. Convert to quilt.
* debian/ant.properties
  - Do not disable 3D plugin anymore.
  - Use new property to disable compilation of OS X related classes.
* debian/wrappers/electric
  - Add java3d related jar files to runtime classpath.
* debian/README.source
  - Change text to the appropriate one for quilt.

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
                extractSmallestPolygonSize.setText(Double.toString(Extract.getSmallestPolygonSize()));
85
85
                extractCellPattern.setText(Extract.getCellExpandPattern());
86
86
                extractFlattenPCells.setSelected(Extract.isFlattenPcells());
 
87
                extractPureLayer.setSelected(Extract.isUsePureLayerNodes());
87
88
 
88
89
                // project preferences
89
90
                netIgnoreResistors.setSelected(getBoolean(ignoreResistorsSetting));
120
121
                nowBoolean = extractFlattenPCells.isSelected();
121
122
                if (Extract.isFlattenPcells() != nowBoolean) Extract.setFlattenPcells(nowBoolean);
122
123
 
 
124
                nowBoolean = extractPureLayer.isSelected();
 
125
                if (Extract.isUsePureLayerNodes() != nowBoolean) Extract.setUsePureLayerNodes(nowBoolean);
 
126
 
123
127
                // project preferences
124
128
        setBoolean(ignoreResistorsSetting, netIgnoreResistors.isSelected());
125
129
        setBoolean(includeDateAndVersionInOutputSetting, generalIncludeDateAndVersion.isSelected());
148
152
                        Extract.setCellExpandPattern(Extract.getFactoryCellExpandPattern());
149
153
                if (Extract.isFactoryFlattenPcells() != Extract.isFlattenPcells())
150
154
                        Extract.setFlattenPcells(Extract.isFactoryFlattenPcells());
 
155
                if (Extract.isFactoryUsePureLayerNodes() != Extract.isUsePureLayerNodes())
 
156
                        Extract.setUsePureLayerNodes(Extract.isFactoryUsePureLayerNodes());
151
157
        }
152
158
 
153
159
        /** This method is called from within the constructor to
155
161
         * WARNING: Do NOT modify this code. The content of this method is
156
162
         * always regenerated by the Form Editor.
157
163
         */
158
 
    // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
 
164
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
159
165
    private void initComponents() {
160
166
        java.awt.GridBagConstraints gridBagConstraints;
161
167
 
178
184
        extractIgnoreTiny = new javax.swing.JCheckBox();
179
185
        jLabel2 = new javax.swing.JLabel();
180
186
        extractFlattenPCells = new javax.swing.JCheckBox();
 
187
        extractPureLayer = new javax.swing.JCheckBox();
181
188
        projectSettings = new javax.swing.JPanel();
182
189
        generalIncludeDateAndVersion = new javax.swing.JCheckBox();
183
190
        netIgnoreResistors = new javax.swing.JCheckBox();
184
191
 
185
 
        getContentPane().setLayout(new java.awt.GridBagLayout());
186
 
 
187
192
        setTitle("Tool Options");
188
 
        setName("");
 
193
        setName(""); // NOI18N
189
194
        addWindowListener(new java.awt.event.WindowAdapter() {
190
195
            public void windowClosing(java.awt.event.WindowEvent evt) {
191
196
                closeDialog(evt);
192
197
            }
193
198
        });
 
199
        getContentPane().setLayout(new java.awt.GridBagLayout());
194
200
 
195
201
        preferences.setLayout(new java.awt.GridBagLayout());
196
202
 
221
227
        gridBagConstraints.insets = new java.awt.Insets(2, 4, 2, 4);
222
228
        preferences.add(netDescending, gridBagConstraints);
223
229
 
 
230
        nodeExtractionPreferences.setBorder(javax.swing.BorderFactory.createTitledBorder("Node Extraction"));
224
231
        nodeExtractionPreferences.setLayout(new java.awt.GridBagLayout());
225
232
 
226
 
        nodeExtractionPreferences.setBorder(javax.swing.BorderFactory.createTitledBorder("Node Extraction"));
227
233
        extractGridAlign.setText("Grid-align geometry before extraction");
228
234
        gridBagConstraints = new java.awt.GridBagConstraints();
229
235
        gridBagConstraints.gridx = 0;
240
246
        gridBagConstraints.gridwidth = 3;
241
247
        gridBagConstraints.insets = new java.awt.Insets(4, 4, 1, 4);
242
248
        nodeExtractionPreferences.add(jLabel1, gridBagConstraints);
243
 
 
244
249
        gridBagConstraints = new java.awt.GridBagConstraints();
245
250
        gridBagConstraints.gridx = 0;
246
251
        gridBagConstraints.gridy = 7;
254
259
        gridBagConstraints.gridx = 1;
255
260
        gridBagConstraints.gridy = 2;
256
261
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
257
 
        gridBagConstraints.insets = new java.awt.Insets(2, 1, 4, 1);
 
262
        gridBagConstraints.insets = new java.awt.Insets(2, 1, 2, 1);
258
263
        nodeExtractionPreferences.add(extractSmallestPolygonSize, gridBagConstraints);
259
264
 
260
265
        extractApproximateCuts.setText("Approximate cut placement");
266
271
        gridBagConstraints.insets = new java.awt.Insets(2, 4, 2, 4);
267
272
        nodeExtractionPreferences.add(extractApproximateCuts, gridBagConstraints);
268
273
 
 
274
        jPanel2.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Active Handling", javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.DEFAULT_POSITION));
269
275
        jPanel2.setLayout(new java.awt.GridBagLayout());
270
276
 
271
 
        jPanel2.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Active Handling", javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.DEFAULT_POSITION));
272
277
        activeHandling.add(extractNeedProperActive);
273
278
        extractNeedProperActive.setText("Require separate N and P active; require proper select/well");
274
279
        extractNeedProperActive.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
303
308
 
304
309
        gridBagConstraints = new java.awt.GridBagConstraints();
305
310
        gridBagConstraints.gridx = 0;
306
 
        gridBagConstraints.gridy = 3;
 
311
        gridBagConstraints.gridy = 4;
307
312
        gridBagConstraints.gridwidth = 3;
308
313
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 4, 2);
309
314
        nodeExtractionPreferences.add(jPanel2, gridBagConstraints);
313
318
        gridBagConstraints.gridx = 0;
314
319
        gridBagConstraints.gridy = 2;
315
320
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
316
 
        gridBagConstraints.insets = new java.awt.Insets(2, 4, 4, 1);
 
321
        gridBagConstraints.insets = new java.awt.Insets(2, 4, 2, 1);
317
322
        nodeExtractionPreferences.add(extractIgnoreTiny, gridBagConstraints);
318
323
 
319
324
        jLabel2.setText("square units");
321
326
        gridBagConstraints.gridx = 2;
322
327
        gridBagConstraints.gridy = 2;
323
328
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
324
 
        gridBagConstraints.insets = new java.awt.Insets(2, 1, 4, 4);
 
329
        gridBagConstraints.insets = new java.awt.Insets(2, 1, 2, 4);
325
330
        nodeExtractionPreferences.add(jLabel2, gridBagConstraints);
326
331
 
327
332
        extractFlattenPCells.setText("Flatten Cadence Pcells (with $$number at end of name)");
333
338
        gridBagConstraints.insets = new java.awt.Insets(2, 4, 2, 4);
334
339
        nodeExtractionPreferences.add(extractFlattenPCells, gridBagConstraints);
335
340
 
 
341
        extractPureLayer.setText("Use pure-layer nodes for connectivity");
 
342
        gridBagConstraints = new java.awt.GridBagConstraints();
 
343
        gridBagConstraints.gridx = 0;
 
344
        gridBagConstraints.gridy = 3;
 
345
        gridBagConstraints.gridwidth = 3;
 
346
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
 
347
        gridBagConstraints.insets = new java.awt.Insets(2, 4, 2, 4);
 
348
        nodeExtractionPreferences.add(extractPureLayer, gridBagConstraints);
 
349
 
336
350
        gridBagConstraints = new java.awt.GridBagConstraints();
337
351
        gridBagConstraints.gridx = 0;
338
352
        gridBagConstraints.gridy = 2;
393
407
    private javax.swing.JCheckBox extractIgnoreTiny;
394
408
    private javax.swing.JRadioButton extractIgnoreWellSelect;
395
409
    private javax.swing.JRadioButton extractNeedProperActive;
 
410
    private javax.swing.JCheckBox extractPureLayer;
396
411
    private javax.swing.JTextField extractSmallestPolygonSize;
397
412
    private javax.swing.JRadioButton extractUnifyNandP;
398
413
    private javax.swing.JCheckBox generalIncludeDateAndVersion;