rcsdesign
Class rcsDesign

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by java.awt.Panel
              extended by java.applet.Applet
                  extended by diagapplet.utils.StandAloneApplet
                      extended by rcsdesign.rcsDesignGui
                          extended by rcsdesign.rcsDesign
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.event.AdjustmentListener, java.awt.event.ComponentListener, java.awt.event.ItemListener, java.awt.event.TextListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.lang.Runnable, java.util.EventListener, javax.accessibility.Accessible

public class rcsDesign
extends rcsDesignGui
implements java.lang.Runnable, java.awt.event.ActionListener, java.awt.event.ItemListener, java.awt.event.TextListener, java.awt.event.AdjustmentListener

Main class for RCS Design tool.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.applet.Applet
java.applet.Applet.AccessibleApplet
 
Nested classes/interfaces inherited from class java.awt.Panel
java.awt.Panel.AccessibleAWTPanel
 
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
protected static int CHECK_IN_FILES
           
protected static int CLEANUP
           
protected static int CREATE_SOURCE
           
protected static int DO_NOTHING
           
protected static java.awt.Frame main_window
           
protected static int MAX_FILE_PANEL_HEIGHT_DEFAULT
           
protected static int MAX_FILE_PANEL_WIDTH_DEFAULT
           
protected static int MAX_FILE_TEXT_LENGTH_DEFAULT
           
protected static int MAX_FILE_TEXT_PANEL_PIXEL_HEIGHT_DEFAULT
           
protected static int MAX_FILE_TEXT_PANEL_PIXEL_WIDTH_DEFAULT
           
static int MAX_FILE_TEXT_WIDTH_DEFAULT
           
protected static int MAX_HIERARCHY_PANEL_HEIGHT_DEFAULT
           
protected static int MAX_HIERARCHY_PANEL_WIDTH_DEFAULT
           
protected static int MIN_FILE_PANEL_HEIGHT_DEFAULT
           
protected static int MIN_FILE_PANEL_WIDTH_DEFAULT
           
protected static int MIN_FILE_TEXT_PANEL_PIXEL_HEIGHT_DEFAULT
           
protected static int MIN_FILE_TEXT_PANEL_PIXEL_WIDTH_DEFAULT
           
protected static int MIN_HIERARCHY_PANEL_HEIGHT_DEFAULT
           
protected static int MIN_HIERARCHY_PANEL_WIDTH_DEFAULT
           
protected static java.lang.String[] orig_args
           
protected static int read_config_count
           
protected static int READ_CONFIGURATION
           
protected  int run_function
           
protected static int UPDATE_FILE
           
protected  boolean updating_files
           
 
Fields inherited from class rcsdesign.rcsDesignGui
addIncludeField, addIncludeLabel, addLibField, addLibLabel, addmainLoopField, addmainLoopLabel, addModuleField, addModuleLabel, addPlatField, addPlatLabel, addServerField, addServerLabel, appdirField, appdirLabel, appnameField, appnameLabel, auto_checkin, auto_checkout, autoCheckInCheckbox, autoCheckOutCheckbox, browserCommandField, browserCommandLabel, bufsInServerLabel, bufsInServerList, checkInCommandField, checkInCommandLabel, checkInEverythingButton, checkOutCommandField, checkOutCommandLabel, codeGenerationApplet, cppExtField, cppExtLabel, current_fti, currentLoadedFile, cycletimeField, cycletimeLabel, debug_on, default_version_control_checkin_command, default_version_control_checkout_command, default_version_control_directory, default_version_control_symlink_command, default_version_control_type, delIncludeButton, delLibButton, delmainLoopButton, delPlatButton, delServerButton, devPlatTypeGroup, devPlatTypeLabel, diag_cmd, diagCommandField, diagCommandLabel, fileAsterixLabel, fileCheckinDirectoryField, fileCheckinDirectoryLabel, fileCheckinTypeChoice, fileCheckinTypeLabel, fileCheckOutCheckbox, filesList, filesListLabel, fileTextArea, fileTextLabel, hppExtField, hppExtLabel, includesLabel, includesList, inside_alert, inside_query, inside_run, javaCommandField, javaCommandLabel, javaSetupArea, javaSetupLabel, libsLabel, libsList, list_modules_by_number, mainLoopHostField, mainLoopHostLabel, mainLoopLabel, mainLoopList, makeBackupsCheckbox, makeCommandField, makeCommandLabel, modsInLoopLabel, modsInLoopList, modulesList, mswinCheckbox, objExtField, objExtLabel, overwriteAlwaysCheckbox, overwriteGroup, overwriteLabel, overwriteNeverCheckbox, overwritePromptCheckbox, parentFrame, platLabel, platList, rcslibdirField, rcslibdirLabel, removeBackupsButton, runCommandField, runCommandLabel, screenChoice, serverHostField, serverHostLabel, serverLabel, serverList, singleDirCheckbox, symLinkCommandField, symLinkCommandLabel, terminalCommandField, terminalCommandLabel, text_file_needs_saving, unixCheckbox, useJavaInScriptsCheckbox, useMergerCheckbox, userdirField, userdirLabel
 
