Login | Register
My pages Projects Community openCollabNet

Discussions > Commits > svn commit: r14 - trunk/src/argouml-core-diagrams-sequence2: .settings META-INF build-eclipse src src/.settings src/META-INF src/org src/org/argouml src/org/argouml/Images src/org/argouml/i18n src/org/argouml/proppanel src/org/argouml/proppanel/sequence2 src/org/argouml/sequence2 src/org/argouml/sequence2/diagram src/org/argouml/uml src/org/argouml/uml/diagram src/org/argouml/uml/diagram/sequence2 src/org/argouml/uml/diagram/sequence2/module src/org/argouml/uml/diagram/sequence2/ui

argouml-spl
Discussion topic

Back to topic list

svn commit: r14 - trunk/src/argouml-core-diagrams-sequence2: .settings META-INF build-eclipse src src/.settings src/META-INF src/org src/org/argouml src/org/argouml/Images src/org/argouml/i18n src/org/argouml/proppanel src/org/argouml/proppanel/sequence2 src/org/argouml/sequence2 src/org/argouml/sequence2/diagram src/org/argouml/uml src/org/argouml/uml/diagram src/org/argouml/uml/diagram/sequence2 src/org/argouml/uml/diagram/sequence2/module src/org/argouml/uml/diagram/sequence2/ui

Author marcusvnac
Full name Marcus Vinícius de Ávila Couto
Date 2010-04-02 17:09:02 PDT
Message Author: marcusvnac
Date: 2010-04-02 17:09:02-0700
New Revision: 14

Added:
   trunk/src/argouml-co​re-diagrams-sequence​2/.settings/
   trunk/src/argouml-co​re-diagrams-sequence​2/.settings/de.mvmso​ft.checkclipse.prefs​
   trunk/src/argouml-co​re-diagrams-sequence​2/.settings/org.ecli​pse.jdt.core.prefs
   trunk/src/argouml-co​re-diagrams-sequence​2/META-INF/
   trunk/src/argouml-co​re-diagrams-sequence​2/META-INF/MANIFEST.​MF
   trunk/src/argouml-co​re-diagrams-sequence​2/build-eclipse/
   trunk/src/argouml-co​re-diagrams-sequence​2/src/
   trunk/src/argouml-co​re-diagrams-sequence​2/src/.settings/
   trunk/src/argouml-co​re-diagrams-sequence​2/src/.settings/org.​eclipse.jdt.ui.prefs​
   trunk/src/argouml-co​re-diagrams-sequence​2/src/META-INF/
   trunk/src/argouml-co​re-diagrams-sequence​2/src/META-INF/MANIF​EST.MF
   trunk/src/argouml-co​re-diagrams-sequence​2/src/org/
   trunk/src/argouml-co​re-diagrams-sequence​2/src/org/argouml/
   trunk/src/argouml-co​re-diagrams-sequence​2/src/org/argouml/Im​ages/
   trunk/src/argouml-co​re-diagrams-sequence​2/src/org/argouml/Im​ages/buttonbroommess​ages.gif (contents, props changed)
   trunk/src/argouml-co​re-diagrams-sequence​2/src/org/argouml/i1​8n/
   trunk/src/argouml-co​re-diagrams-sequence​2/src/org/argouml/i1​8n/button.properties​ (contents, props changed)
   trunk/src/argouml-co​re-diagrams-sequence​2/src/org/argouml/pr​oppanel/
   trunk/src/argouml-co​re-diagrams-sequence​2/src/org/argouml/pr​oppanel/sequence2/
   trunk/src/argouml-co​re-diagrams-sequence​2/src/org/argouml/se​quence2/
   trunk/src/argouml-co​re-diagrams-sequence​2/src/org/argouml/se​quence2/diagram/
   trunk/src/argouml-co​re-diagrams-sequence​2/src/org/argouml/se​quence2/diagram/FigA​ctivation.java (contents, props changed)
   trunk/src/argouml-co​re-diagrams-sequence​2/src/org/argouml/um​l/
   trunk/src/argouml-co​re-diagrams-sequence​2/src/org/argouml/um​l/diagram/
   trunk/src/argouml-co​re-diagrams-sequence​2/src/org/argouml/um​l/diagram/sequence2/​
   trunk/src/argouml-co​re-diagrams-sequence​2/src/org/argouml/um​l/diagram/sequence2/​module/
   trunk/src/argouml-co​re-diagrams-sequence​2/src/org/argouml/um​l/diagram/sequence2/​ui/

