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 72754 Details for
Bug 194876
Plugin sub-classes should call savePluginPreferences in stop implementation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
implemenation patch
savePluginPreferences.txt (text/plain), 7.62 KB, created by
Jae Gangemi
on 2007-06-28 22:03:27 EDT
(
hide
)
Description:
implemenation patch
Filename:
MIME Type:
Creator:
Jae Gangemi
Created:
2007-06-28 22:03:27 EDT
Size:
7.62 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.dltk.core >Index: model/org/eclipse/dltk/core/DLTKCore.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.dltk/core/plugins/org.eclipse.dltk.core/model/org/eclipse/dltk/core/DLTKCore.java,v >retrieving revision 1.15 >diff -u -r1.15 DLTKCore.java >--- model/org/eclipse/dltk/core/DLTKCore.java 15 Jun 2007 08:34:55 -0000 1.15 >+++ model/org/eclipse/dltk/core/DLTKCore.java 29 Jun 2007 01:51:33 -0000 >@@ -896,6 +896,7 @@ > try { > ModelManager.getModelManager().shutdown(); > } finally { >+ savePluginPreferences(); > super.stop(context); > plugin = null; > } >#P org.eclipse.dltk.console >Index: src/org/eclipse/dltk/console/ScriptConsolePlugin.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.dltk/core/plugins/org.eclipse.dltk.console/src/org/eclipse/dltk/console/ScriptConsolePlugin.java,v >retrieving revision 1.3 >diff -u -r1.3 ScriptConsolePlugin.java >--- src/org/eclipse/dltk/console/ScriptConsolePlugin.java 12 Jun 2007 10:04:07 -0000 1.3 >+++ src/org/eclipse/dltk/console/ScriptConsolePlugin.java 29 Jun 2007 01:51:33 -0000 >@@ -41,6 +41,7 @@ > */ > public void stop(BundleContext context) throws Exception { > super.stop(context); >+ savePluginPreferences(); > plugin = null; > } > >#P org.eclipse.dltk.validators.core >Index: src/org/eclipse/dltk/validators/internal/core/ValidatorsCore.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.dltk/core/plugins/org.eclipse.dltk.validators.core/src/org/eclipse/dltk/validators/internal/core/ValidatorsCore.java,v >retrieving revision 1.6 >diff -u -r1.6 ValidatorsCore.java >--- src/org/eclipse/dltk/validators/internal/core/ValidatorsCore.java 28 May 2007 13:45:42 -0000 1.6 >+++ src/org/eclipse/dltk/validators/internal/core/ValidatorsCore.java 29 Jun 2007 01:51:33 -0000 >@@ -78,6 +78,7 @@ > */ > public void stop(BundleContext context) throws Exception { > plugin = null; >+ savePluginPreferences(); > super.stop(context); > } > >#P org.eclipse.dltk.ruby.launching >Index: src/org/eclipse/dltk/ruby/launching/RubyLaunchingPlugin.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.dltk/ruby/plugins/org.eclipse.dltk.ruby.launching/src/org/eclipse/dltk/ruby/launching/RubyLaunchingPlugin.java,v >retrieving revision 1.3 >diff -u -r1.3 RubyLaunchingPlugin.java >--- src/org/eclipse/dltk/ruby/launching/RubyLaunchingPlugin.java 31 May 2007 10:25:53 -0000 1.3 >+++ src/org/eclipse/dltk/ruby/launching/RubyLaunchingPlugin.java 29 Jun 2007 01:51:33 -0000 >@@ -34,6 +34,7 @@ > > public void stop(BundleContext context) throws Exception { > plugin = null; >+ super.savePluginPreferences(); > super.stop(context); > } > >#P org.eclipse.dltk.python.core >Index: src/org/eclipse/dltk/python/core/PythonPlugin.java >=================================================================== >RCS file: /opt/org.eclipse.dltk/org.eclipse.dltk/python/plugins/org.eclipse.dltk.python.core/src/org/eclipse/dltk/python/core/PythonPlugin.java,v >retrieving revision 1.2 >diff -u -r1.2 PythonPlugin.java >--- src/org/eclipse/dltk/python/core/PythonPlugin.java 2 May 2007 15:04:15 -0000 1.2 >+++ src/org/eclipse/dltk/python/core/PythonPlugin.java 29 Jun 2007 01:50:59 -0000 >@@ -41,6 +41,7 @@ > */ > public void stop(BundleContext context) throws Exception { > super.stop(context); >+ savePluginPreferences(); > plugin = null; > } > >#P org.eclipse.dltk.ruby.core >Index: src/org/eclipse/dltk/ruby/core/RubyPlugin.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.dltk/ruby/plugins/org.eclipse.dltk.ruby.core/src/org/eclipse/dltk/ruby/core/RubyPlugin.java,v >retrieving revision 1.14 >diff -u -r1.14 RubyPlugin.java >--- src/org/eclipse/dltk/ruby/core/RubyPlugin.java 1 Jun 2007 13:29:09 -0000 1.14 >+++ src/org/eclipse/dltk/ruby/core/RubyPlugin.java 29 Jun 2007 01:51:34 -0000 >@@ -64,6 +64,7 @@ > */ > public void stop(BundleContext context) throws Exception { > plugin = null; >+ savePluginPreferences(); > super.stop(context); > > RubyMixinModel.getRawInstance().stop(); >#P org.eclipse.dltk.debug >Index: src/org/eclipse/dltk/debug/core/DLTKDebugPlugin.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.dltk/core/plugins/org.eclipse.dltk.debug/src/org/eclipse/dltk/debug/core/DLTKDebugPlugin.java,v >retrieving revision 1.5 >diff -u -r1.5 DLTKDebugPlugin.java >--- src/org/eclipse/dltk/debug/core/DLTKDebugPlugin.java 12 Jun 2007 10:04:22 -0000 1.5 >+++ src/org/eclipse/dltk/debug/core/DLTKDebugPlugin.java 29 Jun 2007 01:51:34 -0000 >@@ -38,7 +38,8 @@ > } > > public void stop(BundleContext context) throws Exception { >- super.stop(context); >+ savePluginPreferences(); >+ super.stop(context); > > // TODO: stop > } >#P org.eclipse.dltk.tcl.launching >Index: src/org/eclipse/dltk/tcl/launching/TclLaunchingPlugin.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.dltk/tcl/plugins/org.eclipse.dltk.tcl.launching/src/org/eclipse/dltk/tcl/launching/TclLaunchingPlugin.java,v >retrieving revision 1.3 >diff -u -r1.3 TclLaunchingPlugin.java >--- src/org/eclipse/dltk/tcl/launching/TclLaunchingPlugin.java 2 May 2007 15:02:47 -0000 1.3 >+++ src/org/eclipse/dltk/tcl/launching/TclLaunchingPlugin.java 29 Jun 2007 01:51:34 -0000 >@@ -50,6 +50,7 @@ > */ > public void stop(BundleContext context) throws Exception { > plugin = null; >+ savePluginPreferences(); > super.stop(context); > } > >#P org.eclipse.dltk.tcl.core >Index: src/org/eclipse/dltk/tcl/core/TclPlugin.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.dltk/tcl/plugins/org.eclipse.dltk.tcl.core/src/org/eclipse/dltk/tcl/core/TclPlugin.java,v >retrieving revision 1.2 >diff -u -r1.2 TclPlugin.java >--- src/org/eclipse/dltk/tcl/core/TclPlugin.java 2 May 2007 15:07:46 -0000 1.2 >+++ src/org/eclipse/dltk/tcl/core/TclPlugin.java 29 Jun 2007 01:51:35 -0000 >@@ -41,6 +41,7 @@ > */ > public void stop(BundleContext context) throws Exception { > super.stop(context); >+ savePluginPreferences(); > plugin = null; > } > >#P org.eclipse.dltk.ruby.debug >Index: src/org/eclipse/dltk/ruby/debug/RubyDebugPlugin.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.dltk/ruby/plugins/org.eclipse.dltk.ruby.debug/src/org/eclipse/dltk/ruby/debug/RubyDebugPlugin.java,v >retrieving revision 1.3 >diff -u -r1.3 RubyDebugPlugin.java >--- src/org/eclipse/dltk/ruby/debug/RubyDebugPlugin.java 2 May 2007 15:06:05 -0000 1.3 >+++ src/org/eclipse/dltk/ruby/debug/RubyDebugPlugin.java 29 Jun 2007 01:51:36 -0000 >@@ -50,6 +50,7 @@ > */ > public void stop(BundleContext context) throws Exception { > plugin = null; >+ savePluginPreferences(); > super.stop(context); > } > >#P org.eclipse.dltk.python.launching >Index: src/org/eclipse/dltk/python/launching/PythonLaunchingPlugin.java >=================================================================== >RCS file: /opt/org.eclipse.dltk/org.eclipse.dltk/python/plugins/org.eclipse.dltk.python.launching/src/org/eclipse/dltk/python/launching/PythonLaunchingPlugin.java,v >retrieving revision 1.3 >diff -u -r1.3 PythonLaunchingPlugin.java >--- src/org/eclipse/dltk/python/launching/PythonLaunchingPlugin.java 2 May 2007 15:01:27 -0000 1.3 >+++ src/org/eclipse/dltk/python/launching/PythonLaunchingPlugin.java 29 Jun 2007 01:51:01 -0000 >@@ -44,6 +44,7 @@ > */ > public void stop(BundleContext context) throws Exception { > plugin = null; >+ savePluginPreferences(); > super.stop(context); > } >
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 194876
: 72754