net.officefloor.eclipse.common.action
Interface OperationContext


public interface OperationContext

Context for executing an Operation.

Author:
Daniel Sagenschneider

Method Summary
 void execute(OfficeFloorCommand command)
          Executes the OfficeFloorCommand.
 org.eclipse.gef.EditPart[] getEditParts()
          Obtains the EditPart instances for the Operation.
 org.eclipse.draw2d.geometry.Point getLocation()
          Obtains the location for the Operation.
 

Method Detail

getEditParts

org.eclipse.gef.EditPart[] getEditParts()
Obtains the EditPart instances for the Operation.

Returns:
EditPart instances.

getLocation

org.eclipse.draw2d.geometry.Point getLocation()
Obtains the location for the Operation.

Returns:
Location for the Operation.

execute

void execute(OfficeFloorCommand command)
Executes the OfficeFloorCommand.

Parameters:
command - OfficeFloorCommand.


Copyright © 2005-2013. All Rights Reserved.