Package org.eclipse.ui.model

Examples of org.eclipse.ui.model.WorkbenchPartLabelProvider


            }
            else {
              ListSelectionDialog dlg = new ListSelectionDialog(
                      shellProvider.getShell(), modelsToSave,
                      new ArrayContentProvider(),
                      new WorkbenchPartLabelProvider(), RESOURCES_TO_SAVE_MESSAGE);
              dlg.setInitialSelections(modelsToSave.toArray());
              dlg.setTitle(SAVE_RESOURCES_TITLE);
 
              // this "if" statement aids in testing.
              if (SaveableHelper.testGetAutomatedResponse()==SaveableHelper.USER_RESPONSE) {
View Full Code Here


      } else {
        MyListSelectionDialog dlg = new MyListSelectionDialog(
            shellProvider.getShell(),
            modelsToSave,
            new ArrayContentProvider(),
            new WorkbenchPartLabelProvider(),
            stillOpenElsewhere ? WorkbenchMessages.EditorManager_saveResourcesOptionallyMessage
                : WorkbenchMessages.EditorManager_saveResourcesMessage,
            canCancel, stillOpenElsewhere);
        dlg.setInitialSelections(modelsToSave.toArray());
        dlg.setTitle(EditorManager.SAVE_RESOURCES_TITLE);
View Full Code Here

TOP

Related Classes of org.eclipse.ui.model.WorkbenchPartLabelProvider

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.