svn commit: r12714 - branches/gsoc2007/maurelio1234/examples/javabeans: . .settings bin src src/.settings src/META-INF src/org src/org/argouml src/org/argouml/uml src/org/argouml/uml/profile src/org/argouml/uml/profile/cognitive src/org/argouml/uml/profile/cognitive/critics src/org/argouml/uml/profile/javabeans www

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: maurelio1234
Date: 2007-05-28 19:08:58-0700
New Revision: 12714

Added:
   branches/gsoc2007/maurelio1234/examples/javabeans/.classpath
   branches/gsoc2007/maurelio1234/examples/javabeans/.project
   branches/gsoc2007/maurelio1234/examples/javabeans/.settings/
   branches/gsoc2007/maurelio1234/examples/javabeans/.settings/org.eclipse.jdt.ui.prefs
   branches/gsoc2007/maurelio1234/examples/javabeans/ArgoUML sequence.launch
   branches/gsoc2007/maurelio1234/examples/javabeans/bin/
   branches/gsoc2007/maurelio1234/examples/javabeans/src/
   branches/gsoc2007/maurelio1234/examples/javabeans/src/.settings/
   branches/gsoc2007/maurelio1234/examples/javabeans/src/.settings/org.eclipse.jdt.ui.prefs
   branches/gsoc2007/maurelio1234/examples/javabeans/src/META-INF/
   branches/gsoc2007/maurelio1234/examples/javabeans/src/META-INF/MANIFEST.MF
   branches/gsoc2007/maurelio1234/examples/javabeans/src/org/
   branches/gsoc2007/maurelio1234/examples/javabeans/src/org/argouml/
   branches/gsoc2007/maurelio1234/examples/javabeans/src/org/argouml/uml/
   branches/gsoc2007/maurelio1234/examples/javabeans/src/org/argouml/uml/profile/
   branches/gsoc2007/maurelio1234/examples/javabeans/src/org/argouml/uml/profile/cognitive/
   branches/gsoc2007/maurelio1234/examples/javabeans/src/org/argouml/uml/profile/cognitive/critics/
   branches/gsoc2007/maurelio1234/examples/javabeans/src/org/argouml/uml/profile/cognitive/critics/CrJavaBeanPropertyApplication.java
   branches/gsoc2007/maurelio1234/examples/javabeans/src/org/argouml/uml/profile/javabeans/
   branches/gsoc2007/maurelio1234/examples/javabeans/src/org/argouml/uml/profile/javabeans/FigBean.java
   branches/gsoc2007/maurelio1234/examples/javabeans/src/org/argouml/uml/profile/javabeans/JavaBeans.xmi
   branches/gsoc2007/maurelio1234/examples/javabeans/src/org/argouml/uml/profile/javabeans/JavaBeansFigNodeStrategy.java
   branches/gsoc2007/maurelio1234/examples/javabeans/src/org/argouml/uml/profile/javabeans/JavaBeansProfileModule.java
   branches/gsoc2007/maurelio1234/examples/javabeans/src/org/argouml/uml/profile/javabeans/ProfileJavaBeans.java
   branches/gsoc2007/maurelio1234/examples/javabeans/www/
   branches/gsoc2007/maurelio1234/examples/javabeans/www/index.html

Log:
Initial import.

Added: branches/gsoc2007/maurelio1234/examples/javabeans/.classpath
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2007/maurelio1234/examples/javabeans/.classpath?view=auto&rev=12714
==============================================================================
--- (empty file)
+++ branches/gsoc2007/maurelio1234/examples/javabeans/.classpath	2007-05-28 19:08:58-0700
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>

+<classpath>

+	<classpathentry kind="src" path="src"/>

+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>

+	<classpathentry combineaccessrules="false" kind="src" path="/argouml"/>

+	<classpathentry kind="lib" path="/argouml-core-lib/gef-0.12.4M3.jar"/>

+	<classpathentry combineaccessrules="false" kind="src" path="/argouml-core-model"/>

+	<classpathentry kind="output" path="bin"/>

+</classpath>


Added: branches/gsoc2007/maurelio1234/examples/javabeans/.project
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2007/maurelio1234/examples/javabeans/.project?view=auto&rev=12714
==============================================================================
--- (empty file)
+++ branches/gsoc2007/maurelio1234/examples/javabeans/.project	2007-05-28 19:08:58-0700
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>

