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 16877 Details for
Bug 49497
[RCP] JFace dependency on org.eclipse.core.runtime enlarges standalone JFace applications
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]
Runtime patch
patch_49497_runtime.txt (text/plain), 1.82 KB, created by
Chris Gross
on 2005-01-01 10:50:04 EST
(
hide
)
Description:
Runtime patch
Filename:
MIME Type:
Creator:
Chris Gross
Created:
2005-01-01 10:50:04 EST
Size:
1.82 KB
patch
obsolete
>Index: src/org/eclipse/core/runtime/Status.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.core.runtime/src/org/eclipse/core/runtime/Status.java,v >retrieving revision 1.17 >diff -u -r1.17 Status.java >--- src/org/eclipse/core/runtime/Status.java 23 Jun 2004 19:09:35 -0000 1.17 >+++ src/org/eclipse/core/runtime/Status.java 1 Jan 2005 15:33:30 -0000 >@@ -11,25 +11,30 @@ > package org.eclipse.core.runtime; > > import org.eclipse.core.internal.runtime.Assert; >-import org.eclipse.core.internal.runtime.Policy; > > /** > * A concrete status implementation, suitable either for > * instantiating or subclassing. > */ > public class Status implements IStatus { >+ >+ > /** > * A standard OK status with an "ok" message. > * > * @since 3.0 > */ >- public static final IStatus OK_STATUS = new Status(OK, Platform.PI_RUNTIME, OK, Policy.bind("ok"), null); //$NON-NLS-1$ >+ public static final IStatus OK_STATUS = new Status(OK, "org.eclipse.core.runtime", OK, "", null); //$NON-NLS-1$ //$NON-NLS-2$ >+ //the plug-in id is hard-coded here to prevent this class from depending on Platform >+ //This is so the JFace may be decoupled from runtime and this class >+ //is coming along (in utility.jar) >+ > /** > * A standard CANCEL status with no message. > * > * @since 3.0 > */ >- public static final IStatus CANCEL_STATUS = new Status(CANCEL, Platform.PI_RUNTIME, 1, "", null); //$NON-NLS-1$ >+ public static final IStatus CANCEL_STATUS = new Status(CANCEL, "org.eclipse.core.runtime", 1, "", null); //$NON-NLS-1$ //$NON-NLS-2$ > /** > * The severity. One of > * <ul> >@@ -81,7 +86,8 @@ > setMessage(message); > setException(exception); > } >- >+ >+ > /* (Intentionally not javadoc'd) > * Implements the corresponding method on <code>IStatus</code>. > */
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 49497
: 16877 |
16878
|
16879