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 5230 Details for
Bug 1984
[View Mgmt] views with undeclared category attribute are tossed (1GD41DV)
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 for org.eclipse.ui.workbench
1984Patch.txt (text/plain), 2.14 KB, created by
Debbie Wilson
on 2003-06-18 11:20:51 EDT
(
hide
)
Description:
Patch for org.eclipse.ui.workbench
Filename:
MIME Type:
Creator:
Debbie Wilson
Created:
2003-06-18 11:20:51 EDT
Size:
2.14 KB
patch
obsolete
>Index: Eclipse UI/org/eclipse/ui/internal/messages.properties >=================================================================== >RCS file: /home/eclipse/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/messages.properties,v >retrieving revision 1.118 >diff -u -r1.118 messages.properties >--- Eclipse UI/org/eclipse/ui/internal/messages.properties 16 Jun 2003 19:20:10 -0000 1.118 >+++ Eclipse UI/org/eclipse/ui/internal/messages.properties 18 Jun 2003 15:17:04 -0000 >@@ -256,6 +256,7 @@ > MaximizePartAction.text = Maximize Active View or Editor > MaximizePartAction.toolTip = Toggles Maximize/Restore State of Active View or Editor > >+ViewRegistry.badCategory = Category {0} not found for view {1}. This view added to \"{2}\" category. > > # --- Help Menu --- > Workbench.help = &Help >Index: Eclipse UI/org/eclipse/ui/internal/registry/ViewRegistry.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/registry/ViewRegistry.java,v >retrieving revision 1.5 >diff -u -r1.5 ViewRegistry.java >--- Eclipse UI/org/eclipse/ui/internal/registry/ViewRegistry.java 10 Mar 2003 22:09:25 -0000 1.5 >+++ Eclipse UI/org/eclipse/ui/internal/registry/ViewRegistry.java 18 Jun 2003 15:17:04 -0000 >@@ -12,6 +12,9 @@ > > import java.util.*; > >+import org.eclipse.ui.internal.WorkbenchMessages; >+import org.eclipse.ui.internal.WorkbenchPlugin; >+ > /** > * The central manager for view descriptors. > */ >@@ -124,6 +127,14 @@ > if (miscCategory == null) { > miscCategory = new Category(); > categories.add(miscCategory); >+ } >+ if (catPath != null) { >+ // If we get here, this view specified a category which >+ // does not exist. Add this view to the 'Other' category >+ // but give out a message (to the log only) indicating >+ // this has been done. >+ String defaultCategory = WorkbenchMessages.getString("ICategory.other"); //$NON-NLS-1$ >+ WorkbenchPlugin.log(WorkbenchMessages.format("ViewRegistry.badCategory", new Object[]{catPath[0], desc.getID(), defaultCategory})); //$NON-NLS-1$ > } > miscCategory.addElement(desc); > }
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 1984
: 5230