Re: Re: Diagram Descriptions in ArgoUML

Mark Fortner <[email protected]> Wed, 31 Aug 2011 16:21:57 -0700
Newsgroups gmane.comp.lang.uml.argouml.user
Message-ID <CAOwy01t7m2C1cgeoU2f1dpsR965+Gon0vnnRBH6odLdCvSKNgw@mail.gmail.com>
------=_Part_15853_1361157322.1314832920864
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi Bob,
Thanks for the info.  I've created an issue for diagram descriptions:
http://argouml.tigris.org/issues/show_bug.cgi?id=6360

I looked into GEF and it seems that Diagrams have comments which could be
used, but there's no support in ArgoDiagram for it.

Regards,

Mark


On Wed, Aug 31, 2011 at 3:32 PM, Bob Tarling <[email protected]> wrote:

> There is no feature to hide stereotypes.
>
> Have you created an issue to add a diagram description to the PGML via
> the diagram property panel?
>
> Bob
>
> On 31 August 2011 20:53, Mark Fortner <[email protected]> wrote:
> > There's a potential workaround for this that I've been experimenting
> with.
> >  I added a comment to the diagram, and in the Properties panel, entered
> the
> > Body of the comment. This doesn't appear in the diagram, but can be
> > extracted by ArgoPrint for documentation.  I was looking for some way to
> > distinguish these types of diagram descriptions from ordinary comments,
> and
> > the only way I found to do this is to create a "Diagram Description"
> > stereotype.  Unfortunately, there doesn't seem to be a way to turn off
> > stereotype visualization for model elements.  Which means that my small,
> > discrete little hack, looks big and ugly on the diagram.
> > Is there some other workaround for this that I'm not aware of?
> > Mark
> >
> >
> > On Fri, Aug 5, 2011 at 11:50 AM, Bob Tarling <[email protected]>
> wrote:
> >>
> >> Hi Laurant/Mark
> >>
> >> To be honest I really don't have time to dig into the diagram
> >> interchange stuff for UML2 together with all the other stuff that we
> >> need to complete for UML2 diagram presentation and modelling. That
> >> will have to follow later. There is some doubt as to whether this
> >> format will survive anyway so maybe we save ourselves some effort.
> >>
> >> For pgml vs .argo I would say to save in the pgml as this is diagram
> >> level data rather than project level.
> >>
> >> Bob
> >>
> >> On 5 August 2011 19:21, Laurent BRAUD <[email protected]> wrote:
> >> > Hi,
> >> > Bob you are true, if we do this, we need to do it first with PGML
> rather
> >> > than XMI.
> >> >
> >> > But, if some "standard" tag documentation exists (shortDescription,
> >> > author, date, ...), use the same and show them to user even if we
> store not
> >> > in "standard".
> >> > And When we will start UML DI, even if there is a long time, it will
> be
> >> > easier.
> >> >
> >> > However, I haven't find a such "standard" tag .
> >> > So which one can we add to have usefull tool. Of course, user can uses
> >> > others.
> >> >
> >> > What I found:
> >> > a) http://www.omg.org/spec/UMLDI/1.0/PDF/
> >> >
> >> > There is a class Diagram and a XSD for diagram
> >> >
> >> > In "8.5 Properties": Non-standard properties could be added but are
> not
> >> > part of any standardization. Properties provide an extension
> >> > mechanism for adding non-standardized elements to the diagram
> >> > interchange metamodel.
> >> >
> >> >
> >> > => If I have well understand, we can add all properties we want. But
> >> > there aren't standard. Could be a choice.
> >> >
> >> >
> >> > b)I try TopCased:
> >> >  <diagrams xmi:id="_2PG_gK1HEeC3fKGlWAkmOg" position="0,0"
> >> > size="100,100" name="StateMachine" viewport="0,0">
> >> >        <eAnnotations xmi:id="_ssPV4L-BEeCUNbPIxj8eBQ"
> >> > source="http://www.topcased.org/documentation">
> >> >            <details xmi:id="_ssUOYL-BEeCUNbPIxj8eBQ"
> key="documentation"
> >> > value="HERE DIAGRAM COMMENT"/>
> >> >        </eAnnotations>
> >> >         <property xmi:id="_2PahgK1HEeC3fKGlWAkmOg"
> key="pageFormatName"
> >> > value="A4"/>
> >> >        ...
> >> > => I don't see yet where "eAnnotations" is defined in UML-DI (in XSD).
> >> >
> >> >
> >> > Mark, you ask for paragraph (and I agree): If we find something (in
> >> > norm), it must be an XML element, not an attribute. So what I found
> isn't
> >> > enought. I keep your idea in my mind.
> >> >
> >> > I don't know if what you asked Bob is possible.
> >> >
> >> > Regards,
> >> >
> >> > ------------------------------------------------------
> >> >
> >> >
> http://argouml.tigris.org/ds/viewMessage.do?dsForumId=449&dsMessageId=2809762
> >> >
> >> > To unsubscribe from this discussion, e-mail:
> >> > [[email protected]].
> >> >
> >>
> >> ------------------------------------------------------
> >>
> >>
> http://argouml.tigris.org/ds/viewMessage.do?dsForumId=449&dsMessageId=2809768
> >>
> >> To unsubscribe from this discussion, e-mail:
> >> [[email protected]].
> >
> >
>
> ------------------------------------------------------
>
> http://argouml.tigris.org/ds/viewMessage.do?dsForumId=449&dsMessageId=2833428
>
> To unsubscribe from this discussion, e-mail: [
> [email protected]].
>

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=449&dsMessageId=2833435

