Package org.fusesource.ide.commons.ui.propsrc

Examples of org.fusesource.ide.commons.ui.propsrc.PropertySourceTableSheetPage


   
    IWorkbenchPart part = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActivePart();
    if (part instanceof PropertySheet) {
      PropertySheet ps = (PropertySheet)part;
      if (ps.getCurrentPage() instanceof PropertySourceTableSheetPage) {
        PropertySourceTableSheetPage sp = (PropertySourceTableSheetPage)ps.getCurrentPage();
        this.columns = (IConfigurableColumns)sp.getTableView();
      } else {
          ISection[] secs = null;
          if (ps.getCurrentPage() instanceof TabFolderSupport2) {
            TabFolderSupport2 tfs = (TabFolderSupport2)ps.getCurrentPage();
            secs = ((TabContents)tfs.getCurrentTab()).getSections();
View Full Code Here


  }

  public ViewPropertySheetPage getPropertySourceTablePage() {
    List<IPropertySource> list = getPropertySourceList();
    if (!list.isEmpty()) {
      PropertySourceTableSheetPage view = createPropertySourceTableSheetPage();
      view.setPropertySources(list);
      return view;
    }
    return null;
  }
View Full Code Here

    }
    return null;
  }

  protected PropertySourceTableSheetPage createPropertySourceTableSheetPage() {
    return new PropertySourceTableSheetPage(this, getClass().getName());
  }
View Full Code Here

TOP

Related Classes of org.fusesource.ide.commons.ui.propsrc.PropertySourceTableSheetPage

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.