JBoss Tools SVN: r24812 - trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/impl.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2010-09-08 09:10:20 -0400 (Wed, 08 Sep 2010)
New Revision: 24812
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/impl/MetaLibLoader.java
Log:
https://jira.jboss.org/browse/JBIDE-7026
Modified: trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/impl/MetaLibLoader.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/impl/MetaLibLoader.java 2010-09-08 12:31:17 UTC (rev 24811)
+++ trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/impl/MetaLibLoader.java 2010-09-08 13:10:20 UTC (rev 24812)
@@ -253,13 +253,8 @@
}
XMLReader newInstance() throws SAXException {
- Bundle b = Platform.getBundle("org.apache.xerces");
- if(b == null) {
- System.out.println("Cannot find plugin org.apache.xerces");
- throw new SAXException("Cannot find plugin org.apache.xerces");
- }
try {
- return (XMLReader) b.loadClass(DEFAULT_SAX_PARSER_CLASS_NAME).newInstance();
+ return (XMLReader) ModelPlugin.getDefault().getBundle().loadClass(DEFAULT_SAX_PARSER_CLASS_NAME).newInstance();
} catch (ClassNotFoundException e1) {
throw new SAXException("SAX2 driver class " + DEFAULT_SAX_PARSER_CLASS_NAME +
" not found", e1);
15 years, 7 months
JBoss Tools SVN: r24811 - in trunk/seam: plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui and 3 other directories.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2010-09-08 08:31:17 -0400 (Wed, 08 Sep 2010)
New Revision: 24811
Added:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/marker/AddAnnotatedMethodMarkerResolution.java
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/src/action/org/domain/SeamWebWarTestProject/session/StatefulComponentWithoutDestroy.java
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/src/action/org/domain/SeamWebWarTestProject/session/StatefulComponentWithoutRemove.java
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamCoreValidator.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/SeamUIMessages.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/marker/AbstractSeamMarkerResolution.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/marker/AddAnnotationMarkerResolution.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/marker/DeleteAnnotationMarkerResolution.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/marker/RenameAnnotationMarkerResolution.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/marker/SeamProblemMarkerResolutionGenerator.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/messages.properties
trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/marker/SeamMarkerResolutionTest.java
Log:
https://jira.jboss.org/browse/JBIDE-6870
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamCoreValidator.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamCoreValidator.java 2010-09-08 11:09:24 UTC (rev 24810)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamCoreValidator.java 2010-09-08 12:31:17 UTC (rev 24811)
@@ -96,7 +96,10 @@
public static final int CREATE_DOESNT_BELONG_TO_COMPONENT_MESSAGE_ID = 7;
public static final int UNWRAP_DOESNT_BELONG_TO_COMPONENT_MESSAGE_ID = 8;
public static final int OBSERVER_DOESNT_BELONG_TO_COMPONENT_MESSAGE_ID = 9;
+ public static final int STATEFUL_COMPONENT_DOES_NOT_CONTAIN_REMOVE_ID = 10;
+ public static final int STATEFUL_COMPONENT_DOES_NOT_CONTAIN_DESTROY_ID = 11;
+
private ISeamProject seamProject;
private String projectName;
@@ -756,8 +759,8 @@
private void validateStatefulComponent(ISeamComponent component) {
if(component.isStateful()) {
ISeamJavaComponentDeclaration javaDeclaration = component.getJavaDeclaration();
- validateStatefulComponentMethods(SeamComponentMethodType.DESTROY, component, SeamValidationMessages.STATEFUL_COMPONENT_DOES_NOT_CONTAIN_DESTROY, SeamPreferences.STATEFUL_COMPONENT_DOES_NOT_CONTENT_DESTROY);
- validateStatefulComponentMethods(SeamComponentMethodType.REMOVE, component, SeamValidationMessages.STATEFUL_COMPONENT_DOES_NOT_CONTAIN_REMOVE, SeamPreferences.STATEFUL_COMPONENT_DOES_NOT_CONTENT_REMOVE);
+ validateStatefulComponentMethods(SeamComponentMethodType.DESTROY, component, SeamValidationMessages.STATEFUL_COMPONENT_DOES_NOT_CONTAIN_DESTROY, SeamPreferences.STATEFUL_COMPONENT_DOES_NOT_CONTENT_DESTROY, STATEFUL_COMPONENT_DOES_NOT_CONTAIN_DESTROY_ID);
+ validateStatefulComponentMethods(SeamComponentMethodType.REMOVE, component, SeamValidationMessages.STATEFUL_COMPONENT_DOES_NOT_CONTAIN_REMOVE, SeamPreferences.STATEFUL_COMPONENT_DOES_NOT_CONTENT_REMOVE, STATEFUL_COMPONENT_DOES_NOT_CONTAIN_REMOVE_ID);
ScopeType scope = component.getScope();
if(scope == ScopeType.PAGE || scope == ScopeType.STATELESS) {
ITextSourceReference location = getScopeLocation(component);
@@ -767,12 +770,12 @@
}
}
- private void validateStatefulComponentMethods(SeamComponentMethodType methodType, ISeamComponent component, String message, String preferenceKey) {
+ private void validateStatefulComponentMethods(SeamComponentMethodType methodType, ISeamComponent component, String message, String preferenceKey, int id) {
ISeamJavaComponentDeclaration javaDeclaration = component.getJavaDeclaration();
ITextSourceReference classNameLocation = getNameLocation(javaDeclaration);
Set<ISeamComponentMethod> methods = javaDeclaration.getMethodsByType(methodType);
if(methods==null || methods.isEmpty()) {
- addError(message, preferenceKey, new String[]{component.getName()}, classNameLocation, javaDeclaration.getResource());
+ addError(message, preferenceKey, new String[]{component.getName()}, classNameLocation, javaDeclaration.getResource(), id);
}
}
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/SeamUIMessages.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/SeamUIMessages.java 2010-09-08 11:09:24 UTC (rev 24810)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/SeamUIMessages.java 2010-09-08 12:31:17 UTC (rev 24811)
@@ -376,6 +376,10 @@
public static String RENAME_NAME_ANNOTATION_MARKER_RESOLUTION_TITLE;
+ public static String ADD_ANNOTATED_REMOVE_METHOD_MARKER_RESOLUTION_TITLE;
+
+ public static String ADD_ANNOTATED_DESTROY_METHOD_MARKER_RESOLUTION_TITLE;
+
static {
// load message values from bundle file
NLS.initializeMessages(BUNDLE_NAME, SeamUIMessages.class);
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/marker/AbstractSeamMarkerResolution.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/marker/AbstractSeamMarkerResolution.java 2010-09-08 11:09:24 UTC (rev 24810)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/marker/AbstractSeamMarkerResolution.java 2010-09-08 12:31:17 UTC (rev 24811)
@@ -26,6 +26,7 @@
import org.eclipse.jdt.core.IImportContainer;
import org.eclipse.jdt.core.IImportDeclaration;
import org.eclipse.jdt.core.IJavaElement;
+import org.eclipse.jdt.core.IMethod;
import org.eclipse.jdt.core.IType;
import org.eclipse.jdt.core.JavaModelException;
import org.eclipse.swt.graphics.Image;
@@ -78,7 +79,7 @@
if(importDeclaration != null && importContainer != null){
int importSize = importContainer.getSourceRange().getOffset()+importContainer.getSourceRange().getLength();
String text = buffer.getText(importSize, buffer.getLength()-importSize);
- if(checkImport(text, qualifiedName))
+ if(checkImport(text))
importDeclaration.delete(false, new NullProgressMonitor());
}
compilationUnit.commitWorkingCopy(false, new NullProgressMonitor());
@@ -101,15 +102,15 @@
return null;
}
- private boolean checkImport(String text, String qualifiedName){
- String name = getShortName(qualifiedName);
+ private boolean checkImport(String text){
+ String name = getShortName();
Pattern p = Pattern.compile(".*\\W"+name+"\\W.*",Pattern.DOTALL); //$NON-NLS-1$ //$NON-NLS-2$
Matcher m = p.matcher(text);
return !m.matches();
}
- protected String getShortName(String qualifiedName){
+ protected String getShortName(){
int lastDot = qualifiedName.lastIndexOf('.');
String name;
if(lastDot < 0)
@@ -150,6 +151,8 @@
ICompilationUnit original = EclipseUtil.getCompilationUnit(file);
ICompilationUnit compilationUnit = original.getWorkingCopy(new NullProgressMonitor());
+ final String lineDelim= compilationUnit.findRecommendedLineSeparator();
+
IJavaElement javaElement = compilationUnit.getElementAt(start);
IType type = getType(javaElement);
if(type != null){
@@ -164,7 +167,7 @@
name="(\""+generateComponentName(compilationUnit.findPrimaryType().getElementName())+"\")";
}
- buffer.replace(type.getSourceRange().getOffset(), 0, annotationString+name+'\n');
+ buffer.replace(type.getSourceRange().getOffset(), 0, annotationString+name+lineDelim);
compilationUnit.commitWorkingCopy(false, new NullProgressMonitor());
}
}catch(CoreException ex){
@@ -172,6 +175,44 @@
}
}
+ protected void addAnnotatedMethod(){
+ try{
+ ICompilationUnit original = EclipseUtil.getCompilationUnit(file);
+ ICompilationUnit compilationUnit = original.getWorkingCopy(new NullProgressMonitor());
+
+ final String lineDelim= compilationUnit.findRecommendedLineSeparator();
+
+ IType type = compilationUnit.findPrimaryType();
+ if(type != null){
+ IImportDeclaration importDeclaration = compilationUnit.getImport(qualifiedName);
+ if(importDeclaration == null || !importDeclaration.exists())
+ compilationUnit.createImport(qualifiedName, null, new NullProgressMonitor());
+
+ String annotation = getShortName();
+ String methodName = annotation.toLowerCase();
+
+ IMethod oldMethod = type.getMethod(methodName, new String[]{});
+ if(oldMethod == null || !oldMethod.exists()){
+ StringBuffer buf= new StringBuffer();
+
+ buf.append("@"+annotation); //$NON-NLS-1$
+ buf.append(lineDelim);
+ buf.append("public void "+methodName+"() {"); //$NON-NLS-1$ //$NON-NLS-2$
+ buf.append(lineDelim);
+ buf.append("}"); //$NON-NLS-1$
+ type.createMethod(buf.toString(), null, false, null);
+ }else{
+ IBuffer buffer = compilationUnit.getBuffer();
+ buffer.replace(oldMethod.getSourceRange().getOffset(), 0, "@"+annotation+lineDelim);
+ }
+
+ compilationUnit.commitWorkingCopy(false, new NullProgressMonitor());
+ }
+ }catch(CoreException ex){
+ SeamGuiPlugin.getPluginLog().logError(ex);
+ }
+ }
+
protected void renameAnnotation(String annotationString){
try{
ICompilationUnit original = EclipseUtil.getCompilationUnit(file);
Added: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/marker/AddAnnotatedMethodMarkerResolution.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/marker/AddAnnotatedMethodMarkerResolution.java (rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/marker/AddAnnotatedMethodMarkerResolution.java 2010-09-08 12:31:17 UTC (rev 24811)
@@ -0,0 +1,28 @@
+/*******************************************************************************
+ * Copyright (c) 2010 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.seam.ui.marker;
+
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IMarker;
+
+/**
+ * @author Daniel Azarov
+ */
+public class AddAnnotatedMethodMarkerResolution extends AbstractSeamMarkerResolution {
+ public AddAnnotatedMethodMarkerResolution(String label, String qualifiedName, IFile file, int start, int end){
+ super(label, qualifiedName, file, start, end);
+ }
+
+ public void run(IMarker marker) {
+ addAnnotatedMethod();
+ }
+
+}
Property changes on: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/marker/AddAnnotatedMethodMarkerResolution.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/marker/AddAnnotationMarkerResolution.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/marker/AddAnnotationMarkerResolution.java 2010-09-08 11:09:24 UTC (rev 24810)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/marker/AddAnnotationMarkerResolution.java 2010-09-08 12:31:17 UTC (rev 24811)
@@ -26,7 +26,7 @@
}
public void run(IMarker marker) {
- addAnnotation("@"+getShortName(qualifiedName), insertName); //$NON-NLS-1$
+ addAnnotation("@"+getShortName(), insertName); //$NON-NLS-1$
}
}
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/marker/DeleteAnnotationMarkerResolution.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/marker/DeleteAnnotationMarkerResolution.java 2010-09-08 11:09:24 UTC (rev 24810)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/marker/DeleteAnnotationMarkerResolution.java 2010-09-08 12:31:17 UTC (rev 24811)
@@ -23,10 +23,6 @@
super(label, qualifiedName, file, start, end);
}
- public String getLabel() {
- return label;
- }
-
public void run(IMarker marker) {
deleteAnnotation();
}
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/marker/RenameAnnotationMarkerResolution.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/marker/RenameAnnotationMarkerResolution.java 2010-09-08 11:09:24 UTC (rev 24810)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/marker/RenameAnnotationMarkerResolution.java 2010-09-08 12:31:17 UTC (rev 24811)
@@ -25,6 +25,6 @@
}
public void run(IMarker marker) {
- renameAnnotation("@"+getShortName(qualifiedName)); //$NON-NLS-1$
+ renameAnnotation("@"+getShortName()); //$NON-NLS-1$
}
}
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/marker/SeamProblemMarkerResolutionGenerator.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/marker/SeamProblemMarkerResolutionGenerator.java 2010-09-08 11:09:24 UTC (rev 24810)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/marker/SeamProblemMarkerResolutionGenerator.java 2010-09-08 12:31:17 UTC (rev 24811)
@@ -86,6 +86,11 @@
new AddAnnotationMarkerResolution(SeamUIMessages.ADD_NAME_ANNOTATION_MARKER_RESOLUTION_TITLE, "org.jboss.seam.annotations.Name", file, start, end, true),
new DeleteAnnotationMarkerResolution(SeamUIMessages.DELETE_OBSERVER_ANNOTATION_MARKER_RESOLUTION_TITLE, "org.jboss.seam.annotations.Observer", file, start, end)
};
+ else if(messageId == SeamCoreValidator.STATEFUL_COMPONENT_DOES_NOT_CONTAIN_REMOVE_ID)
+ return new IMarkerResolution[]{new AddAnnotatedMethodMarkerResolution(SeamUIMessages.ADD_ANNOTATED_REMOVE_METHOD_MARKER_RESOLUTION_TITLE, "javax.ejb.Remove", file, start, end)};
+ else if(messageId == SeamCoreValidator.STATEFUL_COMPONENT_DOES_NOT_CONTAIN_DESTROY_ID)
+ return new IMarkerResolution[]{new AddAnnotatedMethodMarkerResolution(SeamUIMessages.ADD_ANNOTATED_DESTROY_METHOD_MARKER_RESOLUTION_TITLE, "org.jboss.seam.annotations.Destroy", file, start, end)};
+
return new IMarkerResolution[]{};
}
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/messages.properties
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/messages.properties 2010-09-08 11:09:24 UTC (rev 24810)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/messages.properties 2010-09-08 12:31:17 UTC (rev 24811)
@@ -196,3 +196,5 @@
DELETE_OBSERVER_ANNOTATION_MARKER_RESOLUTION_TITLE=Delete @Oserver annotation
ADD_NAME_ANNOTATION_MARKER_RESOLUTION_TITLE=Add @Name annotation
RENAME_NAME_ANNOTATION_MARKER_RESOLUTION_TITLE=Rename @Name annotation
+ADD_ANNOTATED_REMOVE_METHOD_MARKER_RESOLUTION_TITLE=Add @Remove annotated method
+ADD_ANNOTATED_DESTROY_METHOD_MARKER_RESOLUTION_TITLE=Add @Destroy annotated method
Added: trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/src/action/org/domain/SeamWebWarTestProject/session/StatefulComponentWithoutDestroy.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/src/action/org/domain/SeamWebWarTestProject/session/StatefulComponentWithoutDestroy.java (rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/src/action/org/domain/SeamWebWarTestProject/session/StatefulComponentWithoutDestroy.java 2010-09-08 12:31:17 UTC (rev 24811)
@@ -0,0 +1,43 @@
+package org.domain.SeamWebWarTestProject.session;
+
+import javax.ejb.Remove;
+import javax.ejb.Stateful;
+
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Logger;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.jboss.seam.log.Log;
+
+@Name("statefulComponentWithoutDestroy")
+@Stateful
+(a)Scope(ScopeType.APPLICATION)
+public class StatefulComponentWithoutDestroy {
+
+ private String abc;
+
+ @Logger private Log log;
+
+
+ //seam-gen method
+ public String statefulComponent()
+ {
+ //implement your business logic here
+ log.info("statefulComponent.statefulComponent() action called");
+ return "success";
+ }
+
+ @Remove
+ public void removeMethod(){
+
+ }
+
+ public String getAbc() {
+ return abc;
+ }
+
+ public void setAbc(String abc) {
+ this.abc = abc;
+ }
+
+}
\ No newline at end of file
Property changes on: trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/src/action/org/domain/SeamWebWarTestProject/session/StatefulComponentWithoutDestroy.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/src/action/org/domain/SeamWebWarTestProject/session/StatefulComponentWithoutRemove.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/src/action/org/domain/SeamWebWarTestProject/session/StatefulComponentWithoutRemove.java (rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/src/action/org/domain/SeamWebWarTestProject/session/StatefulComponentWithoutRemove.java 2010-09-08 12:31:17 UTC (rev 24811)
@@ -0,0 +1,43 @@
+package org.domain.SeamWebWarTestProject.session;
+
+import javax.ejb.Stateful;
+
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Destroy;
+import org.jboss.seam.annotations.Logger;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.jboss.seam.log.Log;
+
+@Name("statefulComponentWithoutRemove")
+@Stateful
+(a)Scope(ScopeType.APPLICATION)
+public class StatefulComponentWithoutRemove {
+
+ private String abc;
+
+ @Logger private Log log;
+
+
+ //seam-gen method
+ public String statefulComponent()
+ {
+ //implement your business logic here
+ log.info("statefulComponent.statefulComponent() action called");
+ return "success";
+ }
+
+ @Destroy
+ public void destroyMethod(){
+
+ }
+
+ public String getAbc() {
+ return abc;
+ }
+
+ public void setAbc(String abc) {
+ this.abc = abc;
+ }
+
+}
\ No newline at end of file
Property changes on: trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/src/action/org/domain/SeamWebWarTestProject/session/StatefulComponentWithoutRemove.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/marker/SeamMarkerResolutionTest.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/marker/SeamMarkerResolutionTest.java 2010-09-08 11:09:24 UTC (rev 24810)
+++ trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/marker/SeamMarkerResolutionTest.java 2010-09-08 12:31:17 UTC (rev 24811)
@@ -10,17 +10,23 @@
************************************************************************************/
package org.jboss.tools.seam.ui.test.marker;
+import java.io.IOException;
+
import junit.framework.TestCase;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IMarker;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
-import org.eclipse.core.resources.IncrementalProjectBuilder;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
+import org.eclipse.jface.preference.IPersistentPreferenceStore;
+import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.ui.IMarkerResolution;
import org.eclipse.ui.ide.IDE;
+import org.jboss.tools.seam.core.SeamCorePlugin;
+import org.jboss.tools.seam.core.SeamPreferences;
+import org.jboss.tools.seam.ui.marker.AddAnnotatedMethodMarkerResolution;
import org.jboss.tools.seam.ui.marker.AddAnnotationMarkerResolution;
import org.jboss.tools.seam.ui.marker.DeleteAnnotationMarkerResolution;
import org.jboss.tools.seam.ui.marker.RenameAnnotationMarkerResolution;
@@ -32,6 +38,7 @@
*/
public class SeamMarkerResolutionTest extends TestCase {
public static final String MARKER_TYPE = "org.eclipse.wst.validation.problemmarker";
+ //public static final String TEXT_MARKER_TYPE = "org.eclipse.wst.validation.textmarker";
private IProject project;
@@ -40,6 +47,18 @@
JobUtils.waitForIdle();
IResource project = ResourcesPlugin.getWorkspace().getRoot().findMember("SeamWebWarTestProject");
this.project = project.getProject();
+
+ IPreferenceStore store = SeamCorePlugin.getDefault().getPreferenceStore();
+ store.putValue(SeamPreferences.STATEFUL_COMPONENT_DOES_NOT_CONTENT_REMOVE, SeamPreferences.ERROR);
+ store.putValue(SeamPreferences.STATEFUL_COMPONENT_DOES_NOT_CONTENT_DESTROY, SeamPreferences.ERROR);
+
+ if(store instanceof IPersistentPreferenceStore) {
+ try {
+ ((IPersistentPreferenceStore)store).save();
+ } catch (IOException e) {
+ SeamCorePlugin.getPluginLog().logError(e);
+ }
+ }
}
@Override
@@ -318,5 +337,60 @@
assertTrue("The quickfix \"Rename @Name annotation\" doesn't exist.", cFound);
}
+ public void testAddRemoveMethodResolution() throws CoreException {
+ String TARGET_FILE_NAME = "src/action/org/domain/SeamWebWarTestProject/session/StatefulComponentWithoutRemove.java";
+ IFile file = project.getFile(TARGET_FILE_NAME);
+
+ assertTrue("File - "+TARGET_FILE_NAME+" must be exists",file.exists());
+
+ IMarker[] markers = file.findMarkers(MARKER_TYPE, true, IResource.DEPTH_INFINITE);
+
+ boolean found = false;
+ for (int i = 0; i < markers.length; i++) {
+ IMarker marker = markers[i];
+ IMarkerResolution[] resolutions = IDE.getMarkerHelpRegistry()
+ .getResolutions(marker);
+ for (int j = 0; j < resolutions.length; j++) {
+ IMarkerResolution resolution = resolutions[j];
+ if (resolution instanceof AddAnnotatedMethodMarkerResolution) {
+ assertEquals("javax.ejb.Remove", ((AddAnnotatedMethodMarkerResolution)resolution).getQualifiedName());
+ found = true;
+ break;
+ }
+ }
+ if (found) {
+ break;
+ }
+ }
+ assertTrue("The quickfix \"Add @Remove annotated method\" doesn't exist.", found);
+ }
+ public void testAddDestroyMethodResolution() throws CoreException {
+ String TARGET_FILE_NAME = "src/action/org/domain/SeamWebWarTestProject/session/StatefulComponentWithoutDestroy.java";
+ IFile file = project.getFile(TARGET_FILE_NAME);
+
+ assertTrue("File - "+TARGET_FILE_NAME+" must be exists",file.exists());
+
+ IMarker[] markers = file.findMarkers(MARKER_TYPE, true, IResource.DEPTH_INFINITE);
+
+ boolean found = false;
+ for (int i = 0; i < markers.length; i++) {
+ IMarker marker = markers[i];
+ IMarkerResolution[] resolutions = IDE.getMarkerHelpRegistry()
+ .getResolutions(marker);
+ for (int j = 0; j < resolutions.length; j++) {
+ IMarkerResolution resolution = resolutions[j];
+ if (resolution instanceof AddAnnotatedMethodMarkerResolution) {
+ assertEquals("org.jboss.seam.annotations.Destroy", ((AddAnnotatedMethodMarkerResolution)resolution).getQualifiedName());
+ found = true;
+ break;
+ }
+ }
+ if (found) {
+ break;
+ }
+ }
+ assertTrue("The quickfix \"Add @Destroy annotated method\" doesn't exist.", found);
+ }
+
}
15 years, 7 months
JBoss Tools SVN: r24810 - trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/impl.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2010-09-08 07:09:24 -0400 (Wed, 08 Sep 2010)
New Revision: 24810
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/impl/MetaLibLoader.java
Log:
https://jira.jboss.org/browse/JBIDE-7026
Modified: trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/impl/MetaLibLoader.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/impl/MetaLibLoader.java 2010-09-08 10:13:45 UTC (rev 24809)
+++ trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/impl/MetaLibLoader.java 2010-09-08 11:09:24 UTC (rev 24810)
@@ -28,6 +28,7 @@
import org.apache.xerces.xni.XMLResourceIdentifier;
import org.apache.xerces.xni.XNIException;
import org.apache.xerces.xni.parser.XMLInputSource;
+import org.eclipse.core.runtime.Platform;
import org.jboss.tools.common.CommonPlugin;
import org.jboss.tools.common.model.plugin.ModelPlugin;
import org.jboss.tools.common.model.util.*;
@@ -35,6 +36,7 @@
import org.jboss.tools.common.xml.XMLEntityResolver;
import org.jboss.tools.common.xml.XMLEntityResolverImpl;
import org.jboss.tools.common.xml.XMLUtilities;
+import org.osgi.framework.Bundle;
public class MetaLibLoader {
public static String DOC_PUBLICID = "-//Red Hat, Inc.//DTD Meta 1.0//EN"; //$NON-NLS-1$
@@ -249,14 +251,40 @@
ModelPlugin.getPluginLog().logError(e);
}
}
+
+ XMLReader newInstance() throws SAXException {
+ Bundle b = Platform.getBundle("org.apache.xerces");
+ if(b == null) {
+ System.out.println("Cannot find plugin org.apache.xerces");
+ throw new SAXException("Cannot find plugin org.apache.xerces");
+ }
+ try {
+ return (XMLReader) b.loadClass(DEFAULT_SAX_PARSER_CLASS_NAME).newInstance();
+ } catch (ClassNotFoundException e1) {
+ throw new SAXException("SAX2 driver class " + DEFAULT_SAX_PARSER_CLASS_NAME +
+ " not found", e1);
+ } catch (IllegalAccessException e2) {
+ throw new SAXException("SAX2 driver class " + DEFAULT_SAX_PARSER_CLASS_NAME +
+ " found but cannot be loaded", e2);
+ } catch (InstantiationException e3) {
+ throw new SAXException("SAX2 driver class " + DEFAULT_SAX_PARSER_CLASS_NAME +
+ " loaded but cannot be instantiated (no empty public constructor?)",
+ e3);
+ } catch (ClassCastException e4) {
+ throw new SAXException("SAX2 driver class " + DEFAULT_SAX_PARSER_CLASS_NAME +
+ " does not implement XMLReader", e4);
+ }
+ }
XMLReader createParser() {
DefaultHandler handler = new DefaultHandler();
XMLReader parserInstance = null;
try {
- parserInstance = XMLReaderFactory.createXMLReader(DEFAULT_SAX_PARSER_CLASS_NAME);
+ parserInstance = newInstance();
+ //XMLReaderFactory.createXMLReader(DEFAULT_SAX_PARSER_CLASS_NAME);
} catch (SAXException e) {
+ System.out.println("default parser failed: " + e.getMessage());
return null;
}
15 years, 7 months
JBoss Tools SVN: r24809 - in trunk/cdi: tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/ca and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2010-09-08 06:13:45 -0400 (Wed, 08 Sep 2010)
New Revision: 24809
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/ca/BeansXmlProcessor.java
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/ca/BeansXmlCATest.java
Log:
https://jira.jboss.org/browse/JBIDE-2704
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/ca/BeansXmlProcessor.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/ca/BeansXmlProcessor.java 2010-09-08 10:07:44 UTC (rev 24808)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/ca/BeansXmlProcessor.java 2010-09-08 10:13:45 UTC (rev 24809)
@@ -64,15 +64,17 @@
CDICoreNature nature = CDICorePlugin.getCDI(project, false);
if(nature!=null) {
ICDIProject cdiProject = nature.getDelegate();
- if(CLASS_ELEMENT.equals(parents[1])) {
- if(ALTERNATIVES_ELEMENT.equals(parents[0])) {
+ int lastIndex = parents.length-1;
+ int firstIndex = parents.length-2;
+ if(CLASS_ELEMENT.equals(parents[lastIndex])) {
+ if(ALTERNATIVES_ELEMENT.equals(parents[firstIndex])) {
return getAlternativeBeans(query, cdiProject);
- } else if(DECORATORS_ELEMENT.equals(parents[0])) {
+ } else if(DECORATORS_ELEMENT.equals(parents[firstIndex])) {
return getDecorators(query, cdiProject);
- } else if(INTERCEPTOR_ELEMENT.equals(parents[0])) {
+ } else if(INTERCEPTOR_ELEMENT.equals(parents[firstIndex])) {
return getInterceptors(query, cdiProject);
}
- } else if(STEREOTYPE_ELEMENT.equals(parents[1]) && ALTERNATIVES_ELEMENT.equals(parents[0])) {
+ } else if(STEREOTYPE_ELEMENT.equals(parents[lastIndex]) && ALTERNATIVES_ELEMENT.equals(parents[firstIndex])) {
return getAlternativeStereotypes(query, cdiProject);
}
}
Modified: trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/ca/BeansXmlCATest.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/ca/BeansXmlCATest.java 2010-09-08 10:07:44 UTC (rev 24808)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/ca/BeansXmlCATest.java 2010-09-08 10:13:45 UTC (rev 24809)
@@ -33,7 +33,7 @@
public void testEmptyList() {
KbQuery query = new KbQuery();
- query.setParentTags(new String[]{"alternatives", "class"});
+ query.setParentTags(new String[]{"beans", "alternatives", "class"});
query.setValue(" test ");
TextProposal[] proposals = BeansXmlProcessor.getInstance().getProposals(query, tckProject);
assertEquals("The list of proposals should be empty.", 0, proposals.length);
@@ -41,7 +41,7 @@
public void testAllAlternativeBeans() {
KbQuery query = new KbQuery();
- query.setParentTags(new String[]{"alternatives", "class"});
+ query.setParentTags(new String[]{"beans", "alternatives", "class"});
query.setValue("");
TextProposal[] proposals = BeansXmlProcessor.getInstance().getProposals(query, tckProject);
@@ -61,7 +61,7 @@
public void testSomeAlternativeBeans() {
KbQuery query = new KbQuery();
- query.setParentTags(new String[]{"alternatives", "class"});
+ query.setParentTags(new String[]{"beans", "alternatives", "class"});
query.setValue("org.jboss.jsr299.tck.tests.jbt.ca.");
TextProposal[] proposals = BeansXmlProcessor.getInstance().getProposals(query, tckProject);
@@ -71,7 +71,7 @@
public void testAllAlternativeStereotypes() {
KbQuery query = new KbQuery();
- query.setParentTags(new String[]{"alternatives", "stereotype"});
+ query.setParentTags(new String[]{"beans", "alternatives", "stereotype"});
query.setValue(" ");
TextProposal[] proposals = BeansXmlProcessor.getInstance().getProposals(query, tckProject);
@@ -91,7 +91,7 @@
public void testSomeAlternativeStereotypes() {
KbQuery query = new KbQuery();
- query.setParentTags(new String[]{"alternatives", "stereotype"});
+ query.setParentTags(new String[]{"beans", "alternatives", "stereotype"});
query.setValue(" org.jboss.jsr299.tck.tests.jbt.ca.");
TextProposal[] proposals = BeansXmlProcessor.getInstance().getProposals(query, tckProject);
@@ -101,7 +101,7 @@
public void testAllDecorators() {
KbQuery query = new KbQuery();
- query.setParentTags(new String[]{"decorators", "class"});
+ query.setParentTags(new String[]{"beans", "decorators", "class"});
query.setValue("");
TextProposal[] proposals = BeansXmlProcessor.getInstance().getProposals(query, tckProject);
@@ -117,7 +117,7 @@
public void testSomeDecorators() {
KbQuery query = new KbQuery();
- query.setParentTags(new String[]{"decorators", "class"});
+ query.setParentTags(new String[]{"beans", "decorators", "class"});
query.setValue("org.jboss.jsr299.tck.tests.jbt.ca.");
TextProposal[] proposals = BeansXmlProcessor.getInstance().getProposals(query, tckProject);
@@ -127,7 +127,7 @@
public void testAllInterceptors() {
KbQuery query = new KbQuery();
- query.setParentTags(new String[]{"interceptors", "class"});
+ query.setParentTags(new String[]{"beans", "interceptors", "class"});
query.setValue("");
TextProposal[] proposals = BeansXmlProcessor.getInstance().getProposals(query, tckProject);
@@ -143,7 +143,7 @@
public void testSomeInterceptors() {
KbQuery query = new KbQuery();
- query.setParentTags(new String[]{"interceptors", "class"});
+ query.setParentTags(new String[]{"beans", "interceptors", "class"});
query.setValue("org.jboss.jsr299.tck.tests.jbt.ca.");
TextProposal[] proposals = BeansXmlProcessor.getInstance().getProposals(query, tckProject);
15 years, 7 months
JBoss Tools SVN: r24808 - workspace/dgolovin/presentations.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2010-09-08 06:07:44 -0400 (Wed, 08 Sep 2010)
New Revision: 24808
Modified:
workspace/dgolovin/presentations/tycho-build.odp
Log:
fixed debug test slide 2 title
Modified: workspace/dgolovin/presentations/tycho-build.odp
===================================================================
(Binary files differ)
15 years, 7 months
JBoss Tools SVN: r24805 - in trunk/bpmn/plugins/org.jboss.tools.bpmn2.model: META-INF and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: koen.aers(a)jboss.com
Date: 2010-09-08 05:55:50 -0400 (Wed, 08 Sep 2010)
New Revision: 24805
Added:
trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/.classpath
trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/.project
trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/META-INF/
trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/META-INF/MANIFEST.MF
trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/model/
trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/model/bpmn.gmfgraph
trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/model/bpmn.process.gmfgen
trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/model/bpmn.process.gmfmap
trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/model/bpmn.process.gmftool
trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/model/bpmn.process.trace
trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/src/
Log:
initial upload
Added: trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/.classpath
===================================================================
--- trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/.classpath (rev 0)
+++ trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/.classpath 2010-09-08 09:55:50 UTC (rev 24805)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Property changes on: trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/.classpath
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/.project
===================================================================
--- trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/.project (rev 0)
+++ trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/.project 2010-09-08 09:55:50 UTC (rev 24805)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.bpmn2.model</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ </natures>
+</projectDescription>
Property changes on: trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/META-INF/MANIFEST.MF
===================================================================
--- trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/META-INF/MANIFEST.MF (rev 0)
+++ trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/META-INF/MANIFEST.MF 2010-09-08 09:55:50 UTC (rev 24805)
@@ -0,0 +1,6 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: org.jboss.tools.bpmn2.model
+Bundle-SymbolicName: org.jboss.tools.bpmn2.model
+Bundle-Version: 0.1.0
+Require-Bundle: org.eclipse.emf.ecore
Property changes on: trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/META-INF/MANIFEST.MF
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/model/bpmn.gmfgraph
===================================================================
--- trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/model/bpmn.gmfgraph (rev 0)
+++ trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/model/bpmn.gmfgraph 2010-09-08 09:55:50 UTC (rev 24805)
@@ -0,0 +1,803 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<gmfgraph:Canvas xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:gmfgraph="http://www.eclipse.org/gmf/2006/GraphicalDefinition" name="BPMN">
+ <figures
+ name="BPMN Figures">
+ <descriptors
+ name="TaskFigureDescriptor">
+ <actualFigure
+ xsi:type="gmfgraph:RoundedRectangle"
+ name="TaskFigure">
+ <layout
+ xsi:type="gmfgraph:StackLayout"/>
+ <minimumSize
+ dx="80"
+ dy="40"/>
+ <preferredSize
+ dx="80"
+ dy="40"/>
+ <insets
+ top="5"
+ left="5"
+ bottom="5"
+ right="5"/>
+ <children
+ xsi:type="gmfgraph:Label"
+ name="Name"/>
+ </actualFigure>
+ <accessors
+ figure="//@figures.0/@descriptors.0/@actualFigure/(a)children.0"/>
+ </descriptors>
+ <descriptors
+ name="SequenceFlowFigureDescriptor">
+ <actualFigure
+ xsi:type="gmfgraph:PolylineConnection"
+ name="SequenceFlowFigure"
+ targetDecoration="//@figures.0/@descriptors.1/@actualFigure/(a)children.0">
+ <children
+ xsi:type="gmfgraph:PolygonDecoration"
+ name="ClosedArrow">
+ <template/>
+ <template
+ x="-1"
+ y="1"/>
+ <template
+ x="-1"
+ y="-1"/>
+ <template/>
+ </children>
+ </actualFigure>
+ </descriptors>
+ <descriptors
+ name="SimpleLabel">
+ <actualFigure
+ xsi:type="gmfgraph:Label"
+ name="SimpleLabel"
+ text=""/>
+ </descriptors>
+ <descriptors
+ name="StartEventFigureDescriptor">
+ <actualFigure
+ xsi:type="gmfgraph:Rectangle"
+ name="StartEventFigure"
+ outline="false"
+ fill="false">
+ <layout
+ xsi:type="gmfgraph:StackLayout"/>
+ <children
+ xsi:type="gmfgraph:Ellipse"
+ name="Circle"/>
+ </actualFigure>
+ </descriptors>
+ <descriptors
+ name="EndEventFigureDescriptor">
+ <actualFigure
+ xsi:type="gmfgraph:Rectangle"
+ name="EndEventFigure"
+ outline="false"
+ fill="false">
+ <layout
+ xsi:type="gmfgraph:StackLayout"/>
+ <children
+ xsi:type="gmfgraph:Ellipse"
+ name="Circle"
+ lineWidth="3"/>
+ </actualFigure>
+ </descriptors>
+ <descriptors
+ name="ExclusiveGatewayFigureDescriptor">
+ <actualFigure
+ xsi:type="gmfgraph:Rectangle"
+ name="ExclusiveGatewayFigure"
+ outline="false"
+ fill="false">
+ <layout
+ xsi:type="gmfgraph:StackLayout"/>
+ <children
+ xsi:type="gmfgraph:Polygon"
+ name="Diamond">
+ <template
+ x="15"/>
+ <template
+ y="15"/>
+ <template
+ x="15"
+ y="30"/>
+ <template
+ x="30"
+ y="15"/>
+ </children>
+ </actualFigure>
+ </descriptors>
+ <descriptors
+ name="ParallelGatewayFigureDescriptor">
+ <actualFigure
+ xsi:type="gmfgraph:Rectangle"
+ name="ParallelGatewayFigure"
+ outline="false"
+ fill="false">
+ <layout
+ xsi:type="gmfgraph:StackLayout"/>
+ <children
+ xsi:type="gmfgraph:Polygon"
+ name="Diamond">
+ <template
+ x="15"/>
+ <template
+ y="15"/>
+ <template
+ x="15"
+ y="30"/>
+ <template
+ x="30"
+ y="15"/>
+ </children>
+ <children
+ xsi:type="gmfgraph:Polyline"
+ name="Vertical">
+ <template
+ x="15"
+ y="8"/>
+ <template
+ x="15"
+ y="22"/>
+ </children>
+ <children
+ xsi:type="gmfgraph:Polyline"
+ name="Horizontal">
+ <template
+ x="8"
+ y="15"/>
+ <template
+ x="22"
+ y="15"/>
+ </children>
+ </actualFigure>
+ </descriptors>
+ <descriptors
+ name="MessageStartEventFigureDescriptor">
+ <actualFigure
+ xsi:type="gmfgraph:Rectangle"
+ name="MessageStartEventFigure"
+ outline="false"
+ fill="false">
+ <layout
+ xsi:type="gmfgraph:StackLayout"/>
+ <children
+ xsi:type="gmfgraph:Ellipse"
+ name="Circle">
+ <layout
+ xsi:type="gmfgraph:StackLayout"/>
+ <insets
+ top="6"
+ left="5"
+ bottom="6"
+ right="5"/>
+ <children
+ xsi:type="gmfgraph:Rectangle"
+ name="Rectangle">
+ <layout
+ xsi:type="gmfgraph:StackLayout"/>
+ <children
+ xsi:type="gmfgraph:Polyline"
+ name="WhiteEnvelope">
+ <template/>
+ <template
+ x="4"
+ y="4"/>
+ <template
+ x="5"
+ y="4"/>
+ <template
+ x="9"/>
+ </children>
+ </children>
+ </children>
+ </actualFigure>
+ </descriptors>
+ <descriptors
+ name="MessageEndEventFigureDescriptor">
+ <actualFigure
+ xsi:type="gmfgraph:Rectangle"
+ name="MessageEndEventFigure"
+ outline="false"
+ fill="false">
+ <layout
+ xsi:type="gmfgraph:StackLayout"/>
+ <children
+ xsi:type="gmfgraph:Ellipse"
+ name="Circle"
+ lineWidth="3">
+ <layout
+ xsi:type="gmfgraph:StackLayout"/>
+ <insets
+ top="6"
+ left="5"
+ bottom="6"
+ right="5"/>
+ <children
+ xsi:type="gmfgraph:Rectangle"
+ name="Rectangle">
+ <layout
+ xsi:type="gmfgraph:StackLayout"/>
+ <backgroundColor
+ xsi:type="gmfgraph:ConstantColor"
+ value="lightGray"/>
+ <children
+ xsi:type="gmfgraph:Polyline"
+ name="BlackEnvelope">
+ <foregroundColor
+ xsi:type="gmfgraph:ConstantColor"/>
+ <template/>
+ <template
+ x="4"
+ y="4"/>
+ <template
+ x="5"
+ y="4"/>
+ <template
+ x="9"/>
+ </children>
+ </children>
+ </children>
+ </actualFigure>
+ </descriptors>
+ <descriptors
+ name="TerminateEndEventFigureDescriptor">
+ <actualFigure
+ xsi:type="gmfgraph:Rectangle"
+ name="TerminateEndEventFigure"
+ outline="false"
+ fill="false">
+ <layout
+ xsi:type="gmfgraph:StackLayout"/>
+ <children
+ xsi:type="gmfgraph:Ellipse"
+ name="Circle"
+ lineWidth="3">
+ <layout
+ xsi:type="gmfgraph:StackLayout"/>
+ <insets
+ top="6"
+ left="6"
+ bottom="6"
+ right="6"/>
+ <children
+ xsi:type="gmfgraph:Ellipse"
+ name="Circle">
+ <backgroundColor
+ xsi:type="gmfgraph:ConstantColor"
+ value="lightGray"/>
+ </children>
+ </children>
+ </actualFigure>
+ </descriptors>
+ <descriptors
+ name="MessageCatchIntermediateEventFigureDescriptor">
+ <actualFigure
+ xsi:type="gmfgraph:Rectangle"
+ name="MessageCatchIntermediageEventFigure"
+ outline="false"
+ fill="false">
+ <layout
+ xsi:type="gmfgraph:StackLayout"/>
+ <children
+ xsi:type="gmfgraph:Ellipse"
+ name="OuterCircle">
+ <layout
+ xsi:type="gmfgraph:StackLayout"/>
+ <insets
+ top="2"
+ left="2"
+ bottom="2"
+ right="2"/>
+ <children
+ xsi:type="gmfgraph:Ellipse"
+ name="InnerCircle">
+ <layout
+ xsi:type="gmfgraph:StackLayout"/>
+ <insets
+ top="4"
+ left="3"
+ bottom="4"
+ right="3"/>
+ <children
+ xsi:type="gmfgraph:Rectangle"
+ name="Rectangle">
+ <layout
+ xsi:type="gmfgraph:StackLayout"/>
+ <children
+ xsi:type="gmfgraph:Polyline"
+ name="Envelope">
+ <template/>
+ <template
+ x="4"
+ y="4"/>
+ <template
+ x="5"
+ y="4"/>
+ <template
+ x="9"/>
+ </children>
+ </children>
+ </children>
+ </children>
+ </actualFigure>
+ </descriptors>
+ <descriptors
+ name="MessageThrowIntermediateEventFigureDescriptor">
+ <actualFigure
+ xsi:type="gmfgraph:Rectangle"
+ name="MessageThrowIntermediateEventFigure"
+ outline="false"
+ fill="false">
+ <layout
+ xsi:type="gmfgraph:StackLayout"/>
+ <children
+ xsi:type="gmfgraph:Ellipse"
+ name="OuterCircle">
+ <layout
+ xsi:type="gmfgraph:StackLayout"/>
+ <insets
+ top="2"
+ left="2"
+ bottom="2"
+ right="2"/>
+ <children
+ xsi:type="gmfgraph:Ellipse"
+ name="InnerCircle">
+ <layout
+ xsi:type="gmfgraph:StackLayout"/>
+ <insets
+ top="4"
+ left="3"
+ bottom="4"
+ right="3"/>
+ <children
+ xsi:type="gmfgraph:Rectangle"
+ name="Rectangle">
+ <layout
+ xsi:type="gmfgraph:StackLayout"/>
+ <backgroundColor
+ xsi:type="gmfgraph:ConstantColor"
+ value="lightGray"/>
+ <children
+ xsi:type="gmfgraph:Polyline"
+ name="Envelope">
+ <foregroundColor
+ xsi:type="gmfgraph:ConstantColor"/>
+ <template/>
+ <template
+ x="4"
+ y="4"/>
+ <template
+ x="5"
+ y="4"/>
+ <template
+ x="9"/>
+ </children>
+ </children>
+ </children>
+ </children>
+ </actualFigure>
+ </descriptors>
+ <descriptors
+ name="TimerCatchIntermediateEventFigureDescriptor">
+ <actualFigure
+ xsi:type="gmfgraph:Rectangle"
+ name="TimerCatchIntermediateEventFigure"
+ outline="false"
+ fill="false">
+ <layout
+ xsi:type="gmfgraph:StackLayout"/>
+ <children
+ xsi:type="gmfgraph:Ellipse"
+ name="OuterCircle">
+ <layout
+ xsi:type="gmfgraph:StackLayout"/>
+ <insets
+ top="2"
+ left="2"
+ bottom="2"
+ right="2"/>
+ <children
+ xsi:type="gmfgraph:Ellipse"
+ name="InnerCircle">
+ <layout
+ xsi:type="gmfgraph:StackLayout"/>
+ <insets
+ top="3"
+ left="3"
+ bottom="3"
+ right="3"/>
+ <children
+ xsi:type="gmfgraph:Ellipse"
+ name="Clock"/>
+ <children
+ xsi:type="gmfgraph:Polyline"
+ name="Twelve">
+ <template
+ x="4"/>
+ <template
+ x="4"
+ y="2"/>
+ </children>
+ <children
+ xsi:type="gmfgraph:Polyline"
+ name="Three">
+ <template
+ x="7"
+ y="4"/>
+ <template
+ x="9"
+ y="4"/>
+ </children>
+ <children
+ xsi:type="gmfgraph:Polyline"
+ name="Six">
+ <template
+ x="4"
+ y="7"/>
+ <template
+ x="4"
+ y="9"/>
+ </children>
+ <children
+ xsi:type="gmfgraph:Polyline"
+ name="Nine">
+ <template
+ y="4"/>
+ <template
+ x="2"
+ y="4"/>
+ </children>
+ <children
+ xsi:type="gmfgraph:Polyline"
+ name="Big">
+ <template
+ x="4"
+ y="4"/>
+ <template
+ x="6"
+ y="1"/>
+ </children>
+ <children
+ xsi:type="gmfgraph:Polyline"
+ name="Small">
+ <template
+ x="4"
+ y="4"/>
+ <template
+ x="7"
+ y="7"/>
+ </children>
+ </children>
+ </children>
+ </actualFigure>
+ </descriptors>
+ <descriptors
+ name="ErrorCatchIntermediateEventFigureDescriptor">
+ <actualFigure
+ xsi:type="gmfgraph:Rectangle"
+ name="ErrorCatchIntermediateEventFigure"
+ outline="false"
+ fill="false">
+ <layout
+ xsi:type="gmfgraph:StackLayout"/>
+ <children
+ xsi:type="gmfgraph:Ellipse"
+ name="OuterCircle">
+ <layout
+ xsi:type="gmfgraph:StackLayout"/>
+ <insets
+ top="2"
+ left="2"
+ bottom="2"
+ right="2"/>
+ <children
+ xsi:type="gmfgraph:Ellipse"
+ name="InnerCircle">
+ <layout
+ xsi:type="gmfgraph:StackLayout"/>
+ <insets
+ top="3"
+ left="3"
+ bottom="3"
+ right="3"/>
+ <children
+ xsi:type="gmfgraph:Polygon"
+ name="Flash">
+ <template
+ y="9"/>
+ <template
+ x="3"/>
+ <template
+ x="7"
+ y="6"/>
+ <template
+ x="10"
+ y="1"/>
+ <template
+ x="7"
+ y="10"/>
+ <template
+ x="3"
+ y="3"/>
+ </children>
+ </children>
+ </children>
+ </actualFigure>
+ </descriptors>
+ <descriptors
+ name="DataObjectFigureDescriptor">
+ <actualFigure
+ xsi:type="gmfgraph:Rectangle"
+ name="DataObjectFigure"
+ outline="false"
+ fill="false">
+ <layout
+ xsi:type="gmfgraph:StackLayout"/>
+ <children
+ xsi:type="gmfgraph:Polygon"
+ name="DogEarPage">
+ <template
+ x="12"/>
+ <template
+ x="20"
+ y="8"/>
+ <template
+ x="20"
+ y="25"/>
+ <template
+ y="25"/>
+ <template/>
+ <template
+ x="12"/>
+ <template
+ x="12"
+ y="8"/>
+ <template
+ x="20"
+ y="8"/>
+ </children>
+ </actualFigure>
+ </descriptors>
+ <descriptors
+ name="DataObjectLabelFigureDescriptor">
+ <actualFigure
+ xsi:type="gmfgraph:Label"
+ name="DataObjectLabelFigure"/>
+ </descriptors>
+ <descriptors
+ name="AssociationFigureDescriptor">
+ <actualFigure
+ xsi:type="gmfgraph:PolylineConnection"
+ name="AssociationFigure"
+ lineKind="LINE_DOT"/>
+ </descriptors>
+ <descriptors
+ name="TextAnnotationFigureDescriptor">
+ <actualFigure
+ xsi:type="gmfgraph:Rectangle"
+ name="TextAnnotationFigure"
+ outline="false"
+ fill="false">
+ <layout
+ xsi:type="gmfgraph:StackLayout"/>
+ <minimumSize
+ dx="50"
+ dy="20"/>
+ <preferredSize
+ dx="120"
+ dy="20"/>
+ <border
+ xsi:type="gmfgraph:CustomBorder"
+ qualifiedClassName="org.jboss.tools.bpmn2.process.diagram.figures.TextAnnotationFigureBorder"/>
+ <children
+ xsi:type="gmfgraph:Rectangle"
+ name="TextAnnotationRectangle"
+ outline="false"
+ fill="false"
+ lineKind="LINE_DOT">
+ <layout
+ xsi:type="gmfgraph:StackLayout"/>
+ <insets
+ top="4"
+ left="5"
+ bottom="5"
+ right="4"/>
+ <children
+ xsi:type="gmfgraph:Label"
+ name="TextAnnotationLabel"
+ text=""/>
+ </children>
+ </actualFigure>
+ <accessors
+ figure="//@figures.0/@descriptors.17/@actualFigure/@children.0/(a)children.0"/>
+ </descriptors>
+ <descriptors
+ name="ExpandedSubprocessFigureDescriptor">
+ <actualFigure
+ xsi:type="gmfgraph:RoundedRectangle"
+ name="ExpandedSubprocessFigure">
+ <layout
+ xsi:type="gmfgraph:XYLayout"/>
+ <preferredSize
+ dx="240"
+ dy="240"/>
+ </actualFigure>
+ <accessors
+ figure="//@figures.0/@descriptors.18/(a)actualFigure"/>
+ </descriptors>
+ </figures>
+ <nodes
+ name="UserTask"
+ figure="TaskFigureDescriptor"/>
+ <nodes
+ name="ServiceTask"
+ figure="TaskFigureDescriptor"/>
+ <nodes
+ name="StartEvent"
+ figure="StartEventFigureDescriptor"
+ resizeConstraint="NONE">
+ <facets
+ xsi:type="gmfgraph:DefaultSizeFacet">
+ <defaultSize
+ dx="20"
+ dy="20"/>
+ </facets>
+ </nodes>
+ <nodes
+ name="EndEvent"
+ figure="EndEventFigureDescriptor"
+ resizeConstraint="NONE">
+ <facets
+ xsi:type="gmfgraph:DefaultSizeFacet">
+ <defaultSize
+ dx="20"
+ dy="20"/>
+ </facets>
+ </nodes>
+ <nodes
+ name="ExclusiveGateway"
+ figure="ExclusiveGatewayFigureDescriptor"
+ resizeConstraint="NONE">
+ <facets
+ xsi:type="gmfgraph:DefaultSizeFacet">
+ <defaultSize
+ dx="31"
+ dy="31"/>
+ </facets>
+ </nodes>
+ <nodes
+ name="ParallelGateway"
+ figure="ParallelGatewayFigureDescriptor"
+ resizeConstraint="NONE">
+ <facets
+ xsi:type="gmfgraph:DefaultSizeFacet">
+ <defaultSize
+ dx="31"
+ dy="31"/>
+ </facets>
+ </nodes>
+ <nodes
+ name="MessageStartEvent"
+ figure="MessageStartEventFigureDescriptor"
+ resizeConstraint="NONE">
+ <facets
+ xsi:type="gmfgraph:DefaultSizeFacet">
+ <defaultSize
+ dx="20"
+ dy="20"/>
+ </facets>
+ </nodes>
+ <nodes
+ name="MessageEndEvent"
+ figure="MessageEndEventFigureDescriptor"
+ resizeConstraint="NONE">
+ <facets
+ xsi:type="gmfgraph:DefaultSizeFacet">
+ <defaultSize
+ dx="20"
+ dy="20"/>
+ </facets>
+ </nodes>
+ <nodes
+ name="TerminateEndEvent"
+ figure="TerminateEndEventFigureDescriptor"
+ resizeConstraint="NONE">
+ <facets
+ xsi:type="gmfgraph:DefaultSizeFacet">
+ <defaultSize
+ dx="20"
+ dy="20"/>
+ </facets>
+ </nodes>
+ <nodes
+ name="MessageCatchIntermediateEvent"
+ figure="MessageCatchIntermediateEventFigureDescriptor">
+ <facets
+ xsi:type="gmfgraph:DefaultSizeFacet">
+ <defaultSize
+ dx="20"
+ dy="20"/>
+ </facets>
+ </nodes>
+ <nodes
+ name="MessageThrowIntermediateEvent"
+ figure="MessageThrowIntermediateEventFigureDescriptor"
+ resizeConstraint="NONE">
+ <facets
+ xsi:type="gmfgraph:DefaultSizeFacet">
+ <defaultSize
+ dx="20"
+ dy="20"/>
+ </facets>
+ </nodes>
+ <nodes
+ name="TimerCatchIntermediateEvent"
+ figure="TimerCatchIntermediateEventFigureDescriptor"
+ resizeConstraint="NONE">
+ <facets
+ xsi:type="gmfgraph:DefaultSizeFacet">
+ <defaultSize
+ dx="20"
+ dy="20"/>
+ </facets>
+ </nodes>
+ <nodes
+ name="ErrorCatchIntermediateEvent"
+ figure="ErrorCatchIntermediateEventFigureDescriptor"
+ resizeConstraint="NONE">
+ <facets
+ xsi:type="gmfgraph:DefaultSizeFacet">
+ <defaultSize
+ dx="20"
+ dy="20"/>
+ </facets>
+ </nodes>
+ <nodes
+ name="DataObject"
+ figure="DataObjectFigureDescriptor"
+ resizeConstraint="NONE">
+ <facets
+ xsi:type="gmfgraph:DefaultSizeFacet">
+ <defaultSize
+ dx="21"
+ dy="26"/>
+ </facets>
+ </nodes>
+ <nodes
+ name="TextAnnotation"
+ figure="TextAnnotationFigureDescriptor"/>
+ <nodes
+ name="ExpandedSubprocess"
+ figure="ExpandedSubprocessFigureDescriptor"
+ contentPane="//@figures.0/@descriptors.18/(a)accessors.0"/>
+ <connections
+ name="SequenceFlow"
+ figure="SequenceFlowFigureDescriptor"/>
+ <connections
+ name="Association"
+ figure="AssociationFigureDescriptor"/>
+ <labels
+ name="RoundedRectangleLabel"
+ figure="TaskFigureDescriptor"
+ accessor="//@figures.0/@descriptors.0/(a)accessors.0"/>
+ <labels
+ name="Element Name"
+ figure="TextAnnotationFigureDescriptor"
+ elementIcon="false"
+ accessor="//@figures.0/@descriptors.17/(a)accessors.0"/>
+ <labels
+ name="DataObjectLabel"
+ figure="DataObjectLabelFigureDescriptor"
+ elementIcon="false"/>
+ <labels
+ name="TextAnnotationLabel"
+ figure="TextAnnotationFigureDescriptor"
+ elementIcon="false"
+ accessor="//@figures.0/@descriptors.17/(a)accessors.0"/>
+</gmfgraph:Canvas>
Property changes on: trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/model/bpmn.gmfgraph
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/model/bpmn.process.gmfgen
===================================================================
--- trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/model/bpmn.process.gmfgen (rev 0)
+++ trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/model/bpmn.process.gmfgen 2010-09-08 09:55:50 UTC (rev 24805)
@@ -0,0 +1,3509 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<gmfgen:GenEditorGenerator xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:gmfgen="http://www.eclipse.org/gmf/2009/GenModel" packageNamePrefix="org.jboss.tools.bpmn2.process.diagram"
+ diagramFileExtension="prd"
+ pluginDirectory="/org.jboss.tools.bpmn2.process.diagram/src">
+ <diagram
+ visualID="1000"
+ editPartClassName="ProcessEditPart"
+ itemSemanticEditPolicyClassName="ProcessItemSemanticEditPolicy"
+ canonicalEditPolicyClassName="ProcessCanonicalEditPolicy"
+ iconProviderPriority="Low"
+ validationProviderPriority="Low">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Diagram"/>
+ <elementType
+ xsi:type="gmfgen:MetamodelType"
+ editHelperClassName="ProcessEditHelper"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.draw2d.FreeformLayer"/>
+ <domainDiagramElement
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/Process"/>
+ <childNodes
+ visualID="3001"
+ editPartClassName="SubProcess2EditPart"
+ itemSemanticEditPolicyClassName="SubProcess2ItemSemanticEditPolicy"
+ notationViewFactoryClassName="SubProcessViewFactory"
+ canonicalEditPolicyClassName="SubProcess2CanonicalEditPolicy"
+ childNodes="//@diagram/(a)childNodes.0 //@diagram/(a)childNodes.1 //@diagram/(a)childNodes.2 //@diagram/(a)childNodes.3 //@diagram/(a)childNodes.4 //@diagram/(a)childNodes.5 //@diagram/(a)childNodes.6 //@diagram/(a)childNodes.7 //@diagram/(a)childNodes.8 //@diagram/(a)childNodes.9 //@diagram/(a)childNodes.10 //@diagram/(a)childNodes.11 //@diagram/(a)childNodes.12 //@diagram/(a)childNodes.13 //@diagram/(a)childNodes.14"
+ graphicalNodeEditPolicyClassName="SubProcess2GraphicalNodeEditPolicy"
+ createCommandClassName="SubProcess2CreateCommand"
+ containers="//@diagram/(a)childNodes.0 //@diagram/(a)topLevelNodes.15">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ metamodelType="//@diagram/@topLevelNodes.15/(a)elementType"/>
+ <viewmap
+ xsi:type="gmfgen:InnerClassViewmap"
+ layoutType="XY_LAYOUT"
+ className="ExpandedSubprocessFigureDescriptor"
+ classBody="
/**
 * @generated
 */
public class ExpandedSubprocessFigureDescriptor extends org.eclipse.draw2d.RoundedRectangle {


	/**
	 * @generated
	 */
	private org.eclipse.draw2d.RoundedRectangle fFigureExpandedSubprocessFigure; 


	/**
	 * @generated
	 */
	public ExpandedSubprocessFigureDescriptor() {
		this.setLayoutManager(new org.eclipse.draw2d.XYLayout());
		this.setCornerDimensions(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(8)
, getMapMode().DPtoLP(8)
));
this.setPreferredSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(240)
, getMapMode().DPtoLP(240)
));
	}



	/**
	 * @generated
	 */
	public org.eclipse.draw2d.RoundedRectangle getFigureExpandedSubprocessFigure() {
		return fFigureExpandedSubprocessFigure;
	}!



}

">
+ <attributes
+ xsi:type="gmfgen:DefaultSizeAttributes"
+ width="240"
+ height="240"/>
+ </viewmap>
+ <modelFacet>
+ <metaClass
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/SubProcess"/>
+ <containmentMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <childMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.31">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/BaseElement/id"/>
+ </initializers>
+ </modelElementInitializer>
+ </modelFacet>
+ </childNodes>
+ <childNodes
+ visualID="3002"
+ editPartClassName="UserTask2EditPart"
+ itemSemanticEditPolicyClassName="UserTask2ItemSemanticEditPolicy"
+ notationViewFactoryClassName="UserTaskViewFactory"
+ canonicalEditPolicyClassName="UserTask2CanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="UserTask2GraphicalNodeEditPolicy"
+ createCommandClassName="UserTask2CreateCommand"
+ containers="//@diagram/(a)childNodes.0 //@diagram/(a)topLevelNodes.15">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ metamodelType="//@diagram/@topLevelNodes.0/(a)elementType"/>
+ <viewmap
+ xsi:type="gmfgen:InnerClassViewmap"
+ className="TaskFigureDescriptor"
+ classBody="
/**
 * @generated
 */
public class TaskFigureDescriptor extends org.eclipse.draw2d.RoundedRectangle {


	/**
	 * @generated
	 */
	private org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel fFigureName; 


	/**
	 * @generated
	 */
	public TaskFigureDescriptor() {
		this.setLayoutManager(new org.eclipse.draw2d.StackLayout());
		this.setCornerDimensions(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(8)
, getMapMode().DPtoLP(8)
));
this.setPreferredSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(80)
, getMapMode().DPtoLP(40)
));
this.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(80)
, getMapMode().DPtoLP(40)
));

this.setBorder(new org.eclipse.draw2d.MarginBorder(getMapMode().DPtoLP(5)
, getMapMode().DPtoLP(5)
, getMapMode!
().DPtoLP(5)
, getMapMode().DPtoLP(5)
));
		createContents();
	}
	/**
	 * @generated
	 */
	private void createContents(){


fFigureName = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel();
fFigureName.setText("");

this.add(fFigureName);


	}





	/**
	 * @generated
	 */
	public org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel getFigureName() {
		return fFigureName;
	}


}

">
+ <attributes
+ xsi:type="gmfgen:DefaultSizeAttributes"
+ width="80"
+ height="40"/>
+ </viewmap>
+ <modelFacet>
+ <metaClass
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/UserTask"/>
+ <containmentMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <childMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.0">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/BaseElement/id"/>
+ </initializers>
+ </modelElementInitializer>
+ </modelFacet>
+ <labels
+ visualID="5005"
+ editPartClassName="UserTaskName2EditPart"
+ itemSemanticEditPolicyClassName="UserTaskName2ItemSemanticEditPolicy"
+ notationViewFactoryClassName="UserTaskNameViewFactory"
+ elementIcon="true">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:ParentAssignedViewmap"
+ getterName="getFigureName"
+ figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/>
+ <modelFacet
+ xsi:type="gmfgen:FeatureLabelModelFacet"
+ parser="//@labelParsers/(a)implementations.0">
+ <metaFeatures
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElement/name"/>
+ </modelFacet>
+ </labels>
+ </childNodes>
+ <childNodes
+ visualID="3004"
+ editPartClassName="ServiceTask2EditPart"
+ itemSemanticEditPolicyClassName="ServiceTask2ItemSemanticEditPolicy"
+ notationViewFactoryClassName="ServiceTaskViewFactory"
+ canonicalEditPolicyClassName="ServiceTask2CanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="ServiceTask2GraphicalNodeEditPolicy"
+ createCommandClassName="ServiceTask2CreateCommand"
+ containers="//@diagram/(a)childNodes.0 //@diagram/(a)topLevelNodes.15">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ metamodelType="//@diagram/@topLevelNodes.1/(a)elementType"/>
+ <viewmap
+ xsi:type="gmfgen:InnerClassViewmap"
+ className="TaskFigureDescriptor"
+ classBody="
/**
 * @generated
 */
public class TaskFigureDescriptor extends org.eclipse.draw2d.RoundedRectangle {


	/**
	 * @generated
	 */
	private org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel fFigureName; 


	/**
	 * @generated
	 */
	public TaskFigureDescriptor() {
		this.setLayoutManager(new org.eclipse.draw2d.StackLayout());
		this.setCornerDimensions(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(8)
, getMapMode().DPtoLP(8)
));
this.setPreferredSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(80)
, getMapMode().DPtoLP(40)
));
this.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(80)
, getMapMode().DPtoLP(40)
));

this.setBorder(new org.eclipse.draw2d.MarginBorder(getMapMode().DPtoLP(5)
, getMapMode().DPtoLP(5)
, getMapMode!
().DPtoLP(5)
, getMapMode().DPtoLP(5)
));
		createContents();
	}
	/**
	 * @generated
	 */
	private void createContents(){


fFigureName = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel();
fFigureName.setText("");

this.add(fFigureName);


	}





	/**
	 * @generated
	 */
	public org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel getFigureName() {
		return fFigureName;
	}


}

">
+ <attributes
+ xsi:type="gmfgen:DefaultSizeAttributes"
+ width="80"
+ height="40"/>
+ </viewmap>
+ <modelFacet>
+ <metaClass
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/ServiceTask"/>
+ <containmentMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <childMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.1">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/BaseElement/id"/>
+ </initializers>
+ </modelElementInitializer>
+ </modelFacet>
+ <labels
+ visualID="5006"
+ editPartClassName="ServiceTaskName2EditPart"
+ itemSemanticEditPolicyClassName="ServiceTaskName2ItemSemanticEditPolicy"
+ notationViewFactoryClassName="ServiceTaskNameViewFactory"
+ elementIcon="true">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:ParentAssignedViewmap"
+ getterName="getFigureName"
+ figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/>
+ <modelFacet
+ xsi:type="gmfgen:FeatureLabelModelFacet"
+ parser="//@labelParsers/(a)implementations.0">
+ <metaFeatures
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElement/name"/>
+ </modelFacet>
+ </labels>
+ </childNodes>
+ <childNodes
+ visualID="3003"
+ editPartClassName="StartEvent3EditPart"
+ itemSemanticEditPolicyClassName="StartEvent3ItemSemanticEditPolicy"
+ notationViewFactoryClassName="StartEventViewFactory"
+ canonicalEditPolicyClassName="StartEvent3CanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="StartEvent3GraphicalNodeEditPolicy"
+ createCommandClassName="StartEvent3CreateCommand"
+ containers="//@diagram/(a)childNodes.0 //@diagram/(a)topLevelNodes.15">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ metamodelType="//@diagram/@topLevelNodes.2/(a)elementType"/>
+ <viewmap
+ xsi:type="gmfgen:InnerClassViewmap"
+ className="StartEventFigureDescriptor"
+ classBody="
/**
 * @generated
 */
