org.astrogrid.desktop.modules.adqlEditor.commands
Class EnumeratedElementInsertCommand
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
org.astrogrid.desktop.modules.adqlEditor.commands.AbstractCommand
org.astrogrid.desktop.modules.adqlEditor.commands.StandardInsertCommand
org.astrogrid.desktop.modules.adqlEditor.commands.EnumeratedElementInsertCommand
- All Implemented Interfaces:
- Serializable, UndoableEdit, CommandExec, CommandInfo
- Direct Known Subclasses:
- JoinInsertCommand
public class EnumeratedElementInsertCommand
- extends StandardInsertCommand
- Author:
- jl99@star.le.ac.uk
TODO To change the template for this generated type comment go to
Window - Preferences - Java - Code Style - Code Templates
- See Also:
- Serialized Form
|
Field Summary |
private static org.apache.commons.logging.Log |
log
|
private String |
value
|
| Methods inherited from class org.astrogrid.desktop.modules.adqlEditor.commands.AbstractCommand |
addToEditStore, exchangeInEditStore, exchangeInEditStore, getChildDisplayName, getChildElement, getChildElementName, getChildEntry, getChildIndex, getChildMaxOccurs, getChildMinOccurs, getChildObject, getChildToken, getChildType, getFromEditStore, getMessages, getParentDisplayName, getParentElementName, getParentEntry, getParentObject, getParentToken, getParentType, isChildCascadeable, isChildColumnLinked, isChildDisallowed, isChildDrivenByEnumeratedAttribute, isChildDrivenByEnumeratedElement, isChildEnabled, isChildHeldInArray, isChildInPatternContext, isChildMandatorySingleton, isChildOptionalSingleton, isChildSupportedType, isChildTableLinked, isInitializedStatusGood, isInsertableIntoArray, isParentSuitablePasteTargetFor, setMessages |
log
private static final org.apache.commons.logging.Log log
value
private String value
EnumeratedElementInsertCommand
public EnumeratedElementInsertCommand(AdqlTree adqlTree,
UndoManager undoManager,
AdqlNode parentTarget,
SchemaType childType,
SchemaProperty childElement)
- Parameters:
target - -
EnumeratedElementInsertCommand
public EnumeratedElementInsertCommand(EnumeratedElementInsertCommand eic)
EnumeratedElementInsertCommand
protected EnumeratedElementInsertCommand()
setSelectedValue
public void setSelectedValue(String value)
- Overrides:
setSelectedValue in class StandardInsertCommand
getEnumeratedValues
public String[] getEnumeratedValues()
_execute
protected CommandExec.Result _execute()
- Overrides:
_execute in class StandardInsertCommand
_unexecute
protected CommandExec.Result _unexecute()
- Overrides:
_unexecute in class StandardInsertCommand
toString
public String toString()
- Overrides:
toString in class StandardInsertCommand
Copyright © 2002-2010 AstroGrid. All Rights Reserved.