Class 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
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.List<ConfigurationInfo> confcache
      Cache for handling configurations.
      protected java.lang.String[] CONFIGURATIONS_COLUMN_NAMES
      The column names for the configurations table.
      protected java.util.List<ConfigurationModel> confmodels
      The configuration models for configuration choosers
      protected javax.swing.JTable conftable
      The configurations table.
      protected com.mxgraph.util.mxEventSource.mxIEventListener graphselectionlistener
      Start elements graph selection listener
      protected java.lang.String[] IMPORTS_COLUMN_NAMES
      The column names for the imports table.
      protected javax.swing.JTable importtable
      The import table.
      protected javax.swing.event.ListSelectionListener listselectionlistener
      Start elements list selection listener
      protected IndexMap paramcche
      Cache for handling parameters.
      protected java.lang.String[] PARAMETERS_COLUMN_NAMES
      The column names for the parameters table.
      protected javax.swing.JTable paramtable
      The parameter table.
      protected java.lang.String[] PROPERTIES_COLUMN_NAMES
      The column names for the properties table.
      protected java.util.List<java.lang.String> propertynames
      Properties Index list.
      protected javax.swing.JTable proptable
      The properties table.
      protected java.lang.String[] PROVIDED_SERVICES_COLUMN_NAMES
      The column names for the provided services table.
      protected java.lang.String[] PROXY_TYPES
      The proxy types.
      protected javax.swing.JTable pstable
      The provided services table.
      protected javax.swing.JTable reqservconftable
      The required services configurations table.
      protected java.lang.String[] REQUIRED_SERVICES_COLUMN_NAMES
      The column names for the required services table.
      protected javax.swing.JTable rstable
      The required services table.
      protected java.lang.String[] START_ACTIVITIES_COLUMN_NAMES
      The column names for the start activities table.
      protected javax.swing.JTable startelementstable
      The start elements table.
      • 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
      • Fields inherited from class java.awt.Component

        accessibleContext, 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void addParameter​(BpmnPropertyPanel.CachedParameter param, java.lang.Integer index)
      Adds a parameter to the model.
      protected boolean convBool​(java.lang.Object value)
      Convenience method to convert Boolean null values to false.
      protected ModelInfo getModelInfo()
      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.CachedParameter removeParameter​(java.lang.String paramname)
      Removes a parameter to the model.
      protected void setupConfigurationsTable​(javax.swing.JTabbedPane tabpane)
      Initializes the configurations table.
      protected void setupImportsTable​(javax.swing.JTabbedPane tabpane)
      Initializes the imports table.
      protected void setupParametersTable​(javax.swing.JTabbedPane tabpane)
      Initializes the parameters table.
      protected void setupPropertiesTable​(javax.swing.JTabbedPane tabpane)
      Initializes the properties table.
      protected void setupProvidedServicesTable​(javax.swing.JTabbedPane tabpane)
      Initializes the provided services table.
      protected void setupRequiredServicesTable​(javax.swing.JTabbedPane tabpane)
      Initializes the required services table.
      protected void setupStartElementsTable​(javax.swing.JTabbedPane tabpane)
      Initializes the start elements table.
      void terminate()
      Terminates.
      void terminateEditing()
      Terminates editing.
      • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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.
      • terminateEditing

        public void terminateEditing()
        Terminates editing.