To unsubscribe from this discussion, e-mail: [[email protected]].
------=_Part_15853_1361157322.1314832920864
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br clear=3D"all"><div>Hi Bob,</div><div>Thanks for the info. =A0I&#39;ve c=
reated an issue for diagram descriptions:=A0<a href=3D"http://argouml.tigri=
s.org/issues/show_bug.cgi?id=3D6360">http://argouml.tigris.org/issues/show_=
bug.cgi?id=3D6360</a></div>
<div><br></div><div>I looked into GEF and it seems that Diagrams have comme=
nts which could be used, but there&#39;s no support in ArgoDiagram for it.<=
/div><div><br></div><div>Regards,</div><div><br></div><div>Mark</div>
<br><br><div class=3D"gmail_quote">On Wed, Aug 31, 2011 at 3:32 PM, Bob Tar=
ling <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]">bob.tar=
[email protected]</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
There is no feature to hide stereotypes.<br>
<br>
Have you created an issue to add a diagram description to the PGML via<br>
the diagram property panel?<br>
<br>
Bob<br>
<div><div></div><div class=3D"h5"><br>
On 31 August 2011 20:53, Mark Fortner &lt;<a href=3D"mailto:phidias51@gmail=
.com">[email protected]</a>&gt; wrote:<br>
&gt; There&#39;s a potential workaround for this that I&#39;ve been experim=
enting with.<br>
&gt; =A0I added a comment to the diagram, and in the Properties panel, ente=
red the<br>
&gt; Body of the comment. This doesn&#39;t appear in the diagram, but can b=
e<br>
&gt; extracted by ArgoPrint for documentation. =A0I was looking for some wa=
y to<br>
&gt; distinguish these types of diagram descriptions from ordinary comments=
, and<br>
&gt; the only way I found to do this is to create a &quot;Diagram Descripti=
on&quot;<br>
&gt; stereotype. =A0Unfortunately, there doesn&#39;t seem to be a way to tu=
rn off<br>
&gt; stereotype visualization for model elements. =A0Which means that my sm=
all,<br>
&gt; discrete little hack, looks big and ugly on the diagram.<br>
&gt; Is there some other workaround for this that I&#39;m not aware of?<br>
&gt; Mark<br>
&gt;<br>
&gt;<br>
&gt; On Fri, Aug 5, 2011 at 11:50 AM, Bob Tarling &lt;<a href=3D"mailto:bob=
[email protected]">[email protected]</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi Laurant/Mark<br>
&gt;&gt;<br>
&gt;&gt; To be honest I really don&#39;t have time to dig into the diagram<=
br>
&gt;&gt; interchange stuff for UML2 together with all the other stuff that =
we<br>
&gt;&gt; need to complete for UML2 diagram presentation and modelling. That=
<br>
&gt;&gt; will have to follow later. There is some doubt as to whether this<=
br>
&gt;&gt; format will survive anyway so maybe we save ourselves some effort.=
<br>
&gt;&gt;<br>
&gt;&gt; For pgml vs .argo I would say to save in the pgml as this is diagr=
am<br>
&gt;&gt; level data rather than project level.<br>
&gt;&gt;<br>
&gt;&gt; Bob<br>
&gt;&gt;<br>
&gt;&gt; On 5 August 2011 19:21, Laurent BRAUD &lt;<a href=3D"mailto:bd1664=
@yahoo.fr">[email protected]</a>&gt; wrote:<br>
&gt;&gt; &gt; Hi,<br>
&gt;&gt; &gt; Bob you are true, if we do this, we need to do it first with =
PGML rather<br>
&gt;&gt; &gt; than XMI.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; But, if some &quot;standard&quot; tag documentation exists (s=
hortDescription,<br>
&gt;&gt; &gt; author, date, ...), use the same and show them to user even i=
f we store not<br>
&gt;&gt; &gt; in &quot;standard&quot;.<br>
&gt;&gt; &gt; And When we will start UML DI, even if there is a long time, =
it will be<br>
&gt;&gt; &gt; easier.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; However, I haven&#39;t find a such &quot;standard&quot; tag .=
<br>
&gt;&gt; &gt; So which one can we add to have usefull tool. Of course, user=
 can uses<br>
