Is the PaletteViewer portable? [message #184338] |
Sun, 12 June 2005 20:07 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.03519 seconds