Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Displaying table in palette drawer
Displaying table in palette drawer [message #191399] Wed, 10 August 2005 08:00 Go to next message
Eclipse UserFriend
Originally posted by: sameer_thakur.persistent.co.in

Hello,
Waht i am trying to do is display a table in a PaletteDrawer. The
difficult i face in making a Table viewer an palette item suggests that i
am completely off track. I undersatnd that palette drawer does not accept
container objects
but is Table/Tree Viewers conatiner objects?

I have a similiar need to display a tree in palette drawer as well.

On a related subject can we have an Hierarchy of palette drawers.
PaletteDrawer has a setParent which takes a paletteDrawer type as
input.But when i add the parent palette drawer to root palette it does not
show the child drawer

thank you for any pointers
Sameer Thakur
Re: Displaying table in palette drawer [message #191538 is a reply to message #191399] Wed, 10 August 2005 17:09 Go to previous message
Eclipse UserFriend
Originally posted by: none.unknown.com

"Sameer Thakur" <sameer_thakur@persistent.co.in> wrote in message
news:1fe2270208f7daf2a5f3224d8e53535a$1@www.eclipse.org...
> Hello,
> Waht i am trying to do is display a table in a PaletteDrawer. The
> difficult i face in making a Table viewer an palette item suggests that i
> am completely off track. I undersatnd that palette drawer does not accept
> container objects
> but is Table/Tree Viewers conatiner objects?

Yes, you're WAY off-track. So much so that I am not sure where to start
explaining things to you. I'm assuming that you already have a GEF-based
graphical viewer. GEF's palette viewer is just another graphical viewer
that expects the model elements to be of type PaletteEntry. In short,
there's no way of doing what you want to do, unless you create your own
palette viewer.

>
> I have a similiar need to display a tree in palette drawer as well.
>
> On a related subject can we have an Hierarchy of palette drawers.
> PaletteDrawer has a setParent which takes a paletteDrawer type as
> input.But when i add the parent palette drawer to root palette it does not
> show the child drawer

You're confusing several things here. You really need to look at our
examples. See LogicPlugin#createPalette().

>
> thank you for any pointers
> Sameer Thakur
>
>
>
Previous Topic:force only one type of connector for an EditPart
Next Topic:using a tree node as a connection anchor
Goto Forum:
  


Current Time: Thu Dec 12 20:28:13 GMT 2024

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

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

Back to the top