org.astrogrid.desktop.modules.adqlEditor.commands
Class ColumnInsertCommand
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.ColumnInsertCommand
- All Implemented Interfaces:
- Serializable, UndoableEdit, CommandExec, CommandInfo
public class ColumnInsertCommand
- 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
| 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 |
table
protected TableBean table
columnName
protected String columnName
tableAlias
protected String tableAlias
ColumnInsertCommand
public ColumnInsertCommand(AdqlTree adqlTree,
UndoManager undoManager,
AdqlNode parentTarget,
SchemaType childType,
SchemaProperty childElement)
- Parameters:
target - -
ColumnInsertCommand
public ColumnInsertCommand(ColumnInsertCommand cic)
getColumnName
public String getColumnName()
setColumnName
public void setColumnName(String columnName)
setSelectedValue
public void setSelectedValue(String value)
- Overrides:
setSelectedValue in class StandardInsertCommand
getTable
public TableBean getTable()
setTable
public void setTable(TableBean tableBean)
getTableAlias
public String getTableAlias()
setTableAlias
public void setTableAlias(String alias)
execute
public CommandExec.Result execute()
- Specified by:
execute in interface CommandExec- Overrides:
execute in class StandardInsertCommand
_execute
protected CommandExec.Result _execute()
- Overrides:
_execute in class StandardInsertCommand
_unexecute
protected CommandExec.Result _unexecute()
- Overrides:
_unexecute in class StandardInsertCommand
removeAllColumnsOption
private void removeAllColumnsOption()
_reinstateAllColumnsOption
private void _reinstateAllColumnsOption()
toString
public String toString()
- Overrides:
toString in class StandardInsertCommand
Copyright © 2002-2010 AstroGrid. All Rights Reserved.