G4P GUI Builder  4.4
Visual GUI designer for the G4P v4.3.1 library
 All Classes Namespaces Functions Variables
g4p.tool.G4PTool Class Reference
Inheritance diagram for g4p.tool.G4PTool:

Public Member Functions

String getMenuTitle ()
 
void clearFrame ()
 
void init (Base theBase)
 
void run ()
 

Static Public Member Functions

static String getVersion ()
 
static String getCompatibleVersionNo ()
 
static int getVersionNo ()
 

Static Public Attributes

static boolean DEBUG = false
 
static Color[] cscheme = { new Color(0,0,0) }
 
static Base base
 

Private Member Functions

boolean g4pJarExists (File sketchbookLibrariesFolder)
 
boolean guiTabExists (Sketch sketch)
 

Private Attributes

boolean g4p_error_shown = false
 

Static Private Attributes

static GuiDesigner dframe
 

Additional Inherited Members

- Public Attributes inherited from g4p.tool.TFileConstants
final String SEP = File.separator
 
final String PDE_TAB_PRETTY_NAME = "gui"
 
final String PDE_TAB_NAME = PDE_TAB_PRETTY_NAME + ".pde"
 
final String CONFIG_FOLDER = "GUI_BUILDER_DATA"
 
final String GUI_MODEL_FILE_FILTER = "gui.ser."
 
final String GUI_MODEL_FILENAME = GUI_MODEL_FILE_FILTER + G4PTool.getCompatibleVersionNo()
 
final String GUI_MODEL_FILE = CONFIG_FOLDER + SEP + GUI_MODEL_FILENAME
 
final String G4P_TOOL_DATA_FOLDER = "tools" + SEP + "##project.name##" + SEP + "data"
 
final String G4P_LIB = "G4P" + SEP + "library" + SEP + "G4P.jar"
 
final String GUI_PDE_BASE = G4P_TOOL_DATA_FOLDER + SEP + "gui_base.txt"
 
final String TAB0_PDE_BASE = G4P_TOOL_DATA_FOLDER + SEP + "tab0.txt"
 

Detailed Description

Author
Peter Lager

Member Function Documentation

boolean g4p.tool.G4PTool.g4pJarExists ( File  sketchbookLibrariesFolder)
private

See if the G4P library has been installed in the SketchBook libraries folder correctly

Parameters
sketchbookLibrariesFolder
Returns
true if found else false
static String g4p.tool.G4PTool.getCompatibleVersionNo ( )
static

Get compatible version string of this tool

Returns
revision number string
static String g4p.tool.G4PTool.getVersion ( )
static

Get version string of this tool

Returns
revision number string
static int g4p.tool.G4PTool.getVersionNo ( )
static

Get version number of this tool as an integer with the form
MMmmii
M = Major revision
m = minor revision
i = internal revision

Returns
version number as int
boolean g4p.tool.G4PTool.guiTabExists ( Sketch  sketch)
private

See if the gui.pde tab has been created already if not

Parameters
sketch
Returns
void g4p.tool.G4PTool.init ( Base  theBase)

Called once first time the tool is called

void g4p.tool.G4PTool.run ( )

This is executed every time we launch the tool using the menu item in Processing IDE


The documentation for this class was generated from the following file: