Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Customize Figures and Layouts
Customize Figures and Layouts [message #209137] Wed, 22 October 2008 08:07 Go to next message
Toan is currently offline ToanFriend
Messages: 36
Registered: July 2009
Member
Hello everyone,
I wonder if it's possible to create customized figures which can be
appeared just like for example the (java, text) editors in eclipse. This
means that these figures have the forms like tabs and they can be layout
like the editors. In short, they may look like the following image:
___________________________
|_____ ____ ____ |
||Fg.A||Fg.B||Fg.C| |
||____||____||____|_______ |
|| ||
|| ||
|| ||
||________________________||
|__________________________|
If it is possible, can you please show me how to do that. Thanks in
advance.
Toan
Re: Customize Figures and Layouts [message #209804 is a reply to message #209137] Wed, 29 October 2008 05:16 Go to previous message
zhaozhongwei is currently offline zhaozhongweiFriend
Messages: 9
Registered: July 2009
Junior Member
hi, brother
here i have some opinions,one is you have only one model file,and there is
some layer ,maybe they are layouted by stacklayout,when you select
fg.a(previously other fg is selected) ,some layer move on the most up
layer,of course the layer is opaque,and the original layer is covered.

and another opinion is somewhat like html'style,actually you have three
model files when you have three tabitems.when you select fg.a(previously
other fg is selected),you call editor.setInput or other method to make the
editor change the input and refresh the view,and then you should make sure
set fg.a is selected programmatically.
maybe both of the opinions have lots of drawbacks.
i am very glad if it helps


zhao zhongwei
Previous Topic:[Announce] GMF 2.2.0 I200810281602 is available
Next Topic:Drag & Drop not working on Windows
Goto Forum:
  


Current Time: Thu May 13 23:02:15 GMT 2021

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

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

Back to the top