Class BpmnPropertyPanel
- java.lang.Object
- 
- java.awt.Component
- 
- java.awt.Container
- 
- javax.swing.JComponent
- 
- javax.swing.JPanel
- 
- jadex.bpmn.editor.gui.propertypanels.BasePropertyPanel
- 
- jadex.bpmn.editor.gui.propertypanels.BpmnPropertyPanel
 
 
 
 
 
 
- 
- All Implemented Interfaces:
- java.awt.image.ImageObserver,- java.awt.MenuContainer,- java.io.Serializable,- javax.accessibility.Accessible
 
 public class BpmnPropertyPanel extends BasePropertyPanel BPMN process property panel.- See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description protected static classBpmnPropertyPanel.CachedParameterParameter cache item.protected classBpmnPropertyPanel.ConfigComboBoxprotected static classBpmnPropertyPanel.ConfigurationContainsConfiguration containment filter.protected classBpmnPropertyPanel.ConfigurationTableModelTable model for configurations.protected classBpmnPropertyPanel.ImportTableModelTable model for imports.protected classBpmnPropertyPanel.ParameterTableModelTable model for parameters.protected classBpmnPropertyPanel.PropertyTableModelTable model for model properties.protected classBpmnPropertyPanel.ProvidedServicesTableModelTable model for provided services.protected classBpmnPropertyPanel.PSContainsprotected classBpmnPropertyPanel.RequiredServicesConfigurationTableModelTable model for start elements.protected classBpmnPropertyPanel.RequiredServicesTableModelTable model for provided services.protected classBpmnPropertyPanel.RSContainsprotected classBpmnPropertyPanel.StartElementsTableModelTable model for start elements.- 
Nested classes/interfaces inherited from class jadex.bpmn.editor.gui.propertypanels.BasePropertyPanelBasePropertyPanel.CollectionContains, BasePropertyPanel.IndexMapContains, BasePropertyPanel.MapContains
 - 
Nested classes/interfaces inherited from class javax.swing.JPaneljavax.swing.JPanel.AccessibleJPanel
 - 
Nested classes/interfaces inherited from class javax.swing.JComponentjavax.swing.JComponent.AccessibleJComponent
 
- 
 - 
Field SummaryFields Modifier and Type Field Description protected java.util.List<ConfigurationInfo>confcacheCache for handling configurations.protected java.lang.String[]CONFIGURATIONS_COLUMN_NAMESThe column names for the configurations table.protected java.util.List<ConfigurationModel>confmodelsThe configuration models for configuration choosersprotected javax.swing.JTableconftableThe configurations table.protected com.mxgraph.util.mxEventSource.mxIEventListenergraphselectionlistenerStart elements graph selection listenerprotected java.lang.String[]IMPORTS_COLUMN_NAMESThe column names for the imports table.protected javax.swing.JTableimporttableThe import table.protected javax.swing.event.ListSelectionListenerlistselectionlistenerStart elements list selection listenerprotected IndexMapparamccheCache for handling parameters.protected java.lang.String[]PARAMETERS_COLUMN_NAMESThe column names for the parameters table.protected javax.swing.JTableparamtableThe parameter table.protected java.lang.String[]PROPERTIES_COLUMN_NAMESThe column names for the properties table.protected java.util.List<java.lang.String>propertynamesProperties Index list.protected javax.swing.JTableproptableThe properties table.protected java.lang.String[]PROVIDED_SERVICES_COLUMN_NAMESThe column names for the provided services table.protected java.lang.String[]PROXY_TYPESThe proxy types.protected javax.swing.JTablepstableThe provided services table.protected javax.swing.JTablereqservconftableThe required services configurations table.protected java.lang.String[]REQUIRED_SERVICES_COLUMN_NAMESThe column names for the required services table.protected javax.swing.JTablerstableThe required services table.protected java.lang.String[]START_ACTIVITIES_COLUMN_NAMESThe column names for the start activities table.protected javax.swing.JTablestartelementstableThe start elements table.- 
Fields inherited from class jadex.bpmn.editor.gui.propertypanels.BasePropertyPanelDEFAULT_TEXT_BORDER, modelcontainer
 - 
Fields inherited from class javax.swing.JComponentlistenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
- 
 - 
Constructor SummaryConstructors Constructor Description BpmnPropertyPanel(ModelContainer container, java.lang.Object selection)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddParameter(BpmnPropertyPanel.CachedParameter param, java.lang.Integer index)Adds a parameter to the model.protected booleanconvBool(java.lang.Object value)Convenience method to convert Boolean null values to false.protected ModelInfogetModelInfo()Gets the model info.protected IArgument[]removeArgument(IArgument[] args, java.lang.String name)Method for removing an argument from an array.protected UnparsedExpression[]removeExpression(UnparsedExpression[] exp, java.lang.String name)Method for removing an unparsed expression from an array.protected BpmnPropertyPanel.CachedParameterremoveParameter(java.lang.String paramname)Removes a parameter to the model.protected voidsetupConfigurationsTable(javax.swing.JTabbedPane tabpane)Initializes the configurations table.protected voidsetupImportsTable(javax.swing.JTabbedPane tabpane)Initializes the imports table.protected voidsetupParametersTable(javax.swing.JTabbedPane tabpane)Initializes the parameters table.protected voidsetupPropertiesTable(javax.swing.JTabbedPane tabpane)Initializes the properties table.protected voidsetupProvidedServicesTable(javax.swing.JTabbedPane tabpane)Initializes the provided services table.protected voidsetupRequiredServicesTable(javax.swing.JTabbedPane tabpane)Initializes the required services table.protected voidsetupStartElementsTable(javax.swing.JTabbedPane tabpane)Initializes the start elements table.voidterminate()Terminates.voidterminateEditing()Terminates editing.- 
Methods inherited from class jadex.bpmn.editor.gui.propertypanels.BasePropertyPaneladdVerticalFiller, addVerticalFiller, configureAndAddInputLine, configureAndAddInputLine, configureAndAddInputLine, configureAndAddInputLine, configureAndAddInputLine, createColumn, createFreeName, createTextButtonPanel, getActivityAndSelectedParameter, getGraph, getModel, getModelContainer, nullifyString, stopEditing
 - 
