ToolTip Style

MagicDraw OpenAPI, scripting related questions and discussions

Moderator: Moderators

ToolTip Style

Postby Raul Lorenzo » Tue Apr 04, 2006 8:02 am

Hello,

How could I change ToolTip Style from code which is available in Diagram
Toolbar?

Thanks
Raul Lorenzo
 
Posts Rating:

Re: ToolTip Style

Postby Tomas Pugzlys » Wed Apr 05, 2006 2:08 am

Hello,

ToolTip style is saved in project options.

Project options are accessible through Open API only from MagicDraw 11.0
version.

Here would be an example:
int style = ProjectOptions.NAME_TIPS; //other options are NO_TIPS, DOC_TIPS
project.getProjectOptions().setTipsStyle(style);

Regards,
--
Tomas Pugzlys
Programmer
No Magic Lithuanian Development Center
Savanoriu pr. 363- IV, LT-49425, Kaunas
P.O. box 2166, LT-44011, Kaunas
Phone: +370 37 324032 Fax: +370 37 320670
e-mail : tomasp
WWW: http://www.magicdraw.com
--
MagicDraw - UML Made Simple

nntp://news.nomagic.com/nomagic.products.magicdrawuml.openapi wrote:
> Hello,
>
> How could I change ToolTip Style from code which is available in Diagram
> Toolbar?
>
> Thanks
>

Tomas Pugzlys
 
Posts Rating:


Return to Programmatic Extendibility

Who is online

Users browsing this forum: No registered users and 1 guest