how to get control of property page [message #435761] |
Tue, 23 August 2005 07:35  |
Eclipse User |
|
|
|
Originally posted by: vmadurai.orangescape.com
I dont now how to access the property page window,
is there any way to get the access of property page.
Actually i want to remove the popup menu from property page,
is there any way to acheive this using rcp,if yes please
reply me,
thanks in advance
vivek
|
|
|
Re: how to get control of property page [message #436179 is a reply to message #435761] |
Thu, 01 September 2005 12:26  |
Eclipse User |
|
|
|
Please read the documentation (in PropertySheet.java, assuming you are
referring to the Properties view):
* Property sheet pages are discovered by the property sheet view
automatically
* when a part is first activated. The property sheet view asks the active
part
* for its property sheet page; this is done by invoking
* <code>getAdapter(IPropertySheetPage.class)</code> on the part. If the
part
* returns a page, the property sheet view then creates the controls for
that
* property sheet page (using <code>createControl</code>), and adds the page
to
* the property sheet view. Whenever this part becomes active, its
corresponding
* property sheet page is shown in the property sheet view (which may or may
not
* be visible at the time). A part's property sheet page is discarded when
the
* part closes. The property sheet view has a default page (an instance of
* <code>PropertySheetPage</code>) which services all parts without a
property
* sheet page of their own.
"Vivekanandan Madurai" <vmadurai@orangescape.com> wrote in message
news:def1lm$s4s$1@news.eclipse.org...
> I dont now how to access the property page window,
> is there any way to get the access of property page.
>
> Actually i want to remove the popup menu from property page,
> is there any way to acheive this using rcp,if yes please
> reply me,
>
> thanks in advance
> vivek
|
|
|
Powered by
FUDForum. Page generated in 0.02671 seconds