Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 275998 - WorkbenchPreferenceExtensionNode and pluginId
Summary: WorkbenchPreferenceExtensionNode and pluginId
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: Workbench (show other bugs)
Version: 1.2   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.2 RC1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-12 22:43 EDT by Igor Pavlenko CLA
Modified: 2009-05-14 03:56 EDT (History)
0 users

See Also:


Attachments
Patch to fix problem (1.30 KB, patch)
2009-05-12 22:43 EDT, Igor Pavlenko CLA
ruediger.herrmann: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Igor Pavlenko CLA 2009-05-12 22:43:06 EDT
It is possible to use activities
to permit or restrict the access to some preference pages. But there is one
more problem. There is no information about pluginId in
org.eclipse.ui.internal.preferences.WorkbenchPreferenceExtensionNode. The
method WorkbenchPreferenceExtensionNode#getPluginId always returns null. But
the RCP provide the pluginId correctly.
Comment 1 Igor Pavlenko CLA 2009-05-12 22:43:43 EDT
Created attachment 135490 [details]
Patch to fix problem

It seems that we have to reduce differences between implementations of
WorkbenchPreferenceExtensionNode on RAP and RCP platforms.


I attached the patch.
Comment 2 Rüdiger Herrmann CLA 2009-05-14 03:54:53 EDT
Applied patch to CVS HEAD