1    import javax.swing.*;
2    import java.awt.event.*;
3    import java.awt.*;
4    import java.util.*;
5    
6    public class PrefLayer extends PrefDef {
7    
8      private static final long serialVersionUID = Version.getSUID();
9    
10     public PrefLayer() {
11       name = name+"Layers";
12       defname = "layer";
13     }
14   
15     public PrefLayer(Carto target) {
16       super(target);
17       name = "Layers";         //don't use file name - it could change.
18       defname = "layer";
19     }
20   
21     // Delete when debuged
22   //  public void newPane() {
23   //    pane.add(new JLabel("This page not yet completely functional"));
24   //    super.newPane();
25   //  }
26   
27   
28     public Class getDefClass() {
29       return(Layer.class);
30     }
31   
32     public FileDefaultable makeDef(JFrame owner,String newname) {
33       return((FileDefaultable)new LayerList(newname));
34     }
35   
36   }
37   
38   
39   
40   
41