Package org.eclipse.ui.internal

Examples of org.eclipse.ui.internal.PartService


      }

      public void partClosed(IWorkbenchPartReference partRef) {
        IWorkbenchPart part = partRef.getPart(false);
        if (part == MultiEditor.this && innerEditors != null) {
          PartService partService = ((WorkbenchPage) getSite()
              .getPage()).getPartService();
          for (int i = 0; i < innerEditors.length; i++) {
            IEditorPart editor = innerEditors[i];
            IWorkbenchPartReference innerRef = ((PartSite) editor
                .getSite()).getPartReference();
            partService.firePartClosed(innerRef);
          }
        }
      }

      public void partDeactivated(IWorkbenchPartReference partRef) {
      }

      public void partOpened(IWorkbenchPartReference partRef) {
        IWorkbenchPart part = partRef.getPart(false);
        if (part == MultiEditor.this && innerEditors != null) {
          PartService partService = ((WorkbenchPage) getSite()
              .getPage()).getPartService();
          for (int i = 0; i < innerEditors.length; i++) {
            IEditorPart editor = innerEditors[i];
            IWorkbenchPartReference innerRef = ((PartSite) editor
                .getSite()).getPartReference();
            partService.firePartOpened(innerRef);
          }
        }
      }

      public void partHidden(IWorkbenchPartReference partRef) {
View Full Code Here

TOP

Related Classes of org.eclipse.ui.internal.PartService

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.