+<projectDescription>

+	<name>profile-javabeans</name>

+	<comment></comment>

+	<projects>

+	</projects>

+	<buildSpec>

+		<buildCommand>

+			<name>org.eclipse.jdt.core.javabuilder</name>

+			<arguments>

+			</arguments>

+		</buildCommand>

+	</buildSpec>

+	<natures>

+		<nature>org.eclipse.jdt.core.javanature</nature>

+	</natures>

+</projectDescription>


Added: branches/gsoc2007/maurelio1234/examples/javabeans/.settings/org.eclipse.jdt.ui.prefs
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2007/maurelio1234/examples/javabeans/.settings/org.eclipse.jdt.ui.prefs?view=auto&rev=12714
==============================================================================
--- (empty file)
+++ branches/gsoc2007/maurelio1234/examples/javabeans/.settings/org.eclipse.jdt.ui.prefs	2007-05-28 19:08:58-0700
@@ -0,0 +1,3 @@
+#Thu Apr 19 11:45:21 BRT 2007

+eclipse.preferences.version=1

+org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8"?><templates><template autoinsert\="true" context\="gettercomment_context" deleted\="false" description\="Comment for getter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/**\r\n * @return the ${bare_field_name}\r\n */</template><template autoinsert\="true" context\="settercomment_context" deleted\="false" description\="Comment for setter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.settercomment" name\="settercomment">/**\r\n * @param ${param} the ${bare_field_name} to set\r\n */</template><template autoinsert\="true" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/
 **\r\n * ${tags}\r\n */</template><template autoinsert\="false" context\="filecomment_context" deleted\="false" description\="Comment for created Java files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.filecomment" name\="filecomment">// $$Id$$\r\n// Copyright (c) 2007 The Regents of the University of California. All\r\n// Rights Reserved. Permission to use, copy, modify, and distribute this\r\n// software and its documentation without fee, and without a written\r\n// agreement is hereby granted, provided that the above copyright notice\r\n// and this paragraph appear in all copies.  This software program and\r\n// documentation are copyrighted by The Regents of the University of\r\n// California. The software program and documentation are supplied "AS\r\n// IS", without any accompanying services from The Regents. The Regents\r\n// does not warrant that the operation of 
 the program will be\r\n// uninterrupted or error-free. The end-user understands that the program\r\n// was developed for research purposes and is advised not to rely\r\n// exclusively on the program for any reason.  IN NO EVENT SHALL THE\r\n// UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,\r\n// SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS,\r\n// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF\r\n// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF\r\n// SUCH DAMAGE. THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY\r\n// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\r\n// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE\r\n// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF\r\n// CALIFORNIA HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SU
 PPORT,\r\n// UPDATES, ENHANCEMENTS, OR MODIFICATIONS.</template><template autoinsert\="true" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\r\n * @author ${user}\r\n *\r\n * ${tags}\r\n */</template><template autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment for fields" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">/**\r\n * \r\n */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\r\n * ${tags}\r\n */</template><template autoinsert\="true" context\="overridecomment_context" del
 eted\="false" description\="Comment for overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.overridecomment" name\="overridecomment">/* (non-Javadoc)\r\n * ${see_to_overridden}\r\n */</template><template autoinsert\="true" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\r\n * ${tags}\r\n * ${see_to_target}\r\n */</template><template autoinsert\="true" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.newtype" name\="newtype">${filecomment}\r\n${package_declaration}\r\n\r\n${typecomment}\r\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class
  type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.classbody" name\="classbody">\r\n</template><template autoinsert\="true" context\="interfacebody_context" deleted\="false" description\="Code in new interface type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.interfacebody" name\="interfacebody">\r\n</template><template autoinsert\="true" context\="enumbody_context" deleted\="false" description\="Code in new enum type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.enumbody" name\="enumbody">\r\n</template><template autoinsert\="true" context\="annotationbody_context" deleted\="false" description\="Code in new annotation type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.annotationbody" name\="annotationbody">\r\n</template><template autoinsert\="true" context\="catchblock_context" deleted\="false" desc
 ription\="Code in new catch blocks" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.catchblock" name\="catchblock">// ${todo} Auto-generated catch block\r\n${exception_var}.printStackTrace();</template><template autoinsert\="true" context\="methodbody_context" deleted\="false" description\="Code in created method stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodbody" name\="methodbody">// ${todo} Auto-generated method stub\r\n${body_statement}</template><template autoinsert\="true" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}\r\n// ${todo} Auto-generated constructor stub</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in crea
 ted getters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template></templates>


