Revision 38063 trunk/extensions/extWCS/src/com/iver/cit/gvsig/gui/toc/WCSPropsTocMenuEntry.java

View differences:

WCSPropsTocMenuEntry.java
53 53

  
54 54
/**
55 55
 * Changes the connection properties.
56
 * 
56
 *
57 57
 * Cambia las propiedades de la conexi?n al servidor WCS.
58
 * 
58
 *
59 59
 * @author jaume - jaume.dominguez@iver.es
60 60
 */
61 61
public class WCSPropsTocMenuEntry  extends TocMenuEntry {
......
63 63
	FLayer lyr = null;
64 64
	public void initialize(FPopupMenu m) {
65 65
		super.initialize(m);
66
		
66

  
67 67
		if (isTocItemBranch()) {
68 68
			lyr = getNodeLayer();
69 69
    		// Opciones para capas WCS
70 70
    		if ((lyr instanceof FLyrWCS)) {
71 71
    			propsMenuItem = new JMenuItem(PluginServices.getText(this, "wcs_properties"));
72 72
    			getMenu().add( propsMenuItem );
73
    			propsMenuItem.setFont(FPopupMenu.theFont);
74 73
    			getMenu().setEnabled(true);
75 74
    			//getMenu().addSeparator();
76 75
    	        //Cambio color
77
    			propsMenuItem.addActionListener(this);   			
76
    			propsMenuItem.addActionListener(this);
78 77
     		}
79 78
		}
80 79
	}
81
	
80

  
82 81
	public void actionPerformed(ActionEvent e) {
83 82
       	lyr = getNodeLayer();
84 83
       	WCSPropsDialog dialog = new WCSPropsDialog((FLyrWCS) lyr);
85
       	PluginServices.getMDIManager().addWindow(dialog);       	
84
       	PluginServices.getMDIManager().addWindow(dialog);
86 85
	}
87 86
}

Also available in: Unified diff