com.bonevich.erj.ui
Class CmdCreateAttribute

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--com.bonevich.erj.ui.Command
              |
              +--com.bonevich.erj.ui.CmdProperties
                    |
                    +--com.bonevich.erj.ui.CmdCreateAttribute
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable

public class CmdCreateAttribute
extends CmdProperties

Cmd to edit the properties of an Attribute. The loaded editor is displayed in a tabbed dialog.

See Also:
CmdProperties, Serialized Form

Field Summary
 
Fields inherited from class com.bonevich.erj.ui.CmdProperties
_applyBtn, _cancelBtn, _dialog, _editor, _mode, _okBtn, EDITOR_NAME, PARENT_WINDOW
 
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
 
Constructor Summary
CmdCreateAttribute(Relation relation)
           
CmdCreateAttribute(Relation relation, java.awt.Window window)
           
 
Method Summary
protected  ModelEditor createModelEditor(java.awt.Component cmp)
           
 
Methods inherited from class com.bonevich.erj.ui.CmdProperties
doIt, getMode, setMode, undoIt
 
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
 

Constructor Detail

CmdCreateAttribute

public CmdCreateAttribute(Relation relation)

CmdCreateAttribute

public CmdCreateAttribute(Relation relation,
                          java.awt.Window window)
Method Detail

createModelEditor

protected ModelEditor createModelEditor(java.awt.Component cmp)
Specified by:
createModelEditor in class CmdProperties


Copyright © 2001-2003 bonevich.com. All Rights Reserved.