.getAdapter(ActionRegistry.class);
EditPropertiesAction action = (EditPropertiesAction) actionRegistry
.getAction(EditPropertiesAction.EDITPROPERTIES);
action.setOpenDialog(true);
EditPropertiesCommand command = new EditPropertiesCommand();
IWebflowModelElement clone = null;
if (state instanceof ICloneableModelElement) {
clone = ((ICloneableModelElement) state)
.cloneModelElement();
}
command.setChild(
(ICloneableModelElement<IWebflowModelElement>) state,
clone);
if (action != null) {
action.runWithCommand(command);
}