Examples of showView()


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

      }
    }
    try {
      page.openEditor(new FileEditorInput(file), "org.apache.uima.caseditor.editor");
      page.showView(TruePositiveView.ID);
      page.showView(FalsePositiveView.ID);
      page.showView(FalseNegativeView.ID);
    } catch (PartInitException e) {
      RutaAddonsPlugin.error(e);
    }
  }
View Full Code Here

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

    }
    try {
      page.openEditor(new FileEditorInput(file), "org.apache.uima.caseditor.editor");
      page.showView(TruePositiveView.ID);
      page.showView(FalsePositiveView.ID);
      page.showView(FalseNegativeView.ID);
    } catch (PartInitException e) {
      RutaAddonsPlugin.error(e);
    }
  }
View Full Code Here

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

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

        // 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

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

        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

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

        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

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

        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

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

  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

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

        }
        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

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

    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
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.