Package org.eclipse.ui.part

Examples of org.eclipse.ui.part.PageBookView$SelectionManager


    IViewReference[] references = WGADesignerPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow().getActivePage().getViewReferences();
    for (IViewReference ref : references) {   
      if (ref.getId().equals(IConsoleConstants.ID_CONSOLE_VIEW)) {
        IWorkbenchPart part = ref.getPart(false);
        if (part != null && part instanceof PageBookView) {
          PageBookView view = (PageBookView) part;
          IPage page = view.getCurrentPage();
          if (page instanceof TextConsolePage) {
            TextConsolePage textConsolePage = (TextConsolePage) page;
            return textConsolePage.getViewer().getTextWidget();
          }
        }
View Full Code Here

TOP

Related Classes of org.eclipse.ui.part.PageBookView$SelectionManager

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.