Package org.eclipse.wst.sse.ui.internal.contentoutline

Examples of org.eclipse.wst.sse.ui.internal.contentoutline.IJFaceNodeAdapterFactory.addListener()


    }

    if ((newInput != null) && (newInput instanceof IDOMNode)) {
      IJFaceNodeAdapterFactory factory = (IJFaceNodeAdapterFactory) ((IDOMNode) newInput).getModel().getFactoryRegistry().getFactoryFor(IJFaceNodeAdapter.class);
      if (factory != null) {
        factory.addListener(viewer);
      }
    }

    if (newInput != null) {
      Document domDoc = (Document) newInput;
View Full Code Here


      }
    }
    if ((newInput != null) && (newInput instanceof IStructuredModel)) {
      IJFaceNodeAdapterFactory factory = (IJFaceNodeAdapterFactory) ((IStructuredModel) newInput).getFactoryRegistry().getFactoryFor(IJFaceNodeAdapter.class);
      if (factory != null) {
        factory.addListener(viewer);
      }
    }
  }
}
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.