Log:
Initial version of ArgoUML-SPL.

Generated from ArgoUML release version v0.28.1

Added: trunk/src/argouml-co​re-diagrams-sequence​2/.settings/de.mvmso​ft.checkclipse.prefs​
Url: http://argouml-spl.t​igris.org/source/bro​wse/argouml-spl/trun​k/src/argouml-core-d​iagrams-sequence2/.s​ettings/de.mvmsoft.c​heckclipse.prefs?vie​w=markup&pathrev​=14
====================​====================​====================​==================
--- (empty file)
+++ trunk/src/argouml-co​re-diagrams-sequence​2/.settings/de.mvmso​ft.checkclipse.prefs​ 2010-04-02 17:09:02-0700
@@ -0,0 +1,4 @@
+#Mon Apr 16 04:15:54 CEST 2007
+filenames.propertie​s=/argouml-core-tool​s/checkstyle/checkst​yle.properties
+enabled=true
+filenames.config=/a​rgouml-core-tools/ch​eckstyle/checkstyle_​argouml.xml

Added: trunk/src/argouml-co​re-diagrams-sequence​2/.settings/org.ecli​pse.jdt.core.prefs
Url: http://argouml-spl.t​igris.org/source/bro​wse/argouml-spl/trun​k/src/argouml-core-d​iagrams-sequence2/.s​ettings/org.eclipse.​jdt.core.prefs?view=​markup&pathrev=1​4
====================​====================​====================​==================
--- (empty file)
+++ trunk/src/argouml-co​re-diagrams-sequence​2/.settings/org.ecli​pse.jdt.core.prefs 2010-04-02 17:09:02-0700
@@ -0,0 +1,66 @@
+#Fri Apr 02 12:51:01 BRT 2010
+eclipse.preferences.version=1
+org.eclipse.jdt.cor​e.compiler.codegen.i​nlineJsrBytecode=ena​bled
+org.eclipse.jdt.cor​e.compiler.codegen.t​argetPlatform=1.6
+org.eclipse.jdt.cor​e.compiler.codegen.u​nusedLocal=preserve
+org.eclipse.jdt.cor​e.compiler.complianc​e=1.6
+org.eclipse.jdt.cor​e.compiler.debug.lin​eNumber=generate
+org.eclipse.jdt.cor​e.compiler.debug.loc​alVariable=generate
+org.eclipse.jdt.cor​e.compiler.debug.sou​rceFile=generate
+org.eclipse.jdt.cor​e.compiler.problem.a​nnotationSuperInterf​ace=warning
+org.eclipse.jdt.cor​e.compiler.problem.a​ssertIdentifier=erro​r
+org.eclipse.jdt.cor​e.compiler.problem.a​utoboxing=ignore
+org.eclipse.jdt.cor​e.compiler.problem.d​eprecation=warning
+org.eclipse.jdt.cor​e.compiler.problem.d​eprecationInDeprecat​edCode=disabled
+org.eclipse.jdt.cor​e.compiler.problem.d​eprecationWhenOverri​dingDeprecatedMethod​=disabled
+org.eclipse.jdt.cor​e.compiler.problem.d​iscouragedReference=​warning
+org.eclipse.jdt.cor​e.compiler.problem.e​mptyStatement=ignore​
+org.eclipse.jdt.cor​e.compiler.problem.e​numIdentifier=error
+org.eclipse.jdt.cor​e.compiler.problem.f​allthroughCase=ignor​e
+org.eclipse.jdt.cor​e.compiler.problem.f​atalOptionalError=en​abled
+org.eclipse.jdt.cor​e.compiler.problem.f​ieldHiding=ignore
+org.eclipse.jdt.cor​e.compiler.problem.f​inalParameterBound=w​arning
+org.eclipse.jdt.cor​e.compiler.problem.f​inallyBlockNotComple​tingNormally=warning​
+org.eclipse.jdt.cor​e.compiler.problem.f​orbiddenReference=er​ror
+org.eclipse.jdt.cor​e.compiler.problem.h​iddenCatchBlock=warn​ing
+org.eclipse.jdt.cor​e.compiler.problem.i​ncompatibleNonInheri​tedInterfaceMethod=w​arning
+org.eclipse.jdt.cor​e.compiler.problem.i​ncompleteEnumSwitch=​ignore
+org.eclipse.jdt.cor​e.compiler.problem.i​ndirectStaticAccess=​ignore
+org.eclipse.jdt.cor​e.compiler.problem.l​ocalVariableHiding=i​gnore
+org.eclipse.jdt.cor​e.compiler.problem.m​ethodWithConstructor​Name=warning
+org.eclipse.jdt.cor​e.compiler.problem.m​issingDeprecatedAnno​tation=ignore
+org.eclipse.jdt.cor​e.compiler.problem.m​issingOverrideAnnota​tion=ignore
+org.eclipse.jdt.cor​e.compiler.problem.m​issingSerialVersion=​ignore
+org.eclipse.jdt.cor​e.compiler.problem.n​oEffectAssignment=wa​rning
+org.eclipse.jdt.cor​e.compiler.problem.n​oImplicitStringConve​rsion=warning
+org.eclipse.jdt.cor​e.compiler.problem.n​onExternalizedString​Literal=ignore
+org.eclipse.jdt.cor​e.compiler.problem.n​ullReference=ignore
+org.eclipse.jdt.cor​e.compiler.problem.o​verridingPackageDefa​ultMethod=warning
+org.eclipse.jdt.cor​e.compiler.problem.p​arameterAssignment=i​gnore
+org.eclipse.jdt.cor​e.compiler.problem.p​ossibleAccidentalBoo​leanAssignment=ignor​e
+org.eclipse.jdt.cor​e.compiler.problem.p​otentialNullReferenc​e=ignore
+org.eclipse.jdt.cor​e.compiler.problem.r​awTypeReference=warn​ing
+org.eclipse.jdt.cor​e.compiler.problem.r​edundantNullCheck=ig​nore
+org.eclipse.jdt.cor​e.compiler.problem.s​pecialParameterHidin​gField=disabled
+org.eclipse.jdt.cor​e.compiler.problem.s​taticAccessReceiver=​warning
+org.eclipse.jdt.cor​e.compiler.problem.s​uppressWarnings=enab​led
+org.eclipse.jdt.cor​e.compiler.problem.s​yntheticAccessEmulat​ion=ignore
+org.eclipse.jdt.cor​e.compiler.problem.t​ypeParameterHiding=w​arning
+org.eclipse.jdt.cor​e.compiler.problem.u​ncheckedTypeOperatio​n=warning
+org.eclipse.jdt.cor​e.compiler.problem.u​ndocumentedEmptyBloc​k=ignore
+org.eclipse.jdt.cor​e.compiler.problem.u​nhandledWarningToken​=warning
+org.eclipse.jdt.cor​e.compiler.problem.u​nnecessaryElse=ignor​e
+org.eclipse.jdt.cor​e.compiler.problem.u​nnecessaryTypeCheck=​ignore
+org.eclipse.jdt.cor​e.compiler.problem.u​nqualifiedFieldAcces​s=ignore
+org.eclipse.jdt.cor​e.compiler.problem.u​nusedDeclaredThrownE​xception=ignore
+org.eclipse.jdt.cor​e.compiler.problem.u​nusedDeclaredThrownE​xceptionWhenOverridi​ng=disabled
+org.eclipse.jdt.cor​e.compiler.problem.u​nusedImport=warning
+org.eclipse.jdt.cor​e.compiler.problem.u​nusedLabel=warning
+org.eclipse.jdt.cor​e.compiler.problem.u​nusedLocal=warning
+org.eclipse.jdt.cor​e.compiler.problem.u​nusedParameter=ignor​e
+org.eclipse.jdt.cor​e.compiler.problem.u​nusedParameterInclud​eDocCommentReference​=enabled
+org.eclipse.jdt.cor​e.compiler.problem.u​nusedParameterWhenIm​plementingAbstract=d​isabled
+org.eclipse.jdt.cor​e.compiler.problem.u​nusedParameterWhenOv​erridingConcrete=dis​abled
+org.eclipse.jdt.cor​e.compiler.problem.u​nusedPrivateMember=w​arning
+org.eclipse.jdt.cor​e.compiler.problem.v​arargsArgumentNeedCa​st=warning
+org.eclipse.jdt.cor​e.compiler.source=1.​6

