public class CodeGen
extends java.awt.Container
implements java.lang.Runnable, java.awt.event.ActionListener
| Modifier and Type | Field and Description |
|---|---|
static boolean |
debug_on
Set to true to have many fuctions print degub info to System.out.
|
| Constructor and Description |
|---|
CodeGen() |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent evt) |
void |
destroy() |
java.lang.String |
getAppletInfo()
Old VisualJ APPLET INFO SUPPORT:
The getAppletInfo() method returns a string describing the applet's
author, copyright date, or miscellaneous information.
|
java.lang.String |
GetParameter(java.lang.String strName,
java.lang.String[] args)
From old VisualJ STANDALONE APPLICATION SUPPORT
The GetParameter() method is a replacement for the getParameter() method
defined by Applet.
|
java.lang.String[][] |
getParameterInfo()
Old VisualJ PARAMETER SUPPORT
The getParameterInfo() method returns an array of strings describing
the parameters understood by this applet.
|
void |
GetParameters(java.lang.String[] args)
From old VisualJ STANDALONE APPLICATION SUPPORT
The GetParameters() method retrieves the values of each of the applet's
parameters and stores them in variables.
|
void |
init() |
void |
InitializeClassList()
Used by RCS Design tool.
|
void |
LoadHierarchy()
See CodeGenCommon.LoadHierarchy()
|
static void |
main(java.lang.String[] args)
Deprecated.
Use CodeGenCmdLine instead.
|
void |
paint(java.awt.Graphics g) |
void |
RingBell()
Ring a bell to indicate an error if it has been more than 2.5 seconds since the
last error.
|
void |
run()
Old VisualJ THREAD SUPPORT
The run() method is called when the applet's thread is started.
|
void |
RunScriptFile(java.lang.String new_script_file)
Run a .gen script file.
|
void |
set_ClassList(FastListPanelInterface flp)
Set the ClassList.
|
void |
set_inside_diagapplet(boolean b)
Set the inside_diagapplet property, see CodeGenCommon.set_preserve_modules_hashtable()
|
void |
set_m_ConfigFile(java.lang.String str)
Set the configFile.
|
void |
set_m_fStandAlone(boolean b)
Set the m_fStandAlone property.
|
void |
set_m_hierarchyFile(java.lang.String str)
Set the hierarchyFile.
|
void |
set_m_loadingPanel(URLLoadInfoPanelInterface lp)
Set the loadingPanel.
|
void |
set_m_modulesCountList(CountListInterface lst)
Set modulesCountList.
|
void |
set_m_modulesHashTable(java.util.Hashtable ht)
Set the modulesHashTable.
|
void |
set_preserve_modules_hashtable(boolean b)
Set the preserve modules hashtable property, see CodeGenCommon.set_preserve_modules_hashtable()
|
void |
set_serversHashtable(java.util.Hashtable ht)
Set the serversHashTable.
|
add, add, add, add, add, addContainerListener, addImpl, addNotify, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, isValidateRoot, layout, list, list, locate, minimumSize, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, transferFocusDownCycle, update, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, revalidate, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCyclepublic static boolean debug_on
public void set_m_fStandAlone(boolean b)
b - whether to assume standalone modepublic void RingBell()
public java.lang.String GetParameter(java.lang.String strName,
java.lang.String[] args)
strName - name of parameter to retrieveargs - command line args if run from main()public void GetParameters(java.lang.String[] args)
args - command line args if called from main()public static void main(java.lang.String[] args)
args - cmd line argumentspublic void InitializeClassList()
throws java.lang.Exception
java.lang.Exception - when class list can not be initializedpublic void actionPerformed(java.awt.event.ActionEvent evt)
actionPerformed in interface java.awt.event.ActionListenerpublic java.lang.String getAppletInfo()
public java.lang.String[][] getParameterInfo()
public void init()
public void LoadHierarchy()
throws java.lang.Exception
java.lang.Exception - when hiearchy can not be loadedpublic void destroy()
public void paint(java.awt.Graphics g)
paint in class java.awt.Containerpublic void RunScriptFile(java.lang.String new_script_file)
new_script_file - script file to runpublic void run()
run in interface java.lang.Runnablepublic void set_preserve_modules_hashtable(boolean b)
b - whether to preserve modulespublic void set_inside_diagapplet(boolean b)
b - whether being run inside diagappletpublic void set_m_hierarchyFile(java.lang.String str)
str - new hierarchy file namepublic void set_m_ConfigFile(java.lang.String str)
str - new configuration file namepublic void set_m_modulesHashTable(java.util.Hashtable ht)
ht - new modules hash tablepublic void set_serversHashtable(java.util.Hashtable ht)
ht - new servers hashtablepublic void set_m_loadingPanel(URLLoadInfoPanelInterface lp)
lp - new loadingPanelpublic void set_ClassList(FastListPanelInterface flp)
flp - new fastlistpanelpublic void set_m_modulesCountList(CountListInterface lst)
lst - new modules countlist