public abstract class AbstractOfficeChangeOperation<E extends org.eclipse.gef.EditPart> extends AbstractOperation<E>
OfficeChanges
Operation
.AbstractOperation.Context
Constructor and Description |
---|
AbstractOfficeChangeOperation(String actionText,
Class<E> editPartType,
OfficeChanges officeChanges)
Initiate.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Change<?> |
getChange(OfficeChanges changes,
AbstractOperation.Context context)
Obtains the
Change . |
protected void |
perform(AbstractOperation.Context context)
Performs the
Operation on the particular
AbstractOfficeFloorEditPart . |
getActionText, isApplicable, isAssignable, perform
public AbstractOfficeChangeOperation(String actionText, Class<E> editPartType, OfficeChanges officeChanges)
actionText
- Action
text.editPartType
- AbstractOfficeFloorEditPart
type that this
Operation
may be carried out on.officeChanges
- OfficeChanges
.protected void perform(AbstractOperation.Context context)
AbstractOperation
Operation
on the particular
AbstractOfficeFloorEditPart
.perform
in class AbstractOperation<E extends org.eclipse.gef.EditPart>
context
- AbstractOperation.Context
.protected abstract Change<?> getChange(OfficeChanges changes, AbstractOperation.Context context)
Change
.changes
- OfficeChanges
.context
- Context
.Change
.Copyright © 2005–2016. All rights reserved.