If I want to display something in the property panels than I guess these
information should not be displayed in C# notation.
I would find that pretty odd. Why can't I tell the NotationProvider
which Notation I'd like to have?
Michiel van der Wulp wrote:
Hi Markus,
Well, it was never designed that way.
I see no reason why you would not allow other notations then UML,
since they have become a project-wide setting - but maybe you have
good reasons.
I guess, if you really want this, it would be best to use the
OperationNotationUml.parseOperation() directly. This function is
public since it is used in a unit-test directly (not a good practise,
I know, but it simplifies the test).
However, this may create some new dependencies.
Another way to go, a bit more work, would be to create a specific
ListRendererOperationNotationUml, similar to OperationNotationUml, for
which you simply do not create a Java, cpp,... equivalent.
Then you would call:
NotationProvider4 np = NotationProviderFactory2
.getInstance().getNotationProvider(
NotationProviderFactory2.TYPE_LIST_RENDERER_OPERATION,
value);
Regards,
Michiel
----- Original Message ----- From: "Markus Klink" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, August 17, 2006 11:38 AM
Subject: [argouml-dev] Notationprovider help required
In a list renderer I would like to display operations in UML format
with visibility and Parameters.
NotationProvider4 np = NotationProviderFactory2
.getInstance().getNotationProvider(
NotationProviderFactory2.TYPE_OPERATION,
value);
name = np.toString();
I choose to implement the following code which works, but I am unable
to limit the display to UML notation only. Unfortunately my property
panel also listens to Notation changes. How can I stop that?
Markus
---------------------------------------------------------------------
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.1.405 / Virus Database: 268.11.0/420 - Release Date:
16/08/2006
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]