Revision 10627 trunk/extensions/extWFS2/src/com/iver/cit/gvsig/gui/toc/WFSVectorialPropsTocMenuEntry.java

View differences:

WFSVectorialPropsTocMenuEntry.java
5 5
import javax.swing.JDialog;
6 6
import javax.swing.JMenuItem;
7 7

  
8
import com.hardcode.gdbms.driver.exceptions.ReadDriverException;
8 9
import com.iver.andami.PluginServices;
9 10
import com.iver.cit.gvsig.fmap.layers.FLayer;
10 11
import com.iver.cit.gvsig.fmap.layers.FLyrVect;
......
58 59
 *
59 60
 * $Id$
60 61
 * $Log$
61
 * Revision 1.4  2006-10-02 09:09:45  jorpiell
62
 * Revision 1.5  2007-03-06 17:06:25  caballero
63
 * Exceptions
64
 *
65
 * Revision 1.4  2006/10/02 09:09:45  jorpiell
62 66
 * Cambios del 10 copiados al head
63 67
 *
64 68
 * Revision 1.2  2006/08/29 07:56:12  cesar
......
77 81
	public void initialize(FPopupMenu m) {
78 82
		super.initialize(m);
79 83
		FLayer lyr = null;
80
		if (isTocItemBranch()) {			
84
		if (isTocItemBranch()) {
81 85
			lyr = getNodeLayer();
82 86
            if ((lyr instanceof FLyrWFS)) {
83 87
				prop = new JMenuItem(PluginServices.getText(this, "propiedades"));
......
90 94
				}
91 95
				//Cambio estilo
92 96
				prop.addActionListener(this);
93
				
97

  
94 98
			}
95 99
		}
96 100
	}
......
102 106
			fThemeManagerWindow = new FThemeManagerWindow();
103 107
			try {
104 108
				fThemeManagerWindow.setMapContext(getMapContext());
105
			} catch (com.iver.cit.gvsig.fmap.DriverException e1) {
109
			} catch (ReadDriverException e1) {
106 110
				e1.printStackTrace();
107 111
			}
108 112
			//PluginServices.getMDIManager().addView(fThemeManagerWindow);
......
132 136
					PluginServices.getMDIManager().addWindow(fThemeManagerWindow);
133 137
				}
134 138
			}
135
		}		
139
		}
136 140
	}
137
	
138
	
141

  
142

  
139 143
}

Also available in: Unified diff