Package org.fusesource.ide.jmx.commons.messages

Examples of org.fusesource.ide.jmx.commons.messages.IExchangeBrowser



public class ExchangeBrowsers {

  public static IExchangeBrowser getSelectedExchangeBrowser(ISelection selection) {
    IExchangeBrowser answer = null;
    if (selection instanceof IStructuredSelection) {
      Object input = ((IStructuredSelection) selection).getFirstElement();
      answer = toIExchangeBrowser(input);
    }
    return answer;
View Full Code Here


    }
    return answer;
  }

  public static IExchangeBrowser toIExchangeBrowser(Object input) {
    IExchangeBrowser answer = null;
    if (input instanceof IExchangeBrowser) {
      answer = (IExchangeBrowser) input;
    } else if (input != null) {
      answer = Exchanges.asExchangeList(input);
      if (answer == null && input instanceof IFile) {
View Full Code Here

TOP

Related Classes of org.fusesource.ide.jmx.commons.messages.IExchangeBrowser

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.