Added: branches/gsoc2007/maurelio1234/examples/javabeans/ArgoUML sequence.launch
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2007/maurelio1234/examples/javabeans/ArgoUML%20sequence.launch?view=auto&rev=12714
==============================================================================
--- (empty file)
+++ branches/gsoc2007/maurelio1234/examples/javabeans/ArgoUML sequence.launch	2007-05-28 19:08:58-0700
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>

+<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">

+<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>

+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">

+<listEntry value="/profile-javabeans"/>

+</listAttribute>

+<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">

+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry containerPath=&quot;org.eclipse.jdt.launching.JRE_CONTAINER&quot; javaProject=&quot;argouml&quot; path=&quot;1&quot; type=&quot;4&quot;/&gt;&#13;&#10;"/>

+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry path=&quot;3&quot; projectName=&quot;argouml-sequence&quot; type=&quot;1&quot;/&gt;&#13;&#10;"/>

+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry internalArchive=&quot;/argouml-core-lib/toolbar-1.4beta.jar&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#13;&#10;"/>

+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry internalArchive=&quot;/argouml-core-lib/gef-0.12.4M3.jar&quot; path=&quot;3&quot; sourceAttachmentPath=&quot;/gef&quot; sourceRootPath=&quot;&quot; type=&quot;2&quot;/&gt;&#13;&#10;"/>

+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry internalArchive=&quot;/argouml-core-tools/lib/easymock12.jar&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#13;&#10;"/>

+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry id=&quot;org.eclipse.jdt.launching.classpathentry.defaultClasspath&quot;&gt;&#13;&#10;&lt;memento exportedEntriesOnly=&quot;false&quot; project=&quot;argouml&quot;/&gt;&#13;&#10;&lt;/runtimeClasspathEntry&gt;&#13;&#10;"/>

+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry path=&quot;3&quot; projectName=&quot;argouml-core-model-mdr&quot; type=&quot;1&quot;/&gt;&#13;&#10;"/>

+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry internalArchive=&quot;/argouml-core-model-mdr/lib/jmi.jar&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#13;&#10;"/>

+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry internalArchive=&quot;/argouml-core-model-mdr/lib/jmiutils.jar&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#13;&#10;"/>

+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry internalArchive=&quot;/argouml-core-model-mdr/lib/mdrapi.jar&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#13;&#10;"/>

+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry internalArchive=&quot;/argouml-core-model-mdr/lib/mof.jar&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#13;&#10;"/>

+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry internalArchive=&quot;/argouml-core-model-mdr/lib/nbmdr.jar&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#13;&#10;"/>

+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry internalArchive=&quot;/argouml-core-model-mdr/lib/openide-util.jar&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#13;&#10;"/>

+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry path=&quot;3&quot; projectName=&quot;argouml-core-model&quot; type=&quot;1&quot;/&gt;&#13;&#10;"/>

+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry path=&quot;3&quot; projectName=&quot;argouml-core-lib&quot; type=&quot;1&quot;/&gt;&#13;&#10;"/>

+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry internalArchive=&quot;/argouml-core-lib/antlrall-2.7.2.jar&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#13;&#10;"/>

+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry internalArchive=&quot;/argouml-core-lib/commons-logging-1.0.2.jar&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#13;&#10;"/>

+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry internalArchive=&quot;/argouml-core-lib/log4j-1.2.6.jar&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#13;&#10;"/>

+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry internalArchive=&quot;/argouml-core-lib/ocl-argo-1.1.jar&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#13;&#10;"/>

+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry internalArchive=&quot;/argouml-core-lib/swidgets-0.1.4.jar&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#13;&#10;"/>

+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry path=&quot;3&quot; projectName=&quot;argouml-core-tools&quot; type=&quot;1&quot;/&gt;&#13;&#10;"/>

