Package org.eclipse.jface.action

Examples of org.eclipse.jface.action.ToolBarManager.find()


      public void run() {
        fIsPreviewVisible = !fIsPreviewVisible;
        fSashForm.setWeights(fIsPreviewVisible ? THREE_SASH_WEIGHTS : TWO_SASH_WEIGHTS);
        fBottomSash.setVisible(fIsPreviewVisible);
        fSashForm.layout();
        dialogToolBar.find(previewActionId).update(IAction.TOOL_TIP_TEXT);

        /* Select and Show News if required */
        if (fIsPreviewVisible && fResultViewer.getTable().getItemCount() > 0) {

          /* Select first News if required */
 
View Full Code Here


      public void run() {
        fIsPreviewVisible = !fIsPreviewVisible;
        fSashForm.setWeights(fIsPreviewVisible ? THREE_SASH_WEIGHTS : TWO_SASH_WEIGHTS);
        fBottomSash.setVisible(fIsPreviewVisible);
        fSashForm.layout();
        dialogToolBar.find(previewActionId).update(IAction.TOOL_TIP_TEXT);

        /* Select and Show News if required */
        if (fIsPreviewVisible && fResultViewer.getTable().getItemCount() > 0) {

          /* Select first News if required */
 
View Full Code Here

                .getToolBarManager(inputPane);
            if(toolBarManager2 == null) {
                return control;
            }
            boolean separatorExist = false;
            if (toolBarManager2.find(hideLineInfoAction.getId()) == null) {
                if(!separatorExist) {
                    separatorExist = true;
                    toolBarManager2.insert(0, new Separator("bco")); //$NON-NLS-1$
                }
                toolBarManager2.insertBefore("bco", hideLineInfoAction); //$NON-NLS-1$
View Full Code Here

                    toolBarManager2.insert(0, new Separator("bco")); //$NON-NLS-1$
                }
                toolBarManager2.insertBefore("bco", hideLineInfoAction); //$NON-NLS-1$
//                toolBarManager2.update(true);
            }
            if (toolBarManager2.find(hideLocalsAction.getId()) == null) {
                if(!separatorExist) {
                    separatorExist = true;
                    toolBarManager2.insert(0, new Separator("bco")); //$NON-NLS-1$
                }
                toolBarManager2.insertBefore("bco", hideLocalsAction); //$NON-NLS-1$
View Full Code Here

                }
                toolBarManager2.insertBefore("bco", hideLocalsAction); //$NON-NLS-1$
//                toolBarManager2.update(true);
            }

            if (toolBarManager2.find(hideStackMapAction.getId()) == null) {
                if(!separatorExist) {
                    separatorExist = true;
                    toolBarManager2.insert(0, new Separator("bco")); //$NON-NLS-1$
                }
                toolBarManager2.insertBefore("bco", hideStackMapAction); //$NON-NLS-1$
View Full Code Here

                    toolBarManager2.insert(0, new Separator("bco")); //$NON-NLS-1$
                }
                toolBarManager2.insertBefore("bco", hideStackMapAction); //$NON-NLS-1$
//                toolBarManager2.update(true);
            }
            if (toolBarManager2.find(expandStackMapAction.getId()) == null) {
                if(!separatorExist) {
                    separatorExist = true;
                    toolBarManager2.insert(0, new Separator("bco")); //$NON-NLS-1$
                }
                toolBarManager2.insertBefore("bco", expandStackMapAction); //$NON-NLS-1$
View Full Code Here

                }
                toolBarManager2.insertBefore("bco", expandStackMapAction); //$NON-NLS-1$
//                toolBarManager2.update(true);
            }

            if (toolBarManager2.find(toggleAsmifierModeAction.getId()) == null) {
                if(!separatorExist) {
                    toolBarManager2.insert(0, new Separator("bco")); //$NON-NLS-1$
                    separatorExist = true;
                }
                toolBarManager2.insertBefore("bco", toggleAsmifierModeAction); //$NON-NLS-1$
View Full Code Here

      public void run() {
        fIsPreviewVisible = !fIsPreviewVisible;
        fSashForm.setWeights(fIsPreviewVisible ? THREE_SASH_WEIGHTS : TWO_SASH_WEIGHTS);
        fBottomSash.setVisible(fIsPreviewVisible);
        fSashForm.layout();
        dialogToolBar.find(previewActionId).update(IAction.TOOL_TIP_TEXT);

        /* Select and Show News if required */
        if (fIsPreviewVisible && fResultViewer.getTable().getItemCount() > 0) {

          /* Select first News if required */
 
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.