Package wprover
Class HelpMode
- java.lang.Object
-
- wprover.HelpMode
-
public class HelpMode extends java.lang.ObjectThe HelpMode class provides methods to manage and retrieve help items in GeoGebra.
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.VectoritemsA vector to store help items.
-
Constructor Summary
Constructors Constructor Description HelpMode()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidaddItem(java.lang.String comd, java.lang.String name)Adds a help item to the list.static voidbuildItems()Builds the list of help items if it is not already built.static java.lang.StringgetHelpMode(java.lang.String comd)Retrieves the help mode filename for the given command.
-
-
-
Method Detail
-
getHelpMode
public static java.lang.String getHelpMode(java.lang.String comd)
Retrieves the help mode filename for the given command.- Parameters:
comd- the command to look up- Returns:
- the filename associated with the command, or null if not found
-
buildItems
public static void buildItems()
Builds the list of help items if it is not already built.
-
addItem
public static void addItem(java.lang.String comd, java.lang.String name)Adds a help item to the list.- Parameters:
comd- the command associated with the help itemname- the filename of the help item
-
-