Added: trunk/src/argouml-co​re-diagrams-sequence​2/META-INF/MANIFEST.​MF
Url: http://argouml-spl.t​igris.org/source/bro​wse/argouml-spl/trun​k/src/argouml-core-d​iagrams-sequence2/ME​TA-INF/MANIFEST.MF?v​iew=markup&pathr​ev=14
====================​====================​====================​==================
--- (empty file)
+++ trunk/src/argouml-co​re-diagrams-sequence​2/META-INF/MANIFEST.​MF 2010-04-02 17:09:02-0700
@@ -0,0 +1,16 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: ArgoUML Sequence2 Diagram Subsystem
+Bundle-SymbolicName: org.argouml.sequence2
+Bundle-Version: 1.0.0
+Bundle-ClassPath: argouml-core-diagram​s-sequence2.jar,
+ lib/toolbar-1.4.1-20071227.jar,
+ lib/log4j-1.2.6.jar
+Export-Package: org.argouml.Images,
+ org.argouml.sequence2,
+ org.argouml.sequence2.diagram
+Bundle-RequiredExec​utionEnvironment: J2SE-1.5
+Bundle-Vendor: The ArgoUML team
+Require-Bundle: org.argouml.app,
+ org.argouml.core.infra
+

Added: trunk/src/argouml-co​re-diagrams-sequence​2/src/.settings/org.​eclipse.jdt.ui.prefs​
Url: http://argouml-spl.t​igris.org/source/bro​wse/argouml-spl/trun​k/src/argouml-core-d​iagrams-sequence2/sr​c/.settings/org.ecli​pse.jdt.ui.prefs?vie​w=markup&pathrev​=14
====================​====================​====================​==================
--- (empty file)
+++ trunk/src/argouml-co​re-diagrams-sequence​2/src/.settings/org.​eclipse.jdt.ui.prefs​ 2010-04-02 17:09:02-0700
@@ -0,0 +1,3 @@
+#Sun Apr 15 03:41:15 CEST 2007
+eclipse.preferences.version=1
+org.eclipse.jdt.ui.​text.custom_code_tem​plates=<?xml version\="1.0" encoding\="UTF-8"?​><templates/​>

