Package org.fusesource.ide.jmx.fabric8.navigator.properties

Examples of org.fusesource.ide.jmx.fabric8.navigator.properties.ContainerTableSheetPage


            return container != null && container.isRoot();
          }
        }));
    if (rootContainers.size() == 1 && fabric != null) {
      Container rootContainer = rootContainers.get(0);
      ContainersNode containersNode = fabric.getContainersNode();
      if (containersNode != null) {
        return containersNode.getContainerNode(rootContainer.getId());
      }
    }
    return null;
  }
View Full Code Here


      Root r = w.getRoot();
      if( r != null ) {
        if (r.containsDomain("io.fabric8")) {
          try {
            JmxPluginJmxTemplate jmxTemplate = new JmxPluginJmxTemplate(r.getConnection());
            Fabric8JMXFacade facade = new Fabric8JMXFacade(jmxTemplate);
            Fabric8Node fabric8 = new Fabric8Node(r, facade);
            return new Object[]{fabric8};
          } catch (MalformedObjectNameException ex) {
            Fabric8JMXPlugin.getLogger().error(ex);
          }
View Full Code Here

  public FabricStatusTabSection() {
  }

  @Override
  public void setInput(IWorkbenchPart part, ISelection selection) {
    Fabric8Node fabric = (Fabric8Node) Selections.getFirstSelection(selection);
    if (fabric == current) {
      return;
    }
    if (current != null) {
      current.removeFabricUpdateRunnable(refreshRunnable);
View Full Code Here

      if( r != null ) {
        if (r.containsDomain("io.fabric8")) {
          try {
            JmxPluginJmxTemplate jmxTemplate = new JmxPluginJmxTemplate(r.getConnection());
            Fabric8JMXFacade facade = new Fabric8JMXFacade(jmxTemplate);
            Fabric8Node fabric8 = new Fabric8Node(r, facade);
            return new Object[]{fabric8};
          } catch (MalformedObjectNameException ex) {
            Fabric8JMXPlugin.getLogger().error(ex);
          }
        }
View Full Code Here

    }
    return openWebConsoleAction;
  }
 
  protected OpenWebConsoleAction createOpenWebConsoleAction(Fabric8Node fabric) {
    return new OpenWebConsoleAction(fabric);
  }
View Full Code Here

  /* (non-Javadoc)
   * @see org.fusesource.ide.commons.ui.ContextMenuProvider#provideContextMenu(org.eclipse.jface.action.IMenuManager)
   */
  @Override
  public void provideContextMenu(IMenuManager menu) {
    menu.add(new OpenWebConsoleAction(this))
  }
View Full Code Here

  public ProfileNode(VersionNode parent, String id, Map<String,Object> data, Fabric8Node fabric) {
    super(parent);
    this.id = id;
    this.data = data;
    this.fabric = fabric;
    this.profile = new ProfileBean(this, getVersion(), this.data);
    setPropertyBean(profile);
  }
View Full Code Here

  public ProfileNode(ProfileNode parent, String id, Map<String,Object> data, Fabric8Node fabric) {
    super(parent);
    this.id = id;
    this.data = data;
    this.fabric = fabric;
    this.profile = new ProfileBean(this, getVersion(), this.data);
    setPropertyBean(profile);
  }
View Full Code Here

  public VersionNode(VersionsNode parent, String id, Map<String,Object> data, Fabric8Node fabric) {
    super(parent);
    this.id = id;
    this.data = data;
    this.fabric = fabric;
    this.version = new VersionBean(this, data);
    setPropertyBean(version);
  }
View Full Code Here

  @Override
  public Object getAdapter(@SuppressWarnings("rawtypes") Class adapter) {
    if (adapter == IPropertySheetPage.class) {
      checkLoaded();
      if (getFabric() != null) {
        return new ContainerTableSheetPage(getFabric());
      }
    }
    return super.getAdapter(adapter);
  }
View Full Code Here

TOP

Related Classes of org.fusesource.ide.jmx.fabric8.navigator.properties.ContainerTableSheetPage

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.