pl.edu.agh.cast.figure.icons
Class NodeIconProvider
java.lang.Object
pl.edu.agh.cast.figure.icons.NodeIconProvider
public class NodeIconProvider
- extends java.lang.Object
Provides uniform and centralized way of accessing NodeIcon
s.
Manages icons provided by all extenders of pl.edu.agh.cast.nodeIcons
extension point.
- Author:
- tmilos
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static NodeIconProvider getInstance()
getNodeIcon
public NodeIcon getNodeIcon(java.lang.String nodeType)
getIconId
public java.lang.String getIconId(java.lang.String nodeType)
getSmallIconId
public java.lang.String getSmallIconId(java.lang.String nodeType)
getFriendlyName
public java.lang.String getFriendlyName(java.lang.String imageId)
getAllNodeIcons
public java.util.Collection<NodeIcon> getAllNodeIcons()
getGroupedNodeIcons
public java.util.Map<java.lang.String,java.util.List<NodeIcon>> getGroupedNodeIcons()
- Returns a map of
NodeIcon
s groups, with localized group names as keys.
- Returns:
- map of
NodeIcon
s groups
getDefaultIcon
public NodeIcon getDefaultIcon()
- Returns:
- the default NodeIcon
Copyright © 2007-2008 AGH University of Science and Technology. All Rights Reserved.