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 40991 Details for
Bug 141082
CompareEditor.setInput() does not notify ISaveablesLifecycleListener
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
patch against org.eclipse.compare
patch-141082.txt (text/plain), 1.49 KB, created by
Boris Bokowski
on 2006-05-10 14:20:16 EDT
(
hide
)
Description:
patch against org.eclipse.compare
Filename:
MIME Type:
Creator:
Boris Bokowski
Created:
2006-05-10 14:20:16 EDT
Size:
1.49 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.compare >Index: compare/org/eclipse/compare/internal/CompareEditor.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.compare/compare/org/eclipse/compare/internal/CompareEditor.java,v >retrieving revision 1.32 >diff -u -r1.32 CompareEditor.java >--- compare/org/eclipse/compare/internal/CompareEditor.java 30 Mar 2006 10:24:27 -0000 1.32 >+++ compare/org/eclipse/compare/internal/CompareEditor.java 10 May 2006 18:22:23 -0000 >@@ -130,6 +130,15 @@ > IEditorInput oldInput= getEditorInput(); > if (oldInput instanceof IPropertyChangeNotifier) > ((IPropertyChangeNotifier)input).removePropertyChangeListener(fPropertyChangeListener); >+ >+ ISaveablesLifecycleListener lifecycleListener = null; >+ if (oldInput != null) { >+ lifecycleListener = (ISaveablesLifecycleListener) getSite() >+ .getService(ISaveablesLifecycleListener.class); >+ lifecycleListener.handleLifecycleEvent(new SaveablesLifecycleEvent( >+ this, SaveablesLifecycleEvent.POST_CLOSE, getSaveables(), >+ false)); >+ } > > super.setInput(input); > >@@ -154,6 +163,11 @@ > } > > firePropertyChange(IWorkbenchPartConstants.PROP_INPUT); >+ >+ if (lifecycleListener != null) { >+ lifecycleListener.handleLifecycleEvent(new SaveablesLifecycleEvent(this, >+ SaveablesLifecycleEvent.POST_OPEN, getSaveables(), false)); >+ } > } > > public IActionBars getActionBars() {
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 141082
: 40991