Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » notation:ShapeStyle
notation:ShapeStyle [message #238254] Mon, 03 September 2007 10:32
Eclipse UserFriend
Originally posted by:


We are building an editor which should provide the definition of a text
based screen output. The screen can display 34 characters per column and
has 10 lines at all (in total 340 characters are possible).

An I character should use the same space than a X character bacause the
layout need this.

It is possible to set the fontName, fontHeight in the Editor menue
<styles xmi:type="notation:ShapeStyle" xmi:id="_FzbOwUv5EdyhPLBMmu5LWA"
fontName="Nimbus Mono L" fontHeight="24"/>
Now it is perfect !!!

My problem is:
The user musst set the fontName and fontHeight always new if the user
create a new text field. The text is always "San Serif" an "9".
This is not confortable!
And if I set a fixed Font in my model
***.gmfgraph / FigureDescriptor / Rectangle / Label Basic Font it is not
possible to set the fontName "Nimbus Mono L".

My question is:
Can I give my text a fixed fontName and fontHeight when an user create a
new text field?
How can I do that?


Previous Topic:about shape Example
Next Topic:Connecting objects in separate layers
Goto Forum:

Current Time: Sun May 20 18:04:38 GMT 2018

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

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

Back to the top