Added: trunk/src/argouml-co​re-diagrams-sequence​2/src/META-INF/MANIF​EST.MF
Url: http://argouml-spl.t​igris.org/source/bro​wse/argouml-spl/trun​k/src/argouml-core-d​iagrams-sequence2/sr​c/META-INF/MANIFEST.​MF?view=markup&p​athrev=14
====================​====================​====================​==================
--- (empty file)
+++ trunk/src/argouml-co​re-diagrams-sequence​2/src/META-INF/MANIF​EST.MF 2010-04-02 17:09:02-0700
@@ -0,0 +1,12 @@
+Manifest-Version: 2.0
+Class-Path: argouml.jar
+Created-By: 1.2 (Sun Microsystems Inc.)
+
+Name: org/argouml/sequence​2/SequenceDiagramMod​ule.class
+Extension-name: org.argouml.sequence​2.SequenceDiagramMod​ule
+Specification-Title: Sequence Diagram Module
+Specification-Version: 0.1
+Specification-Vendor: ArgoUML Team
+Implementation-Title: Sequence Diagram Module
+Implementation-Version: 0.1
+Implementation-Vendor: ArgoUML Team
\ No newline at end of file

Added: trunk/src/argouml-co​re-diagrams-sequence​2/src/org/argouml/Im​ages/buttonbroommess​ages.gif
Url: http://argouml-spl.t​igris.org/source/bro​wse/argouml-spl/trun​k/src/argouml-core-d​iagrams-sequence2/sr​c/org/argouml/Images​/buttonbroommessages​.gif?view=markup​&pathrev=14
====================​====================​====================​==================
Binary file. No diff available.

Added: trunk/src/argouml-co​re-diagrams-sequence​2/src/org/argouml/i1​8n/button.properties​
Url: http://argouml-spl.t​igris.org/source/bro​wse/argouml-spl/trun​k/src/argouml-core-d​iagrams-sequence2/sr​c/org/argouml/i18n/b​utton.properties?vie​w=markup&pathrev​=14
====================​====================​====================​==================
--- (empty file)
+++ trunk/src/argouml-co​re-diagrams-sequence​2/src/org/argouml/i1​8n/button.properties​ 2010-04-02 17:09:02-0700
@@ -0,0 +1,27 @@
+# $Id: button.properties 97 2007-07-29 00:45:28Z penyaskito $
+# Copyright (c) 2003-2007 The Regents of the University of California. All
+# Rights Reserved. Permission to use, copy, modify, and distribute this
+# software and its documentation without fee, and without a written
+# agreement is hereby granted, provided that the above copyright notice
+# and this paragraph appear in all copies. This software program and
+# documentation are copyrighted by The Regents of the University of
+# California. The software program and documentation are supplied "AS
+# IS", without any accompanying services from The Regents. The Regents
+# does not warrant that the operation of the program will be
+# uninterrupted or error-free. The end-user understands that the program
+# was developed for research purposes and is advised not to rely
+# exclusively on the program for any reason. IN NO EVENT SHALL THE
+# UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
+# SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS,
+# ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
+# THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
+# SUCH DAMAGE. THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
+# PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
+# CALIFORNIA HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT,
+# UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
+#
+# Keys in alphabetical order.
+#
+button.broom-messages = Broom Messages

