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 162089 Details for
Bug 305365
[variables] Allow for editable value different from the current formatted value.
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]
new patch
305365.patch.txt (text/plain), 2.86 KB, created by
David Dubrow
on 2010-03-15 13:57:29 EDT
(
hide
)
Description:
new patch
Filename:
MIME Type:
Creator:
David Dubrow
Created:
2010-03-15 13:57:29 EDT
Size:
2.86 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.cdt.dsf >Index: src/org/eclipse/cdt/dsf/debug/service/IFormattedValues.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.cdt/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/IFormattedValues.java,v >retrieving revision 1.6 >diff -u -r1.6 IFormattedValues.java >--- src/org/eclipse/cdt/dsf/debug/service/IFormattedValues.java 13 Mar 2010 17:53:41 -0000 1.6 >+++ src/org/eclipse/cdt/dsf/debug/service/IFormattedValues.java 15 Mar 2010 17:55:51 -0000 >@@ -117,21 +117,21 @@ > private String fEditableValue; > > public FormattedValueDMData(String value) { >- fValue = value; >- fEditableValue = value; >- } >- >- public String getFormattedValue() { >- return fValue; >+ this(value, value); > } > > /** > * @since 2.1 > */ >- public void setEditableValue(String editableValue) { >+ public FormattedValueDMData(String value, String editableValue) { >+ fValue = value; > fEditableValue = editableValue; > } > >+ public String getFormattedValue() { >+ return fValue; >+ } >+ > /** > * @since 2.1 > */ >#P org.eclipse.cdt.dsf.ui >Index: src/org/eclipse/cdt/dsf/debug/ui/viewmodel/variable/SyncVariableDataAccess.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.cdt/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/variable/SyncVariableDataAccess.java,v >retrieving revision 1.3 >diff -u -r1.3 SyncVariableDataAccess.java >--- src/org/eclipse/cdt/dsf/debug/ui/viewmodel/variable/SyncVariableDataAccess.java 13 Mar 2010 14:59:56 -0000 1.3 >+++ src/org/eclipse/cdt/dsf/debug/ui/viewmodel/variable/SyncVariableDataAccess.java 15 Mar 2010 17:55:53 -0000 >@@ -376,11 +376,15 @@ > private String fFormatId; > private boolean fEditable; > >+ public GetFormattedValueValueQuery(IFormattedDataDMContext dmc, String formatId) { >+ this(dmc, formatId, false); >+ } >+ > public GetFormattedValueValueQuery(IFormattedDataDMContext dmc, String formatId, boolean editable) { >- super(); >- fDmc = dmc; >- fFormatId = formatId; >- fEditable = editable; >+ super(); >+ fDmc = dmc; >+ fFormatId = formatId; >+ fEditable = editable; > } > > @Override >@@ -430,7 +434,7 @@ > return getValue(element, formatId, true); > } > >- public String getValue(Object element, String formatId, boolean editable) { >+ private String getValue(Object element, String formatId, boolean editable) { > > /* > * Get the DMC and the session. If element is not an register DMC, or
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
Flags:
pawel.1.piech
:
iplog-
Actions:
View
|
Diff
Attachments on
bug 305365
:
162070
| 162089