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

« back to all changes in this revision

Viewing changes to com/sun/electric/tool/user/ui/InvisibleLayerConfiguration.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:
54
54
        private Map<String,String> configurations;
55
55
        private Pref savedConfigurations;
56
56
 
57
 
        /**
 
57
    public static int NumConfigs = 13;
 
58
 
 
59
    /**
58
60
         * Constructor gets the saved configurations from the Preferences.
59
61
         */
60
62
        private InvisibleLayerConfiguration()
63
65
                Pref.Group prefs = Pref.groupForPackage(InvisibleLayerConfiguration.class);
64
66
                savedConfigurations = Pref.makeStringPref("LayerVisibilityConfigurations", prefs, "");
65
67
                String sc = savedConfigurations.getString();
66
 
                boolean [] overridden = new boolean[10];
 
68
                boolean [] overridden = new boolean[13];
67
69
                for(;;)
68
70
                {
69
71
                        int openPos = sc.indexOf('[');
84
86
                        }
85
87
                        configurations.put(cName, con);
86
88
                }
87
 
                for(int i=0; i<10; i++)
 
89
                for(int i=0; i<13; i++)
88
90
                {
89
91
                        if (overridden[i]) continue;
90
92
                        String menuName = getDefaultHardwiredName(i);