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 Summary
Nested 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.BasePropertyPanel
BasePropertyPanel.CollectionContains, BasePropertyPanel.IndexMapContains, BasePropertyPanel.MapContains
-
Nested classes/interfaces inherited from class javax.swing.JPanel
javax.swing.JPanel.AccessibleJPanel
-
Nested classes/interfaces inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
-
-
Field Summary
Fields 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.BasePropertyPanel
DEFAULT_TEXT_BORDER, modelcontainer
-
Fields inherited from class javax.swing.JComponent
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
-
-
Constructor Summary
Constructors Constructor Description BpmnPropertyPanel(ModelContainer container, java.lang.Object selection)
-
Method Summary
All 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.BasePropertyPanel
addVerticalFiller, addVerticalFiller, configureAndAddInputLine, configureAndAddInputLine, configureAndAddInputLine, configureAndAddInputLine, configureAndAddInputLine, createColumn, createFreeName, createTextButtonPanel, getActivityAndSelectedParameter, getGraph, getModel, getModelContainer, nullifyString, stopEditing
-
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
-
Methods inherited from class javax.swing.JComponent
addAncestorListener, 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.Container
add, 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.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, 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_NAMES
protected java.lang.String[] IMPORTS_COLUMN_NAMES
The column names for the imports table.
-
START_ACTIVITIES_COLUMN_NAMES
protected java.lang.String[] START_ACTIVITIES_COLUMN_NAMES
The column names for the start activities table.
-
CONFIGURATIONS_COLUMN_NAMES
protected java.lang.String[] CONFIGURATIONS_COLUMN_NAMES
The column names for the configurations table.
-
PARAMETERS_COLUMN_NAMES
protected java.lang.String[] PARAMETERS_COLUMN_NAMES
The column names for the parameters table.
-
PROPERTIES_COLUMN_NAMES
protected java.lang.String[] PROPERTIES_COLUMN_NAMES
The column names for the properties table.
-
PROVIDED_SERVICES_COLUMN_NAMES
protected java.lang.String[] PROVIDED_SERVICES_COLUMN_NAMES
The column names for the provided services table.
-
REQUIRED_SERVICES_COLUMN_NAMES
protected java.lang.String[] REQUIRED_SERVICES_COLUMN_NAMES
The column names for the required services table.
-
PROXY_TYPES
protected java.lang.String[] PROXY_TYPES
The proxy types.
-
confcache
protected java.util.List<ConfigurationInfo> confcache
Cache for handling configurations.
-
importtable
protected javax.swing.JTable importtable
The import table.
-
conftable
protected javax.swing.JTable conftable
The configurations table.
-
reqservconftable
protected javax.swing.JTable reqservconftable
The required services configurations table.
-
startelementstable
protected javax.swing.JTable startelementstable
The start elements table.
-
confmodels
protected java.util.List<ConfigurationModel> confmodels
The configuration models for configuration choosers
-
paramtable
protected javax.swing.JTable paramtable
The parameter table.
-
proptable
protected javax.swing.JTable proptable
The properties table.
-
pstable
protected javax.swing.JTable pstable
The provided services table.
-
rstable
protected javax.swing.JTable rstable
The required services table.
-
paramcche
protected IndexMap paramcche
Cache for handling parameters.
-
propertynames
protected java.util.List<java.lang.String> propertynames
Properties Index list.
-
graphselectionlistener
protected com.mxgraph.util.mxEventSource.mxIEventListener graphselectionlistener
Start elements graph selection listener
-
listselectionlistener
protected javax.swing.event.ListSelectionListener listselectionlistener
Start elements list selection listener
-
-
Constructor Detail
-
BpmnPropertyPanel
public BpmnPropertyPanel(ModelContainer container, java.lang.Object selection)
-
-
Method Detail
-
setupImportsTable
protected void setupImportsTable(javax.swing.JTabbedPane tabpane)
Initializes the imports table.
-
setupConfigurationsTable
protected void setupConfigurationsTable(javax.swing.JTabbedPane tabpane)
Initializes the configurations table.
-
setupStartElementsTable
protected void setupStartElementsTable(javax.swing.JTabbedPane tabpane)
Initializes the start elements table.
-
setupParametersTable
protected void setupParametersTable(javax.swing.JTabbedPane tabpane)
Initializes the parameters table.
-
setupPropertiesTable
protected void setupPropertiesTable(javax.swing.JTabbedPane tabpane)
Initializes the properties table.
-
setupProvidedServicesTable
protected void setupProvidedServicesTable(javax.swing.JTabbedPane tabpane)
Initializes the provided services table.
-
setupRequiredServicesTable
protected void setupRequiredServicesTable(javax.swing.JTabbedPane tabpane)
Initializes the required services table.
-
getModelInfo
protected ModelInfo getModelInfo()
Gets the model info.- Returns:
- The model info.
-
addParameter
protected void addParameter(BpmnPropertyPanel.CachedParameter param, java.lang.Integer index)
Adds a parameter to the model.- Parameters:
param- The parameter.
-
removeParameter
protected BpmnPropertyPanel.CachedParameter removeParameter(java.lang.String paramname)
Removes a parameter to the model.- Parameters:
paramname- The parameter name.- Returns:
- The removed parameter.
-
removeArgument
protected IArgument[] removeArgument(IArgument[] args, java.lang.String name)
Method for removing an argument from an array.
-
removeExpression
protected UnparsedExpression[] removeExpression(UnparsedExpression[] exp, java.lang.String name)
Method for removing an unparsed expression from an array.
-
convBool
protected 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.
-
terminate
public void terminate()
Terminates.- Overrides:
terminatein classBasePropertyPanel
-
terminateEditing
public void terminateEditing()
Terminates editing.
-
-