net.officefloor.eclipse.section.operations
Class AbstractSectionChangeOperation<E extends org.eclipse.gef.EditPart>
java.lang.Object
net.officefloor.eclipse.common.action.AbstractOperation<E>
net.officefloor.eclipse.section.operations.AbstractSectionChangeOperation<E>
- All Implemented Interfaces:
- Operation
- Direct Known Subclasses:
- AddExternalFlowOperation, AddExternalManagedObjectOperation, AddSectionManagedObjectOperation, AddSectionManagedObjectSourceOperation, AddSubSectionOperation, ToggleSubSectionInputPublicOperation
public abstract class AbstractSectionChangeOperation<E extends org.eclipse.gef.EditPart>
- extends AbstractOperation<E>
Abstract SectionChanges Operation.
- Author:
- Daniel Sagenschneider
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSectionChangeOperation
public AbstractSectionChangeOperation(String actionText,
Class<E> editPartType,
SectionChanges sectionChanges)
- Initiate.
- Parameters:
actionText - Action text.editPartType - AbstractOfficeFloorEditPart type that this
Operation may be carried out on.sectionChanges - SectionChanges.
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(SectionChanges changes,
AbstractOperation.Context context)
- Obtains the
Change.
- Parameters:
changes - SectionChanges.context - Context.
- Returns:
Change.
Copyright © 2005-2013. All Rights Reserved.