summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Pielmann2012-12-11 07:42:11 (EST)
committer Stephan Born2013-01-25 10:36:30 (EST)
commit95846245bc1049d863b0d7aa9e9e44cbd9af0ebc (patch)
tree6c9153d220eb4b953ba2158f8c8f58a96557c989
parente9a94444067d9edee8efb46b2ba989e541d11394 (diff)
downloadorg.eclipse.stardust.ide-95846245bc1049d863b0d7aa9e9e44cbd9af0ebc.zip
org.eclipse.stardust.ide-95846245bc1049d863b0d7aa9e9e44cbd9af0ebc.tar.gz
org.eclipse.stardust.ide-95846245bc1049d863b0d7aa9e9e44cbd9af0ebc.tar.bz2
Jira-ID: CRNT-26251
Implement full "element rename" support git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ide@61519 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--model/org.eclipse.stardust.model.xpdl/src/org/eclipse/stardust/model/xpdl/carnot/util/ModelUtils.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/model/org.eclipse.stardust.model.xpdl/src/org/eclipse/stardust/model/xpdl/carnot/util/ModelUtils.java b/model/org.eclipse.stardust.model.xpdl/src/org/eclipse/stardust/model/xpdl/carnot/util/ModelUtils.java
index fc4de07..0be166d 100644
--- a/model/org.eclipse.stardust.model.xpdl/src/org/eclipse/stardust/model/xpdl/carnot/util/ModelUtils.java
+++ b/model/org.eclipse.stardust.model.xpdl/src/org/eclipse/stardust/model/xpdl/carnot/util/ModelUtils.java
@@ -962,17 +962,17 @@ public class ModelUtils
}
}
- // resolve references for Organizations which are not part of ExtensionRegistry (see CRNT-16871)
- if (extensible instanceof OrganizationType)
+ // This is for the WebModeler who does not have access to the extension mechanism
+ if (config == null && extensible instanceof TriggerType)
{
AttributeType attribute = AttributeUtil.getAttribute(extensible,
- PredefinedConstants.BINDING_DATA_ID_ATT);
+ PredefinedConstants.MANUAL_TRIGGER_PARTICIPANT_ATT);
if (attribute != null)
{
- setReference(attribute, model, "data"); //$NON-NLS-1$
+ setReference(attribute, model, "role+organization"); //$NON-NLS-1$
}
}
-
+
// resolve permissions
// TODO: make permissions a first class element
IAttributeCategory category = AttributeUtil.createAttributeCategory(extensible, "authorization"); //$NON-NLS-1$