[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Re: propertysheet

Since you write that you want a double click to open the property sheet I
assume you don't have an editor for your model object. Otherwise you could
look at the property sheet example how that's done.
In your case it should be sufficient to hook the double click on the tree
viewer (treeViewer.getControl().addMouseListener) and show the property view
(IWorkbenchPage.showView("org.eclipse.ui.views.PropertySheet")).

Knut
"Stefan Groschupf" <sg@xxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:attd1q$sti$1@xxxxxxxxxxxxxxxx
> > where are two ways, first your model implements IPropertySource.
>
> Thanks,
> ... and how to open the propertysheet by a doubleclick on the model in the
> treeview?
>
>