Package org.eclipse.ui.internal.dialogs

Examples of org.eclipse.ui.internal.dialogs.ShowViewDialog


    final IWorkbenchPage page = window.getActivePage();
    if (page == null) {
      return;
    }
   
    final ShowViewDialog dialog = new ShowViewDialog(window,
        WorkbenchPlugin.getDefault().getViewRegistry());
    dialog.open();
   
    if (dialog.getReturnCode() == Window.CANCEL) {
      return;
    }
   
    final IViewDescriptor[] descriptors = dialog.getSelection();
    for (int i = 0; i < descriptors.length; ++i) {
      try {
                openView(descriptors[i].getId(), window);
      } catch (PartInitException e) {
        StatusUtil.handleStatus(e.getStatus(),
View Full Code Here

TOP

Related Classes of org.eclipse.ui.internal.dialogs.ShowViewDialog

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.