Revision 8978
trunk/extensions/extPublish/src/com/iver/cit/gvsig/publish/gui/listeners/OptionsServerWindowListener.java | ||
---|---|---|
58 | 58 |
* |
59 | 59 |
* $Id$ |
60 | 60 |
* $Log$ |
61 |
* Revision 1.15 2006-11-22 15:57:03 jorpiell |
|
61 |
* Revision 1.16 2006-11-22 19:31:43 jorpiell |
|
62 |
* Cambiados las aperturas de las ventanas |
|
63 |
* |
|
64 |
* Revision 1.15 2006/11/22 15:57:03 jorpiell |
|
62 | 65 |
* Se ha ajustado el interfaz de usuario |
63 | 66 |
* |
64 | 67 |
* Revision 1.14 2006/11/22 12:48:21 jorpiell |
... | ... | |
132 | 135 |
*/ |
133 | 136 |
public void actionPerformed(ActionEvent e) { |
134 | 137 |
if (e.getActionCommand().equals("last")){ |
135 |
PluginServices.getMDIManager().addWindow(lastWindow);
|
|
136 |
PluginServices.getMDIManager().closeWindow(currentWindow);
|
|
138 |
PluginServices.getMDIManager().closeWindow(currentWindow);
|
|
139 |
PluginServices.getMDIManager().addCentredWindow(lastWindow);
|
|
137 | 140 |
}else if(e.getActionCommand().equals("next")){ |
138 | 141 |
ServerData serverData = saveServerOptions(); |
139 | 142 |
String brand = serverData.getProperty(GenericServer.GENERIC_SERVER_BRAND); |
... | ... | |
143 | 146 |
} |
144 | 147 |
((LayersWindow)nextWindow).setPublishControler(createPublishControler(serverData,brand,type)); |
145 | 148 |
((LayersWindow)nextWindow).setSelectedRoot(); |
146 |
PluginServices.getMDIManager().addWindow(nextWindow); |
|
147 | 149 |
PluginServices.getMDIManager().closeWindow(currentWindow); |
150 |
PluginServices.getMDIManager().addCentredWindow(nextWindow); |
|
148 | 151 |
} |
149 | 152 |
} |
150 | 153 |
|
trunk/extensions/extPublish/src/com/iver/cit/gvsig/publish/gui/listeners/AttributesLayerWindowListener.java | ||
---|---|---|
53 | 53 |
* |
54 | 54 |
* $Id$ |
55 | 55 |
* $Log$ |
56 |
* Revision 1.3 2006-11-22 15:57:03 jorpiell |
|
56 |
* Revision 1.4 2006-11-22 19:31:43 jorpiell |
|
57 |
* Cambiados las aperturas de las ventanas |
|
58 |
* |
|
59 |
* Revision 1.3 2006/11/22 15:57:03 jorpiell |
|
57 | 60 |
* Se ha ajustado el interfaz de usuario |
58 | 61 |
* |
59 | 62 |
* Revision 1.2 2006/11/22 12:48:21 jorpiell |
... | ... | |
81 | 84 |
|
82 | 85 |
public void actionPerformed(ActionEvent e) { |
83 | 86 |
if (e.getActionCommand().equals("previous")){ |
84 |
PluginServices.getMDIManager().addWindow(lastWindow); |
|
87 |
PluginServices.getMDIManager().addCentredWindow(lastWindow);
|
|
85 | 88 |
PluginServices.getMDIManager().closeWindow(currentWindow); |
86 | 89 |
}else if(e.getActionCommand().equals("accept")){ |
87 | 90 |
((LayersWindow)currentWindow).restoreLayers(); |
trunk/extensions/extPublish/src/com/iver/cit/gvsig/publish/gui/listeners/SelectServerWindowListener.java | ||
---|---|---|
52 | 52 |
* |
53 | 53 |
* $Id$ |
54 | 54 |
* $Log$ |
55 |
* Revision 1.7 2006-11-22 15:57:03 jorpiell |
|
55 |
* Revision 1.8 2006-11-22 19:31:43 jorpiell |
|
56 |
* Cambiados las aperturas de las ventanas |
|
57 |
* |
|
58 |
* Revision 1.7 2006/11/22 15:57:03 jorpiell |
|
56 | 59 |
* Se ha ajustado el interfaz de usuario |
57 | 60 |
* |
58 | 61 |
* Revision 1.6 2006/11/20 12:59:05 dagilgon |
... | ... | |
105 | 108 |
if (mainWindow.getCurrentServer() != null){ |
106 | 109 |
optionsServerWindow.setServerProperties(mainWindow.getCurrentServer().getProperies()); |
107 | 110 |
} |
108 |
PluginServices.getMDIManager().addWindow(optionsServerWindow); |
|
111 |
PluginServices.getMDIManager().addCentredWindow(optionsServerWindow);
|
|
109 | 112 |
PluginServices.getMDIManager().closeWindow(mainWindow); |
113 |
|
|
110 | 114 |
} |
111 | 115 |
} |
112 | 116 |
} |
Also available in: Unified diff