public class StartEventFigureDescriptor extends org.eclipse.draw2d.RectangleFigure {




	/**
	 * @generated
	 */
	public StartEventFigureDescriptor() {
		this.setLayoutManager(new org.eclipse.draw2d.StackLayout());
		this.setFill(false);
this.setOutline(false);
		createContents();
	}
	/**
	 * @generated
	 */
	private void createContents(){


org.eclipse.draw2d.Ellipse circle0 = new org.eclipse.draw2d.Ellipse();

this.add(circle0);


	}







}

">
+ <attributes
+ xsi:type="gmfgen:ResizeConstraints"/>
+ <attributes
+ xsi:type="gmfgen:DefaultSizeAttributes"
+ width="20"
+ height="20"/>
+ </viewmap>
+ <modelFacet
+ modelElementSelector="//@expressionProviders/@providers.0/(a)expressions.2">
+ <metaClass
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/StartEvent"/>
+ <containmentMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <childMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.3">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/BaseElement/id"/>
+ </initializers>
+ </modelElementInitializer>
+ </modelFacet>
+ </childNodes>
+ <childNodes
+ visualID="3005"
+ editPartClassName="StartEvent4EditPart"
+ itemSemanticEditPolicyClassName="StartEvent4ItemSemanticEditPolicy"
+ notationViewFactoryClassName="StartEventViewFactory"
+ canonicalEditPolicyClassName="StartEvent4CanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="StartEvent4GraphicalNodeEditPolicy"
+ createCommandClassName="StartEvent4CreateCommand"
+ containers="//@diagram/(a)childNodes.0 //@diagram/(a)topLevelNodes.15">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ metamodelType="//@diagram/@topLevelNodes.2/(a)elementType"/>
+ <viewmap
+ xsi:type="gmfgen:InnerClassViewmap"
+ className="MessageStartEventFigureDescriptor"
+ classBody="
/**
 * @generated
 */
public class MessageStartEventFigureDescriptor extends org.eclipse.draw2d.RectangleFigure {




	/**
	 * @generated
	 */
	public MessageStartEventFigureDescriptor() {
		this.setLayoutManager(new org.eclipse.draw2d.StackLayout());
		this.setFill(false);
this.setOutline(false);
		createContents();
	}
	/**
	 * @generated
	 */
	private void createContents(){


org.eclipse.draw2d.Ellipse circle0 = new org.eclipse.draw2d.Ellipse();

circle0.setBorder(new org.eclipse.draw2d.MarginBorder(getMapMode().DPtoLP(6)
, getMapMode().DPtoLP(5)
, getMapMode().DPtoLP(6)
, getMapMode().DPtoLP(5)
));

this.add(circle0);
circle0.setLayoutManager(new org.eclipse.draw2d.StackLayout());


org.eclipse.draw2d.RectangleFigure rectangle1 = new org.eclipse.dra!
w2d.RectangleFigure();

circle0.add(rectangle1);
rectangle1.setLayoutManager(new org.eclipse.draw2d.StackLayout());


org.eclipse.draw2d.PolylineShape whiteEnvelope2 = new org.eclipse.draw2d.PolylineShape();
whiteEnvelope2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(0)
, getMapMode().DPtoLP(0)
));
whiteEnvelope2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(4)
, getMapMode().DPtoLP(4)
));
whiteEnvelope2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(5)
, getMapMode().DPtoLP(4)
));
whiteEnvelope2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(9)
, getMapMode().DPtoLP(0)
));

rectangle1.add(whiteEnvelope2);




	}







}

">
+ <attributes
+ xsi:type="gmfgen:ResizeConstraints"/>
+ <attributes
+ xsi:type="gmfgen:DefaultSizeAttributes"
+ width="20"
+ height="20"/>
+ </viewmap>
+ <modelFacet
+ modelElementSelector="//@expressionProviders/@providers.0/(a)expressions.4">
+ <metaClass
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/StartEvent"/>
+ <containmentMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <childMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.5">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/BaseElement/id"/>
+ </initializers>
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.6">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/CatchEvent/eventDefinitions"/>
+ </initializers>
+ </modelElementInitializer>
+ </modelFacet>
+ </childNodes>
+ <childNodes
+ visualID="3006"
+ editPartClassName="EndEvent4EditPart"
+ itemSemanticEditPolicyClassName="EndEvent4ItemSemanticEditPolicy"
+ notationViewFactoryClassName="EndEventViewFactory"
+ canonicalEditPolicyClassName="EndEvent4CanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="EndEvent4GraphicalNodeEditPolicy"
+ createCommandClassName="EndEvent4CreateCommand"
+ containers="//@diagram/(a)childNodes.0 //@diagram/(a)topLevelNodes.15">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ metamodelType="//@diagram/@topLevelNodes.4/(a)elementType"/>
+ <viewmap
+ xsi:type="gmfgen:InnerClassViewmap"
+ className="EndEventFigureDescriptor"
+ classBody="
/**
 * @generated
 */
public class EndEventFigureDescriptor extends org.eclipse.draw2d.RectangleFigure {




	/**
	 * @generated
	 */
	public EndEventFigureDescriptor() {
		this.setLayoutManager(new org.eclipse.draw2d.StackLayout());
		this.setFill(false);
this.setOutline(false);
		createContents();
	}
	/**
	 * @generated
	 */
	private void createContents(){


org.eclipse.draw2d.Ellipse circle0 = new org.eclipse.draw2d.Ellipse();
circle0.setLineWidth(3);

this.add(circle0);


	}







}

">
+ <attributes
+ xsi:type="gmfgen:ResizeConstraints"/>
+ <attributes
+ xsi:type="gmfgen:DefaultSizeAttributes"
+ width="20"
+ height="20"/>
+ </viewmap>
+ <modelFacet
+ modelElementSelector="//@expressionProviders/@providers.0/(a)expressions.7">
+ <metaClass
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/EndEvent"/>
+ <containmentMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <childMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.8">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/BaseElement/id"/>
+ </initializers>
+ </modelElementInitializer>
+ </modelFacet>
+ </childNodes>
+ <childNodes
+ visualID="3007"
+ editPartClassName="ExclusiveGateway2EditPart"
+ itemSemanticEditPolicyClassName="ExclusiveGateway2ItemSemanticEditPolicy"
+ notationViewFactoryClassName="ExclusiveGatewayViewFactory"
+ canonicalEditPolicyClassName="ExclusiveGateway2CanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="ExclusiveGateway2GraphicalNodeEditPolicy"
+ createCommandClassName="ExclusiveGateway2CreateCommand"
+ containers="//@diagram/(a)childNodes.0 //@diagram/(a)topLevelNodes.15">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ metamodelType="//@diagram/@topLevelNodes.5/(a)elementType"/>
+ <viewmap
+ xsi:type="gmfgen:InnerClassViewmap"
+ className="ExclusiveGatewayFigureDescriptor"
+ classBody="
/**
 * @generated
 */
public class ExclusiveGatewayFigureDescriptor extends org.eclipse.draw2d.RectangleFigure {




	/**
	 * @generated
	 */
	public ExclusiveGatewayFigureDescriptor() {
		this.setLayoutManager(new org.eclipse.draw2d.StackLayout());
		this.setFill(false);
this.setOutline(false);
		createContents();
	}
	/**
	 * @generated
	 */
	private void createContents(){


org.eclipse.draw2d.PolygonShape diamond0 = new org.eclipse.draw2d.PolygonShape();
diamond0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(15)
, getMapMode().DPtoLP(0)
));
diamond0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(0)
, getMapMode().DPtoLP(15)
));
diamond0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(15)
, getMapMode().DPto!
LP(30)
));
diamond0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(30)
, getMapMode().DPtoLP(15)
));
diamond0.setFill(true);

this.add(diamond0);


	}







}

">
+ <attributes
+ xsi:type="gmfgen:ResizeConstraints"/>
+ <attributes
+ xsi:type="gmfgen:DefaultSizeAttributes"
+ width="31"
+ height="31"/>
+ </viewmap>
+ <modelFacet>
+ <metaClass
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/ExclusiveGateway"/>
+ <containmentMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <childMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.9">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/BaseElement/id"/>
+ </initializers>
+ </modelElementInitializer>
+ </modelFacet>
+ </childNodes>
+ <childNodes
+ visualID="3008"
+ editPartClassName="ParallelGateway2EditPart"
+ itemSemanticEditPolicyClassName="ParallelGateway2ItemSemanticEditPolicy"
+ notationViewFactoryClassName="ParallelGatewayViewFactory"
+ canonicalEditPolicyClassName="ParallelGateway2CanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="ParallelGateway2GraphicalNodeEditPolicy"
+ createCommandClassName="ParallelGateway2CreateCommand"
+ containers="//@diagram/(a)childNodes.0 //@diagram/(a)topLevelNodes.15">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ metamodelType="//@diagram/@topLevelNodes.6/(a)elementType"/>
+ <viewmap
+ xsi:type="gmfgen:InnerClassViewmap"
+ className="ParallelGatewayFigureDescriptor"
+ classBody="
/**
 * @generated
 */
public class ParallelGatewayFigureDescriptor extends org.eclipse.draw2d.RectangleFigure {




	/**
	 * @generated
	 */
	public ParallelGatewayFigureDescriptor() {
		this.setLayoutManager(new org.eclipse.draw2d.StackLayout());
		this.setFill(false);
this.setOutline(false);
		createContents();
	}
	/**
	 * @generated
	 */
	private void createContents(){


org.eclipse.draw2d.PolygonShape diamond0 = new org.eclipse.draw2d.PolygonShape();
diamond0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(15)
, getMapMode().DPtoLP(0)
));
diamond0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(0)
, getMapMode().DPtoLP(15)
));
diamond0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(15)
, getMapMode().DPtoLP!
(30)
));
diamond0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(30)
, getMapMode().DPtoLP(15)
));
diamond0.setFill(true);

this.add(diamond0);



org.eclipse.draw2d.PolylineShape vertical0 = new org.eclipse.draw2d.PolylineShape();
vertical0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(15)
, getMapMode().DPtoLP(8)
));
vertical0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(15)
, getMapMode().DPtoLP(22)
));

this.add(vertical0);



org.eclipse.draw2d.PolylineShape horizontal0 = new org.eclipse.draw2d.PolylineShape();
horizontal0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(8)
, getMapMode().DPtoLP(15)
));
horizontal0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(22)
, getMapMode().DPtoLP(15)
));

this.add(horizontal0);


	}

!






}

">
+ <attributes
+ xsi:type="gmfgen:ResizeConstraints"/>
+ <attributes
+ xsi:type="gmfgen:DefaultSizeAttributes"
+ width="31"
+ height="31"/>
+ </viewmap>
+ <modelFacet>
+ <metaClass
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/ParallelGateway"/>
+ <containmentMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <childMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.10">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/BaseElement/id"/>
+ </initializers>
+ </modelElementInitializer>
+ </modelFacet>
+ </childNodes>
+ <childNodes
+ visualID="3009"
+ editPartClassName="EndEvent5EditPart"
+ itemSemanticEditPolicyClassName="EndEvent5ItemSemanticEditPolicy"
+ notationViewFactoryClassName="EndEventViewFactory"
+ canonicalEditPolicyClassName="EndEvent5CanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="EndEvent5GraphicalNodeEditPolicy"
+ createCommandClassName="EndEvent5CreateCommand"
+ containers="//@diagram/(a)childNodes.0 //@diagram/(a)topLevelNodes.15">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ metamodelType="//@diagram/@topLevelNodes.4/(a)elementType"/>
+ <viewmap
+ xsi:type="gmfgen:InnerClassViewmap"
+ className="MessageEndEventFigureDescriptor"
+ classBody="
/**
 * @generated
 */
public class MessageEndEventFigureDescriptor extends org.eclipse.draw2d.RectangleFigure {




	/**
	 * @generated
	 */
	public MessageEndEventFigureDescriptor() {
		this.setLayoutManager(new org.eclipse.draw2d.StackLayout());
		this.setFill(false);
this.setOutline(false);
		createContents();
	}
	/**
	 * @generated
	 */
	private void createContents(){


org.eclipse.draw2d.Ellipse circle0 = new org.eclipse.draw2d.Ellipse();
circle0.setLineWidth(3);

circle0.setBorder(new org.eclipse.draw2d.MarginBorder(getMapMode().DPtoLP(6)
, getMapMode().DPtoLP(5)
, getMapMode().DPtoLP(6)
, getMapMode().DPtoLP(5)
));

this.add(circle0);
circle0.setLayoutManager(new org.eclipse.draw2d.StackLayout());


org.eclipse.draw2d.RectangleFigure rectang!
le1 = new org.eclipse.draw2d.RectangleFigure();
	rectangle1.setBackgroundColor(org.eclipse.draw2d.ColorConstants.lightGray);

circle0.add(rectangle1);
rectangle1.setLayoutManager(new org.eclipse.draw2d.StackLayout());


org.eclipse.draw2d.PolylineShape blackEnvelope2 = new org.eclipse.draw2d.PolylineShape();
blackEnvelope2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(0)
, getMapMode().DPtoLP(0)
));
blackEnvelope2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(4)
, getMapMode().DPtoLP(4)
));
blackEnvelope2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(5)
, getMapMode().DPtoLP(4)
));
blackEnvelope2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(9)
, getMapMode().DPtoLP(0)
));
	blackEnvelope2.setForegroundColor(org.eclipse.draw2d.ColorConstants.white);

rectangle1.add(blackEnvelope2);


&#!
xA;
	}







}
&#!
xA;">
+ <attributes
+ xsi:type="gmfgen:ResizeConstraints"/>
+ <attributes
+ xsi:type="gmfgen:DefaultSizeAttributes"
+ width="20"
+ height="20"/>
+ </viewmap>
+ <modelFacet
+ modelElementSelector="//@expressionProviders/@providers.0/(a)expressions.11">
+ <metaClass
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/EndEvent"/>
+ <containmentMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <childMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.12">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/BaseElement/id"/>
+ </initializers>
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.13">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/ThrowEvent/eventDefinitions"/>
+ </initializers>
+ </modelElementInitializer>
+ </modelFacet>
+ </childNodes>
+ <childNodes
+ visualID="3010"
+ editPartClassName="EndEvent6EditPart"
+ itemSemanticEditPolicyClassName="EndEvent6ItemSemanticEditPolicy"
+ notationViewFactoryClassName="EndEventViewFactory"
+ canonicalEditPolicyClassName="EndEvent6CanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="EndEvent6GraphicalNodeEditPolicy"
+ createCommandClassName="EndEvent6CreateCommand"
+ containers="//@diagram/(a)childNodes.0 //@diagram/(a)topLevelNodes.15">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ metamodelType="//@diagram/@topLevelNodes.4/(a)elementType"/>
+ <viewmap
+ xsi:type="gmfgen:InnerClassViewmap"
+ className="TerminateEndEventFigureDescriptor"
+ classBody="
/**
 * @generated
 */
public class TerminateEndEventFigureDescriptor extends org.eclipse.draw2d.RectangleFigure {




	/**
	 * @generated
	 */
	public TerminateEndEventFigureDescriptor() {
		this.setLayoutManager(new org.eclipse.draw2d.StackLayout());
		this.setFill(false);
this.setOutline(false);
		createContents();
	}
	/**
	 * @generated
	 */
	private void createContents(){


org.eclipse.draw2d.Ellipse circle0 = new org.eclipse.draw2d.Ellipse();
circle0.setLineWidth(3);

circle0.setBorder(new org.eclipse.draw2d.MarginBorder(getMapMode().DPtoLP(6)
, getMapMode().DPtoLP(6)
, getMapMode().DPtoLP(6)
, getMapMode().DPtoLP(6)
));

this.add(circle0);
circle0.setLayoutManager(new org.eclipse.draw2d.StackLayout());


org.eclipse.draw2d.Ellipse circle1 = n!
ew org.eclipse.draw2d.Ellipse();
	circle1.setBackgroundColor(org.eclipse.draw2d.ColorConstants.lightGray);

circle0.add(circle1);



	}







}

">
+ <attributes
+ xsi:type="gmfgen:ResizeConstraints"/>
+ <attributes
+ xsi:type="gmfgen:DefaultSizeAttributes"
+ width="20"
+ height="20"/>
+ </viewmap>
+ <modelFacet
+ modelElementSelector="//@expressionProviders/@providers.0/(a)expressions.14">
+ <metaClass
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/EndEvent"/>
+ <containmentMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <childMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.15">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/BaseElement/id"/>
+ </initializers>
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.16">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/ThrowEvent/eventDefinitions"/>
+ </initializers>
+ </modelElementInitializer>
+ </modelFacet>
+ </childNodes>
+ <childNodes
+ visualID="3011"
+ editPartClassName="IntermediateCatchEvent4EditPart"
+ itemSemanticEditPolicyClassName="IntermediateCatchEvent4ItemSemanticEditPolicy"
+ notationViewFactoryClassName="IntermediateCatchEventViewFactory"
+ canonicalEditPolicyClassName="IntermediateCatchEvent4CanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="IntermediateCatchEvent4GraphicalNodeEditPolicy"
+ createCommandClassName="IntermediateCatchEvent4CreateCommand"
+ containers="//@diagram/(a)childNodes.0 //@diagram/(a)topLevelNodes.15">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ metamodelType="//@diagram/@topLevelNodes.9/(a)elementType"/>
+ <viewmap
+ xsi:type="gmfgen:InnerClassViewmap"
+ className="MessageCatchIntermediateEventFigureDescriptor"
+ classBody="
/**
 * @generated
 */
public class MessageCatchIntermediateEventFigureDescriptor extends org.eclipse.draw2d.RectangleFigure {




	/**
	 * @generated
	 */
	public MessageCatchIntermediateEventFigureDescriptor() {
		this.setLayoutManager(new org.eclipse.draw2d.StackLayout());
		this.setFill(false);
this.setOutline(false);
		createContents();
	}
	/**
	 * @generated
	 */
	private void createContents(){


org.eclipse.draw2d.Ellipse outerCircle0 = new org.eclipse.draw2d.Ellipse();

outerCircle0.setBorder(new org.eclipse.draw2d.MarginBorder(getMapMode().DPtoLP(2)
, getMapMode().DPtoLP(2)
, getMapMode().DPtoLP(2)
, getMapMode().DPtoLP(2)
));

this.add(outerCircle0);
outerCircle0.setLayoutManager(new org.eclipse.draw2d.StackLayout());


org.eclipse.draw2d.Elli!
pse innerCircle1 = new org.eclipse.draw2d.Ellipse();

innerCircle1.setBorder(new org.eclipse.draw2d.MarginBorder(getMapMode().DPtoLP(4)
, getMapMode().DPtoLP(3)
, getMapMode().DPtoLP(4)
, getMapMode().DPtoLP(3)
));

outerCircle0.add(innerCircle1);
innerCircle1.setLayoutManager(new org.eclipse.draw2d.StackLayout());


org.eclipse.draw2d.RectangleFigure rectangle2 = new org.eclipse.draw2d.RectangleFigure();

innerCircle1.add(rectangle2);
rectangle2.setLayoutManager(new org.eclipse.draw2d.StackLayout());


org.eclipse.draw2d.PolylineShape envelope3 = new org.eclipse.draw2d.PolylineShape();
envelope3.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(0)
, getMapMode().DPtoLP(0)
));
envelope3.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(4)
, getMapMode().DPtoLP(4)
));
envelope3.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP!
(5)
, getMapMode().DPtoLP(4)
));
envelope3.addPoin!
t(new or
g.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(9)
, getMapMode().DPtoLP(0)
));

rectangle2.add(envelope3);





	}







}

">
+ <attributes
+ xsi:type="gmfgen:DefaultSizeAttributes"
+ width="20"
+ height="20"/>
+ </viewmap>
+ <modelFacet
+ modelElementSelector="//@expressionProviders/@providers.0/(a)expressions.17">
+ <metaClass
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/IntermediateCatchEvent"/>
+ <containmentMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <childMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.18">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/BaseElement/id"/>
+ </initializers>
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.19">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/CatchEvent/eventDefinitions"/>
+ </initializers>
+ </modelElementInitializer>
+ </modelFacet>
+ </childNodes>
+ <childNodes
+ visualID="3012"
+ editPartClassName="IntermediateThrowEvent2EditPart"
+ itemSemanticEditPolicyClassName="IntermediateThrowEvent2ItemSemanticEditPolicy"
+ notationViewFactoryClassName="IntermediateThrowEventViewFactory"
+ canonicalEditPolicyClassName="IntermediateThrowEvent2CanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="IntermediateThrowEvent2GraphicalNodeEditPolicy"
+ createCommandClassName="IntermediateThrowEvent2CreateCommand"
+ containers="//@diagram/(a)childNodes.0 //@diagram/(a)topLevelNodes.15">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ metamodelType="//@diagram/@topLevelNodes.10/(a)elementType"/>
+ <viewmap
+ xsi:type="gmfgen:InnerClassViewmap"
+ className="MessageThrowIntermediateEventFigureDescriptor"
+ classBody="
/**
 * @generated
 */
public class MessageThrowIntermediateEventFigureDescriptor extends org.eclipse.draw2d.RectangleFigure {




	/**
	 * @generated
	 */
	public MessageThrowIntermediateEventFigureDescriptor() {
		this.setLayoutManager(new org.eclipse.draw2d.StackLayout());
		this.setFill(false);
this.setOutline(false);
		createContents();
	}
	/**
	 * @generated
	 */
	private void createContents(){


org.eclipse.draw2d.Ellipse outerCircle0 = new org.eclipse.draw2d.Ellipse();

outerCircle0.setBorder(new org.eclipse.draw2d.MarginBorder(getMapMode().DPtoLP(2)
, getMapMode().DPtoLP(2)
, getMapMode().DPtoLP(2)
, getMapMode().DPtoLP(2)
));

this.add(outerCircle0);
outerCircle0.setLayoutManager(new org.eclipse.draw2d.StackLayout());


org.eclipse.draw2d.Elli!
pse innerCircle1 = new org.eclipse.draw2d.Ellipse();

innerCircle1.setBorder(new org.eclipse.draw2d.MarginBorder(getMapMode().DPtoLP(4)
, getMapMode().DPtoLP(3)
, getMapMode().DPtoLP(4)
, getMapMode().DPtoLP(3)
));

outerCircle0.add(innerCircle1);
innerCircle1.setLayoutManager(new org.eclipse.draw2d.StackLayout());


org.eclipse.draw2d.RectangleFigure rectangle2 = new org.eclipse.draw2d.RectangleFigure();
	rectangle2.setBackgroundColor(org.eclipse.draw2d.ColorConstants.lightGray);

innerCircle1.add(rectangle2);
rectangle2.setLayoutManager(new org.eclipse.draw2d.StackLayout());


org.eclipse.draw2d.PolylineShape envelope3 = new org.eclipse.draw2d.PolylineShape();
envelope3.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(0)
, getMapMode().DPtoLP(0)
));
envelope3.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(4)
, getMapMode().DPtoLP(4)
!
;));
envelope3.addPoint(new org.eclipse.draw2d.geometry.Po!
int(getM
apMode().DPtoLP(5)
, getMapMode().DPtoLP(4)
));
envelope3.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(9)
, getMapMode().DPtoLP(0)
));
	envelope3.setForegroundColor(org.eclipse.draw2d.ColorConstants.white);

