Now I can realize my customization by choosing to disable the original UML context in the preference page of properties view, my problem is how can I realize this operation programmatically?
I found the class Preference in org.eclipse.papyrus.views.properties.preferences, I think it to be able to control our preference page, but I'm not sure, does anyone have some experience with this?
The org.eclipse.papyrus.views.properties.runtime.ConfigurationManager
class provides API for manipulation of the registration and enablement
of Properties view customizations.
HTH,
Christian
On 2013-08-06 15:07:56 +0000, JIAN SHEN said:
> Hi,
>
> I'd like to customize the properties view of Papyrus (remove some
> options) and I have succeeded in following with this page:
> http://www.eclipse.org/forums/index.php/t/419427/
>
> Now I can realize my customization by choosing to disable the original
> UML context in the preference page of properties view, my problem is
> how can I realize this operation programmatically?
> I found the class Preference in
> org.eclipse.papyrus.views.properties.preferences, I think it to be able
> to control our preference page, but I'm not sure, does anyone have some
> experience with this?
>
> Thank you!