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

« back to all changes in this revision

Viewing changes to com/sun/electric/tool/Tool.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:
33
33
import com.sun.electric.tool.erc.ERC;
34
34
import com.sun.electric.tool.io.IOTool;
35
35
import com.sun.electric.tool.logicaleffort.LETool;
 
36
import com.sun.electric.tool.placement.Placement;
36
37
import com.sun.electric.tool.project.Project;
37
38
import com.sun.electric.tool.routing.Routing;
38
39
import com.sun.electric.tool.sc.SilComp;
118
119
        }
119
120
 
120
121
        /**
121
 
         * This is called once, at the start of Electric, to initialize the Tools.
 
122
         * Method called once, at the start of Electric, to initialize the Tools.
122
123
         * Because of Java's "lazy evaluation", the only way to force the Tool constructors to fire
123
124
         * and build a proper list of Tools, each class must somehow be referenced.
124
 
         * So, each Tool is listed here.  If a new Tool is created, this must be updated.
 
125
         * So, each Tool is listed here.  If a new Tool is created, this method must be updated.
 
126
         * New tools should also be added to com.sun.electric.tool.ToolSettings.java
125
127
         */
126
128
        public static void initAllTools()
127
129
        {
134
136
        LETool.getLETool().init();
135
137
                NetworkTool.getNetworkTool().init();
136
138
        ParasiticTool.getParasiticTool().init();
 
139
                Placement.getPlacementTool().init();
137
140
        Project.getProjectTool().init();
138
141
        Routing.getRoutingTool().init();
139
142
        SilComp.getSilCompTool().init();
348
351
        }
349
352
 
350
353
        /**
351
 
         * Class for scheduling a wiring task.
 
354
         * Class for setting a variable in a new Job.
352
355
         */
353
356
        private static class SetVarJob extends Job
354
357
        {
355
 
                ElectricObject obj;
356
 
                Variable.Key key;
357
 
                Object newVal;
 
358
                private ElectricObject obj;
 
359
                private Variable.Key key;
 
360
                private Object newVal;
358
361
 
359
362
                protected SetVarJob(Tool tool, ElectricObject obj, Variable.Key key, Object newVal)
360
363
                {