com.ptc.wgmecad
Class SchematicControl
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.ptc.wgmecad.GriddedPanel
com.ptc.wgmecad.SchematicControl
- All Implemented Interfaces:
- Accessible, ImageObserver, MenuContainer, Serializable
- public class SchematicControl
- extends GriddedPanel
- See Also:
- Serialized Form
Fields inherited from class javax.swing.JPanel |
|
Fields inherited from class java.awt.Container |
|
Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, 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, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
design
private DesignAll design
ccawgm
private CCAWGMMain ccawgm
editable
private boolean editable
defaultRevision
private String defaultRevision
queryForCheckedOut
private boolean queryForCheckedOut
status
private DesignStatusControl status
schProjLocControl
private SchematicLocationControl schProjLocControl
ecadTool
public String ecadTool
seledaFilePath
public String seledaFilePath
launchOhio
public boolean launchOhio
genEDA
public boolean genEDA
genOK
public boolean genOK
genOKcheck
public boolean genOKcheck
selFile
public String selFile
seledaFileName
public String seledaFileName
searchImage
private ImageIcon searchImage
fileImage
private ImageIcon fileImage
ohioImage
private ImageIcon ohioImage
ohioButton
public static JButton ohioButton
enable
boolean enable
contentImage
private ImageIcon contentImage
variantImage
private ImageIcon variantImage
include
private JCheckBox include
ohioInclude
private JCheckBox ohioInclude
epmDocType
private String epmDocType
schematicNameEdit
private boolean schematicNameEdit
schematicNunberEdit
private boolean schematicNunberEdit
schematicRevisionEdit
private boolean schematicRevisionEdit
schematicDescriptionEdit
private boolean schematicDescriptionEdit
argReg
private static ArgumentRegister argReg
sargReg
private static SecondaryArgumentRegister sargReg
argMap
private static ArgumentMap argMap
sargMap
private static SecondaryArgumentMap sargMap
instance
private static SchematicControl instance
logger
static org.apache.log4j.Logger logger
tab
private JTabbedPane tab
registeredTabs
Set registeredTabs
viewThread
private Thread viewThread
extraPanel
private GriddedPanel extraPanel
FileSelectorPanel
private GriddedPanel FileSelectorPanel
ohioPanel
private GriddedPanel ohioPanel
numberPanel
private GriddedPanel numberPanel
jcageCodeLabel
private JLabel jcageCodeLabel
jcageCodeList
private static JSortedCombo jcageCodeList
jOhioLabel
private JLabel jOhioLabel
jOhioGenLabel
private JLabel jOhioGenLabel
jFileSelectorLabel
private JLabel jFileSelectorLabel
jFileSelectorText
private JSortedCombo jFileSelectorText
jSchematicNameLabel
private JLabel jSchematicNameLabel
jSchematicNameText
private JTextField jSchematicNameText
jSchematicNumberLabel
private JLabel jSchematicNumberLabel
jSchematicNumberText
private JTextField jSchematicNumberText
jSchematicRevisionLabel
private JLabel jSchematicRevisionLabel
jSchematicRevisionText
private JTextField jSchematicRevisionText
jSchematicDescriptionLabel
private JLabel jSchematicDescriptionLabel
jSchematicDescriptionText
private JTextField jSchematicDescriptionText
jSpacerLabel
private JLabel jSpacerLabel
SchematicControl
public SchematicControl(DesignAll design,
CCAWGMMain ccawgm,
boolean editable,
boolean includeTeam,
boolean queryForCheckedOut)
- Creates new form SchematicControl2
SchematicControl
public SchematicControl(DesignAll design,
CCAWGMMain ccawgm)
SchematicControl
public SchematicControl()
getInstance
public static SchematicControl getInstance()
init
private void init()
onStateChanged
private void onStateChanged(ChangeEvent e)
switchToTab
private void switchToTab(Component tabComp)
- Changes to the tab with the component that is passed in. If the component is not found, it does nothing.
switchToTab
public void switchToTab(int tabIndex)
initComponents
protected void initComponents()
createSchDataPanel
private GriddedPanel createSchDataPanel()
setToolVisible
public void setToolVisible()
getIncludeState
public boolean getIncludeState()
setIncludeState
public void setIncludeState(boolean _enable)
getEnabledState
public boolean getEnabledState()
setEnabledState
public void setEnabledState(boolean _enable)
getOhioIncludeState
public boolean getOhioIncludeState()
setOhioInclude
public void setOhioInclude(boolean includeON)
onccChange
public void onccChange()
onFileChange
public void onFileChange()
onNew
public void onNew()
onDesignChange
public void onDesignChange()
addOKListener
private void addOKListener()
onOK
public void onOK()
getRDThread
public Thread getRDThread()
onGenViewable
public void onGenViewable()
throws IOException,
MissingLocationException
- Throws:
IOException
MissingLocationException
setGUIEnable
public void setGUIEnable(boolean _enable)
resetGUIEnable
public void resetGUIEnable()
setupEditability
private void setupEditability(boolean _enable)
updateGUIValues
private void updateGUIValues()
setCageCodeList
public static void setCageCodeList()
clearGUIValues
private void clearGUIValues()
updateDesignFromGUIValues
private void updateDesignFromGUIValues()
updateDesignStatus
private void updateDesignStatus()
- This updates the status of a design, querying Windchill to get state.
fix: update this for board and schematic status checking