rectangle2.add(envelope3);





	}







}

">
+ <attributes
+ xsi:type="gmfgen:ResizeConstraints"/>
+ <attributes
+ xsi:type="gmfgen:DefaultSizeAttributes"
+ width="20"
+ height="20"/>
+ </viewmap>
+ <modelFacet
+ modelElementSelector="//@expressionProviders/@providers.0/(a)expressions.20">
+ <metaClass
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/IntermediateThrowEvent"/>
+ <containmentMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <childMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.21">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/BaseElement/id"/>
+ </initializers>
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.22">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/ThrowEvent/eventDefinitions"/>
+ </initializers>
+ </modelElementInitializer>
+ </modelFacet>
+ </childNodes>
+ <childNodes
+ visualID="3013"
+ editPartClassName="IntermediateCatchEvent5EditPart"
+ itemSemanticEditPolicyClassName="IntermediateCatchEvent5ItemSemanticEditPolicy"
+ notationViewFactoryClassName="IntermediateCatchEventViewFactory"
+ canonicalEditPolicyClassName="IntermediateCatchEvent5CanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="IntermediateCatchEvent5GraphicalNodeEditPolicy"
+ createCommandClassName="IntermediateCatchEvent5CreateCommand"
+ containers="//@diagram/(a)childNodes.0 //@diagram/(a)topLevelNodes.15">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ metamodelType="//@diagram/@topLevelNodes.9/(a)elementType"/>
+ <viewmap
+ xsi:type="gmfgen:InnerClassViewmap"
+ className="TimerCatchIntermediateEventFigureDescriptor"
+ classBody="
/**
 * @generated
 */
public class TimerCatchIntermediateEventFigureDescriptor extends org.eclipse.draw2d.RectangleFigure {




	/**
	 * @generated
	 */
	public TimerCatchIntermediateEventFigureDescriptor() {
		this.setLayoutManager(new org.eclipse.draw2d.StackLayout());
		this.setFill(false);
this.setOutline(false);
		createContents();
	}
	/**
	 * @generated
	 */
	private void createContents(){


org.eclipse.draw2d.Ellipse outerCircle0 = new org.eclipse.draw2d.Ellipse();

outerCircle0.setBorder(new org.eclipse.draw2d.MarginBorder(getMapMode().DPtoLP(2)
, getMapMode().DPtoLP(2)
, getMapMode().DPtoLP(2)
, getMapMode().DPtoLP(2)
));

this.add(outerCircle0);
outerCircle0.setLayoutManager(new org.eclipse.draw2d.StackLayout());


org.eclipse.draw2d.Ellipse !
innerCircle1 = new org.eclipse.draw2d.Ellipse();

innerCircle1.setBorder(new org.eclipse.draw2d.MarginBorder(getMapMode().DPtoLP(3)
, getMapMode().DPtoLP(3)
, getMapMode().DPtoLP(3)
, getMapMode().DPtoLP(3)
));

outerCircle0.add(innerCircle1);
innerCircle1.setLayoutManager(new org.eclipse.draw2d.StackLayout());


org.eclipse.draw2d.Ellipse clock2 = new org.eclipse.draw2d.Ellipse();

innerCircle1.add(clock2);



org.eclipse.draw2d.PolylineShape twelve2 = new org.eclipse.draw2d.PolylineShape();
twelve2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(4)
, getMapMode().DPtoLP(0)
));
twelve2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(4)
, getMapMode().DPtoLP(2)
));

innerCircle1.add(twelve2);



org.eclipse.draw2d.PolylineShape three2 = new org.eclipse.draw2d.PolylineShape();
three2.addPoint(new org.eclipse.draw2d.!
geometry.Point(getMapMode().DPtoLP(7)
, getMapMode().DPtoL!
P(4)

;));
three2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(9)
, getMapMode().DPtoLP(4)
));

innerCircle1.add(three2);



org.eclipse.draw2d.PolylineShape six2 = new org.eclipse.draw2d.PolylineShape();
six2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(4)
, getMapMode().DPtoLP(7)
));
six2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(4)
, getMapMode().DPtoLP(9)
));

innerCircle1.add(six2);



org.eclipse.draw2d.PolylineShape nine2 = new org.eclipse.draw2d.PolylineShape();
nine2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(0)
, getMapMode().DPtoLP(4)
));
nine2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(2)
, getMapMode().DPtoLP(4)
));

innerCircle1.add(nine2);



org.eclipse.draw2d.PolylineShape big2 = new org.eclipse.draw2d.PolylineShape();&!
#xA;big2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(4)
, getMapMode().DPtoLP(4)
));
big2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(6)
, getMapMode().DPtoLP(1)
));

innerCircle1.add(big2);



org.eclipse.draw2d.PolylineShape small2 = new org.eclipse.draw2d.PolylineShape();
small2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(4)
, getMapMode().DPtoLP(4)
));
small2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(7)
, getMapMode().DPtoLP(7)
));

innerCircle1.add(small2);




	}







}

">
+ <attributes
+ xsi:type="gmfgen:ResizeConstraints"/>
+ <attributes
+ xsi:type="gmfgen:DefaultSizeAttributes"
+ width="20"
+ height="20"/>
+ </viewmap>
+ <modelFacet
+ modelElementSelector="//@expressionProviders/@providers.0/(a)expressions.23">
+ <metaClass
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/IntermediateCatchEvent"/>
+ <containmentMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <childMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.24">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/BaseElement/id"/>
+ </initializers>
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.25">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/CatchEvent/eventDefinitions"/>
+ </initializers>
+ </modelElementInitializer>
+ </modelFacet>
+ </childNodes>
+ <childNodes
+ visualID="3014"
+ editPartClassName="DataObject2EditPart"
+ itemSemanticEditPolicyClassName="DataObject2ItemSemanticEditPolicy"
+ notationViewFactoryClassName="DataObjectViewFactory"
+ canonicalEditPolicyClassName="DataObject2CanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="DataObject2GraphicalNodeEditPolicy"
+ createCommandClassName="DataObject2CreateCommand"
+ containers="//@diagram/(a)childNodes.0 //@diagram/(a)topLevelNodes.15">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ metamodelType="//@diagram/@topLevelNodes.13/(a)elementType"/>
+ <viewmap
+ xsi:type="gmfgen:InnerClassViewmap"
+ className="DataObjectFigureDescriptor"
+ classBody="
/**
 * @generated
 */
public class DataObjectFigureDescriptor extends org.eclipse.draw2d.RectangleFigure {




	/**
	 * @generated
	 */
	public DataObjectFigureDescriptor() {
		this.setLayoutManager(new org.eclipse.draw2d.StackLayout());
		this.setFill(false);
this.setOutline(false);
		createContents();
	}
	/**
	 * @generated
	 */
	private void createContents(){


org.eclipse.draw2d.PolygonShape dogEarPage0 = new org.eclipse.draw2d.PolygonShape();
dogEarPage0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(12)
, getMapMode().DPtoLP(0)
));
dogEarPage0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(20)
, getMapMode().DPtoLP(8)
));
dogEarPage0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(20)
, getMapMode().DPto!
LP(25)
));
dogEarPage0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(0)
, getMapMode().DPtoLP(25)
));
dogEarPage0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(0)
, getMapMode().DPtoLP(0)
));
dogEarPage0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(12)
, getMapMode().DPtoLP(0)
));
dogEarPage0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(12)
, getMapMode().DPtoLP(8)
));
dogEarPage0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(20)
, getMapMode().DPtoLP(8)
));
dogEarPage0.setFill(true);

this.add(dogEarPage0);


	}







}

">
+ <attributes
+ xsi:type="gmfgen:ResizeConstraints"/>
+ <attributes
+ xsi:type="gmfgen:DefaultSizeAttributes"
+ width="21"
+ height="26"/>
+ </viewmap>
+ <modelFacet>
+ <metaClass
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/DataObject"/>
+ <containmentMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <childMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.29">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/BaseElement/id"/>
+ </initializers>
+ </modelElementInitializer>
+ </modelFacet>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5007"
+ editPartClassName="DataObjectName2EditPart"
+ itemSemanticEditPolicyClassName="DataObjectName2ItemSemanticEditPolicy"
+ notationViewFactoryClassName="DataObjectNameViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/>
+ <modelFacet
+ xsi:type="gmfgen:FeatureLabelModelFacet"
+ parser="//@labelParsers/(a)implementations.0">
+ <metaFeatures
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElement/name"/>
+ </modelFacet>
+ </labels>
+ </childNodes>
+ <childNodes
+ visualID="3015"
+ editPartClassName="TextAnnotation2EditPart"
+ itemSemanticEditPolicyClassName="TextAnnotation2ItemSemanticEditPolicy"
+ canonicalEditPolicyClassName="TextAnnotation2CanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="TextAnnotation2GraphicalNodeEditPolicy"
+ createCommandClassName="TextAnnotation2CreateCommand"
+ containers="//@diagram/(a)childNodes.0 //@diagram/(a)topLevelNodes.15">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ metamodelType="//@diagram/@topLevelNodes.14/(a)elementType"/>
+ <viewmap
+ xsi:type="gmfgen:InnerClassViewmap"
+ className="TextAnnotationFigureDescriptor"
+ classBody="
/**
 * @generated
 */
public class TextAnnotationFigureDescriptor extends org.eclipse.draw2d.RectangleFigure {


	/**
	 * @generated
	 */
	private org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel fFigureTextAnnotationLabel; 


	/**
	 * @generated
	 */
	public TextAnnotationFigureDescriptor() {
		this.setLayoutManager(new org.eclipse.draw2d.StackLayout());
		this.setFill(false);
this.setOutline(false);
this.setPreferredSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(120)
, getMapMode().DPtoLP(20)
));
this.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(50)
, getMapMode().DPtoLP(20)
));
this.setBorder(createBorder0());
		createContents();
	}
	/**
	 * @generated
	 */
	private void createContents(){&#x!
A;

org.eclipse.draw2d.RectangleFigure textAnnotationRectangle0 = new org.eclipse.draw2d.RectangleFigure();
textAnnotationRectangle0.setFill(false);
textAnnotationRectangle0.setOutline(false);
textAnnotationRectangle0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_DOT);

textAnnotationRectangle0.setBorder(new org.eclipse.draw2d.MarginBorder(getMapMode().DPtoLP(4)
, getMapMode().DPtoLP(5)
, getMapMode().DPtoLP(5)
, getMapMode().DPtoLP(4)
));

this.add(textAnnotationRectangle0);
textAnnotationRectangle0.setLayoutManager(new org.eclipse.draw2d.StackLayout());


fFigureTextAnnotationLabel = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel();
fFigureTextAnnotationLabel.setText("");

textAnnotationRectangle0.add(fFigureTextAnnotationLabel);



	}

	/**
	 * @generated
	 */
	private org.eclipse.draw2d.Border createBorder0() {&#x!
A;		org.jboss.tools.bpmn2.process.diagram.figures.Text!
Annotati
onFigureBorder result = new org.jboss.tools.bpmn2.process.diagram.figures.TextAnnotationFigureBorder();
		


		return result;
	}




	/**
	 * @generated
	 */
	public org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel getFigureTextAnnotationLabel() {
		return fFigureTextAnnotationLabel;
	}


}

">
+ <attributes
+ xsi:type="gmfgen:DefaultSizeAttributes"
+ width="120"
+ height="20"/>
+ </viewmap>
+ <modelFacet>
+ <metaClass
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/TextAnnotation"/>
+ <containmentMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/SubProcess/artifacts"/>
+ <childMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/SubProcess/artifacts"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.30">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/BaseElement/id"/>
+ </initializers>
+ </modelElementInitializer>
+ </modelFacet>
+ <labels
+ visualID="5008"
+ editPartClassName="TextAnnotationText2EditPart"
+ itemSemanticEditPolicyClassName="TextAnnotationText2ItemSemanticEditPolicy">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:ParentAssignedViewmap"
+ getterName="getFigureTextAnnotationLabel"
+ figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/>
+ <modelFacet
+ xsi:type="gmfgen:FeatureLabelModelFacet"
+ parser="//@labelParsers/(a)implementations.0"
+ editPattern="">
+ <metaFeatures
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/TextAnnotation/text"/>
+ </modelFacet>
+ </labels>
+ </childNodes>
+ <topLevelNodes
+ visualID="2001"
+ editPartClassName="UserTaskEditPart"
+ itemSemanticEditPolicyClassName="UserTaskItemSemanticEditPolicy"
+ notationViewFactoryClassName="UserTaskViewFactory"
+ canonicalEditPolicyClassName="UserTaskCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="UserTaskGraphicalNodeEditPolicy"
+ createCommandClassName="UserTaskCreateCommand">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:MetamodelType"
+ editHelperClassName="UserTaskEditHelper"/>
+ <viewmap
+ xsi:type="gmfgen:InnerClassViewmap"
+ className="TaskFigureDescriptor"
+ classBody="
/**
 * @generated
 */
public class TaskFigureDescriptor extends org.eclipse.draw2d.RoundedRectangle {


	/**
	 * @generated
	 */
	private org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel fFigureName; 


	/**
	 * @generated
	 */
	public TaskFigureDescriptor() {
		this.setLayoutManager(new org.eclipse.draw2d.StackLayout());
		this.setCornerDimensions(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(8)
, getMapMode().DPtoLP(8)
));
this.setPreferredSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(80)
, getMapMode().DPtoLP(40)
));
this.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(80)
, getMapMode().DPtoLP(40)
));

this.setBorder(new org.eclipse.draw2d.MarginBorder(getMapMode().DPtoLP(5)
, getMapMode().DPtoLP(5)
, getMapMode!
().DPtoLP(5)
, getMapMode().DPtoLP(5)
));
		createContents();
	}
	/**
	 * @generated
	 */
	private void createContents(){


fFigureName = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel();
fFigureName.setText("");

this.add(fFigureName);


	}





	/**
	 * @generated
	 */
	public org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel getFigureName() {
		return fFigureName;
	}


}

">
+ <attributes
+ xsi:type="gmfgen:DefaultSizeAttributes"
+ width="80"
+ height="40"/>
+ </viewmap>
+ <modelFacet>
+ <metaClass
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/UserTask"/>
+ <containmentMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <childMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.0">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/BaseElement/id"/>
+ </initializers>
+ </modelElementInitializer>
+ </modelFacet>
+ <labels
+ visualID="5001"
+ editPartClassName="UserTaskNameEditPart"
+ itemSemanticEditPolicyClassName="UserTaskNameItemSemanticEditPolicy"
+ notationViewFactoryClassName="UserTaskNameViewFactory"
+ elementIcon="true">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:ParentAssignedViewmap"
+ getterName="getFigureName"
+ figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/>
+ <modelFacet
+ xsi:type="gmfgen:FeatureLabelModelFacet"
+ parser="//@labelParsers/(a)implementations.0">
+ <metaFeatures
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElement/name"/>
+ </modelFacet>
+ </labels>
+ </topLevelNodes>
+ <topLevelNodes
+ visualID="2002"
+ editPartClassName="ServiceTaskEditPart"
+ itemSemanticEditPolicyClassName="ServiceTaskItemSemanticEditPolicy"
+ notationViewFactoryClassName="ServiceTaskViewFactory"
+ canonicalEditPolicyClassName="ServiceTaskCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="ServiceTaskGraphicalNodeEditPolicy"
+ createCommandClassName="ServiceTaskCreateCommand">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:MetamodelType"
+ editHelperClassName="ServiceTaskEditHelper"/>
+ <viewmap
+ xsi:type="gmfgen:InnerClassViewmap"
+ className="TaskFigureDescriptor"
+ classBody="
/**
 * @generated
 */
public class TaskFigureDescriptor extends org.eclipse.draw2d.RoundedRectangle {


	/**
	 * @generated
	 */
	private org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel fFigureName; 


	/**
	 * @generated
	 */
	public TaskFigureDescriptor() {
		this.setLayoutManager(new org.eclipse.draw2d.StackLayout());
		this.setCornerDimensions(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(8)
, getMapMode().DPtoLP(8)
));
this.setPreferredSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(80)
, getMapMode().DPtoLP(40)
));
this.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(80)
, getMapMode().DPtoLP(40)
));

this.setBorder(new org.eclipse.draw2d.MarginBorder(getMapMode().DPtoLP(5)
, getMapMode().DPtoLP(5)
, getMapMode!
().DPtoLP(5)
, getMapMode().DPtoLP(5)
));
		createContents();
	}
	/**
	 * @generated
	 */
	private void createContents(){


fFigureName = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel();
fFigureName.setText("");

this.add(fFigureName);


	}





	/**
	 * @generated
	 */
	public org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel getFigureName() {
		return fFigureName;
	}


}

">
+ <attributes
+ xsi:type="gmfgen:DefaultSizeAttributes"
+ width="80"
+ height="40"/>
+ </viewmap>
+ <modelFacet>
+ <metaClass
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/ServiceTask"/>
+ <containmentMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <childMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.1">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/BaseElement/id"/>
+ </initializers>
+ </modelElementInitializer>
+ </modelFacet>
+ <labels
+ visualID="5002"
+ editPartClassName="ServiceTaskNameEditPart"
+ itemSemanticEditPolicyClassName="ServiceTaskNameItemSemanticEditPolicy"
+ notationViewFactoryClassName="ServiceTaskNameViewFactory"
+ elementIcon="true">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:ParentAssignedViewmap"
+ getterName="getFigureName"
+ figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/>
+ <modelFacet
+ xsi:type="gmfgen:FeatureLabelModelFacet"
+ parser="//@labelParsers/(a)implementations.0">
+ <metaFeatures
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElement/name"/>
+ </modelFacet>
+ </labels>
+ </topLevelNodes>
+ <topLevelNodes
+ visualID="2003"
+ editPartClassName="StartEventEditPart"
+ itemSemanticEditPolicyClassName="StartEventItemSemanticEditPolicy"
+ notationViewFactoryClassName="StartEventViewFactory"
+ canonicalEditPolicyClassName="StartEventCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="StartEventGraphicalNodeEditPolicy"
+ createCommandClassName="StartEventCreateCommand">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:MetamodelType"
+ editHelperClassName="StartEventEditHelper"/>
+ <viewmap
+ xsi:type="gmfgen:InnerClassViewmap"
+ className="StartEventFigureDescriptor"
+ classBody="
/**
 * @generated
 */
public class StartEventFigureDescriptor extends org.eclipse.draw2d.RectangleFigure {




	/**
	 * @generated
	 */
	public StartEventFigureDescriptor() {
		this.setLayoutManager(new org.eclipse.draw2d.StackLayout());
		this.setFill(false);
this.setOutline(false);
		createContents();
	}
	/**
	 * @generated
	 */
	private void createContents(){


org.eclipse.draw2d.Ellipse circle0 = new org.eclipse.draw2d.Ellipse();

this.add(circle0);


	}







}

">
+ <attributes
+ xsi:type="gmfgen:ResizeConstraints"/>
+ <attributes
+ xsi:type="gmfgen:DefaultSizeAttributes"
+ width="20"
+ height="20"/>
+ </viewmap>
+ <modelFacet
+ modelElementSelector="//@expressionProviders/@providers.0/(a)expressions.2">
+ <metaClass
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/StartEvent"/>
+ <containmentMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <childMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.3">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/BaseElement/id"/>
+ </initializers>
+ </modelElementInitializer>
+ </modelFacet>
+ </topLevelNodes>
+ <topLevelNodes
+ visualID="2007"
+ editPartClassName="StartEvent2EditPart"
+ itemSemanticEditPolicyClassName="StartEvent2ItemSemanticEditPolicy"
+ notationViewFactoryClassName="StartEventViewFactory"
+ canonicalEditPolicyClassName="StartEvent2CanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="StartEvent2GraphicalNodeEditPolicy"
+ createCommandClassName="StartEvent2CreateCommand">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ metamodelType="//@diagram/@topLevelNodes.2/(a)elementType"/>
+ <viewmap
+ xsi:type="gmfgen:InnerClassViewmap"
+ className="MessageStartEventFigureDescriptor"
+ classBody="
/**
 * @generated
 */
public class MessageStartEventFigureDescriptor extends org.eclipse.draw2d.RectangleFigure {




	/**
	 * @generated
	 */
	public MessageStartEventFigureDescriptor() {
		this.setLayoutManager(new org.eclipse.draw2d.StackLayout());
		this.setFill(false);
this.setOutline(false);
		createContents();
	}
	/**
	 * @generated
	 */
	private void createContents(){


org.eclipse.draw2d.Ellipse circle0 = new org.eclipse.draw2d.Ellipse();

circle0.setBorder(new org.eclipse.draw2d.MarginBorder(getMapMode().DPtoLP(6)
, getMapMode().DPtoLP(5)
, getMapMode().DPtoLP(6)
, getMapMode().DPtoLP(5)
));

this.add(circle0);
circle0.setLayoutManager(new org.eclipse.draw2d.StackLayout());


org.eclipse.draw2d.RectangleFigure rectangle1 = new org.eclipse.dra!
w2d.RectangleFigure();

circle0.add(rectangle1);
rectangle1.setLayoutManager(new org.eclipse.draw2d.StackLayout());


org.eclipse.draw2d.PolylineShape whiteEnvelope2 = new org.eclipse.draw2d.PolylineShape();
whiteEnvelope2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(0)
, getMapMode().DPtoLP(0)
));
whiteEnvelope2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(4)
, getMapMode().DPtoLP(4)
));
whiteEnvelope2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(5)
, getMapMode().DPtoLP(4)
));
whiteEnvelope2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(9)
, getMapMode().DPtoLP(0)
));

rectangle1.add(whiteEnvelope2);




	}







}

">
+ <attributes
+ xsi:type="gmfgen:ResizeConstraints"/>
+ <attributes
+ xsi:type="gmfgen:DefaultSizeAttributes"
+ width="20"
+ height="20"/>
+ </viewmap>
+ <modelFacet
+ modelElementSelector="//@expressionProviders/@providers.0/(a)expressions.4">
+ <metaClass
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/StartEvent"/>
+ <containmentMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <childMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.5">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/BaseElement/id"/>
+ </initializers>
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.6">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/CatchEvent/eventDefinitions"/>
+ </initializers>
+ </modelElementInitializer>
+ </modelFacet>
+ </topLevelNodes>
+ <topLevelNodes
+ visualID="2004"
+ editPartClassName="EndEventEditPart"
+ itemSemanticEditPolicyClassName="EndEventItemSemanticEditPolicy"
+ notationViewFactoryClassName="EndEventViewFactory"
+ canonicalEditPolicyClassName="EndEventCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="EndEventGraphicalNodeEditPolicy"
+ createCommandClassName="EndEventCreateCommand">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:MetamodelType"
+ editHelperClassName="EndEventEditHelper"/>
+ <viewmap
+ xsi:type="gmfgen:InnerClassViewmap"
+ className="EndEventFigureDescriptor"
+ classBody="
/**
 * @generated
 */
public class EndEventFigureDescriptor extends org.eclipse.draw2d.RectangleFigure {




	/**
	 * @generated
	 */
	public EndEventFigureDescriptor() {
		this.setLayoutManager(new org.eclipse.draw2d.StackLayout());
		this.setFill(false);
this.setOutline(false);
		createContents();
	}
	/**
	 * @generated
	 */
	private void createContents(){


org.eclipse.draw2d.Ellipse circle0 = new org.eclipse.draw2d.Ellipse();
circle0.setLineWidth(3);

this.add(circle0);


	}







}

">
+ <attributes
+ xsi:type="gmfgen:ResizeConstraints"/>
+ <attributes
+ xsi:type="gmfgen:DefaultSizeAttributes"
+ width="20"
+ height="20"/>
+ </viewmap>
+ <modelFacet
+ modelElementSelector="//@expressionProviders/@providers.0/(a)expressions.7">
+ <metaClass
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/EndEvent"/>
+ <containmentMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <childMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.8">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/BaseElement/id"/>
+ </initializers>
+ </modelElementInitializer>
+ </modelFacet>
+ </topLevelNodes>
+ <topLevelNodes
+ visualID="2005"
+ editPartClassName="ExclusiveGatewayEditPart"
+ itemSemanticEditPolicyClassName="ExclusiveGatewayItemSemanticEditPolicy"
+ notationViewFactoryClassName="ExclusiveGatewayViewFactory"
+ canonicalEditPolicyClassName="ExclusiveGatewayCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="ExclusiveGatewayGraphicalNodeEditPolicy"
+ createCommandClassName="ExclusiveGatewayCreateCommand">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:MetamodelType"
+ editHelperClassName="ExclusiveGatewayEditHelper"/>
+ <viewmap
+ xsi:type="gmfgen:InnerClassViewmap"
+ className="ExclusiveGatewayFigureDescriptor"
+ classBody="
/**
 * @generated
 */
public class ExclusiveGatewayFigureDescriptor extends org.eclipse.draw2d.RectangleFigure {




	/**
	 * @generated
	 */
	public ExclusiveGatewayFigureDescriptor() {
		this.setLayoutManager(new org.eclipse.draw2d.StackLayout());
		this.setFill(false);
this.setOutline(false);
		createContents();
	}
	/**
	 * @generated
	 */
	private void createContents(){


org.eclipse.draw2d.PolygonShape diamond0 = new org.eclipse.draw2d.PolygonShape();
diamond0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(15)
, getMapMode().DPtoLP(0)
));
diamond0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(0)
, getMapMode().DPtoLP(15)
));
diamond0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(15)
, getMapMode().DPto!
LP(30)
));
diamond0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(30)
, getMapMode().DPtoLP(15)
));
diamond0.setFill(true);

this.add(diamond0);


	}







}

">
+ <attributes
+ xsi:type="gmfgen:ResizeConstraints"/>
+ <attributes
+ xsi:type="gmfgen:DefaultSizeAttributes"
+ width="31"
+ height="31"/>
+ </viewmap>
+ <modelFacet>
+ <metaClass
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/ExclusiveGateway"/>
+ <containmentMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <childMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.9">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/BaseElement/id"/>
+ </initializers>
+ </modelElementInitializer>
+ </modelFacet>
+ </topLevelNodes>
+ <topLevelNodes
+ visualID="2006"
+ editPartClassName="ParallelGatewayEditPart"
+ itemSemanticEditPolicyClassName="ParallelGatewayItemSemanticEditPolicy"
+ notationViewFactoryClassName="ParallelGatewayViewFactory"
+ canonicalEditPolicyClassName="ParallelGatewayCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="ParallelGatewayGraphicalNodeEditPolicy"
+ createCommandClassName="ParallelGatewayCreateCommand">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:MetamodelType"
+ editHelperClassName="ParallelGatewayEditHelper"/>
+ <viewmap
+ xsi:type="gmfgen:InnerClassViewmap"
+ className="ParallelGatewayFigureDescriptor"
+ classBody="
/**
 * @generated
 */
public class ParallelGatewayFigureDescriptor extends org.eclipse.draw2d.RectangleFigure {




	/**
	 * @generated
	 */
	public ParallelGatewayFigureDescriptor() {
		this.setLayoutManager(new org.eclipse.draw2d.StackLayout());
		this.setFill(false);
this.setOutline(false);
		createContents();
	}
	/**
	 * @generated
	 */
	private void createContents(){


org.eclipse.draw2d.PolygonShape diamond0 = new org.eclipse.draw2d.PolygonShape();
diamond0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(15)
, getMapMode().DPtoLP(0)
));
diamond0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(0)
, getMapMode().DPtoLP(15)
));
diamond0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(15)
, getMapMode().DPtoLP!
(30)
));
diamond0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(30)
, getMapMode().DPtoLP(15)
));
diamond0.setFill(true);

this.add(diamond0);



org.eclipse.draw2d.PolylineShape vertical0 = new org.eclipse.draw2d.PolylineShape();
vertical0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(15)
, getMapMode().DPtoLP(8)
));
vertical0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(15)
, getMapMode().DPtoLP(22)
));

this.add(vertical0);



org.eclipse.draw2d.PolylineShape horizontal0 = new org.eclipse.draw2d.PolylineShape();
horizontal0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(8)
, getMapMode().DPtoLP(15)
));
horizontal0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(22)
, getMapMode().DPtoLP(15)
));

this.add(horizontal0);


	}

!






}

">
+ <attributes
+ xsi:type="gmfgen:ResizeConstraints"/>
+ <attributes
+ xsi:type="gmfgen:DefaultSizeAttributes"
+ width="31"
+ height="31"/>
+ </viewmap>
+ <modelFacet>
+ <metaClass
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/ParallelGateway"/>
+ <containmentMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <childMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.10">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/BaseElement/id"/>
+ </initializers>
+ </modelElementInitializer>
+ </modelFacet>
+ </topLevelNodes>
+ <topLevelNodes
+ visualID="2008"
+ editPartClassName="EndEvent2EditPart"
+ itemSemanticEditPolicyClassName="EndEvent2ItemSemanticEditPolicy"
+ notationViewFactoryClassName="EndEventViewFactory"
+ canonicalEditPolicyClassName="EndEvent2CanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="EndEvent2GraphicalNodeEditPolicy"
+ createCommandClassName="EndEvent2CreateCommand">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ metamodelType="//@diagram/@topLevelNodes.4/(a)elementType"/>
+ <viewmap
+ xsi:type="gmfgen:InnerClassViewmap"
+ className="MessageEndEventFigureDescriptor"
+ classBody="
/**
 * @generated
 */
