| |||||||||
| 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()Obtains the location of the default help topic. |
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) |
java.net.URL | getIconURL(RwiElement rwiElement, String iconType)Returns URL of the icon for the specified RwiElement. |
String | getLocationForHelpTopic(String topic)Resolve help topic id to the location which can be used by IdeManager.openHelp() |
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()
String location of main help topicpublic 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
in 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
stored in the 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
kind of information being represented by the element: for RwiNodes representing classes,
an icon for a class will be returned, RwiNodes representing interfaces, an icon for an interface will be
returned etc.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)
public java.net.URL getIconURL(RwiElement rwiElement, String iconType)
RwiElement. The returned value depends on the
kind of information being represented by the element: for RwiNodes representing classes,
URL for the icon of the classs will be returned,
for RwiNodes representing interfaces, URL of the icon for the interface will be
returned etc.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)
IdeManager.openHelp()String help topic identifierString location of the corresponding topic or null if there is no such topicpublic 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 | ||||||||