Fields inherited from class diagapplet.utils.StandAloneApplet
initialized, inside_init, inside_resizeable_window, last_size, m_fStandAlone, main_applet_thread, repaint_count, resize_next_time
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
rcsDesign()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
           
protected  void AddToBufferList(java.lang.String name)
           
 void adjustmentValueChanged(java.awt.event.AdjustmentEvent evt)
           
 boolean canShutdown()
           
protected  void CheckInAllFiles()
           
 void CheckInFile(java.io.File f)
           
 void CheckOutFile(java.io.File f)
           
protected  void cleanup_in_background()
           
 void cleanup()
           
protected  void CreateBufferList()
           
 void destroy()
           
protected  void ExecuteInDirectory(java.lang.String directory, java.lang.String command)
           
 java.lang.String getAppletInfo()
           
protected  java.lang.String getDefaultPlat()
           
protected  java.lang.String getFilesListItem(int i)
           
 java.lang.String[][] getParameterInfo()
           
protected  void ImportController()
           
protected  void ImportController(java.lang.String importdir, java.lang.String filename, java.lang.String subsystem)
           
 void init()
           
protected  void InitializeLists()
           
 void itemStateChanged(java.awt.event.ItemEvent evt)
           
protected  void LoadListsFromCurModule()
           
static void main(java.lang.String[] args)
           
protected  void MarkAllFiles()
           
protected  void MarkCommonFiles()
           
protected  void MarkLoopFiles(java.lang.String loopName)
           
protected  void MarkModuleFiles(java.lang.String moduleName, boolean include_intf)
           
protected  void monitored_repaint()
           
protected  void NewController()
           
protected  void OpenController()
           
 void paint(java.awt.Graphics g)
           
protected  void ReadEverything()
           
protected  void RemoveBackups()
           
 void run()
           
 void start()
           
 void startShutdown()
           
 void stop()
           
 void textValueChanged(java.awt.event.TextEvent evt)
           
protected  boolean UpdateAuxStuff(java.lang.String aux)
           
protected  void UpdateWriter()
           
 
Methods inherited from class rcsdesign.rcsDesignGui
Alert, printThreadInfo, Query, ReadFileIntoTextArea
 
Methods inherited from class diagapplet.utils.StandAloneApplet
componentHidden, componentMoved, componentResized, componentShown, manual_resize
 
Methods inherited from class java.applet.Applet
getAccessibleContext, getAppletContext, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus
 
Methods inherited from class java.awt.Panel
addNotify
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, 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, 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, validateTree
 
Methods inherited from class java.awt.Component
action, 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, 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, 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, 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, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MAX_FILE_TEXT_WIDTH_DEFAULT

public static final int MAX_FILE_TEXT_WIDTH_DEFAULT
See Also:
Constant Field Values

MAX_FILE_TEXT_LENGTH_DEFAULT

protected static final int MAX_FILE_TEXT_LENGTH_DEFAULT
See Also:
Constant Field Values

MIN_FILE_TEXT_PANEL_PIXEL_WIDTH_DEFAULT

protected static final int MIN_FILE_TEXT_PANEL_PIXEL_WIDTH_DEFAULT
See Also:
Constant Field Values

MIN_FILE_TEXT_PANEL_PIXEL_HEIGHT_DEFAULT

protected static final int MIN_FILE_TEXT_PANEL_PIXEL_HEIGHT_DEFAULT
See Also:
Constant Field Values

MAX_FILE_TEXT_PANEL_PIXEL_WIDTH_DEFAULT

protected static final int MAX_FILE_TEXT_PANEL_PIXEL_WIDTH_DEFAULT
See Also:
Constant Field Values

MAX_FILE_TEXT_PANEL_PIXEL_HEIGHT_DEFAULT

protected static final int MAX_FILE_TEXT_PANEL_PIXEL_HEIGHT_DEFAULT
See Also:
Constant Field Values

MIN_HIERARCHY_PANEL_WIDTH_DEFAULT

protected static final int MIN_HIERARCHY_PANEL_WIDTH_DEFAULT
See Also:
Constant Field Values

MIN_HIERARCHY_PANEL_HEIGHT_DEFAULT

protected static final int MIN_HIERARCHY_PANEL_HEIGHT_DEFAULT
See Also:
Constant Field Values

MAX_HIERARCHY_PANEL_HEIGHT_DEFAULT

protected static final int MAX_HIERARCHY_PANEL_HEIGHT_DEFAULT
See Also:
Constant Field Values

MAX_HIERARCHY_PANEL_WIDTH_DEFAULT

