de.cau.cs.kieler.kiml.ui.diagram
Class SetOptionsEffect
java.lang.Object
de.cau.cs.kieler.core.kivi.AbstractEffect
de.cau.cs.kieler.kiml.ui.diagram.SetOptionsEffect
- All Implemented Interfaces:
- IEffect
public class SetOptionsEffect
- extends AbstractEffect
An effect that sets layout options for a specific element.
- Rating

- (2011-01-13) msp
Method Summary |
void |
execute()
Execute the effect. |
SetOptionsEffect
public SetOptionsEffect(IWorkbenchPart part,
EObject element,
String optionId,
Object value)
- Creates an effect to set a single option.
- Parameters:
part
- the workbench part for which options are setelement
- the model element for which options shall be setoptionId
- layout option identifiervalue
- the new value (null
to remove the option value)
SetOptionsEffect
public SetOptionsEffect(IWorkbenchPart part,
EObject element,
Map<String,Object> options)
- Creates an effect to set multiple options.
- Parameters:
part
- the workbench part for which options are setelement
- the model element for which options shall be setoptions
- map of layout option identifiers to values
execute
public void execute()
- Execute the effect.