2nd view for the model [message #152025] |
Sun, 26 September 2004 06:35 |
Eclipse User |
|
|
|
Originally posted by: grayzhu.yahoo.com
I am thinking about a GEF application that needs two views for the model,
and hopefully the views can be swaped by a click of a button. For instance,
in the "logic" example, if I want a tabular (table) form listing all the
circuits, gates, inputs and output as the 2nd view. How does the GEF
framework accomodate it?
Thanks!
|
|
|
Re: 2nd view for the model [message #152118 is a reply to message #152025] |
Mon, 27 September 2004 20:16 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
You can use a figure which flips pages and has a page with each type of view
you need. It could use figure.setVisible(boolean)
"ray zhu" <grayzhu@yahoo.com> wrote in message
news:cj5nmr$4ch$1@eclipse.org...
> I am thinking about a GEF application that needs two views for the model,
> and hopefully the views can be swaped by a click of a button. For
instance,
> in the "logic" example, if I want a tabular (table) form listing all the
> circuits, gates, inputs and output as the 2nd view. How does the GEF
> framework accomodate it?
>
> Thanks!
>
>
|
|
|
Re: 2nd view for the model [message #152343 is a reply to message #152118] |
Wed, 29 September 2004 05:13 |
Eclipse User |
|
|
|
Originally posted by: grayzhu.yahoo.com
Thanks Randy for the idea. Since I am a newbie, I may be asking dumb
questions.
By "page", do you meant 1 big figure that's the container for a view? I am
not sure an editpart object would be able to control figures in both views
(pages) so that they can act synchrously.
I came cross the concept of "Layers" in the help, are they something similar
to "Pages", or "Tabs"?
Also, the outline view (tree) provided in the Shapes example and logic
example is essentially 2nd view, but the outline view is less interactive
than the regular view, is it possible to customize the outline view to make
it to show something other than the treeview and fully interactive?
Thanks for your experts' input.
"Randy Hudson" <none@us.ibm.com> wrote in message
news:cj9s6j$4v2$1@eclipse.org...
> You can use a figure which flips pages and has a page with each type of
view
> you need. It could use figure.setVisible(boolean)
>
> "ray zhu" <grayzhu@yahoo.com> wrote in message
> news:cj5nmr$4ch$1@eclipse.org...
> > I am thinking about a GEF application that needs two views for the
model,
> > and hopefully the views can be swaped by a click of a button. For
> instance,
> > in the "logic" example, if I want a tabular (table) form listing all the
> > circuits, gates, inputs and output as the 2nd view. How does the GEF
> > framework accomodate it?
> >
> > Thanks!
> >
> >
>
>
|
|
|
Re: 2nd view for the model [message #152411 is a reply to message #152343] |
Wed, 29 September 2004 16:49 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
Maybe you just need to look at MultiPageEditorPart
"ray zhu" <grayzhu@yahoo.com> wrote in message
news:cjdg1a$433$1@eclipse.org...
> Thanks Randy for the idea. Since I am a newbie, I may be asking dumb
> questions.
>
> By "page", do you meant 1 big figure that's the container for a view? I am
> not sure an editpart object would be able to control figures in both views
> (pages) so that they can act synchrously.
>
> I came cross the concept of "Layers" in the help, are they something
similar
> to "Pages", or "Tabs"?
>
> Also, the outline view (tree) provided in the Shapes example and logic
> example is essentially 2nd view, but the outline view is less interactive
> than the regular view, is it possible to customize the outline view to
make
> it to show something other than the treeview and fully interactive?
>
> Thanks for your experts' input.
>
>
>
>
> "Randy Hudson" <none@us.ibm.com> wrote in message
> news:cj9s6j$4v2$1@eclipse.org...
> > You can use a figure which flips pages and has a page with each type of
> view
> > you need. It could use figure.setVisible(boolean)
> >
> > "ray zhu" <grayzhu@yahoo.com> wrote in message
> > news:cj5nmr$4ch$1@eclipse.org...
> > > I am thinking about a GEF application that needs two views for the
> model,
> > > and hopefully the views can be swaped by a click of a button. For
> > instance,
> > > in the "logic" example, if I want a tabular (table) form listing all
the
> > > circuits, gates, inputs and output as the 2nd view. How does the GEF
> > > framework accomodate it?
> > >
> > > Thanks!
> > >
> > >
> >
> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03874 seconds