org.biolegato.core.menu
Class GDEMenuParser
java.lang.Object
org.biolegato.core.menu.GDEMenuParser
public class GDEMenuParser
- extends java.lang.Object
- Author:
- alvare
|
Constructor Summary |
GDEMenuParser()
Creates a new instance of GDEMenuParser |
|
Method Summary |
static java.util.Map<java.lang.String,java.lang.Object> |
createGDEButton(java.lang.String label,
java.lang.String command,
boolean closeWindow)
|
static void |
readGDEMenuFile(java.io.File file)
This function loads a GDE formatted menu file into the program. |
static void |
readGDEMenuFile(java.lang.String menuName,
java.io.File file)
This function loads a GDE formatted menu file into the program. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GDEMenuParser
public GDEMenuParser()
- Creates a new instance of GDEMenuParser
readGDEMenuFile
public static void readGDEMenuFile(java.io.File file)
- This function loads a GDE formatted menu file into the program.
- Parameters:
menuName - the name of the current heading.file - the file to read.
readGDEMenuFile
public static void readGDEMenuFile(java.lang.String menuName,
java.io.File file)
- This function loads a GDE formatted menu file into the program.
- Parameters:
menuName - the name of the current heading.file - the file to read.
createGDEButton
public static java.util.Map<java.lang.String,java.lang.Object> createGDEButton(java.lang.String label,
java.lang.String command,
boolean closeWindow)
Copyright © 2008-2010 University of Manitoba.