Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcletavernie2012-07-16 04:15:09 -0400
committercletavernie2012-07-16 04:15:09 -0400
commit7affeb8a28614d6eb84748c159f5d513fff64ba3 (patch)
treeda23b60397d3cecc705c91bcf0c8c889c08c89f1 /extraplugins
parent2ceb894e9e27305ae351c538e57f62b435d0c318 (diff)
downloadorg.eclipse.papyrus-7affeb8a28614d6eb84748c159f5d513fff64ba3.tar.gz
org.eclipse.papyrus-7affeb8a28614d6eb84748c159f5d513fff64ba3.tar.xz
org.eclipse.papyrus-7affeb8a28614d6eb84748c159f5d513fff64ba3.zip
Remove bin directories
Diffstat (limited to 'extraplugins')
-rw-r--r--extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation.generator/bin/org/eclipse/papyrus/dsml/validation/generator/Activator.classbin979 -> 0 bytes
-rw-r--r--extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation.generator/bin/org/eclipse/papyrus/dsml/validation/generator/main/Generate.classbin5060 -> 0 bytes
-rw-r--r--extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation.generator/bin/org/eclipse/papyrus/dsml/validation/generator/main/generate.emtlbin18249 -> 0 bytes
-rw-r--r--extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation.generator/bin/org/eclipse/papyrus/dsml/validation/generator/main/generate.mtl102
-rw-r--r--extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation.properties/bin/org/eclipse/papyrus/dsml/validation/properties/Activator.classbin990 -> 0 bytes
5 files changed, 0 insertions, 102 deletions
diff --git a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation.generator/bin/org/eclipse/papyrus/dsml/validation/generator/Activator.class b/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation.generator/bin/org/eclipse/papyrus/dsml/validation/generator/Activator.class
deleted file mode 100644
index f05c56f2423..00000000000
--- a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation.generator/bin/org/eclipse/papyrus/dsml/validation/generator/Activator.class
+++ /dev/null
Binary files differ
diff --git a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation.generator/bin/org/eclipse/papyrus/dsml/validation/generator/main/Generate.class b/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation.generator/bin/org/eclipse/papyrus/dsml/validation/generator/main/Generate.class
deleted file mode 100644
index 8e6f9986073..00000000000
--- a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation.generator/bin/org/eclipse/papyrus/dsml/validation/generator/main/Generate.class
+++ /dev/null
Binary files differ
diff --git a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation.generator/bin/org/eclipse/papyrus/dsml/validation/generator/main/generate.emtl b/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation.generator/bin/org/eclipse/papyrus/dsml/validation/generator/main/generate.emtl
deleted file mode 100644
index a13966e7333..00000000000
--- a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation.generator/bin/org/eclipse/papyrus/dsml/validation/generator/main/generate.emtl
+++ /dev/null
Binary files differ
diff --git a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation.generator/bin/org/eclipse/papyrus/dsml/validation/generator/main/generate.mtl b/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation.generator/bin/org/eclipse/papyrus/dsml/validation/generator/main/generate.mtl
deleted file mode 100644
index 25f1cbc53bc..00000000000
--- a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation.generator/bin/org/eclipse/papyrus/dsml/validation/generator/main/generate.mtl
+++ /dev/null
@@ -1,102 +0,0 @@
- [comment encoding = UTF-8 /]
- [module generate('http://www.eclipse.org/uml2/3.0.0/UML', 'http://www.eclipse.org/emf/2009/Validation', 'http://www.eclipse.org/emf/2002/Ecore')/]
-
-[query public getPackageForConstraint(cstr : Constraint) : String = invoke('org.eclipse.papyrus.dsml.validation.model.profilenames.Utils', 'getPackageForConstraint(org.eclipse.uml2.uml.Constraint)', Sequence{cstr}) /]
-[query public getJavaConstraintBody(valueSpecificatoin : ValueSpecification) : String = invoke('org.eclipse.papyrus.dsml.validation.model.profilenames.Utils', 'getJavaConstraintBody(org.eclipse.uml2.uml.ValueSpecification)', Sequence{valueSpecificatoin}) /]
-[query public hasSpecificationForJava(constraint : Constraint) : Boolean = invoke('org.eclipse.papyrus.dsml.validation.model.profilenames.Utils', 'hasSpecificationForJava(org.eclipse.uml2.uml.Constraint)', Sequence{constraint}) /]
-[query public isConstraintForStereotype(constraint : Constraint) : Boolean = invoke('org.eclipse.papyrus.dsml.validation.model.profilenames.Utils', 'isConstraintForStereotype(org.eclipse.uml2.uml.Constraint)', Sequence{constraint}) /]
-[query public getConstraintForStereotype(constraint : Constraint) : String = invoke('org.eclipse.papyrus.dsml.validation.model.profilenames.Utils', 'getConstraintForStereotype(org.eclipse.uml2.uml.Constraint)', Sequence{constraint}) /]
-
-
-[template public generateConstraint(constraint : Constraint)]
-[comment @main/]
-
-[if (hasSpecificationForJava(constraint) and getPackageForConstraint(constraint) <> null)]
-[file('/org/eclipse/papyrus/validation/' + getPackageForConstraint(constraint).replaceAll('\\.','/') + '/' + constraint.name + 'Constraint.java', false)]
-
-package org.eclipse.papyrus.validation.[getPackageForConstraint(constraint)/];
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.emf.validation.AbstractModelConstraint;
-import org.eclipse.emf.validation.IValidationContext;
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Stereotype;
-
-public class [constraint.name.toUpperFirst() + 'Constraint'/] extends AbstractModelConstraint{
-
- public IStatus validate(IValidationContext ctx) {
- if( ctx.getTarget()instanceof Element){
- Element element =(Element)ctx.getTarget();
-
- [if isConstraintForStereotype(constraint)]
- Stereotype appliedStereotype= element.getAppliedStereotype("[getConstraintForStereotype(constraint)/]");
- if( appliedStereotype!=null){
- if(evaluateConstraint(element,appliedStereotype)){
- return ctx.createSuccessStatus();
- }
- else{
- return ctx.createFailureStatus("Constraint not validated");
- }
- }
-
- [else]
- if(evaluateConstraint(element)){
- return ctx.createSuccessStatus();
- }
- else{
- return ctx.createFailureStatus("Constraint not validated");
-
- }
- [/if]
- }
-
- return ctx.createSuccessStatus();
-
-}
- private boolean evaluateConstraint (Element self, Stereotype appliedStereotype){
- [if isConstraintForStereotype(constraint)]
- [if getJavaConstraintBody(constraint.specification) <> null]
- [getJavaConstraintBody(constraint.specification)/]
- [else]
- return true;
- [/if]
-
- [else]
- return true;
- [/if]
- }
- private boolean evaluateConstraint (Element self){
- [if ( isConstraintForStereotype(constraint))<>true]
- [if getJavaConstraintBody(constraint.specification) <> null]
- [getJavaConstraintBody(constraint.specification)/]
- [else]
- return true;
- [/if]
- [else]
- return true;
- [/if]
- }
-}
-[/file]
-[/if]
-
-[/template]
-
-[template public generateValidationContext(profile : Profile)]
-[file ('/org/eclipse/papyrus/validation/ValidationDelegateClientSelector.java', false)]
-[comment @main/]
-package org.eclipse.papyrus.validation;
-
-import org.eclipse.emf.validation.model.IClientSelector;
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.PackageImport;
-
-public class ValidationDelegateClientSelector implements IClientSelector {
-
- public boolean selects(Object object) {
- return (object instanceof Element);
- }
-}
-
-[/file]
-[/template] \ No newline at end of file
diff --git a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation.properties/bin/org/eclipse/papyrus/dsml/validation/properties/Activator.class b/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation.properties/bin/org/eclipse/papyrus/dsml/validation/properties/Activator.class
deleted file mode 100644
index 98c57ece4f7..00000000000
--- a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation.properties/bin/org/eclipse/papyrus/dsml/validation/properties/Activator.class
+++ /dev/null
Binary files differ

Back to the top