~ubuntu-branches/ubuntu/maverick/electric/maverick

« back to all changes in this revision

Viewing changes to com/sun/electric/tool/io/IOTool.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:
25
25
 
26
26
import com.sun.electric.database.hierarchy.Cell;
27
27
import com.sun.electric.database.hierarchy.Library;
 
28
import com.sun.electric.database.id.CellId;
28
29
import com.sun.electric.database.text.Pref;
29
30
import com.sun.electric.database.text.Setting;
30
31
import com.sun.electric.database.text.TextUtils;
39
40
 
40
41
import java.lang.reflect.Method;
41
42
import java.net.URL;
 
43
import java.util.BitSet;
42
44
import java.util.Date;
43
45
import java.util.Map;
44
46
 
230
232
                        readConnectivity = IOTool.isDaisReadConnectivity();
231
233
                }
232
234
 
233
 
        public Library doInput(URL fileURL, Library lib, Technology tech, Map<Library,Cell> currentCells, Job job)
 
235
        @Override
 
236
        public Library doInput(URL fileURL, Library lib, Technology tech, Map<Library,Cell> currentCells, Map<CellId,BitSet> nodesToExpand, Job job)
234
237
        {
235
238
                if (!hasDais()) return null;
236
239
                try
593
596
         */
594
597
        public static Setting getGDSInputScaleSetting() { return ToolSettings.getGDSInputScaleSetting(); }
595
598
 
596
 
        private static Pref cacheGDSInMergesBoxes = Pref.makeBooleanPref("GDSInMergesBoxes", IOTool.tool.prefs, false);
 
599
    /**
 
600
         * Method to tell the scale to be applied when writing GDS.
 
601
         * The default is 1 (no scaling).
 
602
         * @return the scale to be applied when writing GDS.
 
603
         */
 
604
        public static double getGDSOutputScale() { return getGDSOutputScaleSetting().getDouble(); }
 
605
        /**
 
606
         * Method to set the scale to be applied when writing GDS.
 
607
         * @return the scale to be applied when writing GDS.
 
608
         */
 
609
        public static Setting getGDSOutputScaleSetting() { return ToolSettings.getGDSOutputScaleSetting(); }
 
610
 
 
611
    private static Pref cacheGDSInMergesBoxes = Pref.makeBooleanPref("GDSInMergesBoxes", IOTool.tool.prefs, false);
597
612
        /**
598
613
         * Method to tell whether GDS Input merges boxes into complex polygons.
599
614
         * This takes more time but produces a smaller database.
790
805
         */
791
806
        public static int getFactoryGDSArraySimplification() { return cacheGDSArraySimplification.getIntFactoryValue(); }
792
807
 
 
808
        private static Pref cacheGDSCadenceCompatibility = Pref.makeBooleanPref("GDSCadenceCompatibility", IOTool.tool.prefs, true);
 
809
        /**
 
810
         * Method to tell whether GDS input is compatible with Cadence.
 
811
         * Cadence compatibility adjusts export locations to be centered in the geometry.
 
812
         * The default is "true".
 
813
         * @return true if GDS input is compatible with Cadence.
 
814
         */
 
815
        public static boolean isGDSCadenceCompatibility() { return cacheGDSCadenceCompatibility.getBoolean(); }
 
816
        /**
 
817
         * Method to set whether GDS input is compatible with Cadence.
 
818
         * Cadence compatibility adjusts export locations to be centered in the geometry.
 
819
         * @param c true if GDS input is compatible with Cadence.
 
820
         */
 
821
        public static void setGDSCadenceCompatibility(boolean c) { cacheGDSCadenceCompatibility.setBoolean(c); }
 
822
        /**
 
823
         * Method to tell whether GDS input is compatible with Cadence, by default.
 
824
         * Cadence compatibility adjusts export locations to be centered in the geometry.
 
825
         * @return true if GDS input is compatible with Cadence, by default.
 
826
         */
 
827
        public static boolean isFactoryGDSCadenceCompatibility() { return cacheGDSCadenceCompatibility.getBooleanFactoryValue(); }
 
828
 
793
829
    /****************************** POSTSCRIPT OUTPUT PREFERENCES ******************************/
794
830
 
795
831
        private static Pref cachePrintEncapsulated = Pref.makeBooleanPref("PostScriptEncapsulated", IOTool.tool.prefs, false);