Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 133258 Details for
Bug 228022
[CommonNavigator] Allow content providers to explicitly specify their ordering
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Patch of just the definition changes
clipboard.txt (text/plain), 2.66 KB, created by
Francis Upton IV
on 2009-04-26 14:29:43 EDT
(
hide
)
Description:
Patch of just the definition changes
Filename:
MIME Type:
Creator:
Francis Upton IV
Created:
2009-04-26 14:29:43 EDT
Size:
2.66 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.ui.navigator >Index: src/org/eclipse/ui/internal/navigator/extensions/NavigatorContentDescriptor.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/extensions/NavigatorContentDescriptor.java,v >retrieving revision 1.18 >diff -u -r1.18 NavigatorContentDescriptor.java >--- src/org/eclipse/ui/internal/navigator/extensions/NavigatorContentDescriptor.java 23 Jan 2009 21:25:25 -0000 1.18 >+++ src/org/eclipse/ui/internal/navigator/extensions/NavigatorContentDescriptor.java 26 Apr 2009 18:28:25 -0000 >@@ -55,6 +55,8 @@ > > private int priority = Priority.NORMAL_PRIORITY_VALUE; > >+ private String appearsBeforeId; >+ > private Expression enablement; > > private Expression possibleChildren; >@@ -126,6 +128,16 @@ > } > > /** >+ * FIXME this should be exposed through the API, but it went in after the API freeze. >+ * >+ * @return The value specified by the <i>appearsBefore</i> attribute of the >+ * <navigatorContent/> element. >+ */ >+ public String getAppearsBeforeId() { >+ return appearsBeforeId; >+ } >+ >+ /** > * Parses the configuration element. > * > * @throws WorkbenchException >@@ -154,6 +166,7 @@ > providesSaveables = (providesSaveablesString != null && providesSaveablesString > .length() > 0) ? Boolean.valueOf(providesSaveablesString) > .booleanValue() : false; >+ appearsBeforeId = configElement.getAttribute(ATT_APPEARS_BEFORE); > > if (priorityString != null) { > try { >Index: schema/navigatorContent.exsd >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.ui.navigator/schema/navigatorContent.exsd,v >retrieving revision 1.45 >diff -u -r1.45 navigatorContent.exsd >--- schema/navigatorContent.exsd 8 Mar 2009 14:34:56 -0000 1.45 >+++ schema/navigatorContent.exsd 26 Apr 2009 18:28:25 -0000 >@@ -134,6 +134,16 @@ > </restriction> > </simpleType> > </attribute> >+ <attribute name="appearsBefore" type="string"> >+ <annotation> >+ <documentation> >+ 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. >+ </documentation> >+ <appInfo> >+ <meta.attribute kind="identifier" basedOn="org.eclipse.ui.navigator.navigatorContent/@id"/> >+ </appInfo> >+ </annotation> >+ </attribute> > <attribute name="contentProvider" type="string"> > <annotation> > <documentation>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 228022
:
105827
|
133258
|
161171
|
161238