org.eclipse.datatools.sqltools.sqlbuilder.views.graph.commands
Class MoveJoinCommand
java.lang.Object
   org.eclipse.gef.commands.Command
org.eclipse.gef.commands.Command
       org.eclipse.datatools.sqltools.sqlbuilder.views.graph.commands.MoveJoinCommand
org.eclipse.datatools.sqltools.sqlbuilder.views.graph.commands.MoveJoinCommand
- public class MoveJoinCommand 
- extends org.eclipse.gef.commands.Command
 
 
| Methods inherited from class org.eclipse.gef.commands.Command | 
| canUndo, chain, dispose, getDebugLabel, getLabel, setDebugLabel, setLabel | 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
MoveJoinCommand
public MoveJoinCommand()
cancel
public void cancel()
- 
 
canExecute
public boolean canExecute()
- 
- Overrides:
- canExecutein class- org.eclipse.gef.commands.Command
 
- 
 
execute
public void execute()
- 
- Overrides:
- executein class- org.eclipse.gef.commands.Command
 
- 
 
getDescription
public java.lang.String getDescription()
- 
 
getJoinPart
public JoinEditPart getJoinPart()
- 
 
setJoinPart
public void setJoinPart(JoinEditPart source)
- 
 
getColumnPart
public ColumnEditPart getColumnPart()
- 
 
setColumnPart
public void setColumnPart(ColumnEditPart target)
- 
 
isChangeSource
public boolean isChangeSource()
- Get the value of changeSource.  This determines if the move join command is changing the source table or the target table
 
- 
- Returns:
- value of changeSource.
 
setChangeSource
public void setChangeSource(boolean v)
- Set the value of changeSource.  This determines if the move join command is changing the source table or the target table
 
- 
- Parameters:
- v- Value to assign to changeSource.
 
setSelectStatement
public void setSelectStatement(QuerySelect statement)
- 
 
redo
public void redo()
- 
- Overrides:
- redoin class- org.eclipse.gef.commands.Command
 
- 
 
undo
public void undo()
- 
- Overrides:
- undoin class- org.eclipse.gef.commands.Command
 
-