net.officefloor.eclipse.common.editpolicies.connection
Class ConnectionCreateCommand

java.lang.Object
  extended by org.eclipse.gef.commands.Command
      extended by net.officefloor.eclipse.common.editpolicies.connection.ConnectionCreateCommand

public class ConnectionCreateCommand
extends org.eclipse.gef.commands.Command

Command to make the source of a ConnectionEditPart available to create a connection.

Author:
Daniel Sagenschneider

Constructor Summary
ConnectionCreateCommand(Object source)
          Initiate with source of connection.
 
Method Summary
 Object getSource()
          Obtains the source of the connection.
 
Methods inherited from class org.eclipse.gef.commands.Command
canExecute, canUndo, chain, dispose, execute, getDebugLabel, getLabel, redo, setDebugLabel, setLabel, undo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionCreateCommand

public ConnectionCreateCommand(Object source)
Initiate with source of connection.

Parameters:
source - Source of connection.
Method Detail

getSource

public Object getSource()
Obtains the source of the connection.

Returns:
Source of the connection.


Copyright © 2005-2013. All Rights Reserved.