com.bonevich.erj.ui
Class CmdProperties
java.lang.Object
|
+--javax.swing.AbstractAction
|
+--com.bonevich.erj.ui.Command
|
+--com.bonevich.erj.ui.CmdProperties
- All Implemented Interfaces:
- javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable
- Direct Known Subclasses:
- CmdCreateAttribute, CmdCreateDomain, CmdCreateKey, CmdEditAttribute, CmdEditDomain, CmdEditForeignKey, CmdEditKey, CmdEditRelation, CmdEditSchema
- public abstract class CmdProperties
- extends Command
Command to open a dialog to edit a model element's
properties.
- See Also:
Command,
Serialized Form
| Fields inherited from class com.bonevich.erj.ui.Command |
_manager, _modifiesProject, About, AdjustGrid, AdjustPageBreak, AdjustSnap, Arrange, Contents, Copy, Cut, Delete, DeleteDiagram, Exit, Generate, Goto, History, IS_GLOBAL, NewDiagram, NewProject, NOT_GLOBAL, Open, PageSetup, Paste, Prefs, Print, ProjectProps, Redo, Remove, RenameDiagram, ReorderDiagrams, Save, SaveAs, SelectAll, Synchronize, TargetDatabase, Undo, Zoom, ZoomIn, ZoomOut |
| Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
| Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
| Methods inherited from class com.bonevich.erj.ui.Command |
actionPerformed, getButton, getIconName, getName, invoke, markProjectModified, setModifiesProject, setName, shouldBeEnabled, updateAllEnabled, updateEnabled |
| Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EDITOR_NAME
protected static final java.lang.String EDITOR_NAME
- See Also:
- Constant Field Values
PARENT_WINDOW
protected static final java.lang.String PARENT_WINDOW
- See Also:
- Constant Field Values
_editor
protected ModelEditor _editor
_dialog
protected javax.swing.JDialog _dialog
_okBtn
protected javax.swing.JButton _okBtn
_applyBtn
protected javax.swing.JButton _applyBtn
_cancelBtn
protected javax.swing.JButton _cancelBtn
_mode
protected int _mode
CmdProperties
public CmdProperties(java.lang.String name)
doIt
public boolean doIt()
- Specified by:
doIt in class Command
undoIt
public void undoIt()
- Specified by:
undoIt in class Command
setMode
public void setMode(int mode)
getMode
public int getMode()
createModelEditor
protected abstract ModelEditor createModelEditor(java.awt.Component cmp)
Copyright © 2001-2003 bonevich.com. All Rights Reserved.