public abstract class AbstractWoofChangeOperation<E extends org.eclipse.gef.EditPart> extends AbstractOperation<E>
WoofChanges
Operation
.AbstractOperation.Context
Constructor and Description |
---|
AbstractWoofChangeOperation(String actionText,
Class<E> editPartType,
WoofChanges woofChanges)
Initiate.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Change<?> |
getChange(WoofChanges 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 AbstractWoofChangeOperation(String actionText, Class<E> editPartType, WoofChanges woofChanges)
actionText
- Action text.editPartType
- AbstractOfficeFloorEditPart
type that this
Operation
may be carried out on.woofChanges
- WoofChanges
.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(WoofChanges changes, AbstractOperation.Context context)
Change
.changes
- WoofChanges
.context
- Context
.Change
.Copyright © 2005–2016. All rights reserved.