Package org.eclipse.dltk.internal.ui.wizards.buildpath

Examples of org.eclipse.dltk.internal.ui.wizards.buildpath.BuildPathBasePage


  // -------- tab switching ----------
  protected void tabChanged(Widget widget) {
    if (widget instanceof TabItem) {
      TabItem tabItem = (TabItem) widget;
      BuildPathBasePage newPage = (BuildPathBasePage) tabItem.getData();
      if (fCurrPage != null) {
        List selection = fCurrPage.getSelection();
        if (!selection.isEmpty()) {
          newPage.setSelection(selection, false);
        }
      }
      fCurrPage = newPage;
      fPageIndex = tabItem.getParent().getSelectionIndex();
    }
View Full Code Here


          Object attrib = element.findAttributeElement(attributeKey);
          if (attrib != null) {
            elementToSelect = attrib;
          }
        }
        BuildPathBasePage page = (BuildPathBasePage) fTabFolder
            .getItem(pageIndex).getData();
        List selection = new ArrayList(1);
        selection.add(elementToSelect);
        page.setSelection(selection, true);
      }
    }
  }
View Full Code Here

TOP

Related Classes of org.eclipse.dltk.internal.ui.wizards.buildpath.BuildPathBasePage

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.