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 91492 Details for
Bug 204742
Warning logged in the Eclipse .log when restoring the symptom analysis results view
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 file
tptp_patch_bugzilla204742_20080304.txt (text/plain), 2.63 KB, created by
Yasuhisa Gotoh
on 2008-03-04 05:43:09 EST
(
hide
)
Description:
Patch file
Filename:
MIME Type:
Creator:
Yasuhisa Gotoh
Created:
2008-03-04 05:43:09 EST
Size:
2.63 KB
patch
obsolete
>Index: src/org/eclipse/tptp/symptom/internal/presentation/RecommendationDetails.java >=================================================================== >RCS file: /cvsroot/tptp/monitoring/org.eclipse.hyades.sdb/src/org/eclipse/tptp/symptom/internal/presentation/RecommendationDetails.java,v >retrieving revision 1.22 >diff -u -r1.22 RecommendationDetails.java >--- src/org/eclipse/tptp/symptom/internal/presentation/RecommendationDetails.java 31 Jan 2008 06:19:53 -0000 1.22 >+++ src/org/eclipse/tptp/symptom/internal/presentation/RecommendationDetails.java 4 Mar 2008 10:40:01 -0000 >@@ -33,6 +33,7 @@ > import org.eclipse.tptp.symptom.internal.util.SymptomResultsViewContextIDs; > import org.eclipse.tptp.symptom.provider.SymptomEditPlugin; > import org.eclipse.tptp.symptom.provisional.presentation.AbstractSymptomEditor; >+import org.eclipse.ui.IViewReference; > import org.eclipse.ui.IWorkbenchPage; > import org.eclipse.ui.IWorkbenchPart; > import org.eclipse.ui.PlatformUI; >@@ -77,7 +78,10 @@ > }else{ > IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage(); > if(page != null){ >- part = page.findView(AnalysisHelper.SYMPTOM_VIEWER); >+ IViewReference vref = page.findViewReference(AnalysisHelper.SYMPTOM_VIEWER); >+ if (vref != null) { >+ part = vref.getPart(false); >+ } > } > > } >Index: src/org/eclipse/tptp/symptom/internal/presentation/CommonDetailsPage.java >=================================================================== >RCS file: /cvsroot/tptp/monitoring/org.eclipse.hyades.sdb/src/org/eclipse/tptp/symptom/internal/presentation/CommonDetailsPage.java,v >retrieving revision 1.24 >diff -u -r1.24 CommonDetailsPage.java >--- src/org/eclipse/tptp/symptom/internal/presentation/CommonDetailsPage.java 31 Jan 2008 02:26:11 -0000 1.24 >+++ src/org/eclipse/tptp/symptom/internal/presentation/CommonDetailsPage.java 4 Mar 2008 10:40:01 -0000 >@@ -81,6 +81,7 @@ > import org.eclipse.tptp.symptom.internal.util.SymptomResultsViewContextIDs; > import org.eclipse.tptp.symptom.provider.SymptomEditPlugin; > import org.eclipse.tptp.symptom.provisional.presentation.AbstractSymptomEditor; >+import org.eclipse.ui.IViewReference; > import org.eclipse.ui.IWorkbenchPage; > import org.eclipse.ui.IWorkbenchPart; > import org.eclipse.ui.PlatformUI; >@@ -314,7 +315,10 @@ > IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage(); > > if(page != null){ >- part = page.findView(AnalysisHelper.SYMPTOM_VIEWER); >+ IViewReference vref = page.findViewReference(AnalysisHelper.SYMPTOM_VIEWER); >+ if (vref != null) { >+ part = vref.getPart(false); >+ } > } > > }
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 204742
: 91492