Search in sources :

Example 1 with ToggleSubjobsRetargetAction

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());
}
Also used : RedoRetargetAction(org.eclipse.gef.ui.actions.RedoRetargetAction) ToggleSubjobsRetargetAction(org.talend.designer.core.ui.action.ToggleSubjobsRetargetAction) UndoRetargetAction(org.eclipse.gef.ui.actions.UndoRetargetAction) ToggleSubjobsRetargetAction(org.talend.designer.core.ui.action.ToggleSubjobsRetargetAction) UndoRetargetAction(org.eclipse.gef.ui.actions.UndoRetargetAction) ZoomOutRetargetAction(org.eclipse.gef.ui.actions.ZoomOutRetargetAction) ZoomInRetargetAction(org.eclipse.gef.ui.actions.ZoomInRetargetAction) RetargetAction(org.eclipse.ui.actions.RetargetAction) RedoRetargetAction(org.eclipse.gef.ui.actions.RedoRetargetAction) DeleteRetargetAction(org.eclipse.gef.ui.actions.DeleteRetargetAction) DeleteRetargetAction(org.eclipse.gef.ui.actions.DeleteRetargetAction) ZoomInRetargetAction(org.eclipse.gef.ui.actions.ZoomInRetargetAction) ZoomOutRetargetAction(org.eclipse.gef.ui.actions.ZoomOutRetargetAction)

Aggregations

DeleteRetargetAction (org.eclipse.gef.ui.actions.DeleteRetargetAction)1 RedoRetargetAction (org.eclipse.gef.ui.actions.RedoRetargetAction)1 UndoRetargetAction (org.eclipse.gef.ui.actions.UndoRetargetAction)1 ZoomInRetargetAction (org.eclipse.gef.ui.actions.ZoomInRetargetAction)1 ZoomOutRetargetAction (org.eclipse.gef.ui.actions.ZoomOutRetargetAction)1 RetargetAction (org.eclipse.ui.actions.RetargetAction)1 ToggleSubjobsRetargetAction (org.talend.designer.core.ui.action.ToggleSubjobsRetargetAction)1