All Packages Class Hierarchy This Package Previous Next Index
Class vnr.ide.actions.ShowHelpAction
java.lang.Object
|
+----com.sun.java.swing.AbstractAction
|
+----vnr.ide.actions.ClassViewAction
|
+----vnr.ide.actions.ShowHelpAction
- public class ShowHelpAction
- extends ClassViewAction
An action to show html based help for the selected text in the classview's codearea
or if none is selected, show some help for vnr
-
ShowHelpAction(ClassView)
- create the action for the given class view
-
actionPerformed(ActionEvent)
- show help for the selected
-
findClosestMatch(String, String[])
- find closest match for the text and file list provided
The closest match is currently defined as a file name that contains
the supplied text
-
findExactMatch(String, String[])
- find an exact match for the text and file list provided
An exact match is currently defined as a file name which ends with
the supplied text and ".html" (the l is optional)
-
getFilesForPath(String)
- get files in a help path
ShowHelpAction
public ShowHelpAction(ClassView v)
- create the action for the given class view
actionPerformed
public void actionPerformed(ActionEvent ae)
- show help for the selected
- Overrides:
- actionPerformed in class ClassViewAction
getFilesForPath
public String[] getFilesForPath(String path)
- get files in a help path
findExactMatch
public File findExactMatch(String text,
String files[])
- find an exact match for the text and file list provided
An exact match is currently defined as a file name which ends with
the supplied text and ".html" (the l is optional)
findClosestMatch
public File findClosestMatch(String text,
String files[])
- find closest match for the text and file list provided
The closest match is currently defined as a file name that contains
the supplied text
All Packages Class Hierarchy This Package Previous Next Index