This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 106907 - Support for associating PaletteController with TopComponent
Summary: Support for associating PaletteController with TopComponent
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Palette (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-16 06:36 UTC by Ayub Khan
Modified: 2008-12-22 14:40 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ayub Khan 2007-06-16 06:36:24 UTC
I need support for associating a PaletteController that I created to the TopComponent (directly). Current implementation
only allows Sub classes of TopComponent can only associate.

Background:
To fix issue#106178, with help from Stanislav Aubrecht, I am now using reflection code to associate a PaletteController
to the dataobject of my choice. S. Aubrecht, mentioned that it is more of a hack than a proper fix to the problem. This
is not without a side-effect, ie., even if all the documents are closed, the palette is still visible, because the
navigator holds onto the last documents dataobject.

This bug is for Milestone 10 of NB6.0
Comment 1 Stanislav Aubrecht 2007-06-18 08:59:16 UTC
this is a new use case for the palette api, not a bug
Comment 2 Antonin Nebuzelsky 2008-11-04 10:44:48 UTC
Lowering priority to P3.

Need more info about the usecase and its importance.