}
ConfigurationBean configurationBean = null;
if (node instanceof MultiSocketNode)
{
MultiSocketNode msNode = (MultiSocketNode) node;
// Determine the item the figure element references to
Item referencedItem = null;
if (node instanceof SubprocessNode)
{
referencedItem = ((SubprocessNode) node).getSubprocess();
}
else if (node instanceof ActivityNode)
{
// TODO Feature 4 Configuration bean not supported currently due to removal of ActivityNode->ActivityItem reference
// referencedItem = ((ActivityNode) node).getActivity();
}
// Check if we shall display the settings in the wizard or not
// (applies only for new nodes, i. e. if refering to the default entry socket)
if (socketName == null && referencedItem != null && ! referencedItem.isHideSettingsInWizard())
{
// Create a configuration bean if not already there
// in order to be able to edit the settings in the property browser.
// The bean will be removed if it contains the default values only when saving the activity node again
// (see plugin_propertybrowser_executesave () in the ConfigurationBeanPage)
configurationBean = msNode.getConfigurationBean();
if (configurationBean == null)
{
// We create a new configuration bean (if defined by the underlying activity)
if (referencedItem != null)
{