com.ptc.wgmecad
Class CCAWGMMain
java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
com.ptc.wgmecad.CCAWGMMain
- All Implemented Interfaces:
- Accessible, ImageObserver, MenuContainer, RootPaneContainer, Serializable, WindowConstants
- public class CCAWGMMain
- extends JFrame
Created by IntelliJ IDEA.
User: kevinj
Date: Dec 18, 2002
Time: 1:20:13 PM
To change this template use Options | File Templates.
- See Also:
- Serialized Form
Fields inherited from class java.awt.Frame |
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
Fields inherited from class java.awt.Window |
|
Fields inherited from class java.awt.Container |
|
Methods inherited from class javax.swing.JFrame |
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update |
Methods inherited from class java.awt.Frame |
addNotify, finalize, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setIconImage, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
Methods inherited from class java.awt.Window |
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, hide, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, show, toBack, toFront |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, transferFocusBackward, transferFocusDownCycle, 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, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusUpCycle |
ccawgm
private CCAWGMMain ccawgm
OK
public static final String OK
- See Also:
- Constant Field Values
SOK
public static final String SOK
- See Also:
- Constant Field Values
HOK
public static final String HOK
- See Also:
- Constant Field Values
SAVE
public static final String SAVE
- See Also:
- Constant Field Values
CANCEL
public static final String CANCEL
- See Also:
- Constant Field Values
SCANCEL
public static final String SCANCEL
- See Also:
- Constant Field Values
HCANCEL
public static final String HCANCEL
- See Also:
- Constant Field Values
EXIT
public static final String EXIT
- See Also:
- Constant Field Values
pc
private ProgressControl pc
mainFrame
private static CCAWGMMain mainFrame
label
private static final JLabel label
progress
private static JProgressBar progress
oborder
private final OvalBorder oborder
omborder
private final OvalBorder omborder
osborder
private final OvalSBorder osborder
onsborder
private final OvalBorder onsborder
OKCancelListeners
Set OKCancelListeners
OKConfirmers
Set OKConfirmers
frameTitlePrefix
private static final String frameTitlePrefix
frameTitleSpacing
private static final String frameTitleSpacing
- See Also:
- Constant Field Values
frameTitle
public static String frameTitle
borderSize
private static final int borderSize
- See Also:
- Constant Field Values
argReg
private static ArgumentRegister argReg
sargReg
private static SecondaryArgumentRegister sargReg
argMap
private static ArgumentMap argMap
sargMap
private static SecondaryArgumentMap sargMap
im
private static WindchillIntegrationManager im
setupCard
private CCASetup setupCard
fileManager
private FileManager fileManager
dsnControl
private DesignControl dsnControl
schControl
private SchematicControl schControl
asmControl
private AssemblyControl asmControl
BOMControl
private BomControl BOMControl
brdControl
private BoardControl brdControl
actControl
private ActionTBControl actControl
browseControl
private BrowseControl browseControl
statusControl
private CCAUploadPreContentStatus statusControl
instance
private static CCAWGMMain instance
pp
private ProgressPanel pp
allProjLocControl
private AllDesignLocationControl allProjLocControl
NONE
public static final int NONE
- See Also:
- Constant Field Values
CREATENEW
public static final int CREATENEW
- See Also:
- Constant Field Values
CHECKIN
public static final int CHECKIN
- See Also:
- Constant Field Values
CHECKPOINT
public static final int CHECKPOINT
- See Also:
- Constant Field Values
CHECKOUT
public static final int CHECKOUT
- See Also:
- Constant Field Values
CANCEL_CHECKOUT
public static final int CANCEL_CHECKOUT
- See Also:
- Constant Field Values
NEW_REVISION
public static final int NEW_REVISION
- See Also:
- Constant Field Values
GET_COPY
public static final int GET_COPY
- See Also:
- Constant Field Values
QUERY_WORKSPACE
public static final int QUERY_WORKSPACE
- See Also:
- Constant Field Values
currentTab
public static String currentTab
newImage
public static ImageIcon newImage
ciImage
public static ImageIcon ciImage
coImage
public static ImageIcon coImage
gcImage
public static ImageIcon gcImage
cpImage
public static ImageIcon cpImage
ccoImage
public static ImageIcon ccoImage
nrImage
public static ImageIcon nrImage
refreshButtonImage
public static ImageIcon refreshButtonImage
newButtonImage
public static ImageIcon newButtonImage
actionImage
public static ImageIcon actionImage
QueryPanel
public static GriddedPanel QueryPanel
setupImage
public static ImageIcon setupImage
bom
public static ImageIcon bom
schematicImage
public static ImageIcon schematicImage
actionBarLocation
public String actionBarLocation
TAB_DESIGN
public static final String TAB_DESIGN
- See Also:
- Constant Field Values
TAB_BOM
public static final String TAB_BOM
- See Also:
- Constant Field Values
TAB_SEARCH
public static final String TAB_SEARCH
- See Also:
- Constant Field Values
TAB_LOG
public static final String TAB_LOG
- See Also:
- Constant Field Values
TAB_STATUS
public static final String TAB_STATUS
- See Also:
- Constant Field Values
TAB_SETUP
public static final String TAB_SETUP
- See Also:
- Constant Field Values
ps
public PrintStream ps
logger
static org.apache.log4j.Logger logger
LTab
JTabbedPane LTab
- Creates new form CCAWGMMain
registeredLTabs
Set registeredLTabs
RTab
JTabbedPane RTab
registeredRTabs
Set registeredRTabs
c
private Cursor c
mainThread
private Thread mainThread
okToProceed
private boolean okToProceed
cardManager
public static CardLayout cardManager
design
public static DesignAll design
queryDlg
public static QueryPanel queryDlg
deck
public static GriddedPanel deck
act
public static GriddedPanel act
MPanel
public static GriddedPanel MPanel
DesignPanel
public static GriddedPanel DesignPanel
AllPanel
public static GriddedPanel AllPanel
BoardPanel
public static GriddedPanel BoardPanel
SchematicPanel
public static GriddedPanel SchematicPanel
jrp
public static JPanel jrp
rp
public static GriddedPanel rp
cardControlPanel
public static GriddedPanel cardControlPanel
LPanel
public static GriddedPanel LPanel
testPanel
public static GriddedPanel testPanel
RPanel
public static GriddedPanel RPanel
BOMPanel
public static GriddedPanel BOMPanel
schButton
public static JButton schButton
brdButton
public static JButton brdButton
queryButton
public static JButton queryButton
setupButton
public static JButton setupButton
loggerButton
public static JButton loggerButton
statusButton
public static JButton statusButton
jLogoLabel
public static JLabel jLogoLabel
jServerText
private JSortedCombo jServerText
ServerImage
public ImageIcon ServerImage
dServerImage
public ImageIcon dServerImage
schematicLabel
public static JLabel schematicLabel
boardLabel
public static JLabel boardLabel
designLabel
public static JLabel designLabel
bomLabel
public static JLabel bomLabel
queryLabel
public static JLabel queryLabel
loggerLabel
public static JLabel loggerLabel
statusLabel
public static JLabel statusLabel
setupLabel
public static JLabel setupLabel
buttonSelBorder
public Border buttonSelBorder
buttonNotSelBorder
public Border buttonNotSelBorder
CCAWGMMain
public CCAWGMMain()
getProgress
public static JProgressBar getProgress()
getInstance
public static CCAWGMMain getInstance()
init
private void init()
onLTabStateChanged
private void onLTabStateChanged(ChangeEvent e)
switchToLTab
private void switchToLTab(Component LTabComp)
- Changes to the tab with the component that is passed in. If the component is not found, it does nothing.
onRTabStateChanged
private void onRTabStateChanged(ChangeEvent e)
switchToRTab
private void switchToRTab(Component RTabComp)
- Changes to the tab with the component that is passed in. If the component is not found, it does nothing.
getCurrentTab
public String getCurrentTab()
switchToTab
public void switchToTab(String tabName)
setBOMTabTitle
public void setBOMTabTitle()
switchToStatus
public void switchToStatus(int _currentAction)
createInteriorComponents
protected GriddedPanel createInteriorComponents()
createRPanelComponents
private GriddedPanel createRPanelComponents()
createLPanelComponents
private GriddedPanel createLPanelComponents()
setServerLogo
public void setServerLogo(boolean isConnected)
setToolVisible
public void setToolVisible()
onNew
private void onNew()
onClear
public void onClear()
onNewServer
public void onNewServer(String serverName)
waitCursorStart
public void waitCursorStart(String whereCalled)
waitCursorStop
public void waitCursorStop(String whereCalled)
addOKCancelListener
public void addOKCancelListener(ActionListener l)
notifyOKCancelListeners
public void notifyOKCancelListeners(String action)
preNotifyOKCancelListeners
public void preNotifyOKCancelListeners(String action)
addOKConfirmation
public void addOKConfirmation(IOKConfirmer okc)
getConfirmationOfOK
public boolean getConfirmationOfOK()
- walk thru the confirmers until we either find one that refuses to allow an OK, then
display its error message. If none give an error message, then proceed with OK.
- Returns:
setFrameTitle
public void setFrameTitle(String newTitle)
refreshFrame
public void refreshFrame()
onExit
public void onExit()
getMainThread
public Thread getMainThread()
updateOverall
public void updateOverall()
isOkToProceed
public boolean isOkToProceed()
proceed
public void proceed()
fireOKCancel
public void fireOKCancel(String action)
setStatusLabel
public static void setStatusLabel(String newLabel)
setStatus
public void setStatus(String newLabel)
getStatus
public String getStatus()
getGUISpacing
public int getGUISpacing()
startStatusPanelAndLogging
private PrintStream startStatusPanelAndLogging()
defaultAttribDefFileName
private void defaultAttribDefFileName()