public class MessageEndEventFigureDescriptor extends org.eclipse.draw2d.RectangleFigure {




	/**
	 * @generated
	 */
	public MessageEndEventFigureDescriptor() {
		this.setLayoutManager(new org.eclipse.draw2d.StackLayout());
		this.setFill(false);
this.setOutline(false);
		createContents();
	}
	/**
	 * @generated
	 */
	private void createContents(){


org.eclipse.draw2d.Ellipse circle0 = new org.eclipse.draw2d.Ellipse();
circle0.setLineWidth(3);

circle0.setBorder(new org.eclipse.draw2d.MarginBorder(getMapMode().DPtoLP(6)
, getMapMode().DPtoLP(5)
, getMapMode().DPtoLP(6)
, getMapMode().DPtoLP(5)
));

this.add(circle0);
circle0.setLayoutManager(new org.eclipse.draw2d.StackLayout());


org.eclipse.draw2d.RectangleFigure rectang!
le1 = new org.eclipse.draw2d.RectangleFigure();
	rectangle1.setBackgroundColor(org.eclipse.draw2d.ColorConstants.lightGray);

circle0.add(rectangle1);
rectangle1.setLayoutManager(new org.eclipse.draw2d.StackLayout());


org.eclipse.draw2d.PolylineShape blackEnvelope2 = new org.eclipse.draw2d.PolylineShape();
blackEnvelope2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(0)
, getMapMode().DPtoLP(0)
));
blackEnvelope2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(4)
, getMapMode().DPtoLP(4)
));
blackEnvelope2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(5)
, getMapMode().DPtoLP(4)
));
blackEnvelope2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(9)
, getMapMode().DPtoLP(0)
));
	blackEnvelope2.setForegroundColor(org.eclipse.draw2d.ColorConstants.white);

rectangle1.add(blackEnvelope2);


&#!
xA;
	}







}
&#!
xA;">
+ <attributes
+ xsi:type="gmfgen:ResizeConstraints"/>
+ <attributes
+ xsi:type="gmfgen:DefaultSizeAttributes"
+ width="20"
+ height="20"/>
+ </viewmap>
+ <modelFacet
+ modelElementSelector="//@expressionProviders/@providers.0/(a)expressions.11">
+ <metaClass
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/EndEvent"/>
+ <containmentMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <childMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.12">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/BaseElement/id"/>
+ </initializers>
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.13">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/ThrowEvent/eventDefinitions"/>
+ </initializers>
+ </modelElementInitializer>
+ </modelFacet>
+ </topLevelNodes>
+ <topLevelNodes
+ visualID="2009"
+ editPartClassName="EndEvent3EditPart"
+ itemSemanticEditPolicyClassName="EndEvent3ItemSemanticEditPolicy"
+ notationViewFactoryClassName="EndEventViewFactory"
+ canonicalEditPolicyClassName="EndEvent3CanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="EndEvent3GraphicalNodeEditPolicy"
+ createCommandClassName="EndEvent3CreateCommand">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ metamodelType="//@diagram/@topLevelNodes.4/(a)elementType"/>
+ <viewmap
+ xsi:type="gmfgen:InnerClassViewmap"
+ className="TerminateEndEventFigureDescriptor"
+ classBody="
/**
 * @generated
 */
public class TerminateEndEventFigureDescriptor extends org.eclipse.draw2d.RectangleFigure {




	/**
	 * @generated
	 */
	public TerminateEndEventFigureDescriptor() {
		this.setLayoutManager(new org.eclipse.draw2d.StackLayout());
		this.setFill(false);
this.setOutline(false);
		createContents();
	}
	/**
	 * @generated
	 */
	private void createContents(){


org.eclipse.draw2d.Ellipse circle0 = new org.eclipse.draw2d.Ellipse();
circle0.setLineWidth(3);

circle0.setBorder(new org.eclipse.draw2d.MarginBorder(getMapMode().DPtoLP(6)
, getMapMode().DPtoLP(6)
, getMapMode().DPtoLP(6)
, getMapMode().DPtoLP(6)
));

this.add(circle0);
circle0.setLayoutManager(new org.eclipse.draw2d.StackLayout());


org.eclipse.draw2d.Ellipse circle1 = n!
ew org.eclipse.draw2d.Ellipse();
	circle1.setBackgroundColor(org.eclipse.draw2d.ColorConstants.lightGray);

circle0.add(circle1);



	}







}

">
+ <attributes
+ xsi:type="gmfgen:ResizeConstraints"/>
+ <attributes
+ xsi:type="gmfgen:DefaultSizeAttributes"
+ width="20"
+ height="20"/>
+ </viewmap>
+ <modelFacet
+ modelElementSelector="//@expressionProviders/@providers.0/(a)expressions.14">
+ <metaClass
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/EndEvent"/>
+ <containmentMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <childMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.15">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/BaseElement/id"/>
+ </initializers>
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.16">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/ThrowEvent/eventDefinitions"/>
+ </initializers>
+ </modelElementInitializer>
+ </modelFacet>
+ </topLevelNodes>
+ <topLevelNodes
+ visualID="2010"
+ editPartClassName="IntermediateCatchEventEditPart"
+ itemSemanticEditPolicyClassName="IntermediateCatchEventItemSemanticEditPolicy"
+ notationViewFactoryClassName="IntermediateCatchEventViewFactory"
+ canonicalEditPolicyClassName="IntermediateCatchEventCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="IntermediateCatchEventGraphicalNodeEditPolicy"
+ createCommandClassName="IntermediateCatchEventCreateCommand">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:MetamodelType"
+ editHelperClassName="IntermediateCatchEventEditHelper"/>
+ <viewmap
+ xsi:type="gmfgen:InnerClassViewmap"
+ className="MessageCatchIntermediateEventFigureDescriptor"
+ classBody="
/**
 * @generated
 */
public class MessageCatchIntermediateEventFigureDescriptor extends org.eclipse.draw2d.RectangleFigure {




	/**
	 * @generated
	 */
	public MessageCatchIntermediateEventFigureDescriptor() {
		this.setLayoutManager(new org.eclipse.draw2d.StackLayout());
		this.setFill(false);
this.setOutline(false);
		createContents();
	}
	/**
	 * @generated
	 */
	private void createContents(){


org.eclipse.draw2d.Ellipse outerCircle0 = new org.eclipse.draw2d.Ellipse();

outerCircle0.setBorder(new org.eclipse.draw2d.MarginBorder(getMapMode().DPtoLP(2)
, getMapMode().DPtoLP(2)
, getMapMode().DPtoLP(2)
, getMapMode().DPtoLP(2)
));

this.add(outerCircle0);
outerCircle0.setLayoutManager(new org.eclipse.draw2d.StackLayout());


org.eclipse.draw2d.Elli!
pse innerCircle1 = new org.eclipse.draw2d.Ellipse();

innerCircle1.setBorder(new org.eclipse.draw2d.MarginBorder(getMapMode().DPtoLP(4)
, getMapMode().DPtoLP(3)
, getMapMode().DPtoLP(4)
, getMapMode().DPtoLP(3)
));

outerCircle0.add(innerCircle1);
innerCircle1.setLayoutManager(new org.eclipse.draw2d.StackLayout());


org.eclipse.draw2d.RectangleFigure rectangle2 = new org.eclipse.draw2d.RectangleFigure();

innerCircle1.add(rectangle2);
rectangle2.setLayoutManager(new org.eclipse.draw2d.StackLayout());


org.eclipse.draw2d.PolylineShape envelope3 = new org.eclipse.draw2d.PolylineShape();
envelope3.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(0)
, getMapMode().DPtoLP(0)
));
envelope3.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(4)
, getMapMode().DPtoLP(4)
));
envelope3.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP!
(5)
, getMapMode().DPtoLP(4)
));
envelope3.addPoin!
t(new or
g.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(9)
, getMapMode().DPtoLP(0)
));

rectangle2.add(envelope3);





	}







}

">
+ <attributes
+ xsi:type="gmfgen:DefaultSizeAttributes"
+ width="20"
+ height="20"/>
+ </viewmap>
+ <modelFacet
+ modelElementSelector="//@expressionProviders/@providers.0/(a)expressions.17">
+ <metaClass
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/IntermediateCatchEvent"/>
+ <containmentMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <childMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.18">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/BaseElement/id"/>
+ </initializers>
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.19">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/CatchEvent/eventDefinitions"/>
+ </initializers>
+ </modelElementInitializer>
+ </modelFacet>
+ </topLevelNodes>
+ <topLevelNodes
+ visualID="2011"
+ editPartClassName="IntermediateThrowEventEditPart"
+ itemSemanticEditPolicyClassName="IntermediateThrowEventItemSemanticEditPolicy"
+ notationViewFactoryClassName="IntermediateThrowEventViewFactory"
+ canonicalEditPolicyClassName="IntermediateThrowEventCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="IntermediateThrowEventGraphicalNodeEditPolicy"
+ createCommandClassName="IntermediateThrowEventCreateCommand">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:MetamodelType"
+ editHelperClassName="IntermediateThrowEventEditHelper"/>
+ <viewmap
+ xsi:type="gmfgen:InnerClassViewmap"
+ className="MessageThrowIntermediateEventFigureDescriptor"
+ classBody="
/**
 * @generated
 */
public class MessageThrowIntermediateEventFigureDescriptor extends org.eclipse.draw2d.RectangleFigure {




	/**
	 * @generated
	 */
	public MessageThrowIntermediateEventFigureDescriptor() {
		this.setLayoutManager(new org.eclipse.draw2d.StackLayout());
		this.setFill(false);
this.setOutline(false);
		createContents();
	}
	/**
	 * @generated
	 */
	private void createContents(){


org.eclipse.draw2d.Ellipse outerCircle0 = new org.eclipse.draw2d.Ellipse();

outerCircle0.setBorder(new org.eclipse.draw2d.MarginBorder(getMapMode().DPtoLP(2)
, getMapMode().DPtoLP(2)
, getMapMode().DPtoLP(2)
, getMapMode().DPtoLP(2)
));

this.add(outerCircle0);
outerCircle0.setLayoutManager(new org.eclipse.draw2d.StackLayout());


org.eclipse.draw2d.Elli!
pse innerCircle1 = new org.eclipse.draw2d.Ellipse();

innerCircle1.setBorder(new org.eclipse.draw2d.MarginBorder(getMapMode().DPtoLP(4)
, getMapMode().DPtoLP(3)
, getMapMode().DPtoLP(4)
, getMapMode().DPtoLP(3)
));

outerCircle0.add(innerCircle1);
innerCircle1.setLayoutManager(new org.eclipse.draw2d.StackLayout());


org.eclipse.draw2d.RectangleFigure rectangle2 = new org.eclipse.draw2d.RectangleFigure();
	rectangle2.setBackgroundColor(org.eclipse.draw2d.ColorConstants.lightGray);

innerCircle1.add(rectangle2);
rectangle2.setLayoutManager(new org.eclipse.draw2d.StackLayout());


org.eclipse.draw2d.PolylineShape envelope3 = new org.eclipse.draw2d.PolylineShape();
envelope3.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(0)
, getMapMode().DPtoLP(0)
));
envelope3.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(4)
, getMapMode().DPtoLP(4)
!
;));
envelope3.addPoint(new org.eclipse.draw2d.geometry.Po!
int(getM
apMode().DPtoLP(5)
, getMapMode().DPtoLP(4)
));
envelope3.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(9)
, getMapMode().DPtoLP(0)
));
	envelope3.setForegroundColor(org.eclipse.draw2d.ColorConstants.white);

rectangle2.add(envelope3);





	}







}

">
+ <attributes
+ xsi:type="gmfgen:ResizeConstraints"/>
+ <attributes
+ xsi:type="gmfgen:DefaultSizeAttributes"
+ width="20"
+ height="20"/>
+ </viewmap>
+ <modelFacet
+ modelElementSelector="//@expressionProviders/@providers.0/(a)expressions.20">
+ <metaClass
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/IntermediateThrowEvent"/>
+ <containmentMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <childMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.21">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/BaseElement/id"/>
+ </initializers>
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.22">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/ThrowEvent/eventDefinitions"/>
+ </initializers>
+ </modelElementInitializer>
+ </modelFacet>
+ </topLevelNodes>
+ <topLevelNodes
+ visualID="2012"
+ editPartClassName="IntermediateCatchEvent2EditPart"
+ itemSemanticEditPolicyClassName="IntermediateCatchEvent2ItemSemanticEditPolicy"
+ notationViewFactoryClassName="IntermediateCatchEventViewFactory"
+ canonicalEditPolicyClassName="IntermediateCatchEvent2CanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="IntermediateCatchEvent2GraphicalNodeEditPolicy"
+ createCommandClassName="IntermediateCatchEvent2CreateCommand">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ metamodelType="//@diagram/@topLevelNodes.9/(a)elementType"/>
+ <viewmap
+ xsi:type="gmfgen:InnerClassViewmap"
+ className="TimerCatchIntermediateEventFigureDescriptor"
+ classBody="
/**
 * @generated
 */
public class TimerCatchIntermediateEventFigureDescriptor extends org.eclipse.draw2d.RectangleFigure {




	/**
	 * @generated
	 */
	public TimerCatchIntermediateEventFigureDescriptor() {
		this.setLayoutManager(new org.eclipse.draw2d.StackLayout());
		this.setFill(false);
this.setOutline(false);
		createContents();
	}
	/**
	 * @generated
	 */
	private void createContents(){


org.eclipse.draw2d.Ellipse outerCircle0 = new org.eclipse.draw2d.Ellipse();

outerCircle0.setBorder(new org.eclipse.draw2d.MarginBorder(getMapMode().DPtoLP(2)
, getMapMode().DPtoLP(2)
, getMapMode().DPtoLP(2)
, getMapMode().DPtoLP(2)
));

this.add(outerCircle0);
outerCircle0.setLayoutManager(new org.eclipse.draw2d.StackLayout());


org.eclipse.draw2d.Ellipse !
innerCircle1 = new org.eclipse.draw2d.Ellipse();

innerCircle1.setBorder(new org.eclipse.draw2d.MarginBorder(getMapMode().DPtoLP(3)
, getMapMode().DPtoLP(3)
, getMapMode().DPtoLP(3)
, getMapMode().DPtoLP(3)
));

outerCircle0.add(innerCircle1);
innerCircle1.setLayoutManager(new org.eclipse.draw2d.StackLayout());


org.eclipse.draw2d.Ellipse clock2 = new org.eclipse.draw2d.Ellipse();

innerCircle1.add(clock2);



org.eclipse.draw2d.PolylineShape twelve2 = new org.eclipse.draw2d.PolylineShape();
twelve2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(4)
, getMapMode().DPtoLP(0)
));
twelve2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(4)
, getMapMode().DPtoLP(2)
));

innerCircle1.add(twelve2);



org.eclipse.draw2d.PolylineShape three2 = new org.eclipse.draw2d.PolylineShape();
three2.addPoint(new org.eclipse.draw2d.!
geometry.Point(getMapMode().DPtoLP(7)
, getMapMode().DPtoL!
P(4)

;));
three2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(9)
, getMapMode().DPtoLP(4)
));

innerCircle1.add(three2);



org.eclipse.draw2d.PolylineShape six2 = new org.eclipse.draw2d.PolylineShape();
six2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(4)
, getMapMode().DPtoLP(7)
));
six2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(4)
, getMapMode().DPtoLP(9)
));

innerCircle1.add(six2);



org.eclipse.draw2d.PolylineShape nine2 = new org.eclipse.draw2d.PolylineShape();
nine2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(0)
, getMapMode().DPtoLP(4)
));
nine2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(2)
, getMapMode().DPtoLP(4)
));

innerCircle1.add(nine2);



org.eclipse.draw2d.PolylineShape big2 = new org.eclipse.draw2d.PolylineShape();&!
#xA;big2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(4)
, getMapMode().DPtoLP(4)
));
big2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(6)
, getMapMode().DPtoLP(1)
));

innerCircle1.add(big2);



org.eclipse.draw2d.PolylineShape small2 = new org.eclipse.draw2d.PolylineShape();
small2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(4)
, getMapMode().DPtoLP(4)
));
small2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(7)
, getMapMode().DPtoLP(7)
));

innerCircle1.add(small2);




	}







}

">
+ <attributes
+ xsi:type="gmfgen:ResizeConstraints"/>
+ <attributes
+ xsi:type="gmfgen:DefaultSizeAttributes"
+ width="20"
+ height="20"/>
+ </viewmap>
+ <modelFacet
+ modelElementSelector="//@expressionProviders/@providers.0/(a)expressions.23">
+ <metaClass
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/IntermediateCatchEvent"/>
+ <containmentMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <childMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.24">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/BaseElement/id"/>
+ </initializers>
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.25">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/CatchEvent/eventDefinitions"/>
+ </initializers>
+ </modelElementInitializer>
+ </modelFacet>
+ </topLevelNodes>
+ <topLevelNodes
+ visualID="2013"
+ editPartClassName="IntermediateCatchEvent3EditPart"
+ itemSemanticEditPolicyClassName="IntermediateCatchEvent3ItemSemanticEditPolicy"
+ notationViewFactoryClassName="IntermediateCatchEventViewFactory"
+ canonicalEditPolicyClassName="IntermediateCatchEvent3CanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="IntermediateCatchEvent3GraphicalNodeEditPolicy"
+ createCommandClassName="IntermediateCatchEvent3CreateCommand">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ metamodelType="//@diagram/@topLevelNodes.9/(a)elementType"/>
+ <viewmap
+ xsi:type="gmfgen:InnerClassViewmap"
+ className="ErrorCatchIntermediateEventFigureDescriptor"
+ classBody="
/**
 * @generated
 */
public class ErrorCatchIntermediateEventFigureDescriptor extends org.eclipse.draw2d.RectangleFigure {




	/**
	 * @generated
	 */
	public ErrorCatchIntermediateEventFigureDescriptor() {
		this.setLayoutManager(new org.eclipse.draw2d.StackLayout());
		this.setFill(false);
this.setOutline(false);
		createContents();
	}
	/**
	 * @generated
	 */
	private void createContents(){


org.eclipse.draw2d.Ellipse outerCircle0 = new org.eclipse.draw2d.Ellipse();

outerCircle0.setBorder(new org.eclipse.draw2d.MarginBorder(getMapMode().DPtoLP(2)
, getMapMode().DPtoLP(2)
, getMapMode().DPtoLP(2)
, getMapMode().DPtoLP(2)
));

this.add(outerCircle0);
outerCircle0.setLayoutManager(new org.eclipse.draw2d.StackLayout());


org.eclipse.draw2d.Ellipse !
innerCircle1 = new org.eclipse.draw2d.Ellipse();

innerCircle1.setBorder(new org.eclipse.draw2d.MarginBorder(getMapMode().DPtoLP(3)
, getMapMode().DPtoLP(3)
, getMapMode().DPtoLP(3)
, getMapMode().DPtoLP(3)
));

outerCircle0.add(innerCircle1);
innerCircle1.setLayoutManager(new org.eclipse.draw2d.StackLayout());


org.eclipse.draw2d.PolygonShape flash2 = new org.eclipse.draw2d.PolygonShape();
flash2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(0)
, getMapMode().DPtoLP(9)
));
flash2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(3)
, getMapMode().DPtoLP(0)
));
flash2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(7)
, getMapMode().DPtoLP(6)
));
flash2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(10)
, getMapMode().DPtoLP(1)
));
flash2.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().D!
PtoLP(7)
, getMapMode().DPtoLP(10)
));
flash2.addP!
oint(new
org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(3)
, getMapMode().DPtoLP(3)
));
flash2.setFill(true);

innerCircle1.add(flash2);




	}







}

">
+ <attributes
+ xsi:type="gmfgen:ResizeConstraints"/>
+ <attributes
+ xsi:type="gmfgen:DefaultSizeAttributes"
+ width="20"
+ height="20"/>
+ </viewmap>
+ <modelFacet
+ modelElementSelector="//@expressionProviders/@providers.0/(a)expressions.26">
+ <metaClass
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/IntermediateCatchEvent"/>
+ <containmentMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <childMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.27">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/BaseElement/id"/>
+ </initializers>
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.28">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/CatchEvent/eventDefinitions"/>
+ </initializers>
+ </modelElementInitializer>
+ </modelFacet>
+ </topLevelNodes>
+ <topLevelNodes
+ visualID="2014"
+ editPartClassName="DataObjectEditPart"
+ itemSemanticEditPolicyClassName="DataObjectItemSemanticEditPolicy"
+ notationViewFactoryClassName="DataObjectViewFactory"
+ canonicalEditPolicyClassName="DataObjectCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="DataObjectGraphicalNodeEditPolicy"
+ createCommandClassName="DataObjectCreateCommand">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:MetamodelType"
+ editHelperClassName="DataObjectEditHelper"/>
+ <viewmap
+ xsi:type="gmfgen:InnerClassViewmap"
+ className="DataObjectFigureDescriptor"
+ classBody="
/**
 * @generated
 */
public class DataObjectFigureDescriptor extends org.eclipse.draw2d.RectangleFigure {




	/**
	 * @generated
	 */
	public DataObjectFigureDescriptor() {
		this.setLayoutManager(new org.eclipse.draw2d.StackLayout());
		this.setFill(false);
this.setOutline(false);
		createContents();
	}
	/**
	 * @generated
	 */
	private void createContents(){


org.eclipse.draw2d.PolygonShape dogEarPage0 = new org.eclipse.draw2d.PolygonShape();
dogEarPage0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(12)
, getMapMode().DPtoLP(0)
));
dogEarPage0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(20)
, getMapMode().DPtoLP(8)
));
dogEarPage0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(20)
, getMapMode().DPto!
LP(25)
));
dogEarPage0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(0)
, getMapMode().DPtoLP(25)
));
dogEarPage0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(0)
, getMapMode().DPtoLP(0)
));
dogEarPage0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(12)
, getMapMode().DPtoLP(0)
));
dogEarPage0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(12)
, getMapMode().DPtoLP(8)
));
dogEarPage0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(20)
, getMapMode().DPtoLP(8)
));
dogEarPage0.setFill(true);

this.add(dogEarPage0);


	}







}

">
+ <attributes
+ xsi:type="gmfgen:ResizeConstraints"/>
+ <attributes
+ xsi:type="gmfgen:DefaultSizeAttributes"
+ width="21"
+ height="26"/>
+ </viewmap>
+ <modelFacet>
+ <metaClass
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/DataObject"/>
+ <containmentMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <childMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.29">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/BaseElement/id"/>
+ </initializers>
+ </modelElementInitializer>
+ </modelFacet>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5003"
+ editPartClassName="DataObjectNameEditPart"
+ itemSemanticEditPolicyClassName="DataObjectNameItemSemanticEditPolicy"
+ notationViewFactoryClassName="DataObjectNameViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/>
+ <modelFacet
+ xsi:type="gmfgen:FeatureLabelModelFacet"
+ parser="//@labelParsers/(a)implementations.0">
+ <metaFeatures
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElement/name"/>
+ </modelFacet>
+ </labels>
+ </topLevelNodes>
+ <topLevelNodes
+ visualID="2015"
+ editPartClassName="TextAnnotationEditPart"
+ itemSemanticEditPolicyClassName="TextAnnotationItemSemanticEditPolicy"
+ notationViewFactoryClassName="TextAnnotationViewFactory"
+ canonicalEditPolicyClassName="TextAnnotationCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="TextAnnotationGraphicalNodeEditPolicy"
+ createCommandClassName="TextAnnotationCreateCommand">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:MetamodelType"
+ editHelperClassName="TextAnnotationEditHelper"/>
+ <viewmap
+ xsi:type="gmfgen:InnerClassViewmap"
+ className="TextAnnotationFigureDescriptor"
+ classBody="
/**
 * @generated
 */
public class TextAnnotationFigureDescriptor extends org.eclipse.draw2d.RectangleFigure {


	/**
	 * @generated
	 */
	private org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel fFigureTextAnnotationLabel; 


	/**
	 * @generated
	 */
	public TextAnnotationFigureDescriptor() {
		this.setLayoutManager(new org.eclipse.draw2d.StackLayout());
		this.setFill(false);
this.setOutline(false);
this.setPreferredSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(120)
, getMapMode().DPtoLP(20)
));
this.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(50)
, getMapMode().DPtoLP(20)
));
this.setBorder(createBorder0());
		createContents();
	}
	/**
	 * @generated
	 */
	private void createContents(){&#x!
A;

org.eclipse.draw2d.RectangleFigure textAnnotationRectangle0 = new org.eclipse.draw2d.RectangleFigure();
textAnnotationRectangle0.setFill(false);
textAnnotationRectangle0.setOutline(false);
textAnnotationRectangle0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_DOT);

textAnnotationRectangle0.setBorder(new org.eclipse.draw2d.MarginBorder(getMapMode().DPtoLP(4)
, getMapMode().DPtoLP(5)
, getMapMode().DPtoLP(5)
, getMapMode().DPtoLP(4)
));

this.add(textAnnotationRectangle0);
textAnnotationRectangle0.setLayoutManager(new org.eclipse.draw2d.StackLayout());


fFigureTextAnnotationLabel = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel();
fFigureTextAnnotationLabel.setText("");

textAnnotationRectangle0.add(fFigureTextAnnotationLabel);



	}

	/**
	 * @generated
	 */
	private org.eclipse.draw2d.Border createBorder0() {&#x!
A;		org.jboss.tools.bpmn2.process.diagram.figures.Text!
Annotati
onFigureBorder result = new org.jboss.tools.bpmn2.process.diagram.figures.TextAnnotationFigureBorder();
		


		return result;
	}




	/**
	 * @generated
	 */
	public org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel getFigureTextAnnotationLabel() {
		return fFigureTextAnnotationLabel;
	}


}

">
+ <attributes
+ xsi:type="gmfgen:DefaultSizeAttributes"
+ width="120"
+ height="20"/>
+ </viewmap>
+ <modelFacet>
+ <metaClass
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/TextAnnotation"/>
+ <containmentMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/Process/artifacts"/>
+ <childMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/Process/artifacts"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.30">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/BaseElement/id"/>
+ </initializers>
+ </modelElementInitializer>
+ </modelFacet>
+ <labels
+ visualID="5004"
+ editPartClassName="TextAnnotationTextEditPart"
+ itemSemanticEditPolicyClassName="TextAnnotationTextItemSemanticEditPolicy"
+ notationViewFactoryClassName="TextAnnotationTextViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:ParentAssignedViewmap"
+ getterName="getFigureTextAnnotationLabel"
+ figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/>
+ <modelFacet
+ xsi:type="gmfgen:FeatureLabelModelFacet"
+ parser="//@labelParsers/(a)implementations.0"
+ editPattern="">
+ <metaFeatures
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/TextAnnotation/text"/>
+ </modelFacet>
+ </labels>
+ </topLevelNodes>
+ <topLevelNodes
+ visualID="2016"
+ editPartClassName="SubProcessEditPart"
+ itemSemanticEditPolicyClassName="SubProcessItemSemanticEditPolicy"
+ notationViewFactoryClassName="SubProcessViewFactory"
+ canonicalEditPolicyClassName="SubProcessCanonicalEditPolicy"
+ childNodes="//@diagram/(a)childNodes.0 //@diagram/(a)childNodes.1 //@diagram/(a)childNodes.2 //@diagram/(a)childNodes.3 //@diagram/(a)childNodes.4 //@diagram/(a)childNodes.5 //@diagram/(a)childNodes.6 //@diagram/(a)childNodes.7 //@diagram/(a)childNodes.8 //@diagram/(a)childNodes.9 //@diagram/(a)childNodes.10 //@diagram/(a)childNodes.11 //@diagram/(a)childNodes.12 //@diagram/(a)childNodes.13 //@diagram/(a)childNodes.14"
+ graphicalNodeEditPolicyClassName="SubProcessGraphicalNodeEditPolicy"
+ createCommandClassName="SubProcessCreateCommand">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:MetamodelType"
+ editHelperClassName="SubProcessEditHelper"/>
+ <viewmap
+ xsi:type="gmfgen:InnerClassViewmap"
+ layoutType="XY_LAYOUT"
+ className="ExpandedSubprocessFigureDescriptor"
+ classBody="
/**
 * @generated
 */
public class ExpandedSubprocessFigureDescriptor extends org.eclipse.draw2d.RoundedRectangle {


	/**
	 * @generated
	 */
	private org.eclipse.draw2d.RoundedRectangle fFigureExpandedSubprocessFigure; 


	/**
	 * @generated
	 */
	public ExpandedSubprocessFigureDescriptor() {
		this.setLayoutManager(new org.eclipse.draw2d.XYLayout());
		this.setCornerDimensions(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(8)
, getMapMode().DPtoLP(8)
));
this.setPreferredSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(240)
, getMapMode().DPtoLP(240)
));
	}



	/**
	 * @generated
	 */
	public org.eclipse.draw2d.RoundedRectangle getFigureExpandedSubprocessFigure() {
		return fFigureExpandedSubprocessFigure;
	}!



}

">
+ <attributes
+ xsi:type="gmfgen:DefaultSizeAttributes"
+ width="240"
+ height="240"/>
+ </viewmap>
+ <modelFacet>
+ <metaClass
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/SubProcess"/>
+ <containmentMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <childMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.31">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/BaseElement/id"/>
+ </initializers>
+ </modelElementInitializer>
+ </modelFacet>
+ </topLevelNodes>
+ <links
+ visualID="4001"
+ editPartClassName="SequenceFlowEditPart"
+ itemSemanticEditPolicyClassName="SequenceFlowItemSemanticEditPolicy"
+ notationViewFactoryClassName="SequenceFlowViewFactory"
+ createCommandClassName="SequenceFlowCreateCommand"
+ reorientCommandClassName="SequenceFlowReorientCommand">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Edge"/>
+ <elementType
+ xsi:type="gmfgen:MetamodelType"
+ editHelperClassName="SequenceFlowEditHelper"/>
+ <viewmap
+ xsi:type="gmfgen:InnerClassViewmap"
+ className="SequenceFlowFigureDescriptor"
+ classBody="
/**
 * @generated
 */
