« Return to Thread: Track property selection in property sheet

Track property selection in property sheet

by Vadeg :: Rate this Message:

Reply to Author | View in Thread


Tim Boudreau wrote:
> Vadeg wrote:

>
> >

> > Greetings!

> > How can I track selection changes in the PropertySheetView? It seems, that

> > table has a package scope.

> >

> >
>

> There is no API for this.  You'd have to fish around in the component

> hierarchy, find the JTable and listen to its SelectionModel.

>

> Feel free to file an enhancement request w/ your use case if you think this

> would be a useful enhancement.

>

> -Tim

>

> --

> View this message in context: http://www.nabble.com/Track-property-selection-in-property-sheet-tp24287991p24340135.html

> Sent from the Netbeans RCP/Platform Users (Open API) mailing list archive at Nabble.com.




I've found only ths:

class org.openide.explorer.propertysheet.PropertySheet




Code:
    //Package private for unit tests

    SheetTable table = new SheetTable();

    PSheet psheet = new PSheet();







I've tracked all events from these objects and none of them fires "to the world" that selection was made,




 « Return to Thread: Track property selection in property sheet