Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 228022 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/ui/internal/navigator/extensions/NavigatorContentDescriptor.java (+13 lines)
Lines 55-60 Link Here
55
55
56
	private int priority = Priority.NORMAL_PRIORITY_VALUE;
56
	private int priority = Priority.NORMAL_PRIORITY_VALUE;
57
57
58
	private String appearsBeforeId;
59
58
	private Expression enablement;
60
	private Expression enablement;
59
61
60
	private Expression possibleChildren;
62
	private Expression possibleChildren;
Lines 126-131 Link Here
126
	}
128
	}
127
129
128
	/**
130
	/**
131
     * FIXME this should be exposed through the API, but it went in after the API freeze.
132
	 * 
133
	 * @return The value specified by the <i>appearsBefore</i> attribute of the
134
	 *         &lt;navigatorContent/&gt; element.
135
	 */
136
	public String getAppearsBeforeId() {
137
		return appearsBeforeId;
138
	}
139
	
140
	/**
129
	 * Parses the configuration element.
141
	 * Parses the configuration element.
130
	 * 
142
	 * 
131
	 * @throws WorkbenchException
143
	 * @throws WorkbenchException
Lines 154-159 Link Here
154
		providesSaveables = (providesSaveablesString != null && providesSaveablesString
166
		providesSaveables = (providesSaveablesString != null && providesSaveablesString
155
				.length() > 0) ? Boolean.valueOf(providesSaveablesString)
167
				.length() > 0) ? Boolean.valueOf(providesSaveablesString)
156
						.booleanValue() : false;
168
						.booleanValue() : false;
169
		appearsBeforeId = configElement.getAttribute(ATT_APPEARS_BEFORE);
157
170
158
		if (priorityString != null) {
171
		if (priorityString != null) {
159
			try {
172
			try {
(-)schema/navigatorContent.exsd (+10 lines)
Lines 134-139 Link Here
134
               </restriction>
134
               </restriction>
135
            </simpleType>
135
            </simpleType>
136
         </attribute>
136
         </attribute>
137
         <attribute name="appearsBefore" type="string">
138
            <annotation>
139
               <documentation>
140
                  Specifies the ID of the navigator content that this navigator content appears before.  This navigator content will be processed before the specified navigator content is processed.
141
               </documentation>
142
               <appInfo>
143
                  <meta.attribute kind="identifier" basedOn="org.eclipse.ui.navigator.navigatorContent/@id"/>
144
               </appInfo>
145
            </annotation>
146
         </attribute>
137
         <attribute name="contentProvider" type="string">
147
         <attribute name="contentProvider" type="string">
138
            <annotation>
148
            <annotation>
139
               <documentation>
149
               <documentation>

Return to bug 228022