public class SequenceFlowFigureDescriptor extends org.eclipse.gmf.runtime.draw2d.ui.figures.PolylineConnectionEx {




	/**
	 * @generated
	 */
	public SequenceFlowFigureDescriptor() {
		
		setTargetDecoration(createTargetDecoration());
	}

	/**
	 * @generated
	 */
	private org.eclipse.draw2d.RotatableDecoration createTargetDecoration() {
		org.eclipse.draw2d.PolygonDecoration df = new org.eclipse.draw2d.PolygonDecoration();
df.setFill(true);
org.eclipse.draw2d.geometry.PointList pl = new org.eclipse.draw2d.geometry.PointList();
pl.addPoint(getMapMode().DPtoLP(0)
, getMapMode().DPtoLP(0)
);
pl.addPoint(getMapMode().DPtoLP(-1)
, getMapMode().DPtoLP(1)
);
pl.addPoint(getMapMode().DPtoLP(-1)
, getMapMode().DPtoLP(-1)
);
pl.addPoint(getMapMode().!
DPtoLP(0)
, getMapMode().DPtoLP(0)
);
df.setTemplate(pl);
df.setScale(getMapMode().DPtoLP(7)
, getMapMode().DPtoLP(3)
);
		return df;
	}




}

"/>
+ <modelFacet
+ xsi:type="gmfgen:TypeLinkModelFacet">
+ <metaClass
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/SequenceFlow"/>
+ <containmentMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <childMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/FlowElementsContainer/flowElements"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.32">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/BaseElement/id"/>
+ </initializers>
+ </modelElementInitializer>
+ <sourceMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/SequenceFlow/sourceRef"/>
+ <targetMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/SequenceFlow/targetRef"/>
+ </modelFacet>
+ </links>
+ <links
+ visualID="4002"
+ editPartClassName="AssociationEditPart"
+ itemSemanticEditPolicyClassName="AssociationItemSemanticEditPolicy"
+ notationViewFactoryClassName="AssociationViewFactory"
+ createCommandClassName="AssociationCreateCommand"
+ reorientCommandClassName="AssociationReorientCommand">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Edge"/>
+ <elementType
+ xsi:type="gmfgen:MetamodelType"
+ editHelperClassName="AssociationEditHelper"/>
+ <viewmap
+ xsi:type="gmfgen:InnerClassViewmap"
+ className="AssociationFigureDescriptor"
+ classBody="
/**
 * @generated
 */
public class AssociationFigureDescriptor extends org.eclipse.gmf.runtime.draw2d.ui.figures.PolylineConnectionEx {




	/**
	 * @generated
	 */
	public AssociationFigureDescriptor() {
		this.setLineStyle(org.eclipse.draw2d.Graphics.LINE_DOT);

	}




}

