| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Provides a set of methods for obtaining information about types of files and RwiElements.
Values returned by methods in this interface are closely related to the settings in the resource.config file.
If the requested information is not defined in that config file, then methods of this interface return a default value.
| Method Summary | |
Enumeration | fileExtensions(String fileType)Returns an enumeration of possible extensions of files that belong to the specified category. |
String | getDefaultHelpLocation()Deprecated. |
String | getDescription(RwiElement rwiElement)Returns a string that contains a full type description of the specified RwiElement. |
String | getDiagramPresentableName(RwiDiagram rwiDiagram)Returns a string that contains a brief description of the specified diagram ( RwiDiagram). |
String | getFileDescription(String url)Returns description of the file, defined by its URL. |
String | getFileHelpURL(String url)Returns a string, that contains URL with a help topic for the specified file. |
javax.swing.Icon | getFileIcon(String url, String iconType)Returns an icon object for the specified file. |
java.net.URL | getFileIconURL(String url, String iconType)Returns URL for the icon object for the file presented by the specified URL. |
String | getFileLanguage(String url)Returns a string that defines name of the language of the specified file. |
String | getFilePresentableName(String url)Returns a string that contains brief description of the specified file. |
String | getFileType(String url)Returns a string that contains the type name of the specified file. |
String | getHelpURL(RwiElement rwiElement)Returns a string that contains URL of the help topic for the specified RwiElement. |
javax.swing.Icon | getIcon(RwiElement rwiElement, String iconType)Returns an icon object for the specified RwiElement. |
javax.swing.Icon | getIcon(String path)Returns an icon obtained from the specified path or from cache. |
java.net.URL | getIconURL(RwiElement rwiElement, String iconType)Returns URL of the icon for the specified RwiElement. |
String | getLocationForHelpTopic(String topic)Deprecated. |
String | getPresentableName(RwiElement rwiElement)Returns a string that contains a brief description of the specified RwiElement. |
| Method Detail |
public Enumeration fileExtensions(String fileType)
String type of filesEnumeration object that contains all conceivable file extensions of this typepublic String getDefaultHelpLocation()
public String getDescription(RwiElement rwiElement)
RwiElement.RwiElement instance for which the description is requiredString type description of this RwiElement.public String getDiagramPresentableName(RwiDiagram rwiDiagram)
RwiDiagram).RwiElement instance for which a brief description is needed.String brief description of this RwiElement.public String getFileDescription(String url)
String URL of the file for which the description is requiredstring type description of the specified filepublic String getFileHelpURL(String url)
String URL of the file for which the help topic is requiredString URL of this help topicpublic javax.swing.Icon getFileIcon(String url, String iconType)
String URL of the file for which the icon is requiredString type of this icon. Predefined values are stored
IdeResourceIconType interface.javax.swing.Iconpublic java.net.URL getFileIconURL(String url, String iconType)
String URL of the file for which the icon is requiredString type of this icon. Predefined values are
IdeResourceIconType interface.java.net.URLpublic String getFileLanguage(String url)
String language name for the specified file.public String getFilePresentableName(String url)
String URL of the file for which the description is requiredString brief description of the specified filepublic String getFileType(String url)
String URL of this file.String type of the specified filepublic String getHelpURL(RwiElement rwiElement)
RwiElement.RwiElement instance for help URL is requiredString URL of the help topic of the specified RwiElementpublic javax.swing.Icon getIcon(RwiElement rwiElement, String iconType)
RwiElement. The returned value depends on the
RwiNodes representing classes,
RwiNodes representing interfaces, an icon for an
RwiElement instance for which an icon is requiredString icon type. Predefined values are specified in the
IdeResourceIconType interface.javax.swing.Icon object of the specified typepublic javax.swing.Icon getIcon(String path)
path or from cache.
null, which rules out application
String that contains fully qualified path to the iconjavax.swing.Icon object, or
com.togethersoft.util.ui.EmptyIcon, if the icon not found.public java.net.URL getIconURL(RwiElement rwiElement, String iconType)
RwiElement. The returned value depends on the
RwiNodes representing classes,
RwiNodes representing interfaces, URL of the icon for
RwiElement instance for which URL of the icon is requiredString type of this icon. Predefined values are stored in the
IdeResourceIconType interface.java.net.URLpublic String getLocationForHelpTopic(String topic)
public String getPresentableName(RwiElement rwiElement)
RwiElement.RwiElement instance for which a brief description is requiredString description of the specified RwiElement.
| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||