+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry internalArchive=&quot;/argouml-core-tools/junit-3.8.1/junit.jar&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#13;&#10;"/>

+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry path=&quot;3&quot; projectName=&quot;argouml&quot; type=&quot;1&quot;/&gt;&#13;&#10;"/>

+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry internalArchive=&quot;/argouml-core-lib/swidgets-0.1.4.jar&quot; path=&quot;3&quot; sourceAttachmentPath=&quot;/swidgets/src&quot; sourceRootPath=&quot;&quot; type=&quot;2&quot;/&gt;&#13;&#10;"/>

+</listAttribute>

+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="profile-javabeans"/>

+<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Xmx400M -ea -Dlog4j.configuration=org/argouml/resource/info_console.lcf -Dargouml.modules=org.argouml.uml.diagram.sequence.module.SequenceDiagramModule"/>

+<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="false"/>

+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.argouml.application.Main"/>

+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">

+<listEntry value="4"/>

+</listAttribute>

+</launchConfiguration>


Added: branches/gsoc2007/maurelio1234/examples/javabeans/src/.settings/org.eclipse.jdt.ui.prefs
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2007/maurelio1234/examples/javabeans/src/.settings/org.eclipse.jdt.ui.prefs?view=auto&rev=12714
==============================================================================
--- (empty file)
+++ branches/gsoc2007/maurelio1234/examples/javabeans/src/.settings/org.eclipse.jdt.ui.prefs	2007-05-28 19:08:58-0700
@@ -0,0 +1,3 @@
+#Sun Apr 15 03:41:15 CEST 2007

+eclipse.preferences.version=1

+org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8"?><templates/>


Added: branches/gsoc2007/maurelio1234/examples/javabeans/src/META-INF/MANIFEST.MF
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2007/maurelio1234/examples/javabeans/src/META-INF/MANIFEST.MF?view=auto&rev=12714
==============================================================================
--- (empty file)
+++ branches/gsoc2007/maurelio1234/examples/javabeans/src/META-INF/MANIFEST.MF	2007-05-28 19:08:58-0700
@@ -0,0 +1,12 @@
+Manifest-Version: 1.0

+Class-Path: argouml.jar

+Created-By: 1.2 (Sun Microsystems Inc.) 

+

+Name: org/argouml/uml/profile/javabeans/JavaBeansProfileModule.class

+Extension-name: org.argouml.uml.profile.javabeans.JavaBeansProfileModule.class

+Specification-Title: JavaBeans UML Profile

+Specification-Version: 0.1

+Specification-Vendor: Universidade Federal de Pernambuco

+Implementation-Title: JavaBeans UML Profile

+Implementation-Version: 0.1

+Implementation-Vendor: Universidade Federal de Pernambuco
\ No newline at end of file

Added: branches/gsoc2007/maurelio1234/examples/javabeans/src/org/argouml/uml/profile/cognitive/critics/CrJavaBeanPropertyApplication.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2007/maurelio1234/examples/javabeans/src/org/argouml/uml/profile/cognitive/critics/CrJavaBeanPropertyApplication.java?view=auto&rev=12714
==============================================================================
--- (empty file)
+++ branches/gsoc2007/maurelio1234/examples/javabeans/src/org/argouml/uml/profile/cognitive/critics/CrJavaBeanPropertyApplication.java	2007-05-28 19:08:58-0700
@@ -0,0 +1,36 @@
+package org.argouml.uml.profile.cognitive.critics;

+

+import org.argouml.cognitive.Designer;

+import org.argouml.cognitive.ToDoItem;

+import org.argouml.kernel.ProjectManager;

+import org.argouml.model.Model;

+import org.argouml.uml.cognitive.UMLDecision;

+import org.argouml.uml.cognitive.critics.CrUML;

+import org.argouml.uml.profile.javabeans.ProfileJavaBeans;

+

