|
|||||||||
| Home >> All >> org >> eclipse >> ui >> internal >> [ registry overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.eclipse.ui.internal.registry
Class PerspectiveExtensionReader

java.lang.Objectorg.eclipse.ui.internal.registry.RegistryReader
org.eclipse.ui.internal.registry.PerspectiveExtensionReader
- public class PerspectiveExtensionReader
- extends RegistryReader
A strategy to read perspective extension from the registry. A pespective extension is one of a view, viewAction, perspAction, newWizardAction, or actionSet.
| Fields inherited from class org.eclipse.ui.internal.registry.RegistryReader |
TAG_DESCRIPTION |
| Constructor Summary | |
PerspectiveExtensionReader()
PerspectiveExtensionReader constructor.. |
|
| Method Summary | |
void |
extendLayout(java.lang.String id,
org.eclipse.ui.internal.PageLayout out)
Read the view extensions within a registry. |
private boolean |
includeTag(java.lang.String tag)
Returns whether the given tag should be included. |
private boolean |
processActionSet(org.eclipse.core.runtime.IConfigurationElement element)
Process an action set. |
private boolean |
processExtension(org.eclipse.core.runtime.IConfigurationElement element)
Process an extension. |
private boolean |
processPerspectiveShortcut(org.eclipse.core.runtime.IConfigurationElement element)
Process a perspective shortcut |
private boolean |
processShowInPart(org.eclipse.core.runtime.IConfigurationElement element)
Process a show in element. |
private boolean |
processView(org.eclipse.core.runtime.IConfigurationElement element)
Process a view |
private boolean |
processViewShortcut(org.eclipse.core.runtime.IConfigurationElement element)
Process a view shortcut |
private boolean |
processWizardShortcut(org.eclipse.core.runtime.IConfigurationElement element)
Process a wizard shortcut |
protected boolean |
readElement(org.eclipse.core.runtime.IConfigurationElement element)
Implement this method to read element's attributes. |
void |
setIncludeOnlyTags(java.lang.String[] tags)
Sets the tags to include. |
| Methods inherited from class org.eclipse.ui.internal.registry.RegistryReader |
getDescription, logError, logMissingAttribute, logMissingElement, logUnknownElement, orderExtensions, readElementChildren, readElements, readExtension, readRegistry |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
targetID
private java.lang.String targetID
pageLayout
private org.eclipse.ui.internal.PageLayout pageLayout
includeOnlyTags
private java.util.Set includeOnlyTags
TAG_EXTENSION
public static final java.lang.String TAG_EXTENSION
- See Also:
- Constant Field Values
TAG_ACTION_SET
public static final java.lang.String TAG_ACTION_SET
- See Also:
- Constant Field Values
TAG_WIZARD_SHORTCUT
public static final java.lang.String TAG_WIZARD_SHORTCUT
- See Also:
- Constant Field Values
TAG_VIEW_SHORTCUT
public static final java.lang.String TAG_VIEW_SHORTCUT
- See Also:
- Constant Field Values
TAG_PERSP_SHORTCUT
public static final java.lang.String TAG_PERSP_SHORTCUT
- See Also:
- Constant Field Values
TAG_VIEW
public static final java.lang.String TAG_VIEW
- See Also:
- Constant Field Values
TAG_SHOW_IN_PART
public static final java.lang.String TAG_SHOW_IN_PART
- See Also:
- Constant Field Values
ATT_ID
private static final java.lang.String ATT_ID
- See Also:
- Constant Field Values
ATT_TARGET_ID
private static final java.lang.String ATT_TARGET_ID
- See Also:
- Constant Field Values
ATT_RELATIVE
private static final java.lang.String ATT_RELATIVE
- See Also:
- Constant Field Values
ATT_RELATIONSHIP
private static final java.lang.String ATT_RELATIONSHIP
- See Also:
- Constant Field Values
ATT_RATIO
private static final java.lang.String ATT_RATIO
- See Also:
- Constant Field Values
ATT_VISIBLE
private static final java.lang.String ATT_VISIBLE
- See Also:
- Constant Field Values
ATT_CLOSEABLE
private static final java.lang.String ATT_CLOSEABLE
- See Also:
- Constant Field Values
ATT_MOVEABLE
private static final java.lang.String ATT_MOVEABLE
- See Also:
- Constant Field Values
ATT_STANDALONE
private static final java.lang.String ATT_STANDALONE
- See Also:
- Constant Field Values
ATT_SHOW_TITLE
private static final java.lang.String ATT_SHOW_TITLE
- See Also:
- Constant Field Values
VAL_LEFT
private static final java.lang.String VAL_LEFT
- See Also:
- Constant Field Values
VAL_RIGHT
private static final java.lang.String VAL_RIGHT
- See Also:
- Constant Field Values
VAL_TOP
private static final java.lang.String VAL_TOP
- See Also:
- Constant Field Values
VAL_BOTTOM
private static final java.lang.String VAL_BOTTOM
- See Also:
- Constant Field Values
VAL_STACK
private static final java.lang.String VAL_STACK
- See Also:
- Constant Field Values
VAL_FAST
private static final java.lang.String VAL_FAST
- See Also:
- Constant Field Values
VAL_TRUE
private static final java.lang.String VAL_TRUE
- See Also:
- Constant Field Values
VAL_FALSE
private static final java.lang.String VAL_FALSE
- See Also:
- Constant Field Values
| Constructor Detail |
PerspectiveExtensionReader
public PerspectiveExtensionReader()
- PerspectiveExtensionReader constructor..
| Method Detail |
extendLayout
public void extendLayout(java.lang.String id, org.eclipse.ui.internal.PageLayout out)
- Read the view extensions within a registry.
includeTag
private boolean includeTag(java.lang.String tag)
- Returns whether the given tag should be included.
processActionSet
private boolean processActionSet(org.eclipse.core.runtime.IConfigurationElement element)
- Process an action set.
processExtension
private boolean processExtension(org.eclipse.core.runtime.IConfigurationElement element)
- Process an extension.
Assumption: Extension is for current perspective.
processPerspectiveShortcut
private boolean processPerspectiveShortcut(org.eclipse.core.runtime.IConfigurationElement element)
- Process a perspective shortcut
processShowInPart
private boolean processShowInPart(org.eclipse.core.runtime.IConfigurationElement element)
- Process a show in element.
processView
private boolean processView(org.eclipse.core.runtime.IConfigurationElement element)
- Process a view
processViewShortcut
private boolean processViewShortcut(org.eclipse.core.runtime.IConfigurationElement element)
- Process a view shortcut
processWizardShortcut
private boolean processWizardShortcut(org.eclipse.core.runtime.IConfigurationElement element)
- Process a wizard shortcut
readElement
protected boolean readElement(org.eclipse.core.runtime.IConfigurationElement element)
- Description copied from class:
RegistryReader - Implement this method to read element's attributes.
If children should also be read, then implementor
is responsible for calling
readElementChildren. Implementor is also responsible for logging missing attributes.- Specified by:
readElementin classRegistryReader
setIncludeOnlyTags
public void setIncludeOnlyTags(java.lang.String[] tags)
- Sets the tags to include. All others are ignored.
|
|||||||||
| Home >> All >> org >> eclipse >> ui >> internal >> [ registry overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC