net.officefloor.eclipse.office.operations
Class AbstractOfficeChangeOperation<E extends org.eclipse.gef.EditPart>
java.lang.Object
net.officefloor.eclipse.common.action.AbstractOperation<E>
net.officefloor.eclipse.office.operations.AbstractOfficeChangeOperation<E>
- All Implemented Interfaces:
- Operation
- Direct Known Subclasses:
- AddAdministratorOperation, AddExternalManagedObjectOperation, AddOfficeEscalationOperation, AddOfficeManagedObjectOperation, AddOfficeManagedObjectSourceOperation, AddOfficeSectionOperation, AddOfficeSectionResponsibilityOperation, AddOfficeStartOperation, AddOfficeTeamOperation, RefactorOfficeSectionChangeOperation
public abstract class AbstractOfficeChangeOperation<E extends org.eclipse.gef.EditPart>
- extends AbstractOperation<E>
Abstract OfficeChanges Operation.
- Author:
- Daniel Sagenschneider
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractOfficeChangeOperation
public AbstractOfficeChangeOperation(String actionText,
Class<E> editPartType,
OfficeChanges officeChanges)
- Initiate.
- Parameters:
actionText - Action text.editPartType - AbstractOfficeFloorEditPart type that this
Operation may be carried out on.officeChanges - OfficeChanges.
perform
protected void perform(AbstractOperation.Context context)
- Description copied from class:
AbstractOperation
- Performs the
Operation on the particular
AbstractOfficeFloorEditPart.
- Specified by:
perform in class AbstractOperation<E extends org.eclipse.gef.EditPart>
- Parameters:
context - AbstractOperation.Context.
getChange
protected abstract Change<?> getChange(OfficeChanges changes,
AbstractOperation.Context context)
- Obtains the
Change.
- Parameters:
changes - OfficeChanges.context - Context.
- Returns:
Change.
Copyright © 2005-2013. All Rights Reserved.