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 User
Originally posted by: juergen.sterr.brain-child.de

Hi,

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
text
layout need this.

It is possible to set the fontName, fontHeight in the Editor menue
Diagram/Font.
<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?


Thanks

J├╝rgen
Previous Topic:about shape Example
Next Topic:Connecting objects in separate layers
Goto Forum:
  


Current Time: Tue Sep 30 15:59:56 GMT 2014

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

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