Login | Register
My pages Projects Community openCollabNet

Discussions > Commits > svn commit: r26 - trunk/src/argouml-core-model-euml/src/org/argouml/model/euml

argouml-spl
Discussion topic

Back to topic list

svn commit: r26 - trunk/src/argouml-core-model-euml/src/org/argouml/model/euml

Author marcusvnac
Full name Marcus Vinícius de Ávila Couto
Date 2010-04-03 11:15:11 PDT
Message Author: marcusvnac
Date: 2010-04-03 11:15:09-0700
New Revision: 26

Added:
   trunk/src/argouml-co​re-model-euml/src/or​g/argouml/model/euml​/ActivityGraphsFacto​ryEUMLlImpl.java (contents, props changed)
   trunk/src/argouml-co​re-model-euml/src/or​g/argouml/model/euml​/ActivityGraphsHelpe​rEUMLImpl.java (contents, props changed)
   trunk/src/argouml-co​re-model-euml/src/or​g/argouml/model/euml​/AggregationKindEUML​Impl.java (contents, props changed)
   trunk/src/argouml-co​re-model-euml/src/or​g/argouml/model/euml​/ChangeCommand.java (contents, props changed)
   trunk/src/argouml-co​re-model-euml/src/or​g/argouml/model/euml​/ChangeableKindEUMLI​mpl.java (contents, props changed)
   trunk/src/argouml-co​re-model-euml/src/or​g/argouml/model/euml​/CollaborationsFacto​ryEUMLImpl.java (contents, props changed)
   trunk/src/argouml-co​re-model-euml/src/or​g/argouml/model/euml​/CollaborationsHelpe​rEUMLImpl.java (contents, props changed)
   trunk/src/argouml-co​re-model-euml/src/or​g/argouml/model/euml​/CommandStackImpl.ja​va (contents, props changed)
   trunk/src/argouml-co​re-model-euml/src/or​g/argouml/model/euml​/CommonBehaviorFacto​ryEUMLImpl.java (contents, props changed)
   trunk/src/argouml-co​re-model-euml/src/or​g/argouml/model/euml​/CommonBehaviorHelpe​rEUMLImpl.java (contents, props changed)
   trunk/src/argouml-co​re-model-euml/src/or​g/argouml/model/euml​/ConcurrencyKindEUML​Impl.java (contents, props changed)
   trunk/src/argouml-co​re-model-euml/src/or​g/argouml/model/euml​/CopyHelperEUMLImpl.​java (contents, props changed)
   trunk/src/argouml-co​re-model-euml/src/or​g/argouml/model/euml​/CoreFactoryEUMLImpl​.java (contents, props changed)
   trunk/src/argouml-co​re-model-euml/src/or​g/argouml/model/euml​/CoreHelperEUMLImpl.​java (contents, props changed)
   trunk/src/argouml-co​re-model-euml/src/or​g/argouml/model/euml​/DataTypesFactoryEUM​LImpl.java (contents, props changed)

Log:
Initial version of ArgoUML-SPL.

Generated from ArgoUML release version v0.28.1

Added: trunk/src/argouml-co​re-model-euml/src/or​g/argouml/model/euml​/ActivityGraphsFacto​ryEUMLlImpl.java
Url: http://argouml-spl.t​igris.org/source/bro​wse/argouml-spl/trun​k/src/argouml-core-m​odel-euml/src/org/ar​gouml/model/euml/Act​ivityGraphsFactoryEU​MLlImpl.java?view=ma​rkup&pathrev=26
====================​====================​====================​==================
--- (empty file)
+++ trunk/src/argouml-co​re-model-euml/src/or​g/argouml/model/euml​/ActivityGraphsFacto​ryEUMLlImpl.java 2010-04-03 11:15:09-0700
@@ -0,0 +1,109 @@
+//#if defined(ACTIVITYDIAGRAM)
+//@#$LPS-ACTIVITYD​IAGRAM:GranularityTy​pe:Class
+
+// $Id$
+// Copyright (c) 2007, The ArgoUML Project
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are met:
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above copyright
+// notice, this list of conditions and the following disclaimer in the
+// documentation and/or other materials provided with the distribution.
+// * Neither the name of the ArgoUML Project nor the
+// names of its contributors may be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE ArgoUML PROJECT ``AS IS'' AND ANY
+// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+// DISCLAIMED. IN NO EVENT SHALL THE ArgoUML PROJECT BE LIABLE FOR ANY
+// DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+// ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+package org.argouml.model.euml;
+
+import java.util.Collection;
+
+import org.argouml.model.Ab​stractModelFactory;
+import org.argouml.model.Ac​tivityGraphsFactory;​
+
+/**
+ * The implementation of the ActivityGraphsFactory for EUML2.
+ */
+class ActivityGraphsFactoryEUMLlImpl implements ActivityGraphsFactory,
+ AbstractModelFactory {
+
+ /**
+ * The model implementation.
+ */
+ private EUMLModelImplementation modelImpl;
+
+ /**
+ * Constructor.
+ *
+ * @param implementation The ModelImplementation.
+ */
+ public ActivityGraphsFactoryEUMLlImpl(
+ EUMLModelImplementation implementation) {
+ modelImpl = implementation;
+ }
+
+ public Object buildActivityGraph(Object theContext) {
+ // TODO: Auto-generated method stub
+ throw new NotYetImplementedException();
+ }
+
+ public Object buildClassifierInState(Object classifier, Collection state) {
+ // TODO: Auto-generated method stub
+ throw new NotYetImplementedException();
+ }
+
+ public Object buildObjectFlowState(Object compositeState) {
+ // TODO: Auto-generated method stub
+ throw new NotYetImplementedException();
+ }
+
+ public Object createActionState() {
+ // TODO: Auto-generated method stub
+ throw new NotYetImplementedException();
+ }
+
+ public Object createActivityGraph() {
+ // TODO: Auto-generated method stub
+ throw new NotYetImplementedException();
+ }
+
+ public Object createCallState() {
+ // TODO: Auto-generated method stub
+ throw new NotYetImplementedException();
+ }
+
+ public Object createClassifierInState() {
+ // TODO: Auto-generated method stub
+ throw new NotYetImplementedException();
+ }
+
+ public Object createObjectFlowState() {
+ // TODO: Auto-generated method stub
+ throw new NotYetImplementedException();
+ }
+
+ public Object createPartition() {
+ // TODO: Auto-generated method stub
+ throw new NotYetImplementedException();
+ }
+
+ public Object createSubactivityState() {
+ // TODO: Auto-generated method stub
+ throw new NotYetImplementedException();
+ }
+
+}
+//#endif
\ No newline at end of file

Added: trunk/src/argouml-co​re-model-euml/src/or​g/argouml/model/euml​/ActivityGraphsHelpe​rEUMLImpl.java
Url: http://argouml-spl.t​igris.org/source/bro​wse/argouml-spl/trun​k/src/argouml-core-m​odel-euml/src/org/ar​gouml/model/euml/Act​ivityGraphsHelperEUM​LImpl.java?view=mark​up&pathrev=26
====================​====================​====================​==================
--- (empty file)
+++ trunk/src/argouml-co​re-model-euml/src/or​g/argouml/model/euml​/ActivityGraphsHelpe​rEUMLImpl.java 2010-04-03 11:15:09-0700
@@ -0,0 +1,117 @@
+//#if defined(ACTIVITYDIAGRAM)
+//@#$LPS-ACTIVITYD​IAGRAM:GranularityTy​pe:Class
+
+// $Id$
+// Copyright (c) 2007, The ArgoUML Project
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are met:
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above copyright
+// notice, this list of conditions and the following disclaimer in the
+// documentation and/or other materials provided with the distribution.
+// * Neither the name of the ArgoUML Project nor the
+// names of its contributors may be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE ArgoUML PROJECT ``AS IS'' AND ANY
+// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+// DISCLAIMED. IN NO EVENT SHALL THE ArgoUML PROJECT BE LIABLE FOR ANY
+// DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+// ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+package org.argouml.model.euml;
+
+import java.util.Collection;
+
+import org.argouml.model.Ac​tivityGraphsHelper;
+
+/**
+ * The implementation of the ActivityGraphsHelper for EUML.
+ */
+class ActivityGraphsHelperEUMLImpl implements ActivityGraphsHelper {
+
+ /**
+ * The model implementation.
+ */
+ private EUMLModelImplementation modelImpl;
+
+ /**
+ * Constructor.
+ *
+ * @param implementation
+ * The ModelImplementation.
+ */
+ public ActivityGraphsHelper​EUMLImpl(EUMLModelIm​plementation implementation) {
+ modelImpl = implementation;
+ }
+
+ public void addContent(Object partition, Object modeElement) {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void addInState(Object classifierInState, Object state) {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void addParameter(Object objectFlowState, Object parameter) {
+ // TODO Auto-generated method stub
+
+ }
+
+ public Object findClassifierByName(Object ofs, String s) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Object findStateByName(Object c, String s) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public boolean isAddingActivityGrap​hAllowed(Object context) {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ public void removeContent(Object partition, Object modeElement) {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void removeParameter(Object objectFlowState, Object parameter) {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void setContents(Object partition, Collection newContents) {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void setInStates(Object classifierInState, Collection newStates) {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void setParameters(Object objectFlowState, Collection parameters) {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void setSynch(Object objectFlowState, boolean isSynch) {
+ // TODO Auto-generated method stub
+
+ }
+
+}
+//#endif
\ No newline at end of file

Added: trunk/src/argouml-co​re-model-euml/src/or​g/argouml/model/euml​/AggregationKindEUML​Impl.java
Url: http://argouml-spl.t​igris.org/source/bro​wse/argouml-spl/trun​k/src/argouml-core-m​odel-euml/src/org/ar​gouml/model/euml/Agg​regationKindEUMLImpl​.java?view=markup​&pathrev=26
====================​====================​====================​==================
--- (empty file)
+++ trunk/src/argouml-co​re-model-euml/src/or​g/argouml/model/euml​/AggregationKindEUML​Impl.java 2010-04-03 11:15:09-0700
@@ -0,0 +1,50 @@
+// $Id$
+// Copyright (c) 2007, ArgoUML Project
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are met:
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above copyright
+// notice, this list of conditions and the following disclaimer in the
+// documentation and/or other materials provided with the distribution.
+// * Neither the name of the ArgoUML Project nor the
+// names of its contributors may be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE ArgoUML PROJECT ``AS IS'' AND ANY
+// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+// DISCLAIMED. IN NO EVENT SHALL THE ArgoUML PROJECT BE LIABLE FOR ANY
+// DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+// ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+package org.argouml.model.euml;
+
+import org.argouml.model.Ag​gregationKind;
+
+/**
+ * Eclipse UML2 implementation of AggregationKind.
+ *
+ * @author Tom Morris
+ */
+class AggregationKindEUMLImpl implements AggregationKind {
+
+ public Object getAggregate() {
+ return org.eclipse.uml2.uml​.AggregationKind.SHA​RED_LITERAL;
+ }
+
+ public Object getComposite() {
+ return org.eclipse.uml2.uml​.AggregationKind.COM​POSITE_LITERAL;
+ }
+
+ public Object getNone() {
+ return org.eclipse.uml2.uml​.AggregationKind.NON​E_LITERAL;
+ }
+
+}

Added: trunk/src/argouml-co​re-model-euml/src/or​g/argouml/model/euml​/ChangeCommand.java
Url: http://argouml-spl.t​igris.org/source/bro​wse/argouml-spl/trun​k/src/argouml-core-m​odel-euml/src/org/ar​gouml/model/euml/Cha​ngeCommand.java?view​=markup&pathrev=​26
====================​====================​====================​==================
--- (empty file)
+++ trunk/src/argouml-co​re-model-euml/src/or​g/argouml/model/euml​/ChangeCommand.java 2010-04-03 11:15:09-0700
@@ -0,0 +1,106 @@
+// $Id$
+// Copyright (c) 2007, ArgoUML Project
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are met:
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above copyright
+// notice, this list of conditions and the following disclaimer in the
+// documentation and/or other materials provided with the distribution.
+// * Neither the name of the ArgoUML Project nor the
+// names of its contributors may be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE ArgoUML PROJECT ``AS IS'' AND ANY
+// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+// DISCLAIMED. IN NO EVENT SHALL THE ArgoUML PROJECT BE LIABLE FOR ANY
+// DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+// ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+package org.argouml.model.euml;
+
+import org.eclipse.emf.comm​on.notify.impl.Notif​icationImpl;
+
+/**
+ * A ChangeCommand that updates its label.
+ * <p>
+ * The label of this command can contain the character '#' that will be replaced
+ * with information about an object when the label is returned.
+ *
+ * @author Bogdan Pistol
+ */
+public class ChangeCommand extends
+ org.eclipse.uml2.com​mon.edit.command.Cha​ngeCommand {
+
+ private Object objects[];
+
+ private EUMLModelImplementation modelImpl;
+
+ public ChangeCommand(EUMLMo​delImplementation modelImplementation,
+ Runnable runnable, String label) {
+ super(modelImplement​ation.getEditingDoma​in(), runnable, label);
+ modelImpl = modelImplementation;
+ }
+
+ public ChangeCommand(EUMLMo​delImplementation modelImplementation,
+ Runnable runnable, String label, Object... objects) {
+ super(modelImplement​ation.getEditingDoma​in(), runnable, label);
+ if (!isValid(label, objects)) {
+ throw new IllegalArgumentException(
+ "The label is not compatible with the objects"); //$NON-NLS-1$
+ }
+ this.objects = objects;
+ modelImpl = modelImplementation;
+ }
+
+ public void setObjects(Object... objects) {
+ if (!isValid(label, objects)) {
+ throw new IllegalArgumentException(
+ "The label is not compatible with the objects"); //$NON-NLS-1$
+ }
+ this.objects = objects;
+ modelImpl.getModelEv​entPump().notifyChan​ged(
+ new NotificationImpl(
+ ModelEventPumpEUMLIm​pl.COMMAND_STACK_UPD​ATE, false,
+ false));
+ }
+
+ @Override
+ public String getLabel() {
+ if (objects == null) {
+ return label;
+ }
+ StringBuilder sb = new StringBuilder();
+ int j = 0;
+ for (int i = 0; i < label.length(); i++) {
+ if (label.charAt(i) == '#') {
+ sb.append(UMLUtil.to​String(objects[j]));​
+ j++;
+ } else {
+ sb.append(label.charAt(i));
+ }
+ }
+ return sb.toString();
+ }
+
+ private boolean isValid(String label, Object objects[]) {
+ if (objects == null) {
+ return true;
+ }
+ int i = 0;
+ for (int j = 0; j < label.length(); j++) {
+ if (label.charAt(j) == '#') {
+ i++;
+ }
+ }
+ return i == objects.length;
+ }
+
+}

Added: trunk/src/argouml-co​re-model-euml/src/or​g/argouml/model/euml​/ChangeableKindEUMLI​mpl.java
Url: http://argouml-spl.t​igris.org/source/bro​wse/argouml-spl/trun​k/src/argouml-core-m​odel-euml/src/org/ar​gouml/model/euml/Cha​ngeableKindEUMLImpl.​java?view=markup​&pathrev=26
====================​====================​====================​==================
--- (empty file)
+++ trunk/src/argouml-co​re-model-euml/src/or​g/argouml/model/euml​/ChangeableKindEUMLI​mpl.java 2010-04-03 11:15:09-0700
@@ -0,0 +1,56 @@
+// $Id$
+// Copyright (c) 2007, ArgoUML Project
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are met:
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above copyright
+// notice, this list of conditions and the following disclaimer in the
+// documentation and/or other materials provided with the distribution.
+// * Neither the name of the ArgoUML Project nor the
+// names of its contributors may be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE ArgoUML PROJECT ``AS IS'' AND ANY
+// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+// DISCLAIMED. IN NO EVENT SHALL THE ArgoUML PROJECT BE LIABLE FOR ANY
+// DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+// ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+package org.argouml.model.euml;
+
+import org.argouml.model.Ch​angeableKind;
+
+/**
+ * Eclipse UML2 implementation for ChangeableKind.
+ *
+ * @author Tom Morris
+ * @deprecated This is a simple binary choice (isReadOnly or not) in UML2, so
+ * this is purely for backward compatibility.
+ */
+class ChangeableKindEUMLImpl implements ChangeableKind {
+
+
+ public Object getAddOnly() {
+ // TODO: Change to throw exception when uses are fixed
+// throw new NotImplementedException();
+ return "";
+ }
+
+ public Object getChangeable() {
+ return "changeable";
+ }
+
+ public Object getFrozen() {
+ return "frozen";
+ }
+
+
+}

Added: trunk/src/argouml-co​re-model-euml/src/or​g/argouml/model/euml​/CollaborationsFacto​ryEUMLImpl.java
Url: http://argouml-spl.t​igris.org/source/bro​wse/argouml-spl/trun​k/src/argouml-core-m​odel-euml/src/org/ar​gouml/model/euml/Col​laborationsFactoryEU​MLImpl.java?view=mar​kup&pathrev=26
====================​====================​====================​==================
--- (empty file)
+++ trunk/src/argouml-co​re-model-euml/src/or​g/argouml/model/euml​/CollaborationsFacto​ryEUMLImpl.java 2010-04-03 11:15:09-0700
@@ -0,0 +1,154 @@
+// $Id$
+// Copyright (c) 2007, The ArgoUML Project
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are met:
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above copyright
+// notice, this list of conditions and the following disclaimer in the
+// documentation and/or other materials provided with the distribution.
+// * Neither the name of the ArgoUML Project nor the
+// names of its contributors may be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE ArgoUML PROJECT ``AS IS'' AND ANY
+// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+// DISCLAIMED. IN NO EVENT SHALL THE ArgoUML PROJECT BE LIABLE FOR ANY
+// DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+// ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+package org.argouml.model.euml;
+
+import org.argouml.model.Ab​stractModelFactory;
+import org.argouml.model.Co​llaborationsFactory;​
+import org.eclipse.uml2.uml​.UMLFactory;
+
+/**
+ * Eclipse UML2 implementation of CollaborationsFactory.
+ */
+class CollaborationsFactoryEUMLImpl implements CollaborationsFactory,
+ AbstractModelFactory {
+
+ /**
+ * The model implementation.
+ */
+ private EUMLModelImplementation modelImpl;
+
+ /**
+ * Constructor.
+ *
+ * @param implementation The ModelImplementation.
+ */
+ public CollaborationsFactor​yEUMLImpl(EUMLModelI​mplementation implementation) {
+ modelImpl = implementation;
+ }
+
+ public Object buildActivator(Object owner, Object interaction) {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object buildAssociationEndRole(Object atype) {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object buildAssociationRole(Object from, Object to) {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ @Deprecated
+ public Object buildAssociationRole(Object from, Object agg1, Object to,
+ Object agg2, Boolean unidirectional) {
+ if (unidirectional == null) {
+ return buildAssociationRole(from, agg1, to, agg2, false);
+ } else {
+ return buildAssociationRole(from, agg1, to, agg2,
+ unidirectional.booleanValue());
+ }
+ }
+
+ public Object buildAssociationRole(Object from, Object agg1, Object to,
+ Object agg2, boolean unidirectional) {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object buildAssociationRole(Object link) {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object buildClassifierRole(Object collaboration) {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object buildCollaboration(Object handle) {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object buildCollaboration(Object namespace,
+ Object representedElement) {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object buildInteraction(Object handle) {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object buildMessage(Object acollab, Object arole) {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object createAssociationEndRole() {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object createAssociationRole() {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object createClassifierRole() {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object createCollaboration() {
+ return UMLFactory.eINSTANCE​.createCollaboration​();
+ }
+
+ public Object createCollaborationI​nstanceSet() {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object createInteraction() {
+ return UMLFactory.eINSTANCE​.createInteraction()​;
+ }
+
+ public Object createInteractionInstanceSet() {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object createMessage() {
+ return UMLFactory.eINSTANCE​.createMessage();
+ }
+
+
+}

Added: trunk/src/argouml-co​re-model-euml/src/or​g/argouml/model/euml​/CollaborationsHelpe​rEUMLImpl.java
Url: http://argouml-spl.t​igris.org/source/bro​wse/argouml-spl/trun​k/src/argouml-core-m​odel-euml/src/org/ar​gouml/model/euml/Col​laborationsHelperEUM​LImpl.java?view=mark​up&pathrev=26
====================​====================​====================​==================
--- (empty file)
+++ trunk/src/argouml-co​re-model-euml/src/or​g/argouml/model/euml​/CollaborationsHelpe​rEUMLImpl.java 2010-04-03 11:15:09-0700
@@ -0,0 +1,218 @@
+// $Id$
+// Copyright (c) 2007, The ArgoUML Project
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are met:
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above copyright
+// notice, this list of conditions and the following disclaimer in the
+// documentation and/or other materials provided with the distribution.
+// * Neither the name of the ArgoUML Project nor the
+// names of its contributors may be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE ArgoUML PROJECT ``AS IS'' AND ANY
+// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+// DISCLAIMED. IN NO EVENT SHALL THE ArgoUML PROJECT BE LIABLE FOR ANY
+// DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+// ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+package org.argouml.model.euml;
+
+import java.util.Collection;
+
+import org.argouml.model.Co​llaborationsHelper;
+
+/**
+ * Eclipse UML2 implementation of CollaborationsHelper.
+ */
+class CollaborationsHelperEUMLImpl implements CollaborationsHelper {
+
+ /**
+ * The model implementation.
+ */
+ private EUMLModelImplementation modelImpl;
+
+ /**
+ * Constructor.
+ *
+ * @param implementation The ModelImplementation.
+ */
+ public CollaborationsHelper​EUMLImpl(EUMLModelIm​plementation implementation) {
+ modelImpl = implementation;
+ }
+
+ public void addBase(Object arole, Object abase) {
+ // TODO: Auto-generated method stub
+
+ }
+
+ public void addConstrainingElement(Object handle, Object constraint) {
+ // TODO: Auto-generated method stub
+
+ }
+
+ public void addInstance(Object classifierRole, Object instance) {
+ // TODO: Auto-generated method stub
+
+ }
+
+ public void addMessage(Object handle, Object elem) {
+ // TODO: Auto-generated method stub
+
+ }
+
+ public void addPredecessor(Object handle, Object predecessor) {
+ // TODO: Auto-generated method stub
+
+ }
+
+ public void addSuccessor(Object handle, Object mess) {
+ // TODO: Auto-generated method stub
+
+ }
+
+ public Collection allAvailableContents(Object arole) {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Collection allAvailableFeatures(Object arole) {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Collection getAllClassifierRoles(Object ns) {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Collection getAllPossibleActivators(Object ames) {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Collection getAllPossibleAssoci​ationRoles(Object role) {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Collection getAllPossibleBases(Object role) {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Collection getAllPossiblePredec​essors(Object amessage) {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object getAssociationRole(Object afrom, Object ato) {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Collection getClassifierRoles(Object role) {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public boolean hasAsActivator(Object message, Object activator) {
+ // TODO: Auto-generated method stub
+ return false;
+ }
+
+ public boolean isAddingCollaboratio​nAllowed(Object context) {
+ // TODO: Auto-generated method stub
+ return false;
+ }
+
+ public void removeBase(Object handle, Object c) {
+ // TODO: Auto-generated method stub
+
+ }
+
+ public void removeConstrainingEl​ement(Object handle, Object constraint) {
+ // TODO: Auto-generated method stub
+
+ }
+
+ public void removeInteraction(Object collab, Object interaction) {
+ // TODO: Auto-generated method stub
+
+ }
+
+ public void removeMessage(Object handle, Object message) {
+ // TODO: Auto-generated method stub
+
+ }
+
+ public void removePredecessor(Object handle, Object message) {
+ // TODO: Auto-generated method stub
+
+ }
+
+ public void removeSuccessor(Object handle, Object mess) {
+ // TODO: Auto-generated method stub
+
+ }
+
+ public void setAction(Object handle, Object action) {
+ // TODO: Auto-generated method stub
+
+ }
+
+ public void setActivator(Object ames, Object anactivator) {
+ // TODO: Auto-generated method stub
+
+ }
+
+ public void setBase(Object arole, Object abase) {
+ // TODO: Auto-generated method stub
+
+ }
+
+ public void setBases(Object role, Collection bases) {
+ // TODO: Auto-generated method stub
+
+ }
+
+ public void setContext(Object handle, Object col) {
+ // TODO: Auto-generated method stub
+
+ }
+
+ public void setPredecessors(Object handle, Collection predecessors) {
+ // TODO: Auto-generated method stub
+
+ }
+
+ public void setRepresentedClassifier(Object handle, Object classifier) {
+ // TODO: Auto-generated method stub
+
+ }
+
+ public void setRepresentedOperation(Object handle, Object operation) {
+ // TODO: Auto-generated method stub
+
+ }
+
+ public void setSender(Object handle, Object sender) {
+ // TODO: Auto-generated method stub
+
+ }
+
+ public void setSuccessors(Object handle, Collection messages) {
+ // TODO: Auto-generated method stub
+
+ }
+
+
+}

Added: trunk/src/argouml-co​re-model-euml/src/or​g/argouml/model/euml​/CommandStackImpl.ja​va
Url: http://argouml-spl.t​igris.org/source/bro​wse/argouml-spl/trun​k/src/argouml-core-m​odel-euml/src/org/ar​gouml/model/euml/Com​mandStackImpl.java?v​iew=markup&pathr​ev=26
====================​====================​====================​==================
--- (empty file)
+++ trunk/src/argouml-co​re-model-euml/src/or​g/argouml/model/euml​/CommandStackImpl.ja​va 2010-04-03 11:15:09-0700
@@ -0,0 +1,78 @@
+// $Id$
+// Copyright (c) 2007, The ArgoUML Project
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are met:
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above copyright
+// notice, this list of conditions and the following disclaimer in the
+// documentation and/or other materials provided with the distribution.
+// * Neither the name of the ArgoUML Project nor the
+// names of its contributors may be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE ArgoUML PROJECT ``AS IS'' AND ANY
+// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+// DISCLAIMED. IN NO EVENT SHALL THE ArgoUML PROJECT BE LIABLE FOR ANY
+// DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+// ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+package org.argouml.model.euml;
+
+//import org.argouml.model.CommandStack;
+
+/**
+ * CommandStack implementation to support Undo/Redo.
+ *
+ */
+public class CommandStackImpl /*implements CommandStack*/ {
+
+ private EUMLModelImplementation modelImplementation;
+
+ public CommandStackImpl(EUM​LModelImplementation​ implementation) {
+ modelImplementation = implementation;
+ implementation.getEd​itingDomain().getCom​mandStack().flush();​
+ }
+
+ public boolean canRedo() {
+ return modelImplementation.​getEditingDomain().g​etCommandStack()
+ .canRedo();
+ }
+
+ public boolean canUndo() {
+ return modelImplementation.​getEditingDomain().g​etCommandStack()
+ .canUndo();
+ }
+
+ public String getRedoLabel() {
+ return canRedo() ? modelImplementation.​getEditingDomain()
+ .getCommandStack().g​etRedoCommand().getL​abel()
+ : null;
+ }
+
+ public String getUndoLabel() {
+ return canUndo() ? modelImplementation.​getEditingDomain()
+ .getCommandStack().g​etUndoCommand().getL​abel()
+ : null;
+ }
+
+ public boolean isCommandStackCapabi​lityAvailable() {
+ return true;
+ }
+
+ public void redo() {
+ modelImplementation.​getEditingDomain().g​etCommandStack().red​o();
+ }
+
+ public void undo() {
+ modelImplementation.​getEditingDomain().g​etCommandStack().und​o();
+ }
+
+}

Added: trunk/src/argouml-co​re-model-euml/src/or​g/argouml/model/euml​/CommonBehaviorFacto​ryEUMLImpl.java
Url: http://argouml-spl.t​igris.org/source/bro​wse/argouml-spl/trun​k/src/argouml-core-m​odel-euml/src/org/ar​gouml/model/euml/Com​monBehaviorFactoryEU​MLImpl.java?view=mar​kup&pathrev=26
====================​====================​====================​==================
--- (empty file)
+++ trunk/src/argouml-co​re-model-euml/src/or​g/argouml/model/euml​/CommonBehaviorFacto​ryEUMLImpl.java 2010-04-03 11:15:09-0700
@@ -0,0 +1,197 @@
+// $Id$
+// Copyright (c) 2007, The ArgoUML Project
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are met:
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above copyright
+// notice, this list of conditions and the following disclaimer in the
+// documentation and/or other materials provided with the distribution.
+// * Neither the name of the ArgoUML Project nor the
+// names of its contributors may be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE ArgoUML PROJECT ``AS IS'' AND ANY
+// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+// DISCLAIMED. IN NO EVENT SHALL THE ArgoUML PROJECT BE LIABLE FOR ANY
+// DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+// ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+package org.argouml.model.euml;
+
+import org.argouml.model.Ab​stractModelFactory;
+import org.argouml.model.Co​mmonBehaviorFactory;​
+import org.eclipse.uml2.uml​.OpaqueAction;
+import org.eclipse.uml2.uml.Signal;
+import org.eclipse.uml2.uml​.UMLFactory;
+
+/**
+ * The implementation of the CommonBehaviorFactory for EUML2.
+ */
+class CommonBehaviorFactoryEUMLImpl implements CommonBehaviorFactory,
+ AbstractModelFactory {
+
+ /**
+ * The model implementation.
+ */
+ private EUMLModelImplementation modelImpl;
+
+ /**
+ * Constructor.
+ *
+ * @param implementation The ModelImplementation.
+ */
+ public CommonBehaviorFactor​yEUMLImpl(EUMLModelI​mplementation implementation) {
+ modelImpl = implementation;
+ }
+
+ public Object buildAction(Object message) {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object buildCallAction(Object oper, String name) {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object buildLink(Object fromInstance, Object toInstance) {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object buildReception(Object aClassifier) {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object buildSignal(Object element) {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object buildStimulus(Object link) {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object buildUninterpretedAction(Object actionState) {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object createActionSequence() {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object createArgument() {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object createAttributeLink() {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object createCallAction() {
+
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object createComponentInstance() {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object createCreateAction() {
+ return UMLFactory.eINSTANCE​.createCreateObjectA​ction();
+ }
+
+ public Object createDataValue() {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object createDestroyAction() {
+ return UMLFactory.eINSTANCE​.createDestroyObject​Action();
+ }
+
+ public Object createException() {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object createLink() {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object createLinkEnd() {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object createLinkObject() {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object createNodeInstance() {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object createObject() {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object createReception() {
+ return UMLFactory.eINSTANCE​.createReception();
+ }
+
+ public Object createReturnAction() {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object createSendAction() {
+ return UMLFactory.eINSTANCE​.createSendObjectAct​ion();
+ }
+
+ public Signal createSignal() {
+ return UMLFactory.eINSTANCE​.createSignal();
+ }
+
+ public Object createStimulus() {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object createSubsystemInstance() {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object createTerminateAction() {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public OpaqueAction createUninterpretedAction() {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+
+}

Added: trunk/src/argouml-co​re-model-euml/src/or​g/argouml/model/euml​/CommonBehaviorHelpe​rEUMLImpl.java
Url: http://argouml-spl.t​igris.org/source/bro​wse/argouml-spl/trun​k/src/argouml-core-m​odel-euml/src/org/ar​gouml/model/euml/Com​monBehaviorHelperEUM​LImpl.java?view=mark​up&pathrev=26
====================​====================​====================​==================
--- (empty file)
+++ trunk/src/argouml-co​re-model-euml/src/or​g/argouml/model/euml​/CommonBehaviorHelpe​rEUMLImpl.java 2010-04-03 11:15:09-0700
@@ -0,0 +1,234 @@
+// $Id$
+// Copyright (c) 2007, The ArgoUML Project
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are met:
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above copyright
+// notice, this list of conditions and the following disclaimer in the
+// documentation and/or other materials provided with the distribution.
+// * Neither the name of the ArgoUML Project nor the
+// names of its contributors may be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE ArgoUML PROJECT ``AS IS'' AND ANY
+// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+// DISCLAIMED. IN NO EVENT SHALL THE ArgoUML PROJECT BE LIABLE FOR ANY
+// DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+// ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+package org.argouml.model.euml;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.argouml.model.Co​mmonBehaviorHelper;
+
+/**
+ * Eclipse UML2 implementation of CommonBehaviorHelper.
+ */
+class CommonBehaviorHelperEUMLImpl implements CommonBehaviorHelper {
+
+ /**
+ * The model implementation.
+ */
+ private EUMLModelImplementation modelImpl;
+
+ /**
+ * Constructor.
+ *
+ * @param implementation The ModelImplementation.
+ */
+ public CommonBehaviorHelper​EUMLImpl(EUMLModelIm​plementation implementation) {
+ modelImpl = implementation;
+ }
+
+ public void addAction(Object handle, Object action) {
+ // TODO: Auto-generated method stub
+
+ }
+
+ public void addAction(Object handle, int position, Object action) {
+ // TODO: Auto-generated method stub
+
+ }
+
+ public void addActualArgument(Object handle, Object argument) {
+ // TODO: Auto-generated method stub
+
+ }
+
+ public void addActualArgument(Object handle, int position, Object argument) {
+ // TODO: Auto-generated method stub
+
+ }
+
+ public void addClassifier(Object handle, Object classifier) {
+ // TODO: Auto-generated method stub
+
+ }
+
+ public void addStimulus(Object handle, Object stimulus) {
+ // TODO: Auto-generated method stub
+
+ }
+
+ public Object getActionOwner(Object handle) {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object getDestination(Object link) {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object getInstantiation(Object createaction) {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public Object getSource(Object link) {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ public void removeAction(Object handle, Object action) {
+ // TODO: Auto-generated method stub
+
+ }
+
+ public void removeActualArgument(Object handle, Object argument) {
+ // TODO: Auto-generated method stub
+
+ }
+
+ public void removeClassifier(Object handle, Object classifier) {
+ // TODO: Auto-generated method stub
+
+ }
+
+ public void removeContext(Object handle, Object context) {
+ // TODO: Auto-generated method stub
+
+ }
+
+ public void removeReception(Object handle, Object reception) {
+ // TODO: Auto-generated method stub
+
+ }
+
+ public void setActualArguments(Object action, List arguments) {
+ // TODO: Auto-generated method stub
+
+ }
+
+ public void setAsynchronous(Object handle, boolean value) {
+ // TODO: Auto-generated method stub
+
+ }
+
+
+ public void setClassifiers(Object handle, Collection classifiers) {
+ // TODO: Auto-generated m

View complete message

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

svn commit: r26 - trunk/src/argouml-core-model-euml/src/org/argouml/model/euml marcusvnac Marcus Vinícius de Ávila Couto 2010-04-03 11:15:11 PDT
Messages per page: