Examples of GlobalActions


Examples of com.volantis.mcs.eclipse.ab.actions.GlobalActions

     * Gets the global actions from the supplied actions.
     * @param actions the actions from which to extract the global ones
     * @return the global actions
     */
    public static GlobalActions getGlobalActions(Map actions) {
        GlobalActions globalActions = new GlobalActions(
                (IAction) actions.get(ActionID.COPY),
                (IAction) actions.get(ActionID.CUT),
                (IAction) actions.get(ActionID.DELETE),
                (IAction) actions.get(ActionID.PASTE),
                null);
View Full Code Here

Examples of com.volantis.mcs.eclipse.ab.actions.GlobalActions

            // Create the actions used by this part.
            Map actions = LayoutActions.createActions(context);

            // Extract the global actions from the actions. These are needed
            // by the outline page.
            GlobalActions globalActions =
                    LayoutActions.getGlobalActions(actions);
            MenuManager menuManager = createContextMenu(actions);

            // Note that the outline page is not cached because the page
            // is disposed if the user closes the view and if re-opened
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.