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

Examples of org.eclipse.wst.xml.ui.internal.contentoutline.JFaceNodeContentProvider


  /* (non-Javadoc)
   * @see org.eclipse.wst.sse.ui.IOutlineContentManager#getContentProvider()
   */
  public ITreeContentProvider getContentProvider() {
    return new JFaceNodeContentProvider();
  }
View Full Code Here


   *
   * @see org.eclipse.wst.sse.ui.views.contentoutline.ContentOutlineConfiguration#getContentProvider(org.eclipse.jface.viewers.TreeViewer)
   */
  public IContentProvider getContentProvider(TreeViewer viewer) {
    if (fContentProvider == null) {
      fContentProvider = new JFaceNodeContentProvider();
    }
    return fContentProvider;
  }
View Full Code Here

   *
   * @see org.eclipse.wst.sse.ui.views.contentoutline.ContentOutlineConfiguration#getContentProvider(org.eclipse.jface.viewers.TreeViewer)
   */
  public IContentProvider getContentProvider(TreeViewer viewer) {
    if (fContentProvider == null) {
      fContentProvider = new JFaceNodeContentProvider();
    }
    return fContentProvider;
  }
View Full Code Here

        fContentProvider = new PHPOutlineContentProvider(viewer);
      }
      viewer.setContentProvider(fContentProvider);
    } else if (MODE_HTML == mode) {
      if (fContentProviderHTML == null) {
        fContentProviderHTML = new JFaceNodeContentProvider() {
          public Object[] getElements(Object object) {
            if (object instanceof ISourceModule) {
              IEditorPart activeEditor = PHPUiPlugin
                  .getActiveEditor();
              if (activeEditor instanceof StructuredTextEditor) {
View Full Code Here

                fContentProvider = new TwigOutlineContentProvider(viewer);
            }
            viewer.setContentProvider(fContentProvider);
        } else if (MODE_HTML == mode) {
            if (fContentProviderHTML == null) {
                fContentProviderHTML = new JFaceNodeContentProvider()
                {
                    public Object[] getElements(Object object)
                    {
                        if (object instanceof ISourceModule) {
                            IEditorPart activeEditor = PHPUiPlugin
View Full Code Here

TOP

Related Classes of org.eclipse.wst.xml.ui.internal.contentoutline.JFaceNodeContentProvider

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.