Methods inherited from class javax.swing.JPanelgetAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
 - 
Methods inherited from class javax.swing.JComponentaddAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 - 
Methods inherited from class java.awt.Containeradd, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
 - 
Methods inherited from class java.awt.Componentaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, 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, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
 
- 
 
- 
- 
- 
Field Detail- 
IMPORTS_COLUMN_NAMESprotected java.lang.String[] IMPORTS_COLUMN_NAMES The column names for the imports table.
 - 
START_ACTIVITIES_COLUMN_NAMESprotected java.lang.String[] START_ACTIVITIES_COLUMN_NAMES The column names for the start activities table.
 - 
CONFIGURATIONS_COLUMN_NAMESprotected java.lang.String[] CONFIGURATIONS_COLUMN_NAMES The column names for the configurations table.
 - 
PARAMETERS_COLUMN_NAMESprotected java.lang.String[] PARAMETERS_COLUMN_NAMES The column names for the parameters table.
 - 
PROPERTIES_COLUMN_NAMESprotected java.lang.String[] PROPERTIES_COLUMN_NAMES The column names for the properties table.
 - 
PROVIDED_SERVICES_COLUMN_NAMESprotected java.lang.String[] PROVIDED_SERVICES_COLUMN_NAMES The column names for the provided services table.
 - 
REQUIRED_SERVICES_COLUMN_NAMESprotected java.lang.String[] REQUIRED_SERVICES_COLUMN_NAMES The column names for the required services table.
 - 
PROXY_TYPESprotected java.lang.String[] PROXY_TYPES The proxy types.
 - 
confcacheprotected java.util.List<ConfigurationInfo> confcache Cache for handling configurations.
 - 
importtableprotected javax.swing.JTable importtable The import table.
 - 
conftableprotected javax.swing.JTable conftable The configurations table.
 - 
reqservconftableprotected javax.swing.JTable reqservconftable The required services configurations table.
 - 
startelementstableprotected javax.swing.JTable startelementstable The start elements table.
 - 
confmodelsprotected java.util.List<ConfigurationModel> confmodels The configuration models for configuration choosers
 - 
paramtableprotected javax.swing.JTable paramtable The parameter table.
 - 
proptableprotected javax.swing.JTable proptable The properties table.
 - 
pstableprotected javax.swing.JTable pstable The provided services table.
 - 
rstableprotected javax.swing.JTable rstable The required services table.
 - 
paramccheprotected IndexMap paramcche Cache for handling parameters.
 - 
propertynamesprotected java.util.List<java.lang.String> propertynames Properties Index list.
 - 
graphselectionlistenerprotected com.mxgraph.util.mxEventSource.mxIEventListener graphselectionlistener Start elements graph selection listener
 - 
listselectionlistenerprotected javax.swing.event.ListSelectionListener listselectionlistener Start elements list selection listener
 
- 
 - 
Constructor Detail- 
BpmnPropertyPanelpublic BpmnPropertyPanel(ModelContainer container, java.lang.Object selection) 
 
- 
 - 
Method Detail- 
setupImportsTableprotected void setupImportsTable(javax.swing.JTabbedPane tabpane) Initializes the imports table.
 - 
setupConfigurationsTableprotected void setupConfigurationsTable(javax.swing.JTabbedPane tabpane) Initializes the configurations table.
 - 
setupStartElementsTableprotected void setupStartElementsTable(javax.swing.JTabbedPane tabpane) Initializes the start elements table.
 - 
setupParametersTableprotected void setupParametersTable(javax.swing.JTabbedPane tabpane) Initializes the parameters table.
 - 
setupPropertiesTableprotected void setupPropertiesTable(javax.swing.JTabbedPane tabpane) Initializes the properties table.
 - 
setupProvidedServicesTableprotected void setupProvidedServicesTable(javax.swing.JTabbedPane tabpane) Initializes the provided services table.
 - 
setupRequiredServicesTableprotected void setupRequiredServicesTable(javax.swing.JTabbedPane tabpane) Initializes the required services table.
 - 
getModelInfoprotected ModelInfo getModelInfo() Gets the model info.- Returns:
- The model info.
 
 - 
addParameterprotected void addParameter(BpmnPropertyPanel.CachedParameter param, java.lang.Integer index) Adds a parameter to the model.- Parameters:
- param- The parameter.
 
 - 
removeParameterprotected BpmnPropertyPanel.CachedParameter removeParameter(java.lang.String paramname) Removes a parameter to the model.- Parameters:
- paramname- The parameter name.
- Returns:
- The removed parameter.
 
 - 
removeArgumentprotected IArgument[] removeArgument(IArgument[] args, java.lang.String name) Method for removing an argument from an array.
 - 
removeExpressionprotected UnparsedExpression[] removeExpression(UnparsedExpression[] exp, java.lang.String name) Method for removing an unparsed expression from an array.
 - 
convBoolprotected boolean convBool(java.lang.Object value) Convenience method to convert Boolean null values to false.- Parameters:
- value- The value.
- Returns:
- False, if value is null.
 
 - 
terminatepublic void terminate() Terminates.- Overrides:
- terminatein class- BasePropertyPanel
 
 - 
terminateEditingpublic void terminateEditing() Terminates editing.
 
- 
 
-