Hi Jan,
You will have to adapt the file argo.tee, to get the new setting saved in
the project zargo.
Also extend ArgoTokenTable and ArgoParser.
Please also adapt the junit test TestProjectSettings.
maybe more...
Michiel
----- Original Message -----
From: "jan_bar" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Sunday, February 03, 2008 11:53 AM
Subject: [argouml-dev] Re: Re: Building ArgoUML (was Hide association names
in diagram)
Thanks Michiel,
I am finished :-)
in AssociationNameNotationUml I used ProjectSetting a returning empty
string (don't know if null is also correct return value):
public String toString(Object modelElement, Map args) {
Project p = ProjectManager.getManager().getCurrentProject();
ProjectSettings ps = p.getProjectSettings();
if(!ps.getShowAssociationNamesValue())
return "";
...
Now what is next? I created issue #4969. I will attach patch to it.
Any chance to be in 25.5 build?
Jan
--
Jan Bares
http://jan.vegetband.cz
"Michiel van der Wulp" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hi Jan,
I have not much time now - in short:
Look at AssociationNameNotationUml.toString(): you need to extend this to
make use of some parameter, like
if (isValue("showAssociationName", args)) {...}
This parameter is to be set in the FigAssociation.
There are 2 Notation tabs: one for the project settings, and one for the
defaults for new projects. Please add the new setting to both. This also
means it needs to be stored in 2 locations; the argo.user.properties and
inside the zargo project file, see the "xyz.argo" file within.
Look at how the other settings are treated.
Maybe more later - let us know your progress.
Regards,
Michiel
----- Original Message -----
From: "jan_bar" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Sunday, February 03, 2008 10:45 AM
Subject: [argouml-dev] Re: Building ArgoUML (was Hide association names
in diagram)
Thanks,
now I can run Argo. I also added new checkbox to Notation tab. Now I
want to hide the association names, but don't know where to start. I
tried to find places where showMultiplicity is used, but did not found
anything. Also the showMultiplicity settings doesn't work - is it
implemented?
I want to create proof of concept, after that I will prepare change
request.
Regards, Jan
--
Jan Bares
http://jan.vegetband.cz
"Michiel van der Wulp" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hi Jan,
Great that you are following up on this.
It would be best if you follow the instructions at
http://argouml-stats.tigris.org/documentation/defaulthtml/cookbook/ch02.html
to get started with development of ArgoUML. This means working with
Eclipse.
Yes, you can compile and develop for ArgoUML without Eclipse, but since
all devs (I know about) do use Eclipse, it is far more likely to get
proper support.
Please do not use releases/VERSION_0_25_4 or any branch, but stick to
the trunk, obtained with subversion, and update regularly.
Now, finally an answer to your main problem: The JavaLexer class is a
generated code file. If you run the right ant target, it gets generated
for you. If you use Eclipse, all this is done for you, else you need to
run the ant task by hand.
BTW: The same applies to the UML model code - it needs to be generated
before ArgoUML can possibly compile.
Regards,
Michiel
----- Original Message -----
From: "jan_bar" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Sunday, February 03, 2008 8:44 AM
Subject: [argouml-dev] Building ArgoUML (was Hide association names in
diagram)
Hi,
(http://thread.gmane.org/gmane.comp.lang.uml.argouml.user/2996/focus=2997)
based on discussion with Michiel, I tried to start with my Argo
improvement. I have releases/VERSION_0_25_4 from SVN (this is the
version I use), but I cannot compile it. Unless I missed something
important, I have missing classses: JavaImport.java uses JavaLexer,
but JavaLexer doesn't exists. There are many similar errors (missing
methods etc).
Thanks, Jan
--
Jan Bares
http://jan.vegetband.cz
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
No virus found in this incoming message.
Checked by AVG Free Edition. Version: 7.5.516 / Virus Database:
269.19.19/1256 - Release Date: 2/02/2008 13:50
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
No virus found in this incoming message.
Checked by AVG Free Edition. Version: 7.5.516 / Virus Database:
269.19.19/1256 - Release Date: 2/02/2008 13:50
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
No virus found in this incoming message.
Checked by AVG Free Edition. Version: 7.5.516 / Virus Database:
269.19.19/1256 - Release Date: 2/02/2008 13:50
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]