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 129234 Details for
Bug 269007
[ds tooling]: Cannot unset bind/unbind methods on service references
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
org.eclipse.pde.ds.ui.patch
clipboard.txt (text/plain), 2.16 KB, created by
Chris Aniszczyk
on 2009-03-18 11:35:57 EDT
(
hide
)
Description:
org.eclipse.pde.ds.ui.patch
Filename:
MIME Type:
Creator:
Chris Aniszczyk
Created:
2009-03-18 11:35:57 EDT
Size:
2.16 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.pde.ds.ui >Index: src/org/eclipse/pde/internal/ds/ui/editor/dialogs/DSEditReferenceDialog.java >=================================================================== >RCS file: /cvsroot/eclipse/pde/ds/org.eclipse.pde.ds.ui/src/org/eclipse/pde/internal/ds/ui/editor/dialogs/DSEditReferenceDialog.java,v >retrieving revision 1.6 >diff -u -r1.6 DSEditReferenceDialog.java >--- src/org/eclipse/pde/internal/ds/ui/editor/dialogs/DSEditReferenceDialog.java 24 Feb 2009 03:04:16 -0000 1.6 >+++ src/org/eclipse/pde/internal/ds/ui/editor/dialogs/DSEditReferenceDialog.java 18 Mar 2009 15:35:37 -0000 >@@ -186,6 +186,8 @@ > if (!fBindEntry.getValue().equals(fReference.getReferenceBind())) { > fReference.setReferenceBind(fBindEntry.getValue()); > } >+ } else { >+ fReference.setReferenceBind(null); > } > > fUnBindEntry.commit(); >@@ -194,6 +196,8 @@ > .equals(fReference.getReferenceUnbind())) { > fReference.setReferenceUnbind(fUnBindEntry.getValue()); > } >+ } else { >+ fReference.setReferenceUnbind(null); > } > > fTargetEntry.commit(); >Index: src/org/eclipse/pde/internal/ds/ui/editor/sections/DSReferenceSection.java >=================================================================== >RCS file: /cvsroot/eclipse/pde/ds/org.eclipse.pde.ds.ui/src/org/eclipse/pde/internal/ds/ui/editor/sections/DSReferenceSection.java,v >retrieving revision 1.6 >diff -u -r1.6 DSReferenceSection.java >--- src/org/eclipse/pde/internal/ds/ui/editor/sections/DSReferenceSection.java 3 Mar 2009 19:02:54 -0000 1.6 >+++ src/org/eclipse/pde/internal/ds/ui/editor/sections/DSReferenceSection.java 18 Mar 2009 15:35:37 -0000 >@@ -84,8 +84,8 @@ > > String bind = reference.getReferenceBind(); > String unbind = reference.getReferenceUnbind(); >- bind = (bind == null ? "<none>" : bind); //$NON-NLS-1$ >- unbind = (unbind == null ? "<none>" : unbind); //$NON-NLS-1$ >+ bind = (bind == null || bind.length() == 0 ? "<none>" : bind); //$NON-NLS-1$ >+ unbind = (unbind == null || unbind.length() == 0 ? "<none>" : unbind); //$NON-NLS-1$ > styledString > .append( > " [" + bind + "," + unbind + "]", StyledString.DECORATIONS_STYLER); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
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 269007
: 129234