+public class CrJavaBeanPropertyApplication extends CrUML {

+    public CrJavaBeanPropertyApplication() {

+	setHeadline("");

+	addSupportedDecision(UMLDecision.PLANNED_EXTENSIONS);

+	setPriority(ToDoItem.HIGH_PRIORITY);

+	addTrigger("association");

+    }

+    

+    public boolean predicate2(Object dm, Designer dsgr) {

+	if (ProjectManager.getManager().getCurrentProject()

+		.getProfileConfiguration().getProfiles().contains(

+			ProfileJavaBeans.getInstance())) {

+	    if (Model.getFacade().isAAttribute(dm)) {

+		if (Model.getExtensionMechanismsHelper().hasStereoType(dm,

+			"Property")) {

+		    Object owner = Model.getFacade().getOwner(dm);

+		    if (!Model.getExtensionMechanismsHelper().hasStereoType(

+			    owner, "Bean")) {

+			return PROBLEM_FOUND;

+		    }

+		}

+	    }

+	}

+	return NO_PROBLEM;

+    }

+}


Added: branches/gsoc2007/maurelio1234/examples/javabeans/src/org/argouml/uml/profile/javabeans/FigBean.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2007/maurelio1234/examples/javabeans/src/org/argouml/uml/profile/javabeans/FigBean.java?view=auto&rev=12714
==============================================================================
--- (empty file)
+++ branches/gsoc2007/maurelio1234/examples/javabeans/src/org/argouml/uml/profile/javabeans/FigBean.java	2007-05-28 19:08:58-0700
@@ -0,0 +1,13 @@
+package org.argouml.uml.profile.javabeans;

+

+import org.argouml.uml.diagram.static_structure.ui.FigClass;

+import org.tigris.gef.presentation.FigNode;

+

+public class FigBean extends FigClass {

+    

+    public FigBean(Object node, int x, int y) {

+	super(node, x, y, 10, 10);

+	this.getNameFig().append(" [bean]");

+    }

+

+}


Added: branches/gsoc2007/maurelio1234/examples/javabeans/src/org/argouml/uml/profile/javabeans/JavaBeans.xmi
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2007/maurelio1234/examples/javabeans/src/org/argouml/uml/profile/javabeans/JavaBeans.xmi?view=auto&rev=12714
==============================================================================
--- (empty file)
+++ branches/gsoc2007/maurelio1234/examples/javabeans/src/org/argouml/uml/profile/javabeans/JavaBeans.xmi	2007-05-28 19:08:58-0700
@@ -0,0 +1,26 @@
+<?xml version = '1.0' encoding = 'UTF-8' ?>

+<XMI xmi.version = '1.2' xmlns:UML = 'org.omg.xmi.namespace.UML' timestamp = 'Thu May 10 11:40:18 BRT 2007'>

+  <XMI.header>    <XMI.documentation>
+      <XMI.exporter>ArgoUML (using Netbeans XMI Writer version 1.0)</XMI.exporter>
+      <XMI.exporterVersion>PRE-0.25.3(5) revised on $Date: 2006-11-06 16:55:22 -0200 (seg, 06 nov 2006) $ </XMI.exporterVersion>
+    </XMI.documentation>
+    <XMI.metamodel xmi.name="UML" xmi.version="1.4"/></XMI.header>

+  <XMI.content>

+    <UML:Model xmi.id = '10-1-1-3--78fd8828:1127669a1fa:-8000:000000000000077B'

+      name = 'untitledModel' isSpecification = 'false' isRoot = 'false' isLeaf = 'false'

+      isAbstract = 'false'>

+      <UML:Namespace.ownedElement>

+        <UML:Stereotype xmi.id = '10-1-1-3--78fd8828:1127669a1fa:-8000:000000000000077C'

+          name = 'Bean' isSpecification = 'false' isRoot = 'false' isLeaf = 'false'

+          isAbstract = 'false'>

+          <UML:Stereotype.baseClass>Class</UML:Stereotype.baseClass>

+        </UML:Stereotype>

+        <UML:Stereotype xmi.id = '10-1-1-3--78fd8828:1127669a1fa:-8000:000000000000077E'

+          name = 'Property' isSpecification = 'false' isRoot = 'false' isLeaf = 'false'

+          isAbstract = 'false'>

+          <UML:Stereotype.baseClass>Attribute</UML:Stereotype.baseClass>

+        </UML:Stereotype>

+      </UML:Namespace.ownedElement>

+    </UML:Model>

+  </XMI.content>

+</XMI>


