org.argouml.uml.ui.foundation.core
Class PropPanelModelElement
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.argouml.ui.TabSpawnable
org.argouml.uml.ui.PropPanel
org.argouml.uml.ui.foundation.core.PropPanelModelElement
- All Implemented Interfaces:
- javax.accessibility.Accessible, java.lang.Cloneable, java.util.EventListener, java.awt.image.ImageObserver, ru.novosoft.uml.MElementListener, java.awt.MenuContainer, Orientable, java.io.Serializable, TabModelTarget, TabTarget, TargetListener, UMLUserInterfaceContainer
- Direct Known Subclasses:
- PropPanelAction, PropPanelAssociationEnd, PropPanelComment, PropPanelComponentInstance, PropPanelEvent, PropPanelExtend, PropPanelExtensionPoint, PropPanelFeature, PropPanelGeneralization, PropPanelGuard, PropPanelInclude, PropPanelInstance, PropPanelInteraction, PropPanelLink, PropPanelMessage, PropPanelNamespace, PropPanelNodeInstance, PropPanelObject, PropPanelOperation, PropPanelParameter, PropPanelReception, PropPanelRelationship, PropPanelSignal, PropPanelStateMachine, PropPanelStateVertex, PropPanelStereotype, PropPanelStimulus, PropPanelTransition
- public abstract class PropPanelModelElement
- extends PropPanel
- See Also:
- Serialized Form
Nested classes inherited from class javax.swing.JPanel |
javax.swing.JPanel.AccessibleJPanel |
Nested classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Fields inherited from class javax.swing.JPanel |
|
Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Container |
|
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 |
Methods inherited from class org.argouml.uml.ui.PropPanel |
addCaption, addCaption, addField, addField, addFieldAfter, addFieldBefore, addLinkField, addLinkField, addMElementListener, addSeperator, formatCollection, formatElement, formatNamespace, getDisplayNamespace, getModelElement, getProfile, getResourceBundle, getTarget, isNavigateBackEnabled, isNavigateForwardEnabled, isRemovableElement, listRoleItemSet, localize, navigateBack, navigateBackAction, navigateForward, navigateForwardAction, navigateTo, propertySet, recovered, refresh, removed, removeElement, removeMElementListener, roleAdded, roleRemoved, setNameEventListening, setOrientation, setTarget, shouldBeEnabled, targetAdded, targetRemoved, targetSet |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
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 |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_objectIcon
protected static javax.swing.ImageIcon _objectIcon
_componentInstanceIcon
protected static javax.swing.ImageIcon _componentInstanceIcon
_nodeInstanceIcon
protected static javax.swing.ImageIcon _nodeInstanceIcon
_instanceIcon
protected static javax.swing.ImageIcon _instanceIcon
_linkIcon
protected static javax.swing.ImageIcon _linkIcon
_stimulusIcon
protected static javax.swing.ImageIcon _stimulusIcon
_associationIcon
protected static javax.swing.ImageIcon _associationIcon
_assocEndIcon
protected static javax.swing.ImageIcon _assocEndIcon
_assocEndRoleIcon
protected static javax.swing.ImageIcon _assocEndRoleIcon
_generalizationIcon
protected static javax.swing.ImageIcon _generalizationIcon
_realizationIcon
protected static javax.swing.ImageIcon _realizationIcon
_classIcon
protected static javax.swing.ImageIcon _classIcon
_collaborationIcon
protected static javax.swing.ImageIcon _collaborationIcon
_interfaceIcon
protected static javax.swing.ImageIcon _interfaceIcon
_addOpIcon
protected static javax.swing.ImageIcon _addOpIcon
_addAttrIcon
protected static javax.swing.ImageIcon _addAttrIcon
_addAssocIcon
protected static javax.swing.ImageIcon _addAssocIcon
_packageIcon
protected static javax.swing.ImageIcon _packageIcon
_modelIcon
protected static javax.swing.ImageIcon _modelIcon
_innerClassIcon
protected static javax.swing.ImageIcon _innerClassIcon
_nodeIcon
protected static javax.swing.ImageIcon _nodeIcon
_componentIcon
protected static javax.swing.ImageIcon _componentIcon
_dataTypeIcon
protected static javax.swing.ImageIcon _dataTypeIcon
_actorIcon
protected static javax.swing.ImageIcon _actorIcon
_useCaseIcon
protected static javax.swing.ImageIcon _useCaseIcon
_extendIcon
protected static javax.swing.ImageIcon _extendIcon
_extensionPointIcon
protected static javax.swing.ImageIcon _extensionPointIcon
_includeIcon
protected static javax.swing.ImageIcon _includeIcon
_dependencyIcon
protected static javax.swing.ImageIcon _dependencyIcon
_permissionIcon
protected static javax.swing.ImageIcon _permissionIcon
_usageIcon
protected static javax.swing.ImageIcon _usageIcon
_parameterIcon
protected static javax.swing.ImageIcon _parameterIcon
_operationIcon
protected static javax.swing.ImageIcon _operationIcon
_signalIcon
protected static javax.swing.ImageIcon _signalIcon
_stereotypeIcon
protected static javax.swing.ImageIcon _stereotypeIcon
_guardIcon
protected static javax.swing.ImageIcon _guardIcon
_transitionIcon
protected static javax.swing.ImageIcon _transitionIcon
_classifierRoleIcon
protected static javax.swing.ImageIcon _classifierRoleIcon
_associationRoleIcon
protected static javax.swing.ImageIcon _associationRoleIcon
_callActionIcon
protected static javax.swing.ImageIcon _callActionIcon
_eventIcon
protected static javax.swing.ImageIcon _eventIcon
_interactionIcon
protected static javax.swing.ImageIcon _interactionIcon
_actionIcon
protected static javax.swing.ImageIcon _actionIcon
_receptionIcon
protected static javax.swing.ImageIcon _receptionIcon
_commentIcon
protected static javax.swing.ImageIcon _commentIcon
_messageIcon
protected static javax.swing.ImageIcon _messageIcon
_flowIcon
protected static javax.swing.ImageIcon _flowIcon
_stateMachineIcon
protected static javax.swing.ImageIcon _stateMachineIcon
namespaceScroll
private javax.swing.JScrollPane namespaceScroll
namespaceComboBox
private javax.swing.JComboBox namespaceComboBox
stereotypeBox
private javax.swing.JComboBox stereotypeBox
supplierDependencyScroll
private javax.swing.JScrollPane supplierDependencyScroll
clientDependencyScroll
private javax.swing.JScrollPane clientDependencyScroll
targetFlowScroll
private javax.swing.JScrollPane targetFlowScroll
sourceFlowScroll
private javax.swing.JScrollPane sourceFlowScroll
constraintScroll
private javax.swing.JScrollPane constraintScroll
namespaceVisibilityPanel
private javax.swing.JPanel namespaceVisibilityPanel
specializationCheckBox
private javax.swing.JCheckBox specializationCheckBox
elementResidenceScroll
private javax.swing.JScrollPane elementResidenceScroll
nameTextField
private javax.swing.JTextField nameTextField
namespaceComboBoxModel
private UMLModelElementNamespaceComboBoxModel namespaceComboBoxModel
stereotypeComboBoxModel
private static UMLModelElementStereotypeComboBoxModel stereotypeComboBoxModel
namespaceListModel
private static UMLModelElementNamespaceListModel namespaceListModel
clientDependencyListModel
private static UMLModelElementClientDependencyListModel clientDependencyListModel
constraintListModel
private static UMLModelElementConstraintListModel constraintListModel
elementResidenceListModel
private static UMLModelElementElementResidenceListModel elementResidenceListModel
nameDocument
private static UMLModelElementNameDocument nameDocument
sourceFlowListModel
private static UMLModelElementSourceFlowListModel sourceFlowListModel
supplierDependencyListModel
private static UMLModelElementSupplierDependencyListModel supplierDependencyListModel
targetFlowListModel
private static UMLModelElementTargetFlowListModel targetFlowListModel
PropPanelModelElement
public PropPanelModelElement(java.lang.String name,
javax.swing.ImageIcon icon,
Orientation orientation)
PropPanelModelElement
public PropPanelModelElement(java.lang.String name,
Orientation orientation)
PropPanelModelElement
public PropPanelModelElement()
- Constructor that is used if no other proppanel can be found for a modelelement
of some kind. Since this is the default
navigateUp
public void navigateUp()
- Calling this method navigates the target one level up, to the owner of
the current target. In most cases this navigates to the owning namespace.
In some cases it navigates to, for example, the owning composite state
for some simple state.
navigateNamespace
public void navigateNamespace()
getPropertyPanel
public PropPanel getPropertyPanel()
isModuleEnabled
public boolean isModuleEnabled()
getModulePopUpActions
public java.util.Vector getModulePopUpActions(java.util.Vector v,
java.lang.Object o)
shutdownModule
public boolean shutdownModule()
initializeModule
public boolean initializeModule()
setModuleEnabled
public void setModuleEnabled(boolean enabled)
inContext
public boolean inContext(java.lang.Object[] o)
getNamespaceScroll
protected javax.swing.JScrollPane getNamespaceScroll()
getNamespaceComboBox
protected javax.swing.JComboBox getNamespaceComboBox()
getStereotypeBox
protected javax.swing.JComboBox getStereotypeBox()
getSupplierDependencyScroll
protected javax.swing.JScrollPane getSupplierDependencyScroll()
getClientDependencyScroll
protected javax.swing.JScrollPane getClientDependencyScroll()
getTargetFlowScroll
protected javax.swing.JScrollPane getTargetFlowScroll()
getSourceFlowScroll
protected javax.swing.JScrollPane getSourceFlowScroll()
getConstraintScroll
protected javax.swing.JScrollPane getConstraintScroll()
getNamespaceVisibilityPanel
protected javax.swing.JPanel getNamespaceVisibilityPanel()
getSpecializationCheckBox
protected javax.swing.JCheckBox getSpecializationCheckBox()
getElementResidenceScroll
protected javax.swing.JScrollPane getElementResidenceScroll()
getNameTextField
protected javax.swing.JTextField getNameTextField()
getNameDocument
protected UMLPlainTextDocument getNameDocument()
- Returns the document (model) for the name. Only used for the
PropPanelComment.
- Returns:
- Document