Examples of ISection


Examples of org.eclipse.ui.views.properties.tabbed.ISection

    return true;
  }

  @Override
  public ISection getSectionClass() {
    ISection section = null;
    try {
      Object secOrGroup = _configurationElement
          .createExecutableExtension(ATT_CLASS);
      if (secOrGroup instanceof ISection) {
        section = (ISection) secOrGroup;
View Full Code Here

Examples of org.eclipse.ui.views.properties.tabbed.ISection

  }

  private void createSectionGroup(SectionInfo secInfo) {
    QuickEditTabSectionDescriptor sd = getSectionProvider().getNamedSectionDescriptor(secInfo.getId());
    if (sd != null) {
      ISection section = sd.getSectionClass(_tagEntity);
      if (section != null){
        _sectionClasses.add(section);
      }
    }
   
View Full Code Here

Examples of org.eclipse.ui.views.properties.tabbed.ISection

    }
   
  }

  private void createAttributeGroup(List<String> attrNames) {
    ISection section = new AttributeGroupSection(_tagEntity, attrNames);
    if (section != null){   
      _sectionClasses.add(section);
    }
  }
View Full Code Here

Examples of org.eclipse.ui.views.properties.tabbed.ISection

     */
    control = new Composite(parent, SWT.NONE);
    view.createPartControl(control);

    if (view instanceof ISection) {
      ISection section = (ISection) view;
      section.aboutToBeShown();
    }
  }
View Full Code Here

Examples of org.eclipse.ui.views.properties.tabbed.ISection

    TabContents currentTab = getCurrentTab();
    if (currentTab != null) {
      ISection[] sections = currentTab.getSections();
      if (sections != null && sections.length > 0) {
        ISection section = sections[0];
        if (section instanceof ColumnViewSupport) {
          ColumnViewSupport cvs = (ColumnViewSupport) section;
          cvs.setSelectionProvider();
        }
      }
View Full Code Here

Examples of org.eclipse.ui.views.properties.tabbed.ISection

    try {
      if (page instanceof ViewPropertySheetPage) {
        ViewPropertySheetPage sheetPage = (ViewPropertySheetPage) page;
        IViewPage viewPage = sheetPage.getView();
        if (viewPage instanceof ISection) {
          ISection section = (ISection) viewPage;
          section.aboutToBeShown();
        }
      }
    } catch (Throwable t) {
      Activator.getLogger().warning("aboutToBeShown() Failed with: " + t, t);
    }
View Full Code Here

Examples of org.eclipse.ui.views.properties.tabbed.ISection

    try {
      if (page instanceof ViewPropertySheetPage) {
        ViewPropertySheetPage sheetPage = (ViewPropertySheetPage) page;
        IViewPage viewPage = sheetPage.getView();
        if (viewPage instanceof ISection) {
          ISection section = (ISection) viewPage;
          section.aboutToBeHidden();
        }
      }
    } catch (Throwable t) {
      Activator.getLogger().warning("aboutToBeHidden() Failed with: " + t, t);
    }
View Full Code Here

Examples of org.eclipse.ui.views.properties.tabbed.ISection

        }
      }
      if (changed) {
        IViewPage view = getView();
        if (view instanceof ISection) {
          ISection section = (ISection) view;
          section.refresh();
        }
        getFabric().getContainersNode().refresh();
        getFabric().getVersionsNode().refresh();
      }
    }
View Full Code Here

Examples of org.eclipse.ui.views.properties.tabbed.ISection

      }

      if (changed) {
        IViewPage view = getView();
        if (view instanceof ISection) {
          ISection section = (ISection) view;
          section.refresh();
        }
        getFabric().getContainersNode().refresh();
        getFabric().getVersionsNode().refresh();
      }
    }
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.