net.officefloor.eclipse.office.operations
Class AddAdministratorOperation

java.lang.Object
  extended by net.officefloor.eclipse.common.action.AbstractOperation<E>
      extended by net.officefloor.eclipse.office.operations.AbstractOfficeChangeOperation<OfficeEditPart>
          extended by net.officefloor.eclipse.office.operations.AddAdministratorOperation
All Implemented Interfaces:
Operation

public class AddAdministratorOperation
extends AbstractOfficeChangeOperation<OfficeEditPart>

Adds an AdministratorModel to the OfficeModel.

Author:
Daniel Sagenschneider

Nested Class Summary
 
Nested classes/interfaces inherited from class net.officefloor.eclipse.common.action.AbstractOperation
AbstractOperation.Context
 
Constructor Summary
AddAdministratorOperation(OfficeChanges officeChanges)
          Initiate.
 
Method Summary
protected  Change<?> getChange(OfficeChanges changes, AbstractOperation.Context context)
          Obtains the Change.
 
Methods inherited from class net.officefloor.eclipse.office.operations.AbstractOfficeChangeOperation
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

AddAdministratorOperation

public AddAdministratorOperation(OfficeChanges officeChanges)
Initiate.

Method Detail

getChange

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

Specified by:
getChange in class AbstractOfficeChangeOperation<OfficeEditPart>
Parameters:
changes - OfficeChanges.
context - Context.
Returns:
Change.


Copyright © 2005-2013. All Rights Reserved.