|
|
|
Re: [Draw2D] How to assign a property view to a draw2D figure. [message #68232 is a reply to message #68183] |
Tue, 04 March 2003 10:47  |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
Your view must hook into the selection service as a selection provider.
See IWorkbenchPartSite.getSelectionService()
BTW, AbstractEditPartViewer is a selectionproviders.
"Dinesh Varadharajan" <dvaradharajan@selectica.com> wrote in message
news:b42gg1$v5k$1@rogue.oti.com...
> Randy,
> I also implemented IPropertySheetPage and IPropertySource and I didn't
know
> how to set the selection in the workbench. Can you please throw some light
> on this.
>
> Thanks,
> Dinesh
>
>
> "Randy Hudson" <none@us.ibm.com> wrote in message
> news:b3vprj$129$1@rogue.oti.com...
> > Properties view operates on the concept of selection. You need to send
> > selection to the selection service in the workbench
> > "Dinesh Varadharajan" <dvaradharajan@selectica.com> wrote in message
> > news:b3vfp2$nj2$1@rogue.oti.com...
> > > Hi,
> > >
> > > I am having a draw2D figure and I want my property view to open if I
> click
> > > on that figure. I dont have any viewers related to my figure. Is there
> any
> > > way I can hook property view to show my own.
> > >
> > > Thanks,
> > > Dinesh
> > >
> > >
> >
> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03061 seconds