org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer Java Examples
The following examples show how to use
org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: WorkspaceScopePreferenceInitializerPDETest.java From eclipse-extras with Eclipse Public License 1.0 | 5 votes |
@Test public void testExtension() { AbstractPreferenceInitializer actual = createExtension(); assertThat( actual ) .isInstanceOf( WorkspaceScopePreferenceInitializer.class ); }
Example #2
Source File: WorkspaceScopePreferenceInitializerPDETest.java From eclipse-extras with Eclipse Public License 1.0 | 4 votes |
private static AbstractPreferenceInitializer createExtension() { return new RegistryAdapter() .createExecutableExtension( EXTENION_POINT_ID, AbstractPreferenceInitializer.class ) .thatMatches( attribute( "class", WorkspaceScopePreferenceInitializer.class.getName() ) ) .process(); }