Package org.eclipse.dltk.internal.ui.editor

Examples of org.eclipse.dltk.internal.ui.editor.DocumentAdapter


    Enumeration openBuffers = BufferManager.getDefaultBufferManager()
        .getOpenBuffers();
    while (openBuffers.hasMoreElements()) {
      Object nextElement = openBuffers.nextElement();
      if (nextElement instanceof DocumentAdapter) {
        DocumentAdapter adapt = (DocumentAdapter) nextElement;
        if (adapt.getDocument().equals(region.getParentDocument())
            && adapt.getOwner() instanceof ISourceModule) {
          sourceModule = (ISourceModule) adapt.getOwner();
          break;
        }
      }
    }
View Full Code Here


        Enumeration openBuffers = BufferManager.getDefaultBufferManager()
        .getOpenBuffers();
    while (openBuffers.hasMoreElements()) {
      Object nextElement = openBuffers.nextElement();
      if (nextElement instanceof DocumentAdapter) {
        DocumentAdapter adapt = (DocumentAdapter) nextElement;
        if (adapt.getDocument().equals(region.getParentDocument())
            && adapt.getOwner() instanceof ISourceModule) {
          sourceModule = (ISourceModule) adapt.getOwner();
          break;
        }
      }
    }
View Full Code Here

TOP

Related Classes of org.eclipse.dltk.internal.ui.editor.DocumentAdapter

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.