Package org.springsource.ide.eclipse.commons.ui

Examples of org.springsource.ide.eclipse.commons.ui.CommandHistoryPopupList.open()


  private Entry commandHistoryPopup(Control showBelow, Entry[] entries) {
    if (entries.length > 1) {
      CommandHistoryPopupList popup = new CommandHistoryPopupList(showBelow.getShell());
      popup.setLabelProvider(historyLabelProvider);
      popup.setItems(entries);
      return popup.open(showBelow.getDisplay().map(showBelow.getParent(), null, showBelow.getBounds()));
    }
    else if (entries.length == 0) {
      return null;
    }
    else {
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.