"/>
+ <modelFacet
+ xsi:type="gmfgen:TypeLinkModelFacet">
+ <metaClass
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/Association"/>
+ <containmentMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/Process/artifacts"/>
+ <childMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/Process/artifacts"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="//@expressionProviders/@providers.0/(a)expressions.33">
+ <feature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/BaseElement/id"/>
+ </initializers>
+ </modelElementInitializer>
+ <sourceMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/Association/sourceRef"/>
+ <targetMetaFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#//bpmn2/Association/targetRef"/>
+ </modelFacet>
+ </links>
+ <palette>
+ <groups
+ title="Nodes">
+ <entries
+ xsi:type="gmfgen:ToolEntry"
+ title="User Task"
+ genNodes="//@diagram/(a)topLevelNodes.0 //@diagram/(a)childNodes.1"/>
+ <entries
+ xsi:type="gmfgen:ToolEntry"
+ title="Service Task"
+ genNodes="//@diagram/(a)topLevelNodes.1 //@diagram/(a)childNodes.2"/>
+ <entries
+ xsi:type="gmfgen:ToolEntry"
+ title="Sub-Process"
+ genNodes="//@diagram/(a)topLevelNodes.15 //@diagram/(a)childNodes.0"/>
+ <entries
+ xsi:type="gmfgen:ToolGroup"
+ title="Gateways"
+ description=""
+ stack="true">
+ <entries
+ xsi:type="gmfgen:ToolEntry"
+ title="Exclusive"
+ genNodes="//@diagram/(a)topLevelNodes.5 //@diagram/(a)childNodes.6"/>
+ <entries
+ xsi:type="gmfgen:ToolEntry"
+ title="Parallel"
+ genNodes="//@diagram/(a)topLevelNodes.6 //@diagram/(a)childNodes.7"/>
+ </entries>
+ <entries
+ xsi:type="gmfgen:ToolGroup"
+ title="Events">
+ <entries
+ xsi:type="gmfgen:ToolGroup"
+ title="Start Events"
+ stack="true">
+ <entries
+ xsi:type="gmfgen:ToolEntry"
+ title="Start"
+ genNodes="//@diagram/(a)topLevelNodes.2 //@diagram/(a)childNodes.3"/>
+ <entries
+ xsi:type="gmfgen:ToolEntry"
+ title="Message Start"
+ genNodes="//@diagram/(a)topLevelNodes.3 //@diagram/(a)childNodes.4"/>
+ </entries>
+ <entries
+ xsi:type="gmfgen:ToolGroup"
+ title="Intermediate Events"
+ stack="true">
+ <entries
+ xsi:type="gmfgen:ToolEntry"
+ title="Message Catch"
+ genNodes="//@diagram/(a)topLevelNodes.9 //@diagram/(a)childNodes.10"/>
+ <entries
+ xsi:type="gmfgen:ToolEntry"
+ title="Message Throw"
+ genNodes="//@diagram/(a)topLevelNodes.10 //@diagram/(a)childNodes.11"/>
+ <entries
+ xsi:type="gmfgen:ToolEntry"
+ title="Timer Catch"
+ description=""
+ genNodes="//@diagram/(a)topLevelNodes.11 //@diagram/(a)childNodes.12"/>
+ <entries
+ xsi:type="gmfgen:ToolEntry"
+ title="Error Catch"
+ genNodes="//@diagram/(a)topLevelNodes.12"/>
+ </entries>
+ <entries
+ xsi:type="gmfgen:ToolGroup"
+ title="End Events"
+ stack="true">
+ <entries
+ xsi:type="gmfgen:ToolEntry"
+ title="End"
+ genNodes="//@diagram/(a)topLevelNodes.4 //@diagram/(a)childNodes.5"/>
+ <entries
+ xsi:type="gmfgen:ToolEntry"
+ title="Message End"
+ genNodes="//@diagram/(a)topLevelNodes.7 //@diagram/(a)childNodes.8"/>
+ <entries
+ xsi:type="gmfgen:ToolEntry"
+ title="Terminate"
+ genNodes="//@diagram/(a)topLevelNodes.8 //@diagram/(a)childNodes.9"/>
+ </entries>
+ </entries>
+ <entries
+ xsi:type="gmfgen:ToolGroup"
+ title="Artifacts">
+ <entries
+ xsi:type="gmfgen:ToolEntry"
+ title="Data Object"
+ genNodes="//@diagram/(a)topLevelNodes.13 //@diagram/(a)childNodes.13"/>
+ <entries
+ xsi:type="gmfgen:ToolEntry"
+ title="Text Annotation"
+ genNodes="//@diagram/(a)topLevelNodes.14 //@diagram/(a)childNodes.14"/>
+ </entries>
+ </groups>
+ <groups
+ title="Links">
+ <entries
+ xsi:type="gmfgen:ToolGroup"
+ title="Sequence Flow Links">
+ <entries
+ xsi:type="gmfgen:ToolEntry"
+ title="Sequence Flow"
+ genLinks="//@diagram/(a)links.0"/>
+ </entries>
+ <entries
+ xsi:type="gmfgen:ToolGroup"
+ title="Association Links">
+ <entries
+ xsi:type="gmfgen:ToolEntry"
+ title="Association"
+ genLinks="//@diagram/(a)links.1"/>
+ </entries>
+ </groups>
+ </palette>
+ <preferencePages
+ xsi:type="gmfgen:GenStandardPreferencePage"
+ iD="org.eclipse.bpmn2.diagram.general"
+ name="bpmn2 Diagram">
+ <children
+ xsi:type="gmfgen:GenStandardPreferencePage"
+ iD="org.eclipse.bpmn2.diagram.appearance"
+ name="Appearance"
+ kind="Appearance"/>
+ <children
+ xsi:type="gmfgen:GenStandardPreferencePage"
+ iD="org.eclipse.bpmn2.diagram.connections"
+ name="Connections"
+ kind="Connections"/>
+ <children
+ xsi:type="gmfgen:GenStandardPreferencePage"
+ iD="org.eclipse.bpmn2.diagram.printing"
+ name="Printing"
+ kind="Printing"/>
+ <children
+ xsi:type="gmfgen:GenStandardPreferencePage"
+ iD="org.eclipse.bpmn2.diagram.rulersAndGrid"
+ name="Rulers And Grid"
+ kind="RulersAndGrid"/>
+ </preferencePages>
+ </diagram>
+ <plugin>
+ <requiredPlugins>org.eclipse.draw2d</requiredPlugins>
+ <requiredPlugins>org.eclipse.gmf.runtime.draw2d.ui</requiredPlugins>
+ </plugin>
+ <editor/>
+ <navigator>
+ <childReferences
+ child="//@diagram"/>
+ <childReferences
+ parent="//@diagram"
+ child="//@diagram/(a)topLevelNodes.0"/>
+ <childReferences
+ parent="//@diagram"
+ child="//@diagram/(a)topLevelNodes.1"/>
+ <childReferences
+ parent="//@diagram"
+ child="//@diagram/(a)topLevelNodes.2"/>
+ <childReferences
+ parent="//@diagram"
+ child="//@diagram/(a)topLevelNodes.3"/>
+ <childReferences
+ parent="//@diagram"
+ child="//@diagram/(a)topLevelNodes.4"/>
+ <childReferences
+ parent="//@diagram"
+ child="//@diagram/(a)topLevelNodes.5"/>
+ <childReferences
+ parent="//@diagram"
+ child="//@diagram/(a)topLevelNodes.6"/>
+ <childReferences
+ parent="//@diagram"
+ child="//@diagram/(a)topLevelNodes.7"/>
+ <childReferences
+ parent="//@diagram"
+ child="//@diagram/(a)topLevelNodes.8"/>
+ <childReferences
+ parent="//@diagram"
+ child="//@diagram/(a)topLevelNodes.9"/>
+ <childReferences
+ parent="//@diagram"
+ child="//@diagram/(a)topLevelNodes.10"/>
+ <childReferences
+ parent="//@diagram"
+ child="//@diagram/(a)topLevelNodes.11"/>
+ <childReferences
+ parent="//@diagram"
+ child="//@diagram/(a)topLevelNodes.12"/>
+ <childReferences
+ parent="//@diagram"
+ child="//@diagram/(a)topLevelNodes.13"/>
+ <childReferences
+ parent="//@diagram"
+ child="//@diagram/(a)topLevelNodes.14"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.0"
+ child="//@diagram/(a)childNodes.0"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.0"
+ child="//@diagram/(a)childNodes.1"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.0"
+ child="//@diagram/(a)childNodes.2"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.0"
+ child="//@diagram/(a)childNodes.3"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.0"
+ child="//@diagram/(a)childNodes.4"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.0"
+ child="//@diagram/(a)childNodes.5"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.0"
+ child="//@diagram/(a)childNodes.6"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.0"
+ child="//@diagram/(a)childNodes.7"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.0"
+ child="//@diagram/(a)childNodes.8"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.0"
+ child="//@diagram/(a)childNodes.9"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.0"
+ child="//@diagram/(a)childNodes.10"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.0"
+ child="//@diagram/(a)childNodes.11"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.0"
+ child="//@diagram/(a)childNodes.12"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.0"
+ child="//@diagram/(a)childNodes.10"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.0"
+ child="//@diagram/(a)childNodes.13"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.0"
+ child="//@diagram/(a)childNodes.14"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.15"
+ child="//@diagram/(a)childNodes.0"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.15"
+ child="//@diagram/(a)childNodes.1"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.15"
+ child="//@diagram/(a)childNodes.2"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.15"
+ child="//@diagram/(a)childNodes.3"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.15"
+ child="//@diagram/(a)childNodes.4"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.15"
+ child="//@diagram/(a)childNodes.5"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.15"
+ child="//@diagram/(a)childNodes.6"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.15"
+ child="//@diagram/(a)childNodes.7"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.15"
+ child="//@diagram/(a)childNodes.8"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.15"
+ child="//@diagram/(a)childNodes.9"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.15"
+ child="//@diagram/(a)childNodes.10"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.15"
+ child="//@diagram/(a)childNodes.11"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.15"
+ child="//@diagram/(a)childNodes.12"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.15"
+ child="//@diagram/(a)childNodes.10"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.15"
+ child="//@diagram/(a)childNodes.13"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.15"
+ child="//@diagram/(a)childNodes.14"/>
+ <childReferences
+ parent="//@diagram"
+ child="//@diagram/(a)topLevelNodes.15"/>
+ <childReferences
+ parent="//@diagram"
+ child="//@diagram/(a)links.0"
+ groupName="links"
+ groupIcon="icons/linksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)topLevelNodes.0"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.0"
+ child="//@diagram/(a)links.0"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)topLevelNodes.1"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.1"
+ child="//@diagram/(a)links.0"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)topLevelNodes.2"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.2"
+ child="//@diagram/(a)links.0"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)topLevelNodes.3"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.3"
+ child="//@diagram/(a)links.0"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)topLevelNodes.4"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.4"
+ child="//@diagram/(a)links.0"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)topLevelNodes.5"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.5"
+ child="//@diagram/(a)links.0"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)topLevelNodes.6"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.6"
+ child="//@diagram/(a)links.0"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)topLevelNodes.7"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.7"
+ child="//@diagram/(a)links.0"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)topLevelNodes.8"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.8"
+ child="//@diagram/(a)links.0"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)topLevelNodes.9"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.9"
+ child="//@diagram/(a)links.0"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)topLevelNodes.10"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.10"
+ child="//@diagram/(a)links.0"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)topLevelNodes.11"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.11"
+ child="//@diagram/(a)links.0"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)topLevelNodes.12"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.12"
+ child="//@diagram/(a)links.0"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)topLevelNodes.15"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.15"
+ child="//@diagram/(a)links.0"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)childNodes.0"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.0"
+ child="//@diagram/(a)links.0"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)childNodes.1"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.1"
+ child="//@diagram/(a)links.0"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)childNodes.2"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.2"
+ child="//@diagram/(a)links.0"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)childNodes.3"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.3"
+ child="//@diagram/(a)links.0"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)childNodes.4"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.4"
+ child="//@diagram/(a)links.0"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)childNodes.5"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.5"
+ child="//@diagram/(a)links.0"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)childNodes.6"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.6"
+ child="//@diagram/(a)links.0"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)childNodes.7"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.7"
+ child="//@diagram/(a)links.0"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)childNodes.8"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.8"
+ child="//@diagram/(a)links.0"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)childNodes.9"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.9"
+ child="//@diagram/(a)links.0"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)childNodes.10"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.10"
+ child="//@diagram/(a)links.0"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)childNodes.11"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.11"
+ child="//@diagram/(a)links.0"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)childNodes.12"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.12"
+ child="//@diagram/(a)links.0"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)topLevelNodes.0"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.0"
+ child="//@diagram/(a)links.0"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)topLevelNodes.1"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.1"
+ child="//@diagram/(a)links.0"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)topLevelNodes.2"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.2"
+ child="//@diagram/(a)links.0"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)topLevelNodes.3"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.3"
+ child="//@diagram/(a)links.0"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)topLevelNodes.4"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.4"
+ child="//@diagram/(a)links.0"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)topLevelNodes.5"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.5"
+ child="//@diagram/(a)links.0"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)topLevelNodes.6"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.6"
+ child="//@diagram/(a)links.0"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)topLevelNodes.7"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.7"
+ child="//@diagram/(a)links.0"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)topLevelNodes.8"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.8"
+ child="//@diagram/(a)links.0"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)topLevelNodes.9"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.9"
+ child="//@diagram/(a)links.0"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)topLevelNodes.10"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.10"
+ child="//@diagram/(a)links.0"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)topLevelNodes.11"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.11"
+ child="//@diagram/(a)links.0"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)topLevelNodes.12"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.12"
+ child="//@diagram/(a)links.0"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)topLevelNodes.15"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.15"
+ child="//@diagram/(a)links.0"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)childNodes.0"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.0"
+ child="//@diagram/(a)links.0"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)childNodes.1"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.1"
+ child="//@diagram/(a)links.0"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)childNodes.2"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.2"
+ child="//@diagram/(a)links.0"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)childNodes.3"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.3"
+ child="//@diagram/(a)links.0"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)childNodes.4"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.4"
+ child="//@diagram/(a)links.0"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)childNodes.5"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.5"
+ child="//@diagram/(a)links.0"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)childNodes.6"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.6"
+ child="//@diagram/(a)links.0"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)childNodes.7"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.7"
+ child="//@diagram/(a)links.0"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)childNodes.8"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.8"
+ child="//@diagram/(a)links.0"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)childNodes.9"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.9"
+ child="//@diagram/(a)links.0"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)childNodes.10"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.10"
+ child="//@diagram/(a)links.0"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)childNodes.11"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.11"
+ child="//@diagram/(a)links.0"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)childNodes.12"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.12"
+ child="//@diagram/(a)links.0"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram"
+ child="//@diagram/(a)links.1"
+ groupName="links"
+ groupIcon="icons/linksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)topLevelNodes.0"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.0"
+ child="//@diagram/(a)links.1"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)topLevelNodes.1"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.1"
+ child="//@diagram/(a)links.1"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)topLevelNodes.2"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.2"
+ child="//@diagram/(a)links.1"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)topLevelNodes.3"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.3"
+ child="//@diagram/(a)links.1"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)topLevelNodes.4"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.4"
+ child="//@diagram/(a)links.1"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)topLevelNodes.5"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.5"
+ child="//@diagram/(a)links.1"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)topLevelNodes.6"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.6"
+ child="//@diagram/(a)links.1"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)topLevelNodes.7"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.7"
+ child="//@diagram/(a)links.1"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)topLevelNodes.8"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.8"
+ child="//@diagram/(a)links.1"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)topLevelNodes.9"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.9"
+ child="//@diagram/(a)links.1"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)topLevelNodes.10"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.10"
+ child="//@diagram/(a)links.1"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)topLevelNodes.11"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.11"
+ child="//@diagram/(a)links.1"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)topLevelNodes.12"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.12"
+ child="//@diagram/(a)links.1"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)topLevelNodes.13"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.13"
+ child="//@diagram/(a)links.1"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)topLevelNodes.14"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.14"
+ child="//@diagram/(a)links.1"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)topLevelNodes.15"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.15"
+ child="//@diagram/(a)links.1"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)childNodes.0"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.0"
+ child="//@diagram/(a)links.1"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)childNodes.1"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.1"
+ child="//@diagram/(a)links.1"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)childNodes.2"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.2"
+ child="//@diagram/(a)links.1"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)childNodes.3"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.3"
+ child="//@diagram/(a)links.1"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)childNodes.4"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.4"
+ child="//@diagram/(a)links.1"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)childNodes.5"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.5"
+ child="//@diagram/(a)links.1"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)childNodes.6"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.6"
+ child="//@diagram/(a)links.1"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)childNodes.7"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.7"
+ child="//@diagram/(a)links.1"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)childNodes.8"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.8"
+ child="//@diagram/(a)links.1"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)childNodes.9"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.9"
+ child="//@diagram/(a)links.1"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)childNodes.10"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.10"
+ child="//@diagram/(a)links.1"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)childNodes.11"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.11"
+ child="//@diagram/(a)links.1"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)childNodes.12"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.12"
+ child="//@diagram/(a)links.1"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)childNodes.13"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.13"
+ child="//@diagram/(a)links.1"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)childNodes.14"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.14"
+ child="//@diagram/(a)links.1"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)links.0"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)links.1"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)links.1"
+ referenceType="out_target"
+ groupName="target"
+ groupIcon="icons/linkTargetNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)links.1"
+ referenceType="in_source"
+ groupName="incoming links"
+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)topLevelNodes.0"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.0"
+ child="//@diagram/(a)links.1"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)topLevelNodes.1"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.1"
+ child="//@diagram/(a)links.1"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)topLevelNodes.2"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.2"
+ child="//@diagram/(a)links.1"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)topLevelNodes.3"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.3"
+ child="//@diagram/(a)links.1"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)topLevelNodes.4"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.4"
+ child="//@diagram/(a)links.1"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)topLevelNodes.5"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.5"
+ child="//@diagram/(a)links.1"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)topLevelNodes.6"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.6"
+ child="//@diagram/(a)links.1"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)topLevelNodes.7"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.7"
+ child="//@diagram/(a)links.1"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)topLevelNodes.8"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.8"
+ child="//@diagram/(a)links.1"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)topLevelNodes.9"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.9"
+ child="//@diagram/(a)links.1"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)topLevelNodes.10"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.10"
+ child="//@diagram/(a)links.1"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)topLevelNodes.11"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.11"
+ child="//@diagram/(a)links.1"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)topLevelNodes.12"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.12"
+ child="//@diagram/(a)links.1"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)topLevelNodes.13"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.13"
+ child="//@diagram/(a)links.1"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)topLevelNodes.14"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.14"
+ child="//@diagram/(a)links.1"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)topLevelNodes.15"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)topLevelNodes.15"
+ child="//@diagram/(a)links.1"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)childNodes.0"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.0"
+ child="//@diagram/(a)links.1"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)childNodes.1"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.1"
+ child="//@diagram/(a)links.1"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)childNodes.2"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.2"
+ child="//@diagram/(a)links.1"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)childNodes.3"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.3"
+ child="//@diagram/(a)links.1"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)childNodes.4"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.4"
+ child="//@diagram/(a)links.1"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)childNodes.5"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.5"
+ child="//@diagram/(a)links.1"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)childNodes.6"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.6"
+ child="//@diagram/(a)links.1"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)childNodes.7"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.7"
+ child="//@diagram/(a)links.1"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)childNodes.8"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.8"
+ child="//@diagram/(a)links.1"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)childNodes.9"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.9"
+ child="//@diagram/(a)links.1"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)childNodes.10"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.10"
+ child="//@diagram/(a)links.1"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)childNodes.11"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.11"
+ child="//@diagram/(a)links.1"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)childNodes.12"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.12"
+ child="//@diagram/(a)links.1"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)childNodes.13"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.13"
+ child="//@diagram/(a)links.1"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)childNodes.14"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)childNodes.14"
+ child="//@diagram/(a)links.1"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)links.0"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.0"
+ child="//@diagram/(a)links.1"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)links.1"
+ referenceType="in_source"
+ groupName="source"
+ groupIcon="icons/linkSourceNavigatorGroup.gif"/>
+ <childReferences
+ parent="//@diagram/(a)links.1"
+ child="//@diagram/(a)links.1"
+ referenceType="out_target"
+ groupName="outgoing links"
+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
+ </navigator>
+ <diagramUpdater/>
+ <propertySheet>
+ <tabs
+ xsi:type="gmfgen:GenStandardPropertyTab"
+ iD="appearance"/>
+ <tabs
+ xsi:type="gmfgen:GenStandardPropertyTab"
+ iD="diagram"/>
+ <tabs
+ xsi:type="gmfgen:GenCustomPropertyTab"
+ iD="domain"
+ label="Core">
+ <filter
+ xsi:type="gmfgen:TypeTabFilter">
+ <types>org.eclipse.gmf.runtime.notation.View</types>
+ <types>org.eclipse.gef.EditPart</types>
+ <generatedTypes>abstractNavigatorItem</generatedTypes>
+ </filter>
+ </tabs>
+ </propertySheet>
+ <domainGenModel
+ href="../../org.eclipse.bpmn2/model/BPMN20.genmodel#/"/>
+ <expressionProviders>
+ <providers
+ xsi:type="gmfgen:GenJavaExpressionProvider">
+ <expressions
+ body="EcoreUtil.generateUUID()"/>
+ <expressions
+ body="EcoreUtil.generateUUID()"/>
+ <expressions
+ xsi:type="gmfgen:GenConstraint"
+ body="getEventDefinitions().isEmpty()"/>
+ <expressions
+ body="EcoreUtil.generateUUID()"/>
+ <expressions
+ xsi:type="gmfgen:GenConstraint"
+ body="getEventDefinitions().size() == 1 && getEventDefinitions().get(0) instanceof MessageEventDefinition"/>
+ <expressions
+ body="EcoreUtil.generateUUID()"/>
+ <expressions
+ body="getEventDefinitions().add(Bpmn2Factory.INSTANCE.createMessageEventDefinition());"/>
+ <expressions
+ xsi:type="gmfgen:GenConstraint"
+ body="getEventDefinitions().isEmpty()"/>
+ <expressions
+ body="EcoreUtil.generateUUID()"/>
+ <expressions
+ body="EcoreUtil.generateUUID()"/>
+ <expressions
+ body="EcoreUtil.generateUUID()"/>
+ <expressions
+ xsi:type="gmfgen:GenConstraint"
+ body="getEventDefinitions().size() == 1 && getEventDefinitions().get(0) instanceof MessageEventDefinition"/>
+ <expressions
+ body="EcoreUtil.generateUUID()"/>
+ <expressions
+ body="getEventDefinitions().add(Bpmn2Factory.INSTANCE.createMessageEventDefinition());"/>
+ <expressions
+ xsi:type="gmfgen:GenConstraint"
+ body="getEventDefinitions().size() == 1 && getEventDefinitions().get(0) instanceof TerminateEventDefinition"/>
+ <expressions
+ body="EcoreUtil.generateUUID()"/>
+ <expressions
+ body="getEventDefinitions().add(Bpmn2Factory.INSTANCE.createTerminateEventDefinition());"/>
+ <expressions
+ xsi:type="gmfgen:GenConstraint"
+ body="getEventDefinitions().size() == 1 && getEventDefinitions().get(0) instanceof MessageEventDefinition"/>
+ <expressions
+ body="EcoreUtil.generateUUID()"/>
+ <expressions
+ body="getEventDefinitions().add(Bpmn2Factory.INSTANCE.createMessageEventDefinition());"/>
+ <expressions
+ xsi:type="gmfgen:GenConstraint"
+ body="getEventDefinitions().size() == 1 && getEventDefinitions().get(0) instanceof MessageEventDefinition"/>
+ <expressions
+ body="EcoreUtil.generateUUID()"/>
+ <expressions
+ body="getEventDefinitions().add(Bpmn2Factory.INSTANCE.createTerminateEventDefinition());"/>
+ <expressions
+ xsi:type="gmfgen:GenConstraint"
+ body="getEventDefinitions().size() == 1 && getEventDefinitions().get(0) instanceof TimerEventDefinition"/>
+ <expressions
+ body="EcoreUtil.generateUUID()"/>
+ <expressions
+ body="getEventDefinitions().add(Bpmn2Factory.INSTANCE.createTimerEventDefinition());"/>
+ <expressions
+ xsi:type="gmfgen:GenConstraint"
+ body="getEventDefinitions().size() == 1 && getEventDefinitions().get(0) instanceof ErrorEventDefinition"/>
+ <expressions
+ body="EcoreUtil.generateUUID()"/>
+ <expressions
+ body="getEventDefinitions().add(Bpmn2Factory.INSTANCE.createErrorEventDefinition());"/>
+ <expressions
+ body="EcoreUtil.generateUUID()"/>
+ <expressions
+ body="EcoreUtil.generateUUID()"/>
+ <expressions
+ body="EcoreUtil.generateUUID()"/>
+ <expressions
+ body="EcoreUtil.generateUUID()"/>
+ <expressions
+ body="EcoreUtil.generateUUID()"/>
+ </providers>
+ </expressionProviders>
+ <labelParsers
+ extensibleViaService="true">
+ <implementations
+ xsi:type="gmfgen:PredefinedParser"
+ uses="//@diagram/@topLevelNodes.0/@labels.0/(a)modelFacet //@diagram/@topLevelNodes.1/@labels.0/(a)modelFacet //@diagram/@topLevelNodes.13/@labels.0/(a)modelFacet //@diagram/@topLevelNodes.14/@labels.0/(a)modelFacet //@diagram/@childNodes.1/@labels.0/(a)modelFacet //@diagram/@childNodes.2/@labels.0/(a)modelFacet //@diagram/@childNodes.13/@labels.0/(a)modelFacet //@diagram/@childNodes.14/@labels.0/(a)modelFacet"/>
+ </labelParsers>
+ <contextMenus
+ context="//@diagram">
+ <items
+ xsi:type="gmfgen:LoadResourceAction"/>
+ </contextMenus>
+</gmfgen:GenEditorGenerator>
Property changes on: trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/model/bpmn.process.gmfgen
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/model/bpmn.process.gmfmap
===================================================================
--- trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/model/bpmn.process.gmfmap (rev 0)
+++ trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/model/bpmn.process.gmfmap 2010-09-08 09:55:50 UTC (rev 24805)
@@ -0,0 +1,677 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<gmfmap:Mapping xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
+ xmlns:gmfmap="http://www.eclipse.org/gmf/2008/mappings"
+ xmlns:gmftool="http://www.eclipse.org/gmf/2005/ToolDefinition">
+ <nodes>
+ <containmentFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//FlowElementsContainer/flowElements"/>
+ <ownedChild>
+ <domainMetaElement
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//UserTask"/>
+ <domainInitializer
+ xsi:type="gmfmap:FeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfmap:FeatureValueSpec">
+ <feature
+ xsi:type="ecore:EAttribute"
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//BaseElement/id"/>
+ <value
+ body="EcoreUtil.generateUUID()"
+ language="java"/>
+ </initializers>
+ </domainInitializer>
+ <labelMappings
+ xsi:type="gmfmap:FeatureLabelMapping">
+ <diagramLabel
+ href="bpmn.gmfgraph#RoundedRectangleLabel"/>
+ <features
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//FlowElement/name"/>
+ </labelMappings>
+ <tool
+ xsi:type="gmftool:CreationTool"
+ href="bpmn.process.gmftool#//@palette/@tools.0/(a)tools.0"/>
+ <diagramNode
+ href="bpmn.gmfgraph#UserTask"/>
+ </ownedChild>
+ </nodes>
+ <nodes>
+ <containmentFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//FlowElementsContainer/flowElements"/>
+ <ownedChild>
+ <domainMetaElement
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//ServiceTask"/>
+ <domainInitializer
+ xsi:type="gmfmap:FeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfmap:FeatureValueSpec">
+ <feature
+ xsi:type="ecore:EAttribute"
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//BaseElement/id"/>
+ <value
+ body="EcoreUtil.generateUUID()"
+ language="java"/>
+ </initializers>
+ </domainInitializer>
+ <labelMappings
+ xsi:type="gmfmap:FeatureLabelMapping">
+ <diagramLabel
+ href="bpmn.gmfgraph#RoundedRectangleLabel"/>
+ <features
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//FlowElement/name"/>
+ </labelMappings>
+ <tool
+ xsi:type="gmftool:CreationTool"
+ href="bpmn.process.gmftool#//@palette/@tools.0/(a)tools.1"/>
+ <diagramNode
+ href="bpmn.gmfgraph#ServiceTask"/>
+ </ownedChild>
+ </nodes>
+ <nodes>
+ <containmentFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//FlowElementsContainer/flowElements"/>
+ <ownedChild>
+ <domainMetaElement
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//StartEvent"/>
+ <domainSpecialization
+ body="getEventDefinitions().isEmpty()"
+ language="java"/>
+ <domainInitializer
+ xsi:type="gmfmap:FeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfmap:FeatureValueSpec">
+ <feature
+ xsi:type="ecore:EAttribute"
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//BaseElement/id"/>
+ <value
+ body="EcoreUtil.generateUUID()"
+ language="java"/>
+ </initializers>
+ </domainInitializer>
+ <tool
+ xsi:type="gmftool:CreationTool"
+ href="bpmn.process.gmftool#//@palette/@tools.0/@tools.4/@tools.0/(a)tools.0"/>
+ <diagramNode
+ href="bpmn.gmfgraph#StartEvent"/>
+ </ownedChild>
+ </nodes>
+ <nodes>
+ <containmentFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//FlowElementsContainer/flowElements"/>
+ <ownedChild>
+ <domainMetaElement
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//StartEvent"/>
+ <domainSpecialization
+ body="getEventDefinitions().size() == 1 && getEventDefinitions().get(0) instanceof MessageEventDefinition"
+ language="java"/>
+ <domainInitializer
+ xsi:type="gmfmap:FeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfmap:FeatureValueSpec">
+ <feature
+ xsi:type="ecore:EAttribute"
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//BaseElement/id"/>
+ <value
+ body="EcoreUtil.generateUUID()"
+ language="java"/>
+ </initializers>
+ <initializers
+ xsi:type="gmfmap:FeatureValueSpec">
+ <feature
+ xsi:type="ecore:EReference"
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//CatchEvent/eventDefinitions"/>
+ <value
+ body="getEventDefinitions().add(Bpmn2Factory.INSTANCE.createMessageEventDefinition());"
+ language="java"/>
+ </initializers>
+ </domainInitializer>
+ <tool
+ xsi:type="gmftool:CreationTool"
+ href="bpmn.process.gmftool#//@palette/@tools.0/@tools.4/@tools.0/(a)tools.1"/>
+ <diagramNode
+ href="bpmn.gmfgraph#MessageStartEvent"/>
+ </ownedChild>
+ </nodes>
+ <nodes>
+ <containmentFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//FlowElementsContainer/flowElements"/>
+ <ownedChild>
+ <domainMetaElement
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//EndEvent"/>
+ <domainSpecialization
+ body="getEventDefinitions().isEmpty()"
+ language="java"/>
+ <domainInitializer
+ xsi:type="gmfmap:FeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfmap:FeatureValueSpec">
+ <feature
+ xsi:type="ecore:EAttribute"
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//BaseElement/id"/>
+ <value
+ body="EcoreUtil.generateUUID()"
+ language="java"/>
+ </initializers>
+ </domainInitializer>
+ <tool
+ xsi:type="gmftool:CreationTool"
+ href="bpmn.process.gmftool#//@palette/@tools.0/@tools.4/@tools.2/(a)tools.0"/>
+ <diagramNode
+ href="bpmn.gmfgraph#EndEvent"/>
+ </ownedChild>
+ </nodes>
+ <nodes>
+ <containmentFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//FlowElementsContainer/flowElements"/>
+ <ownedChild>
+ <domainMetaElement
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//ExclusiveGateway"/>
+ <domainInitializer
+ xsi:type="gmfmap:FeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfmap:FeatureValueSpec">
+ <feature
+ xsi:type="ecore:EAttribute"
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//BaseElement/id"/>
+ <value
+ body="EcoreUtil.generateUUID()"
+ language="java"/>
+ </initializers>
+ </domainInitializer>
+ <tool
+ xsi:type="gmftool:CreationTool"
+ href="bpmn.process.gmftool#//@palette/@tools.0/@tools.3/(a)tools.0"/>
+ <diagramNode
+ href="bpmn.gmfgraph#ExclusiveGateway"/>
+ </ownedChild>
+ </nodes>
+ <nodes>
+ <containmentFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//FlowElementsContainer/flowElements"/>
+ <ownedChild>
+ <domainMetaElement
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//ParallelGateway"/>
+ <domainInitializer
+ xsi:type="gmfmap:FeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfmap:FeatureValueSpec">
+ <feature
+ xsi:type="ecore:EAttribute"
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//BaseElement/id"/>
+ <value
+ body="EcoreUtil.generateUUID()"
+ language="java"/>
+ </initializers>
+ </domainInitializer>
+ <tool
+ xsi:type="gmftool:CreationTool"
+ href="bpmn.process.gmftool#//@palette/@tools.0/@tools.3/(a)tools.1"/>
+ <diagramNode
+ href="bpmn.gmfgraph#ParallelGateway"/>
+ </ownedChild>
+ </nodes>
+ <nodes>
+ <containmentFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//FlowElementsContainer/flowElements"/>
+ <ownedChild>
+ <domainMetaElement
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//EndEvent"/>
+ <domainSpecialization
+ body="getEventDefinitions().size() == 1 && getEventDefinitions().get(0) instanceof MessageEventDefinition"
+ language="java"/>
+ <domainInitializer
+ xsi:type="gmfmap:FeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfmap:FeatureValueSpec">
+ <feature
+ xsi:type="ecore:EAttribute"
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//BaseElement/id"/>
+ <value
+ body="EcoreUtil.generateUUID()"
+ language="java"/>
+ </initializers>
+ <initializers
+ xsi:type="gmfmap:FeatureValueSpec">
+ <feature
+ xsi:type="ecore:EReference"
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//ThrowEvent/eventDefinitions"/>
+ <value
+ body="getEventDefinitions().add(Bpmn2Factory.INSTANCE.createMessageEventDefinition());"
+ language="java"/>
+ </initializers>
+ </domainInitializer>
+ <tool
+ xsi:type="gmftool:CreationTool"
+ href="bpmn.process.gmftool#//@palette/@tools.0/@tools.4/@tools.2/(a)tools.1"/>
+ <diagramNode
+ href="bpmn.gmfgraph#MessageEndEvent"/>
+ </ownedChild>
+ </nodes>
+ <nodes>
+ <containmentFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//FlowElementsContainer/flowElements"/>
+ <ownedChild>
+ <domainMetaElement
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//EndEvent"/>
+ <domainSpecialization
+ body="getEventDefinitions().size() == 1 && getEventDefinitions().get(0) instanceof TerminateEventDefinition"
+ language="java"/>
+ <domainInitializer
+ xsi:type="gmfmap:FeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfmap:FeatureValueSpec">
+ <feature
+ xsi:type="ecore:EAttribute"
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//BaseElement/id"/>
+ <value
+ body="EcoreUtil.generateUUID()"
+ language="java"/>
+ </initializers>
+ <initializers
+ xsi:type="gmfmap:FeatureValueSpec">
+ <feature
+ xsi:type="ecore:EReference"
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//ThrowEvent/eventDefinitions"/>
+ <value
+ body="getEventDefinitions().add(Bpmn2Factory.INSTANCE.createTerminateEventDefinition());"
+ language="java"/>
+ </initializers>
+ </domainInitializer>
+ <tool
+ xsi:type="gmftool:CreationTool"
+ href="bpmn.process.gmftool#//@palette/@tools.0/@tools.4/@tools.2/(a)tools.2"/>
+ <diagramNode
+ href="bpmn.gmfgraph#TerminateEndEvent"/>
+ </ownedChild>
+ </nodes>
+ <nodes>
+ <containmentFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//FlowElementsContainer/flowElements"/>
+ <ownedChild>
+ <domainMetaElement
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//IntermediateCatchEvent"/>
+ <domainSpecialization
+ body="getEventDefinitions().size() == 1 && getEventDefinitions().get(0) instanceof MessageEventDefinition"
+ language="java"/>
+ <domainInitializer
+ xsi:type="gmfmap:FeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfmap:FeatureValueSpec">
+ <feature
+ xsi:type="ecore:EAttribute"
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//BaseElement/id"/>
+ <value
+ body="EcoreUtil.generateUUID()"
+ language="java"/>
+ </initializers>
+ <initializers
+ xsi:type="gmfmap:FeatureValueSpec">
+ <feature
+ xsi:type="ecore:EReference"
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//CatchEvent/eventDefinitions"/>
+ <value
+ body="getEventDefinitions().add(Bpmn2Factory.INSTANCE.createMessageEventDefinition());"
+ language="java"/>
+ </initializers>
+ </domainInitializer>
+ <tool
+ xsi:type="gmftool:CreationTool"
+ href="bpmn.process.gmftool#//@palette/@tools.0/@tools.4/@tools.1/(a)tools.0"/>
+ <diagramNode
+ href="bpmn.gmfgraph#MessageCatchIntermediateEvent"/>
+ </ownedChild>
+ </nodes>
+ <nodes>
+ <containmentFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//FlowElementsContainer/flowElements"/>
+ <ownedChild>
+ <domainMetaElement
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//IntermediateThrowEvent"/>
+ <domainSpecialization
+ body="getEventDefinitions().size() == 1 && getEventDefinitions().get(0) instanceof MessageEventDefinition"
+ language="java"/>
+ <domainInitializer
+ xsi:type="gmfmap:FeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfmap:FeatureValueSpec">
+ <feature
+ xsi:type="ecore:EAttribute"
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//BaseElement/id"/>
+ <value
+ body="EcoreUtil.generateUUID()"
+ language="java"/>
+ </initializers>
+ <initializers
+ xsi:type="gmfmap:FeatureValueSpec">
+ <feature
+ xsi:type="ecore:EReference"
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//ThrowEvent/eventDefinitions"/>
+ <value
+ body="getEventDefinitions().add(Bpmn2Factory.INSTANCE.createTerminateEventDefinition());"
+ language="java"/>
+ </initializers>
+ </domainInitializer>
+ <tool
+ xsi:type="gmftool:CreationTool"
+ href="bpmn.process.gmftool#//@palette/@tools.0/@tools.4/@tools.1/(a)tools.1"/>
+ <diagramNode
+ href="bpmn.gmfgraph#MessageThrowIntermediateEvent"/>
+ </ownedChild>
+ </nodes>
+ <nodes>
+ <containmentFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//FlowElementsContainer/flowElements"/>
+ <ownedChild>
+ <domainMetaElement
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//IntermediateCatchEvent"/>
+ <domainSpecialization
+ body="getEventDefinitions().size() == 1 && getEventDefinitions().get(0) instanceof TimerEventDefinition"
+ language="java"/>
+ <domainInitializer
+ xsi:type="gmfmap:FeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfmap:FeatureValueSpec">
+ <feature
+ xsi:type="ecore:EAttribute"
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//BaseElement/id"/>
+ <value
+ body="EcoreUtil.generateUUID()"
+ language="java"/>
+ </initializers>
+ <initializers
+ xsi:type="gmfmap:FeatureValueSpec">
+ <feature
+ xsi:type="ecore:EReference"
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//CatchEvent/eventDefinitions"/>
+ <value
+ body="getEventDefinitions().add(Bpmn2Factory.INSTANCE.createTimerEventDefinition());"
+ language="java"/>
+ </initializers>
+ </domainInitializer>
+ <tool
+ xsi:type="gmftool:CreationTool"
+ href="bpmn.process.gmftool#//@palette/@tools.0/@tools.4/@tools.1/(a)tools.2"/>
+ <diagramNode
+ href="bpmn.gmfgraph#TimerCatchIntermediateEvent"/>
+ </ownedChild>
+ </nodes>
+ <nodes>
+ <containmentFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//FlowElementsContainer/flowElements"/>
+ <ownedChild>
+ <domainMetaElement
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//IntermediateCatchEvent"/>
+ <domainSpecialization
+ body="getEventDefinitions().size() == 1 && getEventDefinitions().get(0) instanceof ErrorEventDefinition"
+ language="java"/>
+ <domainInitializer
+ xsi:type="gmfmap:FeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfmap:FeatureValueSpec">
+ <feature
+ xsi:type="ecore:EAttribute"
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//BaseElement/id"/>
+ <value
+ body="EcoreUtil.generateUUID()"
+ language="java"/>
+ </initializers>
+ <initializers
+ xsi:type="gmfmap:FeatureValueSpec">
+ <feature
+ xsi:type="ecore:EReference"
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//CatchEvent/eventDefinitions"/>
+ <value
+ body="getEventDefinitions().add(Bpmn2Factory.INSTANCE.createErrorEventDefinition());"
+ language="java"/>
+ </initializers>
+ </domainInitializer>
+ <tool
+ xsi:type="gmftool:CreationTool"
+ href="bpmn.process.gmftool#//@palette/@tools.0/@tools.4/@tools.1/(a)tools.3"/>
+ <diagramNode
+ href="bpmn.gmfgraph#ErrorCatchIntermediateEvent"/>
+ </ownedChild>
+ </nodes>
+ <nodes>
+ <containmentFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//FlowElementsContainer/flowElements"/>
+ <childrenFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//FlowElementsContainer/flowElements"/>
+ <ownedChild>
+ <domainMetaElement
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//DataObject"/>
+ <domainInitializer
+ xsi:type="gmfmap:FeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfmap:FeatureValueSpec">
+ <feature
+ xsi:type="ecore:EAttribute"
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//BaseElement/id"/>
+ <value
+ body="EcoreUtil.generateUUID()"
+ language="java"/>
+ </initializers>
+ </domainInitializer>
+ <labelMappings
+ xsi:type="gmfmap:FeatureLabelMapping">
+ <diagramLabel
+ href="bpmn.gmfgraph#DataObjectLabel"/>
+ <features
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//FlowElement/name"/>
+ </labelMappings>
+ <tool
+ xsi:type="gmftool:CreationTool"
+ href="bpmn.process.gmftool#//@palette/@tools.0/@tools.5/(a)tools.0"/>
+ <diagramNode
+ href="bpmn.gmfgraph#DataObject"/>
+ </ownedChild>
+ </nodes>
+ <nodes>
+ <containmentFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//Process/artifacts"/>
+ <ownedChild>
+ <domainMetaElement
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//TextAnnotation"/>
+ <domainInitializer
+ xsi:type="gmfmap:FeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfmap:FeatureValueSpec">
+ <feature
+ xsi:type="ecore:EAttribute"
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//BaseElement/id"/>
+ <value
+ body="EcoreUtil.generateUUID()"
+ language="java"/>
+ </initializers>
+ </domainInitializer>
+ <labelMappings
+ xsi:type="gmfmap:FeatureLabelMapping"
+ editPattern="">
+ <diagramLabel
+ href="bpmn.gmfgraph#TextAnnotationLabel"/>
+ <features
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//TextAnnotation/text"/>
+ </labelMappings>
+ <tool
+ xsi:type="gmftool:CreationTool"
+ href="bpmn.process.gmftool#//@palette/@tools.0/@tools.5/(a)tools.1"/>
+ <diagramNode
+ href="bpmn.gmfgraph#TextAnnotation"/>
+ </ownedChild>
+ </nodes>
+ <nodes>
+ <containmentFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//FlowElementsContainer/flowElements"/>
+ <ownedChild>
+ <domainMetaElement
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//SubProcess"/>
+ <domainInitializer
+ xsi:type="gmfmap:FeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfmap:FeatureValueSpec">
+ <feature
+ xsi:type="ecore:EAttribute"
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//BaseElement/id"/>
+ <value
+ body="EcoreUtil.generateUUID()"
+ language="java"/>
+ </initializers>
+ </domainInitializer>
+ <tool
+ xsi:type="gmftool:CreationTool"
+ href="bpmn.process.gmftool#//@palette/@tools.0/(a)tools.2"/>
+ <diagramNode
+ href="bpmn.gmfgraph#ExpandedSubprocess"/>
+ <children
+ referencedChild="//@nodes.15/(a)ownedChild">
+ <containmentFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//FlowElementsContainer/flowElements"/>
+ </children>
+ <children
+ referencedChild="//@nodes.0/(a)ownedChild">
+ <containmentFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//FlowElementsContainer/flowElements"/>
+ </children>
+ <children
+ referencedChild="//@nodes.1/(a)ownedChild">
+ <containmentFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//FlowElementsContainer/flowElements"/>
+ </children>
+ <children
+ referencedChild="//@nodes.2/(a)ownedChild">
+ <containmentFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//FlowElementsContainer/flowElements"/>
+ </children>
+ <children
+ referencedChild="//@nodes.3/(a)ownedChild">
+ <containmentFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//FlowElementsContainer/flowElements"/>
+ </children>
+ <children
+ referencedChild="//@nodes.4/(a)ownedChild">
+ <containmentFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//FlowElementsContainer/flowElements"/>
+ </children>
+ <children
+ referencedChild="//@nodes.5/(a)ownedChild">
+ <containmentFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//FlowElementsContainer/flowElements"/>
+ </children>
+ <children
+ referencedChild="//@nodes.6/(a)ownedChild">
+ <containmentFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//FlowElementsContainer/flowElements"/>
+ </children>
+ <children
+ referencedChild="//@nodes.7/(a)ownedChild">
+ <containmentFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//FlowElementsContainer/flowElements"/>
+ </children>
+ <children
+ referencedChild="//@nodes.8/(a)ownedChild">
+ <containmentFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//FlowElementsContainer/flowElements"/>
+ </children>
+ <children
+ referencedChild="//@nodes.9/(a)ownedChild">
+ <containmentFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//FlowElementsContainer/flowElements"/>
+ </children>
+ <children
+ referencedChild="//@nodes.10/(a)ownedChild">
+ <containmentFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//FlowElementsContainer/flowElements"/>
+ </children>
+ <children
+ referencedChild="//@nodes.11/(a)ownedChild">
+ <containmentFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//FlowElementsContainer/flowElements"/>
+ </children>
+ <children
+ referencedChild="//@nodes.9/(a)ownedChild">
+ <containmentFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//FlowElementsContainer/flowElements"/>
+ </children>
+ <children
+ referencedChild="//@nodes.13/(a)ownedChild">
+ <containmentFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//FlowElementsContainer/flowElements"/>
+ </children>
+ <children
+ referencedChild="//@nodes.14/(a)ownedChild">
+ <containmentFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//SubProcess/artifacts"/>
+ </children>
+ </ownedChild>
+ </nodes>
+ <links>
+ <domainMetaElement
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//SequenceFlow"/>
+ <domainInitializer
+ xsi:type="gmfmap:FeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfmap:FeatureValueSpec">
+ <feature
+ xsi:type="ecore:EAttribute"
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//BaseElement/id"/>
+ <value
+ body="EcoreUtil.generateUUID()"
+ language="java"/>
+ </initializers>
+ </domainInitializer>
+ <containmentFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//FlowElementsContainer/flowElements"/>
+ <tool
+ xsi:type="gmftool:CreationTool"
+ href="bpmn.process.gmftool#//@palette/@tools.1/@tools.0/(a)tools.0"/>
+ <diagramLink
+ href="bpmn.gmfgraph#SequenceFlow"/>
+ <sourceMetaFeature
+ xsi:type="ecore:EReference"
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//SequenceFlow/sourceRef"/>
+ <linkMetaFeature
+ xsi:type="ecore:EReference"
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//SequenceFlow/targetRef"/>
+ </links>
+ <links>
+ <domainMetaElement
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//Association"/>
+ <domainInitializer
+ xsi:type="gmfmap:FeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfmap:FeatureValueSpec">
+ <feature
+ xsi:type="ecore:EAttribute"
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//BaseElement/id"/>
+ <value
+ body="EcoreUtil.generateUUID()"
+ language="java"/>
+ </initializers>
+ </domainInitializer>
+ <containmentFeature
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//Process/artifacts"/>
+ <tool
+ xsi:type="gmftool:CreationTool"
+ href="bpmn.process.gmftool#//@palette/@tools.1/@tools.1/(a)tools.0"/>
+ <diagramLink
+ href="bpmn.gmfgraph#Association"/>
+ <sourceMetaFeature
+ xsi:type="ecore:EReference"
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//Association/sourceRef"/>
+ <linkMetaFeature
+ xsi:type="ecore:EReference"
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//Association/targetRef"/>
+ </links>
+ <diagram>
+ <diagramCanvas
+ href="bpmn.gmfgraph#BPMN"/>
+ <domainModel
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#/"/>
+ <domainMetaElement
+ href="../../org.eclipse.bpmn2/model/BPMN20.ecore#//Process"/>
+ <palette
+ href="bpmn.process.gmftool#//@palette"/>
+ </diagram>
+</gmfmap:Mapping>
Property changes on: trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/model/bpmn.process.gmfmap
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/model/bpmn.process.gmftool
===================================================================
--- trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/model/bpmn.process.gmftool (rev 0)
+++ trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/model/bpmn.process.gmftool 2010-09-08 09:55:50 UTC (rev 24805)
@@ -0,0 +1,109 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<gmftool:ToolRegistry xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:gmftool="http://www.eclipse.org/gmf/2005/ToolDefinition">
+ <palette
+ title="ProcessPalette">
+ <tools
+ xsi:type="gmftool:ToolGroup"
+ title="Nodes">
+ <tools
+ xsi:type="gmftool:CreationTool"
+ title="User Task"/>
+ <tools
+ xsi:type="gmftool:CreationTool"
+ title="Service Task"/>
+ <tools
+ xsi:type="gmftool:CreationTool"
+ title="Sub-Process"/>
+ <tools
+ xsi:type="gmftool:ToolGroup"
+ title="Gateways"
+ description=""
+ stack="true">
+ <tools
+ xsi:type="gmftool:CreationTool"
+ title="Exclusive"/>
+ <tools
+ xsi:type="gmftool:CreationTool"
+ title="Parallel"/>
+ </tools>
+ <tools
+ xsi:type="gmftool:ToolGroup"
+ title="Events">
+ <tools
+ xsi:type="gmftool:ToolGroup"
+ title="Start Events"
+ stack="true">
+ <tools
+ xsi:type="gmftool:CreationTool"
+ title="Start"/>
+ <tools
+ xsi:type="gmftool:CreationTool"
+ title="Message Start"/>
+ </tools>
+ <tools
+ xsi:type="gmftool:ToolGroup"
+ title="Intermediate Events"
+ stack="true">
+ <tools
+ xsi:type="gmftool:CreationTool"
+ title="Message Catch"/>
+ <tools
+ xsi:type="gmftool:CreationTool"
+ title="Message Throw"/>
+ <tools
+ xsi:type="gmftool:CreationTool"
+ title="Timer Catch"
+ description=""/>
+ <tools
+ xsi:type="gmftool:CreationTool"
+ title="Error Catch"/>
+ </tools>
+ <tools
+ xsi:type="gmftool:ToolGroup"
+ title="End Events"
+ stack="true">
+ <tools
+ xsi:type="gmftool:CreationTool"
+ title="End"/>
+ <tools
+ xsi:type="gmftool:CreationTool"
+ title="Message End"/>
+ <tools
+ xsi:type="gmftool:CreationTool"
+ title="Terminate"/>
+ </tools>
+ </tools>
+ <tools
+ xsi:type="gmftool:ToolGroup"
+ title="Artifacts">
+ <tools
+ xsi:type="gmftool:CreationTool"
+ title="Data Object"/>
+ <tools
+ xsi:type="gmftool:CreationTool"
+ title="Text Annotation"/>
+ </tools>
+ </tools>
+ <tools
+ xsi:type="gmftool:ToolGroup"
+ title="Links">
+ <tools
+ xsi:type="gmftool:ToolGroup"
+ title="Sequence Flow Links">
+ <tools
+ xsi:type="gmftool:CreationTool"
+ title="Sequence Flow"/>
+ </tools>
+ <tools
+ xsi:type="gmftool:ToolGroup"
+ title="Association Links">
+ <tools
+ xsi:type="gmftool:CreationTool"
+ title="Association"/>
+ </tools>
+ </tools>
+ </palette>
+</gmftool:ToolRegistry>
Property changes on: trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/model/bpmn.process.gmftool
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/model/bpmn.process.trace
===================================================================
--- trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/model/bpmn.process.trace (rev 0)
+++ trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/model/bpmn.process.trace 2010-09-08 09:55:50 UTC (rev 24805)
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<trace:TraceModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:trace="http://www.eclipse.org/gmf/2006/Trace">
+ <nodeTraces visualID="2001" queryText="(let _eClass_:ecore::EClass = modelFacet.metaClass.ecoreClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'UserTask') and (let _containmentMF_:ecore::EStructuralFeature = modelFacet.containmentMetaFeature.ecoreFeature in (let _eClass_:ecore::EClass = _containmentMF_.eContainingClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'FlowElementsContainer') and _containmentMF_.name = 'flowElements')">
+ <nodeLabelTraces visualID="5001" queryText="true"/>
+ </nodeTraces>
+ <nodeTraces visualID="2002" queryText="(let _eClass_:ecore::EClass = modelFacet.metaClass.ecoreClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'ServiceTask') and (let _containmentMF_:ecore::EStructuralFeature = modelFacet.containmentMetaFeature.ecoreFeature in (let _eClass_:ecore::EClass = _containmentMF_.eContainingClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'FlowElementsContainer') and _containmentMF_.name = 'flowElements')">
+ <nodeLabelTraces visualID="5002" queryText="true"/>
+ </nodeTraces>
+ <nodeTraces visualID="2003" queryText="(let _eClass_:ecore::EClass = modelFacet.metaClass.ecoreClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'StartEvent') and (let _containmentMF_:ecore::EStructuralFeature = modelFacet.containmentMetaFeature.ecoreFeature in (let _eClass_:ecore::EClass = _containmentMF_.eContainingClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'FlowElementsContainer') and _containmentMF_.name = 'flowElements')"/>
+ <nodeTraces visualID="2004" queryText="(let _eClass_:ecore::EClass = modelFacet.metaClass.ecoreClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'EndEvent') and (let _containmentMF_:ecore::EStructuralFeature = modelFacet.containmentMetaFeature.ecoreFeature in (let _eClass_:ecore::EClass = _containmentMF_.eContainingClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'FlowElementsContainer') and _containmentMF_.name = 'flowElements')"/>
+ <nodeTraces visualID="2005" queryText="(let _eClass_:ecore::EClass = modelFacet.metaClass.ecoreClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'ExclusiveGateway') and (let _containmentMF_:ecore::EStructuralFeature = modelFacet.containmentMetaFeature.ecoreFeature in (let _eClass_:ecore::EClass = _containmentMF_.eContainingClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'FlowElementsContainer') and _containmentMF_.name = 'flowElements')"/>
+ <nodeTraces visualID="2006" queryText="(let _eClass_:ecore::EClass = modelFacet.metaClass.ecoreClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'ParallelGateway') and (let _containmentMF_:ecore::EStructuralFeature = modelFacet.containmentMetaFeature.ecoreFeature in (let _eClass_:ecore::EClass = _containmentMF_.eContainingClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'FlowElementsContainer') and _containmentMF_.name = 'flowElements')"/>
+ <nodeTraces visualID="2007" queryText="(let _eClass_:ecore::EClass = modelFacet.metaClass.ecoreClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'StartEvent') and (let _containmentMF_:ecore::EStructuralFeature = modelFacet.containmentMetaFeature.ecoreFeature in (let _eClass_:ecore::EClass = _containmentMF_.eContainingClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'FlowElementsContainer') and _containmentMF_.name = 'flowElements')"/>
+ <nodeTraces visualID="2008" queryText="(let _eClass_:ecore::EClass = modelFacet.metaClass.ecoreClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'EndEvent') and (let _containmentMF_:ecore::EStructuralFeature = modelFacet.containmentMetaFeature.ecoreFeature in (let _eClass_:ecore::EClass = _containmentMF_.eContainingClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'FlowElementsContainer') and _containmentMF_.name = 'flowElements')"/>
+ <nodeTraces visualID="2009" queryText="(let _eClass_:ecore::EClass = modelFacet.metaClass.ecoreClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'EndEvent') and (let _containmentMF_:ecore::EStructuralFeature = modelFacet.containmentMetaFeature.ecoreFeature in (let _eClass_:ecore::EClass = _containmentMF_.eContainingClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'FlowElementsContainer') and _containmentMF_.name = 'flowElements')"/>
+ <nodeTraces visualID="2010" queryText="(let _eClass_:ecore::EClass = modelFacet.metaClass.ecoreClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'IntermediateCatchEvent') and (let _containmentMF_:ecore::EStructuralFeature = modelFacet.containmentMetaFeature.ecoreFeature in (let _eClass_:ecore::EClass = _containmentMF_.eContainingClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'FlowElementsContainer') and _containmentMF_.name = 'flowElements')"/>
+ <nodeTraces visualID="2011" queryText="(let _eClass_:ecore::EClass = modelFacet.metaClass.ecoreClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'IntermediateThrowEvent') and (let _containmentMF_:ecore::EStructuralFeature = modelFacet.containmentMetaFeature.ecoreFeature in (let _eClass_:ecore::EClass = _containmentMF_.eContainingClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'FlowElementsContainer') and _containmentMF_.name = 'flowElements')"/>
+ <nodeTraces visualID="2012" queryText="(let _eClass_:ecore::EClass = modelFacet.metaClass.ecoreClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'IntermediateCatchEvent') and (let _containmentMF_:ecore::EStructuralFeature = modelFacet.containmentMetaFeature.ecoreFeature in (let _eClass_:ecore::EClass = _containmentMF_.eContainingClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'FlowElementsContainer') and _containmentMF_.name = 'flowElements')"/>
+ <nodeTraces visualID="2013" queryText="(let _eClass_:ecore::EClass = modelFacet.metaClass.ecoreClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'IntermediateCatchEvent') and (let _containmentMF_:ecore::EStructuralFeature = modelFacet.containmentMetaFeature.ecoreFeature in (let _eClass_:ecore::EClass = _containmentMF_.eContainingClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'FlowElementsContainer') and _containmentMF_.name = 'flowElements')"/>
+ <nodeTraces visualID="2014" queryText="(let _eClass_:ecore::EClass = modelFacet.metaClass.ecoreClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'DataObject') and (let _containmentMF_:ecore::EStructuralFeature = modelFacet.containmentMetaFeature.ecoreFeature in (let _eClass_:ecore::EClass = _containmentMF_.eContainingClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'FlowElementsContainer') and _containmentMF_.name = 'flowElements')">
+ <nodeLabelTraces visualID="5003" queryText="true"/>
+ </nodeTraces>
+ <nodeTraces visualID="2015" queryText="(let _eClass_:ecore::EClass = modelFacet.metaClass.ecoreClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'TextAnnotation') and (let _containmentMF_:ecore::EStructuralFeature = modelFacet.containmentMetaFeature.ecoreFeature in (let _eClass_:ecore::EClass = _containmentMF_.eContainingClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'Process') and _containmentMF_.name = 'artifacts')">
+ <nodeLabelTraces visualID="5004" queryText="true"/>
+ </nodeTraces>
+ <nodeTraces visualID="2016" queryText="(let _eClass_:ecore::EClass = modelFacet.metaClass.ecoreClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'SubProcess') and (let _containmentMF_:ecore::EStructuralFeature = modelFacet.containmentMetaFeature.ecoreFeature in (let _eClass_:ecore::EClass = _containmentMF_.eContainingClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'FlowElementsContainer') and _containmentMF_.name = 'flowElements')"/>
+ <childNodeTraces visualID="3001" queryText="(let _eClass_:ecore::EClass = modelFacet.metaClass.ecoreClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'SubProcess') and (let _containmentMF_:ecore::EStructuralFeature = modelFacet.containmentMetaFeature.ecoreFeature in (let _eClass_:ecore::EClass = _containmentMF_.eContainingClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'FlowElementsContainer') and _containmentMF_.name = 'flowElements')"/>
+ <childNodeTraces visualID="3002" queryText="(let _eClass_:ecore::EClass = modelFacet.metaClass.ecoreClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'UserTask') and (let _containmentMF_:ecore::EStructuralFeature = modelFacet.containmentMetaFeature.ecoreFeature in (let _eClass_:ecore::EClass = _containmentMF_.eContainingClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'FlowElementsContainer') and _containmentMF_.name = 'flowElements')">
+ <nodeLabelTraces visualID="5005" queryText="true"/>
+ </childNodeTraces>
+ <childNodeTraces visualID="3003" queryText="(let _eClass_:ecore::EClass = modelFacet.metaClass.ecoreClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'StartEvent') and (let _containmentMF_:ecore::EStructuralFeature = modelFacet.containmentMetaFeature.ecoreFeature in (let _eClass_:ecore::EClass = _containmentMF_.eContainingClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'FlowElementsContainer') and _containmentMF_.name = 'flowElements')"/>
+ <childNodeTraces visualID="3004" queryText="(let _eClass_:ecore::EClass = modelFacet.metaClass.ecoreClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'ServiceTask') and (let _containmentMF_:ecore::EStructuralFeature = modelFacet.containmentMetaFeature.ecoreFeature in (let _eClass_:ecore::EClass = _containmentMF_.eContainingClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'FlowElementsContainer') and _containmentMF_.name = 'flowElements')">
+ <nodeLabelTraces visualID="5006" queryText="true"/>
+ </childNodeTraces>
+ <childNodeTraces visualID="3005" queryText="(let _eClass_:ecore::EClass = modelFacet.metaClass.ecoreClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'StartEvent') and (let _containmentMF_:ecore::EStructuralFeature = modelFacet.containmentMetaFeature.ecoreFeature in (let _eClass_:ecore::EClass = _containmentMF_.eContainingClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'FlowElementsContainer') and _containmentMF_.name = 'flowElements')"/>
+ <childNodeTraces visualID="3006" queryText="(let _eClass_:ecore::EClass = modelFacet.metaClass.ecoreClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'EndEvent') and (let _containmentMF_:ecore::EStructuralFeature = modelFacet.containmentMetaFeature.ecoreFeature in (let _eClass_:ecore::EClass = _containmentMF_.eContainingClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'FlowElementsContainer') and _containmentMF_.name = 'flowElements')"/>
+ <childNodeTraces visualID="3007" queryText="(let _eClass_:ecore::EClass = modelFacet.metaClass.ecoreClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'ExclusiveGateway') and (let _containmentMF_:ecore::EStructuralFeature = modelFacet.containmentMetaFeature.ecoreFeature in (let _eClass_:ecore::EClass = _containmentMF_.eContainingClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'FlowElementsContainer') and _containmentMF_.name = 'flowElements')"/>
+ <childNodeTraces visualID="3008" queryText="(let _eClass_:ecore::EClass = modelFacet.metaClass.ecoreClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'ParallelGateway') and (let _containmentMF_:ecore::EStructuralFeature = modelFacet.containmentMetaFeature.ecoreFeature in (let _eClass_:ecore::EClass = _containmentMF_.eContainingClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'FlowElementsContainer') and _containmentMF_.name = 'flowElements')"/>
+ <childNodeTraces visualID="3009" queryText="(let _eClass_:ecore::EClass = modelFacet.metaClass.ecoreClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'EndEvent') and (let _containmentMF_:ecore::EStructuralFeature = modelFacet.containmentMetaFeature.ecoreFeature in (let _eClass_:ecore::EClass = _containmentMF_.eContainingClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'FlowElementsContainer') and _containmentMF_.name = 'flowElements')"/>
+ <childNodeTraces visualID="3010" queryText="(let _eClass_:ecore::EClass = modelFacet.metaClass.ecoreClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'EndEvent') and (let _containmentMF_:ecore::EStructuralFeature = modelFacet.containmentMetaFeature.ecoreFeature in (let _eClass_:ecore::EClass = _containmentMF_.eContainingClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'FlowElementsContainer') and _containmentMF_.name = 'flowElements')"/>
+ <childNodeTraces visualID="3011" queryText="(let _eClass_:ecore::EClass = modelFacet.metaClass.ecoreClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'IntermediateCatchEvent') and (let _containmentMF_:ecore::EStructuralFeature = modelFacet.containmentMetaFeature.ecoreFeature in (let _eClass_:ecore::EClass = _containmentMF_.eContainingClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'FlowElementsContainer') and _containmentMF_.name = 'flowElements')"/>
+ <childNodeTraces visualID="3012" queryText="(let _eClass_:ecore::EClass = modelFacet.metaClass.ecoreClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'IntermediateThrowEvent') and (let _containmentMF_:ecore::EStructuralFeature = modelFacet.containmentMetaFeature.ecoreFeature in (let _eClass_:ecore::EClass = _containmentMF_.eContainingClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'FlowElementsContainer') and _containmentMF_.name = 'flowElements')"/>
+ <childNodeTraces visualID="3013" queryText="(let _eClass_:ecore::EClass = modelFacet.metaClass.ecoreClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'IntermediateCatchEvent') and (let _containmentMF_:ecore::EStructuralFeature = modelFacet.containmentMetaFeature.ecoreFeature in (let _eClass_:ecore::EClass = _containmentMF_.eContainingClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'FlowElementsContainer') and _containmentMF_.name = 'flowElements')"/>
+ <childNodeTraces visualID="3014" queryText="(let _eClass_:ecore::EClass = modelFacet.metaClass.ecoreClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'DataObject') and (let _containmentMF_:ecore::EStructuralFeature = modelFacet.containmentMetaFeature.ecoreFeature in (let _eClass_:ecore::EClass = _containmentMF_.eContainingClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'FlowElementsContainer') and _containmentMF_.name = 'flowElements')">
+ <nodeLabelTraces visualID="5007" queryText="true"/>
+ </childNodeTraces>
+ <childNodeTraces visualID="3015" queryText="(let _eClass_:ecore::EClass = modelFacet.metaClass.ecoreClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'TextAnnotation') and (let _containmentMF_:ecore::EStructuralFeature = modelFacet.containmentMetaFeature.ecoreFeature in (let _eClass_:ecore::EClass = _containmentMF_.eContainingClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'SubProcess') and _containmentMF_.name = 'artifacts')">
+ <nodeLabelTraces visualID="5008" queryText="true"/>
+ </childNodeTraces>
+ <linkTraces visualID="4001" queryText="modelFacet.oclIsKindOf(gmfgen::TypeLinkModelFacet) and (let _eClass_:ecore::EClass = modelFacet.oclAsType(gmfgen::TypeLinkModelFacet).metaClass.ecoreClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'SequenceFlow')"/>
+ <linkTraces visualID="4002" queryText="modelFacet.oclIsKindOf(gmfgen::TypeLinkModelFacet) and (let _eClass_:ecore::EClass = modelFacet.oclAsType(gmfgen::TypeLinkModelFacet).metaClass.ecoreClass in _eClass_.ePackage.nsURI = 'http://www.omg.org/spec/BPMN/20100524/MODEL-XMI' and _eClass_.name = 'Association')"/>
+</trace:TraceModel>
Property changes on: trunk/bpmn/plugins/org.jboss.tools.bpmn2.model/model/bpmn.process.trace
___________________________________________________________________
Name: svn:mime-type
+ text/plain
15 years, 7 months
JBoss Tools SVN: r24803 - in trunk/bpmn/tests/org.eclipse.bpmn2.tests: META-INF and 5 other directories.
by jbosstools-commits@lists.jboss.org
Author: koen.aers(a)jboss.com
Date: 2010-09-08 05:54:14 -0400 (Wed, 08 Sep 2010)
New Revision: 24803
Added:
trunk/bpmn/tests/org.eclipse.bpmn2.tests/.classpath
trunk/bpmn/tests/org.eclipse.bpmn2.tests/.gitignore
trunk/bpmn/tests/org.eclipse.bpmn2.tests/.project
trunk/bpmn/tests/org.eclipse.bpmn2.tests/META-INF/
trunk/bpmn/tests/org.eclipse.bpmn2.tests/META-INF/MANIFEST.MF
trunk/bpmn/tests/org.eclipse.bpmn2.tests/build.properties
trunk/bpmn/tests/org.eclipse.bpmn2.tests/src/
trunk/bpmn/tests/org.eclipse.bpmn2.tests/src/org/
trunk/bpmn/tests/org.eclipse.bpmn2.tests/src/org/eclipse/
trunk/bpmn/tests/org.eclipse.bpmn2.tests/src/org/eclipse/bpmn2/
trunk/bpmn/tests/org.eclipse.bpmn2.tests/src/org/eclipse/bpmn2/tests/
trunk/bpmn/tests/org.eclipse.bpmn2.tests/src/org/eclipse/bpmn2/tests/TestHelper.java
trunk/bpmn/tests/org.eclipse.bpmn2.tests/src/org/eclipse/bpmn2/tests/XMISerializationTest.java
trunk/bpmn/tests/org.eclipse.bpmn2.tests/src/org/eclipse/bpmn2/tests/XMLSerializationTest.java
Log:
initial upload
Added: trunk/bpmn/tests/org.eclipse.bpmn2.tests/.classpath
===================================================================
--- trunk/bpmn/tests/org.eclipse.bpmn2.tests/.classpath (rev 0)
+++ trunk/bpmn/tests/org.eclipse.bpmn2.tests/.classpath 2010-09-08 09:54:14 UTC (rev 24803)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Property changes on: trunk/bpmn/tests/org.eclipse.bpmn2.tests/.classpath
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/bpmn/tests/org.eclipse.bpmn2.tests/.gitignore
===================================================================
--- trunk/bpmn/tests/org.eclipse.bpmn2.tests/.gitignore (rev 0)
+++ trunk/bpmn/tests/org.eclipse.bpmn2.tests/.gitignore 2010-09-08 09:54:14 UTC (rev 24803)
@@ -0,0 +1,2 @@
+/lastResult
+/tmp
Added: trunk/bpmn/tests/org.eclipse.bpmn2.tests/.project
===================================================================
--- trunk/bpmn/tests/org.eclipse.bpmn2.tests/.project (rev 0)
+++ trunk/bpmn/tests/org.eclipse.bpmn2.tests/.project 2010-09-08 09:54:14 UTC (rev 24803)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.bpmn2.tests</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Property changes on: trunk/bpmn/tests/org.eclipse.bpmn2.tests/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/bpmn/tests/org.eclipse.bpmn2.tests/META-INF/MANIFEST.MF
===================================================================
--- trunk/bpmn/tests/org.eclipse.bpmn2.tests/META-INF/MANIFEST.MF (rev 0)
+++ trunk/bpmn/tests/org.eclipse.bpmn2.tests/META-INF/MANIFEST.MF 2010-09-08 09:54:14 UTC (rev 24803)
@@ -0,0 +1,9 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Test Plugin for BPMN2
+Bundle-SymbolicName: org.eclipse.bpmn2.tests
+Bundle-Version: 1.0.0.qualifier
+Bundle-Vendor: Eclipse Modeling Project
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Require-Bundle: org.junit,
+ org.eclipse.bpmn2;bundle-version="1.0.0"
Property changes on: trunk/bpmn/tests/org.eclipse.bpmn2.tests/META-INF/MANIFEST.MF
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/bpmn/tests/org.eclipse.bpmn2.tests/build.properties
===================================================================
--- trunk/bpmn/tests/org.eclipse.bpmn2.tests/build.properties (rev 0)
+++ trunk/bpmn/tests/org.eclipse.bpmn2.tests/build.properties 2010-09-08 09:54:14 UTC (rev 24803)
@@ -0,0 +1,4 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .
Property changes on: trunk/bpmn/tests/org.eclipse.bpmn2.tests/build.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/bpmn/tests/org.eclipse.bpmn2.tests/src/org/eclipse/bpmn2/tests/TestHelper.java
===================================================================
--- trunk/bpmn/tests/org.eclipse.bpmn2.tests/src/org/eclipse/bpmn2/tests/TestHelper.java (rev 0)
+++ trunk/bpmn/tests/org.eclipse.bpmn2.tests/src/org/eclipse/bpmn2/tests/TestHelper.java 2010-09-08 09:54:14 UTC (rev 24803)
@@ -0,0 +1,57 @@
+/**
+ * Copyright (c) 2010 Henning Heitkoetter.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Henning Heitkoetter - initial API and implementation
+ */
+package org.eclipse.bpmn2.tests;
+
+import java.io.BufferedInputStream;
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.IOException;
+
+import org.eclipse.emf.common.util.URI;
+
+/**
+ * Helper class for tests.
+ * @author Henning Heitkoetter
+ *
+ */
+public class TestHelper {
+
+ /**
+ * Cleans the test directory by moving the specified file to another directory.
+ * @param fileURI URI of the file.
+ * @throws IOException
+ */
+ public static void moveFile(URI fileURI) throws IOException {
+ File f = new File(fileURI.toString());
+ if (f.exists()) {
+ File dest = new File("lastResult/" + f.getName()/*String.format("result/%tQ/", new Date())*/);
+ dest.delete();
+ f.renameTo(dest);
+ }
+ }
+
+ /**
+ * Searches for the specified String within the specified file.
+ * @param fileURI URI of the file.
+ * @param toFind String to find.
+ * @return {@code true}, if the contents of the file include {@code toFind}.
+ * @throws IOException
+ */
+ public static boolean search(URI fileURI, String toFind) throws IOException {
+ File file = new File(fileURI.toString());
+ byte[] buffer = new byte[(int) file.length()];
+ BufferedInputStream f = new BufferedInputStream(new FileInputStream(file));
+ f.read(buffer);
+ f.close();
+ return new String(buffer).indexOf(toFind) != -1;
+ }
+
+}
Property changes on: trunk/bpmn/tests/org.eclipse.bpmn2.tests/src/org/eclipse/bpmn2/tests/TestHelper.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/bpmn/tests/org.eclipse.bpmn2.tests/src/org/eclipse/bpmn2/tests/XMISerializationTest.java
===================================================================
--- trunk/bpmn/tests/org.eclipse.bpmn2.tests/src/org/eclipse/bpmn2/tests/XMISerializationTest.java (rev 0)
+++ trunk/bpmn/tests/org.eclipse.bpmn2.tests/src/org/eclipse/bpmn2/tests/XMISerializationTest.java 2010-09-08 09:54:14 UTC (rev 24803)
@@ -0,0 +1,73 @@
+/**
+ * Copyright (c) 2010 Henning Heitkoetter.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Henning Heitkoetter - initial API and implementation
+ */
+package org.eclipse.bpmn2.tests;
+
+import static org.junit.Assert.*;
+
+import java.io.IOException;
+
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Definitions;
+import org.eclipse.emf.common.EMFPlugin;
+import org.eclipse.emf.ecore.resource.Resource;
+import org.eclipse.emf.ecore.xmi.XMIResource;
+import org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl;
+
+/**
+ * Tests serialization as XMI.
+ *
+ * Runs the same tests as {@link XMLSerializationTest}, but saves them in XMI format. The test methods
+ * are inherited and, where necessary, adapted.
+ * @author Henning Heitkoetter
+ *
+ */
+public class XMISerializationTest extends XMLSerializationTest {
+ private static final String EXTENSION_XMI = "xmi";
+
+ /**
+ * Overrides the superclass method, instead registering the default XMI resource factory.
+ */
+ @Override
+ public void setUpResourceFactoryRegistry() {
+ if (!EMFPlugin.IS_ECLIPSE_RUNNING)
+ Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put(EXTENSION_XMI,
+ new XMIResourceFactoryImpl());
+ }
+
+ /**
+ * @return {@code xmi}
+ */
+ @Override
+ protected String getFileExtension() {
+ return EXTENSION_XMI;
+ }
+
+ @Override
+ protected void checkBasicSerialization(Resource res) {
+ assertTrue("Resource is not XMI", res instanceof XMIResource);
+ assertTrue("Resource loaded with errors", res.getErrors().isEmpty());
+ assertTrue("Root element is not Definitions",
+ res.getContents().get(0) instanceof Definitions);
+ String NS_URI_EXPECTED = Bpmn2Package.eNS_URI.endsWith("-XMI") ? Bpmn2Package.eNS_URI
+ : Bpmn2Package.eNS_URI.concat("-XMI");
+ try {
+ assertTrue(String.format("Namespace uri (%s) not found in result", NS_URI_EXPECTED),
+ TestHelper.search(res.getURI(), NS_URI_EXPECTED));
+ } catch (IOException e) {
+ throw new RuntimeException(e);
+ }
+ }
+
+ @Override
+ public void testIdSerialization() throws Exception {
+ // Success (no IDs needed in XMI)
+ }
+}
Property changes on: trunk/bpmn/tests/org.eclipse.bpmn2.tests/src/org/eclipse/bpmn2/tests/XMISerializationTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/bpmn/tests/org.eclipse.bpmn2.tests/src/org/eclipse/bpmn2/tests/XMLSerializationTest.java
===================================================================
--- trunk/bpmn/tests/org.eclipse.bpmn2.tests/src/org/eclipse/bpmn2/tests/XMLSerializationTest.java (rev 0)
+++ trunk/bpmn/tests/org.eclipse.bpmn2.tests/src/org/eclipse/bpmn2/tests/XMLSerializationTest.java 2010-09-08 09:54:14 UTC (rev 24803)
@@ -0,0 +1,249 @@
+/**
+ * Copyright (c) 2010 Henning Heitkoetter.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Henning Heitkoetter - initial API and implementation
+ */
+package org.eclipse.bpmn2.tests;
+
+import static org.junit.Assert.*;
+
+import java.io.IOException;
+import java.util.LinkedList;
+import java.util.List;
+
+import org.eclipse.bpmn2.Bpmn2Factory;
+import org.eclipse.bpmn2.Bpmn2Package;
+import org.eclipse.bpmn2.Collaboration;
+import org.eclipse.bpmn2.Definitions;
+import org.eclipse.bpmn2.DocumentRoot;
+import org.eclipse.bpmn2.Process;
+import org.eclipse.bpmn2.RootElement;
+import org.eclipse.bpmn2.util.Bpmn2ResourceFactoryImpl;
+import org.eclipse.bpmn2.util.NamespaceHelper;
+import org.eclipse.emf.common.EMFPlugin;
+import org.eclipse.emf.common.util.URI;
+import org.eclipse.emf.common.util.WrappedException;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.resource.Resource;
+import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
+import org.eclipse.emf.ecore.xmi.FeatureNotFoundException;
+import org.eclipse.emf.ecore.xmi.PackageNotFoundException;
+import org.junit.After;
+import org.junit.Before;
+import org.junit.Test;
+import org.xml.sax.SAXParseException;
+
+/**
+ * Tests serialization as XML.
+ * @author Henning Heitkoetter
+ *
+ */
+public class XMLSerializationTest {
+ private static final String EXTENSION_BPMN2 = "bpmn2";
+ protected Definitions model;
+ protected List<URI> createdFiles;
+
+ // Set-up and tear-down methods
+
+ /**
+ * Registers the BPMN2 resource factory under the "bpmn2" extension (only in standalone mode).
+ */
+ @Before
+ public void setUpResourceFactoryRegistry() {
+ if (!EMFPlugin.IS_ECLIPSE_RUNNING)
+ Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put(EXTENSION_BPMN2,
+ new Bpmn2ResourceFactoryImpl());
+ }
+
+ /**
+ * Prepares a test run by initializing all fields.
+ *
+ * A basic BPMN2 model is created in {@link #model}, thereby initializing the BPMN2 package.
+ */
+ @Before
+ public void setUpFields() {
+ model = Bpmn2Factory.eINSTANCE.createDefinitions();
+ createdFiles = new LinkedList<URI>();
+ }
+
+ /**
+ * Tears down a test run by clearing the resource factory registry and moving {@link #createdFiles created
+ * files} to a result folder.
+ * @throws Exception
+ */
+ @After
+ public void tearDown() throws Exception {
+ if (!EMFPlugin.IS_ECLIPSE_RUNNING)
+ Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().clear();
+
+ for (URI cur : createdFiles)
+ TestHelper.moveFile(cur);
+ }
+
+ // Utility methods
+
+ /**
+ * The extension for all files that are created.
+ * @return File extension, i.e. {@code "bpmn2"}.
+ */
+ protected String getFileExtension() {
+ return EXTENSION_BPMN2;
+ }
+
+ /**
+ * Creates a resource with the specified name, sets its content and saves it.
+ * Afterwards, loads the thus created resource from a fresh resource set and returns it.
+ *
+ * @param name Filename, without folder and extension.
+ * @param content Designated content of the resource.
+ * @return The loaded resource.
+ * @throws IOException
+ */
+ public Resource createWithContentAndLoad(final String name, EObject content) throws IOException {
+ URI fileUri = URI.createFileURI("tmp/" + name + "." + getFileExtension());
+ createResourceWithContent(fileUri, content);
+
+ return getResource(fileUri);
+ }
+
+ /**
+ * Loads the resource from the specified URI.
+ * @param fileUri The URI of the file.
+ * @return The resource.
+ */
+ protected Resource getResource(URI fileUri) {
+ try {
+ return new ResourceSetImpl().getResource(fileUri, true);
+ } catch (WrappedException e) {
+ if (e.exception() instanceof PackageNotFoundException)
+ fail(String.format("Package %s not registered",
+ ((PackageNotFoundException) e.exception()).uri()));
+ else
+ throw e;
+ }
+ return null; // never reached.
+ }
+
+ /**
+ * Creates a resource with the specified name, sets its content and saves it.
+ *
+ * @param fileUri Filename, without folder and extension.
+ * @param content Designated content of the resource.
+ * @throws IOException
+ */
+ protected void createResourceWithContent(URI fileUri, EObject content) throws IOException {
+ Resource res = new ResourceSetImpl().createResource(fileUri);
+ assertNotNull("No resource factory registered for " + fileUri, res);
+ res.getContents().add(content);
+ res.save(null);
+ createdFiles.add(fileUri);
+ }
+
+ protected Definitions getRootDefinitionElement(Resource res) {
+ EObject root = res.getContents().get(0);
+ if (root instanceof DocumentRoot)
+ return ((DocumentRoot) root).getDefinitions();
+ return (Definitions) root;
+ }
+
+ // Tests
+
+ /**
+ * Checks if serialization works at all.
+ * @throws Exception
+ */
+ @Test
+ public void testBasicSerialization() throws Exception {
+ Resource res = createWithContentAndLoad("basic", model);
+
+ assertTrue("Resource loaded with errors", res.getErrors().isEmpty());
+
+ checkBasicSerialization(res);
+ }
+
+ /**
+ * Performs the actual checks if the basic serialization succeeded.
+ *
+ * Can be overriden by subclasses.
+ * @param res
+ */
+ protected void checkBasicSerialization(Resource res) {
+ EObject root = res.getContents().get(0);
+ if (root instanceof DocumentRoot) {
+ DocumentRoot docRoot = (DocumentRoot) root;
+ assertTrue("Namespace prefix bpmn2 not present", docRoot.getXMLNSPrefixMap()
+ .containsKey(Bpmn2Package.eNS_PREFIX));
+ String NS_URI_EXPECTED = Bpmn2Package.eNS_URI.endsWith("-XMI") ? NamespaceHelper
+ .xmiToXsdNamespaceUri(Bpmn2Package.eNS_URI) : Bpmn2Package.eNS_URI;
+ assertEquals("Namespace URI of prefix bpmn2", NS_URI_EXPECTED, docRoot
+ .getXMLNSPrefixMap().get(Bpmn2Package.eNS_PREFIX));
+ assertNotNull("No definitions object in doc root", docRoot.getDefinitions());
+ } else
+ fail("Root element is not DocumentRoot");
+ }
+
+ /**
+ * Tests if an ID is generated upon save if necessary.
+ * @throws Exception
+ */
+ @Test
+ public void testIdSerialization() throws Exception {
+ Collaboration c = Bpmn2Factory.eINSTANCE.createCollaboration();
+ c.setName("collab1");
+ Process p = Bpmn2Factory.eINSTANCE.createProcess();
+ p.setDefinitionalCollaborationRef(c);
+ model.getRootElements().add(c);
+ model.getRootElements().add(p);
+ Resource res = createWithContentAndLoad("idOK", model);
+
+ Definitions d = getRootDefinitionElement(res);
+ // Technically, only collab1 needs to have an ID, because it is referenced by another element
+ for (RootElement cur : d.getRootElements())
+ if (cur instanceof Collaboration && ((Collaboration) cur).getName().equals("collab1")) {
+ assertNotNull(
+ "No id generated for element \"collab1\", although it is referenced by another element",
+ cur.getId());
+ break;
+ }
+ }
+
+ /**
+ * Asserts that no ID is generated for elements that don't have a corresponding feature.
+ * @throws IOException
+ */
+ @Test
+ public void testNoIDForImport() throws IOException {
+ model.getImports().add(Bpmn2Factory.eINSTANCE.createImport());
+ try {
+ Resource res = createWithContentAndLoad("noIDForImport", model);
+ } catch (WrappedException e) {
+ if (e.exception() instanceof FeatureNotFoundException) {
+ FeatureNotFoundException fnfe = ((FeatureNotFoundException) e.exception());
+ if (fnfe.getName().equals("id")) {
+ fail("ID was generated for an import element (Import does not have an ID feature)");
+ }
+ } else
+ throw e;
+ }
+ }
+
+ @Test
+ public void testIDAlreadySet() throws Exception {
+ model.setId("id1");
+ Resource res = null;
+ try {
+ res = createWithContentAndLoad("idAlreadySet", model);
+ } catch (WrappedException e) {
+ if (e.exception() instanceof SAXParseException)
+ fail("Duplicate attribute 'id'.");
+ else
+ throw e;
+ }
+ assertEquals("id1", getRootDefinitionElement(res).getId());
+ }
+}
Property changes on: trunk/bpmn/tests/org.eclipse.bpmn2.tests/src/org/eclipse/bpmn2/tests/XMLSerializationTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
15 years, 7 months