public abstract class HelpAction extends javax.swing.AbstractAction
Constructor and Description |
---|
HelpAction()
Constructs a new
HelpAction . |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
static void |
displayGenericHelp()
Displays the localized Map Features.
|
static void |
displayHelp(java.util.List<java.lang.String> pages)
Display help by opening the first existing wiki page in the given list.
|
static void |
displayRelationHelp(IRelation<?> rel)
Displays the most specific wiki page for the given relation.
|
static void |
displayTagHelp(java.lang.String key,
java.lang.String val)
Displays the most specific wiki page for the given key/value.
|
static javax.swing.KeyStroke |
getKeyStroke()
Returns the keystroke launching this action (F1 by default).
|
public HelpAction()
HelpAction
.public static javax.swing.KeyStroke getKeyStroke()
public void actionPerformed(java.awt.event.ActionEvent e)
public static void displayTagHelp(java.lang.String key, java.lang.String val)
key
- Keyval
- Valuepublic static void displayRelationHelp(IRelation<?> rel)
rel
- Relationpublic static void displayGenericHelp()
public static void displayHelp(java.util.List<java.lang.String> pages)
pages
- list of wiki page names to test