Package org.eclipse.ui.internal
Class PerspectiveExtensionReader
java.lang.Object
org.eclipse.ui.internal.registry.RegistryReader
org.eclipse.ui.internal.PerspectiveExtensionReader
public class PerspectiveExtensionReader
extends org.eclipse.ui.internal.registry.RegistryReader
A strategy to read perspective extension from the registry. A pespective
 extension is one of a view, viewAction, perspAction, newWizardAction, or
 actionSet.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidextendLayout(IExtensionTracker extensionTracker, String id, org.eclipse.ui.internal.e4.compatibility.ModeledPageLayout out) Read the view extensions within a registry.protected booleanreadElement(IConfigurationElement element) Implement this method to read element's attributes.voidsetIncludeOnlyTags(String[] tags) Sets the tags to include.Methods inherited from class org.eclipse.ui.internal.registry.RegistryReadergetClassValue, getDescription, logError, logMissingAttribute, logMissingElement, logUnknownElement, orderExtensions, readElementChildren, readElements, readExtension, readRegistry
- 
Constructor Details- 
PerspectiveExtensionReaderpublic PerspectiveExtensionReader()PerspectiveExtensionReader constructor..
 
- 
- 
Method Details- 
extendLayoutpublic void extendLayout(IExtensionTracker extensionTracker, String id, org.eclipse.ui.internal.e4.compatibility.ModeledPageLayout out) Read the view extensions within a registry.- Parameters:
- extensionTracker- the tracker
- id- the id
- out- the layout
 
- 
readElementDescription copied from class:org.eclipse.ui.internal.registry.RegistryReaderImplement this method to read element's attributes. If children should also be read, then implementor is responsible for callingreadElementChildren. Implementor is also responsible for logging missing attributes.- Specified by:
- readElementin class- org.eclipse.ui.internal.registry.RegistryReader
- Returns:
- true if element was recognized, false if not.
 
- 
setIncludeOnlyTagsSets the tags to include. All others are ignored.- Parameters:
- tags- the tags to include
 
 
-