Added: branches/gsoc2007/maurelio1234/examples/javabeans/src/org/argouml/uml/profile/javabeans/JavaBeansFigNodeStrategy.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2007/maurelio1234/examples/javabeans/src/org/argouml/uml/profile/javabeans/JavaBeansFigNodeStrategy.java?view=auto&rev=12714
==============================================================================
--- (empty file)
+++ branches/gsoc2007/maurelio1234/examples/javabeans/src/org/argouml/uml/profile/javabeans/JavaBeansFigNodeStrategy.java	2007-05-28 19:08:58-0700
@@ -0,0 +1,19 @@
+package org.argouml.uml.profile.javabeans;

+

+import java.util.Map;

+

+import org.argouml.model.Model;

+import org.argouml.uml.profile.FigNodeStrategy;

+import org.tigris.gef.presentation.FigNode;

+

+public class JavaBeansFigNodeStrategy implements FigNodeStrategy {

+

+    public FigNode getFigNodelForElement(Object element, int x, int y, Map styleAttributes) {

+	FigNode ret = null;

+	if (Model.getExtensionMechanismsHelper().hasStereoType(element, "Bean")) {

+	    ret = new FigBean(element, x, y);

+	}

+	return ret;

+    }

+    

+}


Added: branches/gsoc2007/maurelio1234/examples/javabeans/src/org/argouml/uml/profile/javabeans/JavaBeansProfileModule.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2007/maurelio1234/examples/javabeans/src/org/argouml/uml/profile/javabeans/JavaBeansProfileModule.java?view=auto&rev=12714
==============================================================================
--- (empty file)
+++ branches/gsoc2007/maurelio1234/examples/javabeans/src/org/argouml/uml/profile/javabeans/JavaBeansProfileModule.java	2007-05-28 19:08:58-0700
@@ -0,0 +1,77 @@
+//$Id$

+//Copyright (c) 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.

+

+package org.argouml.uml.profile.javabeans;

+

+import org.argouml.cognitive.critics.Agency;

+import org.argouml.model.Model;

+import org.argouml.moduleloader.ModuleInterface;

+import org.argouml.uml.profile.ProfileManagerImpl;

+import org.argouml.uml.profile.cognitive.critics.CrJavaBeanPropertyApplication;

+import org.tigris.gef.undo.UndoableAction;

+

+

+public class JavaBeansProfileModule extends UndoableAction implements ModuleInterface  {

+    private ProfileJavaBeans profile = ProfileJavaBeans.getInstance();

+    

+    public JavaBeansProfileModule() {

+        super ("JavaBeans UML Profile");        

+    }

+    

+    public boolean enable() {

+	ProfileManagerImpl.getInstance().registerProfile(profile);

+	Agency.register(new CrJavaBeanPropertyApplication(), Model

+		.getMetaTypes().getAttribute());

+	

+        return true;

+    }

+    

+    public boolean disable() {

+	ProfileManagerImpl.getInstance().removeProfile(profile);

+

+	// TODO find a way to unregister critics!

+        return true;

+    }

+    

+    public String getName() {

+        return "JavaBeans UML Profile";

+    }

+    

+    public String getInfo(int type) {

+        switch (type) {

+        case DESCRIPTION:

+            return "JavaBeans UML Profile";

+        case AUTHOR:

+            return "Marcos Aurélio Almeida da Silva";

+        case VERSION:

+            return "0.1";

+        case DOWNLOADSITE:

+            return "http://argouml.tigris.org";

+        default:

+            return null;

+        }    

+    }

+    

+    private static final long serialVersionUID = 1L;

+}


Added: branches/gsoc2007/maurelio1234/examples/javabeans/src/org/argouml/uml/profile/javabeans/ProfileJavaBeans.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2007/maurelio1234/examples/javabeans/src/org/argouml/uml/profile/javabeans/ProfileJavaBeans.java?view=auto&rev=12714
==============================================================================
--- (empty file)
+++ branches/gsoc2007/maurelio1234/examples/javabeans/src/org/argouml/uml/profile/javabeans/ProfileJavaBeans.java	2007-05-28 19:08:58-0700
@@ -0,0 +1,73 @@
+// $Id: eclipse-argo-codetemplates.xml 11347 2006-10-26 22:37:44Z linus $

