Package org.eclipse.ui.internal

Examples of org.eclipse.ui.internal.PluginActionSet


    private void buildMenusAndToolbarsFor(CustomizeActionBars customizeActionBars, ActionSetDescriptor actionSetDesc) {
        String id = actionSetDesc.getId();
        ActionSetActionBars bars = new ActionSetActionBars(
            customizeActionBars, window, customizeActionBars, id);
        PluginActionSetBuilder builder = new PluginActionSetBuilder();
        PluginActionSet actionSet = null;
        try {
            actionSet = (PluginActionSet) actionSetDesc.createActionSet();
            actionSet.init(null, bars);
        } catch (CoreException ex) {
            WorkbenchPlugin
                    .log("Unable to create action set " + actionSetDesc.getId(), ex); //$NON-NLS-1$
            return;
        }
View Full Code Here


     * Returns the action set for this descriptor.
     *
     * @return the action set
     */
    public IActionSet createActionSet() throws CoreException {
        return new PluginActionSet(this);
    }
View Full Code Here

TOP

Related Classes of org.eclipse.ui.internal.PluginActionSet

Copyright © 2018 www.massapicom. 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.