protected static final int MAX_HIERARCHY_PANEL_WIDTH_DEFAULT
See Also:
Constant Field Values

MIN_FILE_PANEL_WIDTH_DEFAULT

protected static final int MIN_FILE_PANEL_WIDTH_DEFAULT
See Also:
Constant Field Values

MIN_FILE_PANEL_HEIGHT_DEFAULT

protected static final int MIN_FILE_PANEL_HEIGHT_DEFAULT
See Also:
Constant Field Values

MAX_FILE_PANEL_HEIGHT_DEFAULT

protected static final int MAX_FILE_PANEL_HEIGHT_DEFAULT
See Also:
Constant Field Values

MAX_FILE_PANEL_WIDTH_DEFAULT

protected static final int MAX_FILE_PANEL_WIDTH_DEFAULT
See Also:
Constant Field Values

orig_args

protected static java.lang.String[] orig_args

main_window

protected static java.awt.Frame main_window

read_config_count

protected static int read_config_count

DO_NOTHING

protected static final int DO_NOTHING
See Also:
Constant Field Values

READ_CONFIGURATION

protected static final int READ_CONFIGURATION
See Also:
Constant Field Values

CREATE_SOURCE

protected static final int CREATE_SOURCE
See Also:
Constant Field Values

CHECK_IN_FILES

protected static final int CHECK_IN_FILES
See Also:
Constant Field Values

UPDATE_FILE

protected static final int UPDATE_FILE
See Also:
Constant Field Values

CLEANUP

protected static final int CLEANUP
See Also:
Constant Field Values

run_function

protected int run_function

updating_files

protected boolean updating_files
Constructor Detail

rcsDesign

public rcsDesign()
Method Detail

monitored_repaint

protected void monitored_repaint()

AddToBufferList

protected void AddToBufferList(java.lang.String name)

CreateBufferList

protected void CreateBufferList()

CheckOutFile

public void CheckOutFile(java.io.File f)
Overrides:
CheckOutFile in class rcsDesignGui

CheckInFile

public void CheckInFile(java.io.File f)
Overrides:
CheckInFile in class rcsDesignGui

ExecuteInDirectory

protected void ExecuteInDirectory(java.lang.String directory,
                                  java.lang.String command)

main

public static void main(java.lang.String[] args)

UpdateWriter

protected void UpdateWriter()

getDefaultPlat

protected java.lang.String getDefaultPlat()

getAppletInfo

public java.lang.String getAppletInfo()
Overrides:
getAppletInfo in class java.applet.Applet

getParameterInfo

public java.lang.String[][] getParameterInfo()
Overrides:
getParameterInfo in class java.applet.Applet

init

public void init()
Overrides:
init in class java.applet.Applet

ReadEverything

protected void ReadEverything()

InitializeLists

protected void InitializeLists()

ImportController

protected void ImportController()

OpenController

protected void OpenController()

NewController

protected void NewController()

ImportController

protected void ImportController(java.lang.String importdir,
                                java.lang.String filename,
                                java.lang.String subsystem)

getFilesListItem

protected java.lang.String getFilesListItem(int i)

RemoveBackups

protected void RemoveBackups()

CheckInAllFiles

protected void CheckInAllFiles()

itemStateChanged

public void itemStateChanged(java.awt.event.ItemEvent evt)
Specified by:
itemStateChanged in interface java.awt.event.ItemListener

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent evt)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

canShutdown

public boolean canShutdown()
Overrides:
canShutdown in class StandAloneApplet

startShutdown

public void startShutdown()
Overrides:
startShutdown in class StandAloneApplet

cleanup

public void cleanup()
Overrides:
cleanup in class StandAloneApplet

cleanup_in_background

protected void cleanup_in_background()

MarkCommonFiles

protected void MarkCommonFiles()

MarkAllFiles

protected void MarkAllFiles()

MarkLoopFiles

protected void MarkLoopFiles(java.lang.String loopName)

MarkModuleFiles

protected void MarkModuleFiles(java.lang.String moduleName,
                               boolean include_intf)

textValueChanged

public void textValueChanged(java.awt.event.TextEvent evt)
Specified by:
textValueChanged in interface java.awt.event.TextListener

adjustmentValueChanged

public void adjustmentValueChanged(java.awt.event.AdjustmentEvent evt)
Specified by:
adjustmentValueChanged in interface java.awt.event.AdjustmentListener

UpdateAuxStuff

protected boolean UpdateAuxStuff(java.lang.String aux)

start

public void start()
Overrides:
start in class java.applet.Applet

stop

public void stop()
Overrides:
stop in class java.applet.Applet

run

public void run()
Specified by:
run in interface java.lang.Runnable

destroy

public void destroy()
Overrides:
destroy in class java.applet.Applet

paint

public void paint(java.awt.Graphics g)
Overrides:
paint in class java.awt.Container

LoadListsFromCurModule

protected void LoadListsFromCurModule()