net.officefloor.eclipse.office.operations
Class AddOfficeTeamOperation

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.AddOfficeTeamOperation
All Implemented Interfaces:
Operation

public class AddOfficeTeamOperation
extends AbstractOfficeChangeOperation<OfficeEditPart>

Adds an ExternalTeamModel 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
AddOfficeTeamOperation(net.officefloor.model.office.OfficeChanges officeChanges)
          Initiate.
 
Method Summary
protected  net.officefloor.model.change.Change<?> getChange(net.officefloor.model.office.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

AddOfficeTeamOperation

public AddOfficeTeamOperation(net.officefloor.model.office.OfficeChanges officeChanges)
Initiate.

Parameters:
officeChanges - OfficeChanges.
Method Detail

getChange

protected net.officefloor.model.change.Change<?> getChange(net.officefloor.model.office.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-2012. All Rights Reserved.