score:1
Accepted answer
your preference page is a subclass of preferencepage (most likely a subclass of fieldeditorpreferencepage).
by implementing the iworkbenchpreferencepage interface, you can implement the init method and set a custom preferencestore to be used in your implementation.
for example
public void init(iworkbench workbench) {
setpreferencestore(
new scopedpreferencestore(configurationscope.instance,
"com.nem.plugin") );
setdescription("a preference page using configuration scope");
}
Source: stackoverflow.com
Related Query
- Eclipse plug-in: configuration scope preference via preference page
- Is there any way of configuring Eclipse IDE proxy settings via an autoproxy configuration script?
- Howto hide a preference page in an eclipse RCP
- Project specific preference page in Eclipse RCP application
- 'Restore Defaults' Preference Page Functionality in Eclipse
- How to pass a program argument via run configuration in Eclipse
- Eclipse Preference Page Overwrite Restore Defaults Button Listener
- How to add a Spring project to Tomcat configuration using Eclipse IDE, so that Tomcat will load the index page from web.xml
- Setting Build Automatically in Eclipse via configuration file
- get apply button in preference page + swt eclipse
- Eclipse project property/preference page: How to find event of opening preference page in project property window(Eclipse)
- Eclipse Tomcat Configuration Documentation/example page 404
- Restore Eclipse Welcome page via plugin
- How to link a parent preference page to a child preference page in Eclipse RCP?
- Erlang preference page error in in Eclipse
- How to read eclipse default key binding values which are in General-Keys-Keys Preference page
- How to restore multiple default values on a Preference page in Eclipse
- Eclipse preference page with multiple arrays
- How to fetch path of a file from preference page and print the Output on console via Button on Workbench?
- Custom radio-button INI page via Eclipse
- Work on a remote project with Eclipse via SSH
- How to share Eclipse configuration over different workspaces
- Eclipse Java launch configuration file path
- Eclipse Kepler not connecting to internet via proxy
- Store run configuration with project in Eclipse
- How to generate an Eclipse formatter configuration from a checkstyle configuration?
- Running Gradle project via Eclipse errors "system Cannot find System Java Compiler"
- Server configuration is missing in Eclipse
- "A configuration with this name already exists" error in eclipse run configurations
- How to create an Intellij and Eclipse compatible code style and code formatting configuration (for java code)?
More Query from same tag
- Running from Eclipse on devices lower than project's target API version
- Unexpected mismatch between local and server runs
- How to Accept Input from the Keyboard using Java?
- How to: add a class docstring with Eclipse/Pydev via keyboard shortcut?
- Eclipse Milo: Server event generation
- A second activity dosen't open
- Create eclipse P2 update site from folder containing bundles?
- Android debugging DDMS failed connect Windows 8
- Android Install android support rev.20 on SDK
- Automatically refresh JFace element
- Can't export apk on eclipse, using my old storekey
- get Access Token from Azure AD Java
- Jar on other PC cant run
- Prompt before committing files with compiler warnings, using Subversive team provider
- Can you export package / class information from Eclipse?
- RowSelection in NatTable with column group header
- cant add textview to this xml code?
- Ant Builder Build Failed eINSTANCE
- When do files in the Android getCacheDir() get deleted? What is a better option for long term storage?
- Java JFrame setImageIcon image from URL not working
- the path of html file in apk android app
- Eclipse, Interpretation Gitlab Arrows in Package Explorer
- Eclipse PluginDevelopment: How to set ProblemMarker for IFolder?
- How to enable "Validate Plugin in set" in Eclipse helios
- Use Jira Mylyn connector with Eclipse 2020-03?
- Error: Starting up Eclipse with SuiteScript IDE
- Change hotkey category in Eclipse
- Link souce folder
- Movilizer - Eclipse doesn't find class 'OutlineLabelProvider'
- Netbeans "find in files" with preview of surrounding content (like IntelliJ "Find in Path" / Eclipse "Quick Search")