1 11 package org.eclipse.ui.internal.navigator.extensions; 12 13 import org.eclipse.core.runtime.IConfigurationElement; 14 import org.eclipse.ui.internal.navigator.NavigatorPlugin; 15 16 23 public class NavigatorContentRegistryReader extends RegistryReader implements 24 INavigatorContentExtPtConstants { 25 26 protected final NavigatorContentDescriptorManager CONTENT_DESCRIPTOR_MANAGER = NavigatorContentDescriptorManager 27 .getInstance(); 28 29 protected NavigatorContentRegistryReader() { 30 super(NavigatorPlugin.PLUGIN_ID, TAG_NAVIGATOR_CONTENT); 31 } 32 33 protected boolean readElement(IConfigurationElement element) { 34 String elementName = element.getName(); 35 36 37 return TAG_ACTION_PROVIDER.equals(elementName) 38 || TAG_NAVIGATOR_CONTENT.equals(elementName) 39 || TAG_COMMON_WIZARD.equals(elementName) 40 || TAG_COMMON_FILTER.equals(elementName); 41 } 42 } 43 | Popular Tags |