Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Is the PaletteViewer portable?
Is the PaletteViewer portable? [message #184338] Sun, 12 June 2005 20:07 Go to next message
Eclipse UserFriend
Originally posted by: harsh.ti.com

I was wondering if I can attach a palette viewer to a sash form composite
where the left side is a view and the right is the palette which need to
act as DragSources. The reason why I ask this is right now the right side
is a ToolBar control which is acting as a DragSource and this has a lot of
visual limitations. I have a legacy view that I need to enhance so
starting from scratch is not an option. Any help would be greatly
appreciated.

Regards,
Harsh
Re: Is the PaletteViewer portable? [message #184346 is a reply to message #184338] Mon, 13 June 2005 02:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Harsh Sabikhi wrote:
> I was wondering if I can attach a palette viewer to a sash form
> composite where the left side is a view and the right is the palette
> which need to act as DragSources. The reason why I ask this is right
> now the right side is a ToolBar control which is acting as a DragSource
> and this has a lot of visual limitations. I have a legacy view that I
> need to enhance so starting from scratch is not an option. Any help
> would be greatly appreciated.
>
> Regards,
> Harsh
>

I'm not sure what you exactly want, but the BIRT project uses the
palette in a separate view if you want to look at that code. You should
really be able to place the palette anywhere you desire.

Cheers,

~ Chris
Re: Is the PaletteViewer portable? [message #184418 is a reply to message #184346] Mon, 13 June 2005 13:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: harsh.ti.com

I will try ot clarify a little. The problem is the PaletteViewer requires
an EditDomain which from the source code in GEF seems to only work with
IEditorPart's. I need it for an IViewPart. The ViewPart that I have
created is hosted in a sashform with 2 panes, one with a tree viewer, and
the other with a toolbar. Now, I want to yank out the toolbar and pop in
the paletteviewer.

Thank you,
Harsh
Re: Is the PaletteViewer portable? [message #184464 is a reply to message #184418] Tue, 14 June 2005 06:19 Go to previous message
Eclipse UserFriend
Originally posted by: none.unknown.com

Nope, you've got it wrong. Nowhere in EditDomain does it require
IEditorPart.

"Harsh Sabikhi" <harsh@ti.com> wrote in message
news:459680f3b4fc050c349440c2733e104e$1@www.eclipse.org...
> I will try ot clarify a little. The problem is the PaletteViewer requires
> an EditDomain which from the source code in GEF seems to only work with
> IEditorPart's. I need it for an IViewPart. The ViewPart that I have
> created is hosted in a sashform with 2 panes, one with a tree viewer, and
> the other with a toolbar. Now, I want to yank out the toolbar and pop in
> the paletteviewer.
>
> Thank you,
> Harsh
>
Previous Topic:Laying out Graphs!
Next Topic:Automated testing , action - capture and replay --- GEF support
Goto Forum:
  


Current Time: Mon Dec 02 21:13:57 GMT 2024

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

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

Back to the top