use of org.talend.designer.core.ui.action.ToggleSubjobsRetargetAction in project tdi-studio-se by Talend.
the class MultiPageEditorContributor method buildDesignActions.
/**
* Pr�pare toutes les actions relatives au designer Gef.
*/
protected void buildDesignActions() {
addDesignRetargetAction(new ZoomInRetargetAction());
addDesignRetargetAction(new ZoomOutRetargetAction());
addDesignRetargetAction(new DeleteRetargetAction());
addDesignRetargetAction(new UndoRetargetAction());
addDesignRetargetAction(new RedoRetargetAction());
addDesignRetargetAction(new RetargetAction(GEFActionConstants.TOGGLE_SNAP_TO_GEOMETRY, //$NON-NLS-1$
Messages.getString("MultiPageEditorContributor.Snap"), IAction.AS_CHECK_BOX));
addDesignRetargetAction(new RetargetAction(GEFActionConstants.TOGGLE_GRID_VISIBILITY, //$NON-NLS-1$
Messages.getString("MultiPageEditorContributor.Grid"), IAction.AS_CHECK_BOX));
addDesignRetargetAction(new ToggleSubjobsRetargetAction());
addDesignActionKey(ActionFactory.COPY.getId());
addDesignActionKey(ActionFactory.PASTE.getId());
addDesignActionKey(ActionFactory.PRINT.getId());
addDesignActionKey(ActionFactory.SELECT_ALL.getId());
addDesignActionKey(ActionFactory.DELETE.getId());
}
Aggregations