+// Copyright (c) 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.

+

+package org.argouml.uml.profile.javabeans;

+

+import org.argouml.model.Model;

+import org.argouml.uml.profile.FigNodeStrategy;

+import org.argouml.uml.profile.FormatingStrategy;

+import org.argouml.uml.profile.Profile;

+import org.argouml.uml.profile.ProfileModelLoader;

+import org.argouml.uml.profile.ResourceModelLoader;

+

+public class ProfileJavaBeans extends Profile {

+

+    private static ProfileJavaBeans instance = null;

+    

+    private ProfileModelLoader profileModelLoader;

+    private Object model;

+

+    private ProfileJavaBeans() {

+	    profileModelLoader = new ResourceModelLoader(this.getClass());

+	    model = profileModelLoader.loadModel("JavaBeans.xmi");	

+	    

+	    if (model == null) {

+		model = Model.getModelManagementFactory().createModel();

+	    }

+    }

+

+    public static ProfileJavaBeans getInstance() {

+	if (instance == null) {

+	    instance = new ProfileJavaBeans();

+	}

+	return instance;

+    }

+    

+    public FormatingStrategy getFormatingStrategy() {

+	return null;

+    }

+

+    public Object getModel() {

+	return model;

+    }

+

+    public String getDisplayName() {

+	return "JavaBeans";

+    }

+

+    public FigNodeStrategy getFigureStrategy() {	

+	return new JavaBeansFigNodeStrategy();

+    }

+

+}


Added: branches/gsoc2007/maurelio1234/examples/javabeans/www/index.html
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2007/maurelio1234/examples/javabeans/www/index.html?view=auto&rev=12714
==============================================================================
--- (empty file)
+++ branches/gsoc2007/maurelio1234/examples/javabeans/www/index.html	2007-05-28 19:08:58-0700
@@ -0,0 +1,63 @@
+<html>

+<head>

+ <style type="text/css">

+/* <![CDATA[ */ 

+@import "http://www.tigris.org/branding/css/tigris.css"; 

+@import "http://www.tigris.org/branding/css/inst.css"; 

+/*  ]]> */

+ </style>

+  <link rel="stylesheet" type="text/css" href="http://www.tigris.org/branding/css/print.css" media="print" />

+<script src="http://www.tigris.org/branding/scripts/tigris.js" type="text/javascript">

+</script>

+ <title>Sequence Diagram on ArgoUML - Project Overview</title>

+</head>

+<body>

+

+<div class="h2">

+<h2>Welcome to the new Sequence Diagram on ArgoUML project</h2>

+</div>

+

+<div id="mission">

+	<div class="h3">

+		<h3>Mission</h3>

+	</div>

+	<p>

+		The mission of this project is to provide a new implementation to the Sequence Diagram subsystem 

+		on <a href="http://argouml.tigris.org">ArgoUML</a>.

+	</p>

+	<p>

+		The Sequence Diagrams are going to be reimplemented on ArgoUML under the Google Summer of Code program.

+	</p>

+</div>

+

+<div id="collaboration">

+	<div class="h3">

+		<h3>How can I collaborate?</h3>

+	</div>

+	<ul>

+		<li>Download the source and test it.</li>

+		<li>

+			Use the issue tracker to track features and enhancement

+			requests. It is not just for bugs, pre-populate it with feature

+			descriptions too.

+		</li>

+	</ul>

+</div>

+

+<div id="resources">

+	<div class="h3">

+		<h3>Related resources</h3>

+	</div>

+	<ul>

+		<li><a href="http://argouml.tigris.org">ArgoUML project</a></li>

+		<li><a href="http://argouml.tigris.org/proposals/sequencediagrams/index.html">Diagram Elements and Mapping to Model Elements</a>, by Bob Tarling</li>

+		<li><a href="http://argouml.tigris.org/servlets/ReadMsg?list=dev&msgNo=20767">A discussion on the ArgoUML developers list about the current implementation of the sequence diagrams.</a></li>

+	</ul>

+</div>

+

+<div id="last-modified">

+	<p style="font-size:xx-small;text-align:center;">Last modified on: 2007-04-15 21:35 by penyaskito</p>

+</div>

+

+</body>

+</html>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.