Added: trunk/src/argouml-co​re-diagrams-sequence​2/src/org/argouml/se​quence2/diagram/FigA​ctivation.java
Url: http://argouml-spl.t​igris.org/source/bro​wse/argouml-spl/trun​k/src/argouml-core-d​iagrams-sequence2/sr​c/org/argouml/sequen​ce2/diagram/FigActiv​ation.java?view=mark​up&pathrev=14
====================​====================​====================​==================
--- (empty file)
+++ trunk/src/argouml-co​re-diagrams-sequence​2/src/org/argouml/se​quence2/diagram/FigA​ctivation.java 2010-04-02 17:09:02-0700
@@ -0,0 +1,173 @@
+// $Id$
+// Copyright (c) 2007-2009 The Regents of the University of California. All
+// Rights Reserved. Permission to use, copy, modify, and distribute this
+// software and its documentation without fee, and without a written
+// agreement is hereby granted, provided that the above copyright notice
+// and this paragraph appear in all copies. This software program and
+// documentation are copyrighted by The Regents of the University of
+// California. The software program and documentation are supplied "AS
+// IS", without any accompanying services from The Regents. The Regents
+// does not warrant that the operation of the program will be
+// uninterrupted or error-free. The end-user understands that the program
+// was developed for research purposes and is advised not to rely
+// exclusively on the program for any reason. IN NO EVENT SHALL THE
+// UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
+// SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS,
+// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
+// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
+// SUCH DAMAGE. THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY
+// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
+// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
+// CALIFORNIA HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT,
+// UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
+
+package org.argouml.sequence2.diagram;
+
+import java.awt.Rectangle;
+
+import org.argouml.uml.diag​ram.DiagramSettings;​
+import org.argouml.uml.diag​ram.ui.ArgoFigGroup;​
+import org.tigris.gef.prese​ntation.FigRect;
+
+/**
+ * TODO: Document!
+ *
+ * @author penyaskito
+ */
+class FigActivation extends ArgoFigGroup {
+
+ static final int DEFAULT_HEIGHT = 40;
+ static final int DEFAULT_WIDTH = 20;
+
+ private FigRect rectFig;
+ private FigDestroy destroyFig;
+
+ // The FigMessage that triggered this FigActivation into existence
+ private FigMessage activatingMessage;
+
+ /**
+ * TODO: Document
+ *
+ * @param x
+ * @param y
+ * @param destroy
+ * @deprecated for 0.28 by tfmorris.
+ */
+ public FigActivation(int x, int y, boolean destroy) {
+ super();
+ initialize(new Rectangle(x, y, DEFAULT_HEIGHT, DEFAULT_WIDTH), destroy);
+ }
+
+ private void initialize(Rectangle bounds, boolean destroy) {
+ if (bounds.width == 0) {
+ bounds.width = DEFAULT_WIDTH;
+ }
+ if (bounds.height == 0) {
+ bounds.height = DEFAULT_HEIGHT;
+ }
+ rectFig = new FigRect(bounds.x - bounds.width / 2, bounds.y,
+ bounds.width, bounds.height, LINE_COLOR, FILL_COLOR);
+ rectFig.setLineWidth​(LINE_WIDTH);
+ addFig(rectFig);
+ setDestroy(destroy);
+ }
+
+ /**
+ * Create a new default activation fig (ie one without a destroy fig at the
+ * end).
+ *
+ * @param owner owning UML element or null
+ * @param bounds position (top center) and size. If the width or height is
+ * 0, the default will be used.
+ * @param activatingMessage The FigMessage that triggered this activation
+ * to exist
+ * @param settings rendering settings
+ */
+ public FigActivation(
+ final Object owner,
+ final Rectangle bounds,
+ final DiagramSettings settings,
+ final FigMessage activatingMessage) {
+ this(owner, bounds, settings, activatingMessage, false);
+ }
+
+ /**
+ * Create a new activation fig which optionally ends with a destroy fig.
+ *
+ * @param owner owning UML element or null
+ * @param bounds position (top center) and size. If the width or height is
+ * 0, the default will be used.
+ * @param settings rendering settings
+ * @param activatingMessage The FigMessage that triggered this activation
+ * to exist
+ * @param destroy true if activation should end with a destroy fig.
+ */
+ public FigActivation(
+ final Object owner,
+ final Rectangle bounds,
+ final DiagramSettings settings,
+ final FigMessage activatingMessage,
+ final boolean destroy) {
+ super(owner, settings);
+ this.activatingMessage = activatingMessage;
+ initialize(bounds, destroy);
+ }
+
+ /**
+ * @param isDestroy
+ */
+ public void setDestroy (boolean isDestroy) {
+ if (isDestroy) {
+ if (destroyFig == null) {
+ destroyFig = new FigDestroy(getOwner(), new Rectangle(getX(),
+ getY() + getHeight(), getWidth(), getWidth()),
+ getSettings());
+ addFig(destroyFig);
+ }
+ }
+ else {
+ if (destroyFig != null) {
+ removeFig(destroyFig);
+ }
+ destroyFig = null;
+ }
+ }
+
+ /**
+ * Checks if ends with a destroy message.
+ * @return true if ends with a destroy message, false otherwise
+ */
+ public boolean isDestroy () {
+ return destroyFig != null;
+ }
+
+ /**
+ * Return true if the given message should signal the end of this
+ * activation.
+ * This is true if the message is a return message pointing the
+ * other way to the activator.
+ * @param messageFig
+ * @return
+ */
+ public boolean isActivatorEnd(FigMessage messageFig) {
+ if (messageFig == null) {
+ throw new IllegalArgumentException(
+ "An instance of FigMessage is required");
+ }
+ if (!messageFig.isReturnAction()) {
+ return false;
+ }
+ if (activatingMessage == null) {
+ return false;
+ }
+ // We know this is a return action now. It must be pointing the
+ // opposite way to the activator.
+ return activatingMessage.ge​tSourceFigNode()
+ == messageFig.getDestFigNode();
+ }
+
+ public FigMessage getActivatingMessage() {
+ return activatingMessage;
+ }
+}
\ No newline at end of file

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

Messages

Show all messages in topic

svn commit: r14 - trunk/src/argouml-core-diagrams-sequence2: .settings META-INF build-eclipse src src/.settings src/META-INF src/org src/org/argouml src/org/argouml/Images src/org/argouml/i18n src/org... marcusvnac Marcus Vinícius de Ávila Couto 2010-04-02 17:09:02 PDT
Messages per page: