net.officefloor.eclipse.desk.operations
Class AddDeskManagedObjectOperation

java.lang.Object
  extended by net.officefloor.eclipse.common.action.AbstractOperation<E>
      extended by net.officefloor.eclipse.desk.operations.AbstractDeskChangeOperation<DeskManagedObjectSourceEditPart>
          extended by net.officefloor.eclipse.desk.operations.AddDeskManagedObjectOperation
All Implemented Interfaces:
Operation

public class AddDeskManagedObjectOperation
extends AbstractDeskChangeOperation<DeskManagedObjectSourceEditPart>

Operation to add an DeskManagedObjectModel.

Author:
Daniel Sagenschneider

Nested Class Summary
 
Nested classes/interfaces inherited from class net.officefloor.eclipse.common.action.AbstractOperation
AbstractOperation.Context
 
Constructor Summary
AddDeskManagedObjectOperation(DeskChanges deskChanges)
          Initiate.
 
Method Summary
protected  Change<?> getChange(DeskChanges changes, AbstractOperation.Context context)
          Obtains the Change.
 
Methods inherited from class net.officefloor.eclipse.desk.operations.AbstractDeskChangeOperation
perform
 
Methods inherited from class net.officefloor.eclipse.common.action.AbstractOperation
getActionText, isApplicable, isAssignable, perform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddDeskManagedObjectOperation

public AddDeskManagedObjectOperation(DeskChanges deskChanges)
Initiate.

Parameters:
deskChanges - DeskChanges.
Method Detail

getChange

protected Change<?> getChange(DeskChanges changes,
                              AbstractOperation.Context context)
Description copied from class: AbstractDeskChangeOperation
Obtains the Change.

Specified by:
getChange in class AbstractDeskChangeOperation<DeskManagedObjectSourceEditPart>
Parameters:
changes - DeskChanges.
context - Context.
Returns:
Change.


Copyright © 2005-2013. All Rights Reserved.