Customize Figures and Layouts [message #209137] |
Wed, 22 October 2008 04:07  |
Eclipse User |
|
|
|
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 01:16  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03281 seconds