Revision 6880 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/command/CommandStackDialog.java
CommandStackDialog.java | ||
---|---|---|
20 | 20 |
import org.gvsig.gui.beans.DefaultBean; |
21 | 21 |
|
22 | 22 |
import com.iver.andami.PluginServices; |
23 |
import com.iver.andami.ui.mdiManager.SingletonView;
|
|
24 |
import com.iver.andami.ui.mdiManager.ViewInfo;
|
|
25 |
import com.iver.andami.ui.mdiManager.ViewListener;
|
|
23 |
import com.iver.andami.ui.mdiManager.SingletonWindow;
|
|
24 |
import com.iver.andami.ui.mdiManager.WindowInfo;
|
|
25 |
import com.iver.andami.ui.mdiManager.IWindowListener;
|
|
26 | 26 |
import com.iver.cit.gvsig.AddLayer; |
27 | 27 |
import com.iver.cit.gvsig.fmap.drivers.DriverIOException; |
28 | 28 |
import com.iver.cit.gvsig.fmap.edition.commands.AddRowCommand; |
... | ... | |
30 | 30 |
import com.iver.cit.gvsig.fmap.edition.commands.CommandRecord; |
31 | 31 |
import com.iver.cit.gvsig.fmap.edition.commands.RemoveRowCommand; |
32 | 32 |
|
33 |
public class CommandStackDialog extends DefaultBean implements SingletonView, ViewListener,CommandListener{
|
|
33 |
public class CommandStackDialog extends DefaultBean implements SingletonWindow, IWindowListener,CommandListener{
|
|
34 | 34 |
|
35 | 35 |
private JTable jTable = null; |
36 | 36 |
private JPanel jPanel = null; |
... | ... | |
165 | 165 |
return jPanel; |
166 | 166 |
} |
167 | 167 |
|
168 |
public ViewInfo getViewInfo() {
|
|
169 |
ViewInfo m_viewinfo = new ViewInfo(ViewInfo.ICONIFIABLE |
|
|
170 |
ViewInfo.MODELESSDIALOG | ViewInfo.RESIZABLE | ViewInfo.PALETTE);
|
|
168 |
public WindowInfo getWindowInfo() {
|
|
169 |
WindowInfo m_viewinfo = new WindowInfo(WindowInfo.ICONIFIABLE |
|
|
170 |
WindowInfo.MODELESSDIALOG | WindowInfo.RESIZABLE | WindowInfo.PALETTE);
|
|
171 | 171 |
m_viewinfo.setTitle(PluginServices.getText(this, |
172 | 172 |
"pila_de_comandos")); |
173 | 173 |
return m_viewinfo; |
174 | 174 |
} |
175 | 175 |
|
176 |
public Object getViewModel() {
|
|
176 |
public Object getWindowModel() {
|
|
177 | 177 |
return "CommandStack"; |
178 | 178 |
} |
179 | 179 |
|
180 |
public void viewActivated() {
|
|
180 |
public void windowActivated() {
|
|
181 | 181 |
this.validateTree(); |
182 | 182 |
} |
183 | 183 |
|
184 |
public void viewClosed() {
|
|
184 |
public void windowClosed() {
|
|
185 | 185 |
// TODO Auto-generated method stub |
186 | 186 |
|
187 | 187 |
} |
Also available in: Unified diff