Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Property & Class
Property & Class [message #224992] Tue, 24 October 2006 10:26
Eclipse UserFriend
Originally posted by: Ron.yahoo.com

Hi,

I have a model element org.eclipse.uml2.Property.When its property
"isabstract" is set to true its font style should change to italics.I have
done this.

But if the Class - org.eclipse.uml2.Class(which is the parent of
Operation) has 1 or more abstract operations then its font style must also
change to italics.

I think i have to call the method "refreshTextAndFont()" for this.but for
Class its not happening at runtime.its happening when i Load the file
again after saving.

Can any1 please tell me how i can change the font style at runtime.

Thanks,
Ron
Previous Topic:Gef and Draw2d for graph/tree visualization
Next Topic:Setting help context Ids for EditParts?
Goto Forum:
  


Current Time: Fri Apr 19 05:53:47 GMT 2024

Powered by FUDForum. Page generated in 0.02421 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top