&gt;&gt; &gt; others.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; What I found:<br>
&gt;&gt; &gt; a) <a href=3D"http://www.omg.org/spec/UMLDI/1.0/PDF/" target=
=3D"_blank">http://www.omg.org/spec/UMLDI/1.0/PDF/</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; There is a class Diagram and a XSD for diagram<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; In &quot;8.5 Properties&quot;: Non-standard properties could =
be added but are not<br>
&gt;&gt; &gt; part of any standardization. Properties provide an extension<=
br>
&gt;&gt; &gt; mechanism for adding non-standardized elements to the diagram=
<br>
&gt;&gt; &gt; interchange metamodel.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; =3D&gt; If I have well understand, we can add all properties =
we want. But<br>
&gt;&gt; &gt; there aren&#39;t standard. Could be a choice.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; b)I try TopCased:<br>
&gt;&gt; &gt; =A0&lt;diagrams xmi:id=3D&quot;_2PG_gK1HEeC3fKGlWAkmOg&quot; =
position=3D&quot;0,0&quot;<br>
&gt;&gt; &gt; size=3D&quot;100,100&quot; name=3D&quot;StateMachine&quot; vi=
ewport=3D&quot;0,0&quot;&gt;<br>
&gt;&gt; &gt; =A0 =A0 =A0 =A0&lt;eAnnotations xmi:id=3D&quot;_ssPV4L-BEeCUN=
bPIxj8eBQ&quot;<br>
&gt;&gt; &gt; source=3D&quot;<a href=3D"http://www.topcased.org/documentati=
on" target=3D"_blank">http://www.topcased.org/documentation</a>&quot;&gt;<b=
r>
&gt;&gt; &gt; =A0 =A0 =A0 =A0 =A0 =A0&lt;details xmi:id=3D&quot;_ssUOYL-BEe=
CUNbPIxj8eBQ&quot; key=3D&quot;documentation&quot;<br>
&gt;&gt; &gt; value=3D&quot;HERE DIAGRAM COMMENT&quot;/&gt;<br>
&gt;&gt; &gt; =A0 =A0 =A0 =A0&lt;/eAnnotations&gt;<br>
&gt;&gt; &gt; =A0 =A0 =A0 =A0 &lt;property xmi:id=3D&quot;_2PahgK1HEeC3fKGl=
WAkmOg&quot; key=3D&quot;pageFormatName&quot;<br>
&gt;&gt; &gt; value=3D&quot;A4&quot;/&gt;<br>
&gt;&gt; &gt; =A0 =A0 =A0 =A0...<br>
&gt;&gt; &gt; =3D&gt; I don&#39;t see yet where &quot;eAnnotations&quot; is=
 defined in UML-DI (in XSD).<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Mark, you ask for paragraph (and I agree): If we find somethi=
ng (in<br>
&gt;&gt; &gt; norm), it must be an XML element, not an attribute. So what I=
 found isn&#39;t<br>
&gt;&gt; &gt; enought. I keep your idea in my mind.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I don&#39;t know if what you asked Bob is possible.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Regards,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; ------------------------------------------------------<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; <a href=3D"http://argouml.tigris.org/ds/viewMessage.do?dsForu=
mId=3D449&amp;dsMessageId=3D2809762" target=3D"_blank">http://argouml.tigri=
s.org/ds/viewMessage.do?dsForumId=3D449&amp;dsMessageId=3D2809762</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; To unsubscribe from this discussion, e-mail:<br>
&gt;&gt; &gt; [<a href=3D"mailto:[email protected]">user=
[email protected]</a>].<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt; ------------------------------------------------------<br>
&gt;&gt;<br>
&gt;&gt; <a href=3D"http://argouml.tigris.org/ds/viewMessage.do?dsForumId=
=3D449&amp;dsMessageId=3D2809768" target=3D"_blank">http://argouml.tigris.o=
rg/ds/viewMessage.do?dsForumId=3D449&amp;dsMessageId=3D2809768</a><br>
&gt;&gt;<br>
&gt;&gt; To unsubscribe from this discussion, e-mail:<br>
&gt;&gt; [<a href=3D"mailto:[email protected]">users-uns=
[email protected]</a>].<br>
&gt;<br>
&gt;<br>
<br>
------------------------------------------------------<br>
</div></div><a href=3D"http://argouml.tigris.org/ds/viewMessage.do?dsForumI=
d=3D449&amp;dsMessageId=3D2833428" target=3D"_blank">http://argouml.tigris.=
org/ds/viewMessage.do?dsForumId=3D449&amp;dsMessageId=3D2833428</a><br>
<div><div></div><div class=3D"h5"><br>
To unsubscribe from this discussion, e-mail: [<a href=3D"mailto:users-unsub=
[email protected]">[email protected]</a>].<br>
</div></div></blockquote></div><br>

------=_Part_15853_1361157322.1314832920864--