diff options
author | Sergey Prigogin | 2014-01-10 17:52:09 +0000 |
---|---|---|
committer | Sergey Prigogin | 2014-01-10 17:54:58 +0000 |
commit | e9b3224eaa9e136ddb0a28d378298a6f37fb6262 (patch) | |
tree | 3d47348f3ad5a887cd084a2af61b1d65be44ad1d | |
parent | f531f2f4d80565c9966df42b8e400ca5a970265b (diff) | |
download | org.eclipse.cdt-e9b3224eaa9e136ddb0a28d378298a6f37fb6262.tar.gz org.eclipse.cdt-e9b3224eaa9e136ddb0a28d378298a6f37fb6262.tar.xz org.eclipse.cdt-e9b3224eaa9e136ddb0a28d378298a6f37fb6262.zip |
Cosmetics.
-rw-r--r-- | core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/CUIPlugin.java | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/CUIPlugin.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/CUIPlugin.java index e7af7740240..9da83f28bfe 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/CUIPlugin.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/CUIPlugin.java @@ -567,14 +567,11 @@ public class CUIPlugin extends AbstractUIPlugin { GlobalBuildConsoleManager.startGlobalConsole(); } - /* - * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext) - */ @Override public void start(BundleContext context) throws Exception { super.start(context); - //Set debug tracing options + // Set debug tracing options configurePluginDebugOptions(); registerAdapters(); @@ -606,10 +603,10 @@ public class CUIPlugin extends AbstractUIPlugin { // A workaround for black console bug 320723. BuildConsolePreferencePage.initDefaults(getPreferenceStore()); - //initialize ContentAssistMatcherPreference + // Initialize ContentAssistMatcherPreference. ContentAssistPreference.getInstance(); - // start make-ui plugin, such that it can check for project conversions. + // Start make.ui plug-in, such that it can check for project conversions. Job job= new Job(Messages.CUIPlugin_jobStartMakeUI) { @Override protected IStatus run(IProgressMonitor monitor) { @@ -618,7 +615,7 @@ public class CUIPlugin extends AbstractUIPlugin { if (bundle != null) { switch (bundle.getState()) { case Bundle.RESOLVED: - case Bundle.STARTING: // because make.ui uses lazy activation, we need to start it. + case Bundle.STARTING: // Because make.ui uses lazy activation, we need to start it. bundle.start(Bundle.START_TRANSIENT); break; } @@ -633,9 +630,6 @@ public class CUIPlugin extends AbstractUIPlugin { job.schedule(); } - /* (non-Javadoc) - * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext) - */ @Override public void stop(BundleContext context) throws Exception { CDTContextActivator.getInstance().uninstall(); @@ -823,7 +817,7 @@ public class CUIPlugin extends AbstractUIPlugin { return result.toArray(new IEditorPart[result.size()]); } /** - * Returns an array of all instanciated editors. + * Returns an array of all instantiated editors. */ public static IEditorPart[] getInstanciatedEditors() { List<IEditorPart> result= new ArrayList<IEditorPart>(0); |