Package org.eclipse.ui

Examples of org.eclipse.ui.IWorkbenchPage.showView()


        // last selected
        // feature will not flash (because it will not be in list any more).
        IViewPart infoView = null;
        if (infoRef == null) {
            try {
                infoView = page.showView(id);
            } catch (PartInitException e1) {
                return null;
            }
            if (infoView == null) {
                return null;
View Full Code Here


        // JONES: need to get the part and set the selection to null so that the last selected feature
        // will not flash (because it will not be in list any more).
        IViewPart infoView=null;
        if( infoRef == null ) {
            try {
                infoView= page.showView(id);
            } catch (PartInitException e1) {
                return null;
            }
            if( infoView==null ){
                return null;
View Full Code Here

        if (page == null) {
            return null;
        }

        try {
            IViewPart catalogView = page.showView(CatalogView.VIEW_ID);
            return (CatalogView) catalogView;
        } catch (PartInitException e) {
            CatalogUIPlugin.log("Uh oh problem opening the catalog view", e); //$NON-NLS-1$
            return null;
        }
View Full Code Here

        Display.getDefault().asyncExec(new Runnable(){
            public void run() {
                StyleView styleView = null;
                try {
                    IWorkbenchPage page  = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
                    page.showView( StyleView.VIEW_ID );
                   
                    //styleView = (StyleView)
                    //if (selectedLayer != null);
                        //styleView.setSelectedLayer(selectedLayer);
                }
View Full Code Here

        if (issue.getViewPartId() == null)
            return;
        IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
        try {
           
            view = page.showView(issue.getViewPartId());
            XMLMemento memento=XMLMemento.createWriteRoot("root"); //$NON-NLS-1$
            issue.getViewMemento(memento);
            view.init(view.getViewSite(), memento);
        } catch (PartInitException e) {
            ProjectUIPlugin.log(
View Full Code Here

  private void showView() {
        IWorkbenchPage activePage = findPage();
        try {
          if( activePage!=null ){
            activePage.showView(IssuesView.VIEW_ID, null, IWorkbenchPage.VIEW_VISIBLE);
          }
        } catch (PartInitException e) {
            IssuesActivator.log("Error showing issues view",e); //$NON-NLS-1$
        }
    }
View Full Code Here

        }
        IWorkbenchPage wbPage  = PlatformUI.getWorkbench().
                getActiveWorkbenchWindow().getActivePage();
        IViewPart part;
        try {
            part = wbPage.showView(BrowserContainerView.VIEW_ID);
        } catch (PartInitException e) {
            return false;
        }
        if(part instanceof BrowserContainerView) {
            BrowserContainerView view = (BrowserContainerView)part;
View Full Code Here

    guiRun(new Runnable() {
      public void run() {
        try {
          IWorkbenchPage page = WorkflowView.this.getSite().getPage();
          page.showView("org.cishell.reference.gui.datamanager.DataManagerView");
        } catch (PartInitException e) {
          e.printStackTrace();
        }
      }
View Full Code Here

  protected void openRelatedView() {
    IWorkbenchPage page = getEditorSite().getPage();
    if (page != null) {
      for (String viewId : RELATED_VIEW_IDS) {
        try {
          page.showView(viewId);
        } catch (Exception e) {
          VisualSwingPlugin.getLogger().error(e);
        }
      }
    }
View Full Code Here

  static ConsolePrinter createAndDisplayConsole() throws PartInitException {
    MessageConsole console = findConsole();
    IWorkbenchPage page = activeWorkbenchPage();
    if (page != null) {
      IConsoleView view = (IConsoleView) page.showView(ID_CONSOLE_VIEW);
      view.display(console);
    }
    return new ConsolePrinter(console);
  }
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.