Package org.fusesource.ide.commons.tree

Examples of org.fusesource.ide.commons.tree.HasName


      if (isRouteNode(element)) {
        AbstractNode node = (AbstractNode) element;
        String label = DiagramUtils.filterFigureLabel(node.getDisplayText(useNodeIdForLabel));
        return label;
      } else if (element instanceof HasName) {
        HasName h = (HasName) element;
        return h.getName();
      } else if (element instanceof Flow) {
        Flow flow = (Flow) element;
        INodeStatistics stats = getStatsFor(flow);
        if (stats != null) {
          return statsLabel(stats);
View Full Code Here

TOP

Related Classes of org.fusesource.ide.commons.tree.HasName

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.