Package org.eclipse.ui.actions

Examples of org.eclipse.ui.actions.LabelRetargetAction


    showGrid = new ShowGridAction(page);
    showGrid.setImageDescriptor(AbstractUIPlugin.imageDescriptorFromPlugin(
        "es.iiia.sgi", "icons/grid_icon.png"));

    saveAction = new LabelRetargetAction(ActionFactory.SAVE.getId(), "Save");
    saveAction
        .setDisabledImageDescriptor(WorkbenchImages
            .getImageDescriptor(ISharedImages.IMG_ETOOL_SAVEAS_EDIT_DISABLED));
    saveAction.setImageDescriptor(ImageDescriptor
        .createFromImage(PlatformUI.getWorkbench().getSharedImages()
View Full Code Here


                    .getAttribute(IWorkbenchRegistryConstants.ATT_ALLOW_LABEL_UPDATE);
            String label = actionElement
                    .getAttribute(IWorkbenchRegistryConstants.ATT_LABEL);

            if (allowLabelUpdate != null && Boolean.valueOf(allowLabelUpdate).booleanValue()) {
        retargetAction = new LabelRetargetAction(id, label, style);
      } else {
        retargetAction = new RetargetAction(id, label, style);
      }
            retargetAction
                    .addPropertyChangeListener(new IPropertyChangeListener() {
View Full Code Here

TOP

Related Classes of org.eclipse.ui.actions.LabelRetargetAction

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.