Hi Bob, *,

Why doesn't stereotype use notation to build its display?

Since it is not editable (no parsing) and generation is as simple as:

   protected void setText() {
       setText(Model.getFacade().getName(getOwner()));
   }

   public void setText(String text) {
       Project project =
           ProjectManager.getManager().getCurrentProject();
       ProjectSettings ps = project.getProjectSettings();
super.setText(ps.getLeftGuillemot() + text + ps.getRightGuillemot());
   }

Remember, in a Stereotype compartment, all stereotypes are shown above each other, not with the "," notation next to each other.

Regards,
Michiel



----- Original Message ----- From: "Bob Tarling" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, February 17, 2007 8:12 PM
Subject: Re: [argouml-dev] Rename the "CompartmentFigText" to "EditableCompartmentFigText"?


How about this:

(FigNotationText is abstract)
FigSingleLineText <|--- FigNotationText <|--- FigEnumerationLiteral

FigSingleLineText <|--- FigNotationText <|--- FigFeature <|--- FigAttribute FigSingleLineText <|--- FigNotationText <|--- FigFeature <|--- FigOperation
FigSingleLineText <|--- FigStereotype
FigSingleLineText <|--- FigNotationText <|--- FigExtensionPoint (new to be
created - it now uses CompartmentFigText)

I just wasn't aware that there were any text figs that specifically
did not want to use notation. That's why I assumed FigSingleLineText.

Why doesn't stereotype use notation to build its display?

Cheers

Bob.

---------------------------------------------------------------------
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.441 / Virus Database: 268.18.1/690 - Release Date: 16/02/2007 14:25



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to