/[schmitzm]/trunk/src/skrueger/swing/checkboxtree/NamedVector.java
ViewVC logotype

Annotation of /trunk/src/skrueger/swing/checkboxtree/NamedVector.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 714 - (hide annotations)
Sun Feb 21 19:17:34 2010 UTC (15 years ago) by alfonx
File MIME type: text/plain
File size: 415 byte(s)
Started a new wizard to import maps and data from other GP atlases. Basically works. This included some simplifacation in the ResourceManager code. It is now a field of the specific AtlasConfig instance. 
1 alfonx 714 package skrueger.swing.checkboxtree;
2    
3     import java.util.Vector;
4    
5     public class NamedVector extends Vector {
6     String name;
7    
8     public NamedVector(String name) {
9     this.name = name;
10     }
11    
12     public NamedVector(String name, Object elements[]) {
13     this.name = name;
14     for (int i = 0, n = elements.length; i < n; i++) {
15     add(elements[i]);
16     }
17     }
18    
19     public String toString() {
20     return "[" + name + "]";
21     }
22     }

Properties

Name Value
svn:eol-style native
svn:keywords Id URL
svn:mime-type text/plain

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26