Package org.eclipse.wst.xml.ui.internal.tabletree

Examples of org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorPart$PageInitializationData


        if (part instanceof IConfigEditor) {
          IConfigEditor editor = (IConfigEditor) part;
          textEditor = editor.getSourcePage();
        }
        else if (part instanceof XMLMultiPageEditorPart) {
          XMLMultiPageEditorPart xmlEditor = (XMLMultiPageEditorPart) part;
          IEditorPart[] editors = xmlEditor.findEditors(xmlEditor.getEditorInput());
          for (IEditorPart editor : editors) {
            if (editor instanceof StructuredTextEditor) {
              textEditor = ((StructuredTextEditor) editor);
            }
          }
View Full Code Here


      if (page != null) {
        IEditorReference[] references = page.getEditorReferences();
        for (int i = 0; i < references.length; i++) {
          IEditorPart part = references[i].getEditor(false);
          if (part != null && part instanceof XMLMultiPageEditorPart) {
            XMLMultiPageEditorPart editor = (XMLMultiPageEditorPart) part;
            IEditorInput editorInput = editor.getEditorInput();
            if (editorInput != null
                && editorInput instanceof IFileEditorInput) {
              IResource resource = ((IFileEditorInput) editorInput)
                  .getFile();
              IModelElement modelElement = BeansModelUtils
                  .getResourceModelElement(resource);
              if (modelElement != null
                  && element.getHandleIdentifier().equals(
                      modelElement.getElementID())) {
                editor.dispose();
              }
            }
          }
        }
      }
View Full Code Here

      if (page != null) {
        IEditorReference[] references = page.getEditorReferences();
        for (int i = 0; i < references.length; i++) {
          IEditorPart part = references[i].getEditor(false);
          if (part != null && part instanceof XMLMultiPageEditorPart) {
            XMLMultiPageEditorPart editor = (XMLMultiPageEditorPart) part;
            editorTracker.registerEditor(editor);
          }
        }
      }
    }
View Full Code Here

TOP

Related Classes of org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorPart$PageInitializationData

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.