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