/** * Return the path associated with the given reference file. * * @param refString the file name. * @param sDefault the default file name. * @param bSmallIcon true to return the small version of the node icon, false to return the * standard size * @return a String representing relevant file path. * @see IUIConstants */ public static String getReferencePath(String refString, String sDefault, boolean bSmallIcon) { if (bSmallIcon) { return UIReferenceNodeManager.getSmallReferenceIconPath(refString, sDefault); } else { return UIReferenceNodeManager.getReferenceIconPath(refString, sDefault); } }
/** * Return the small ImageIcon associated with the given reference file. * * @param String refString, the file name. * @param String sDefault, the default file name. * @return a String representing relevant file path. * @see IUIConstants */ public static String getReferenceSmallPath(String refString, String sDefault) { return UIReferenceNodeManager.getSmallReferenceIconPath(refString, sDefault); }