1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-28 19:35:36 +02:00

[397995] move RSEInitJob scheduling to org.eclipse.rse.startup extension

This commit is contained in:
David Dykstal 2013-02-12 14:26:45 -06:00
parent 9ffa152e3c
commit 86973f7e45
3 changed files with 28 additions and 3 deletions

View file

@ -0,0 +1,22 @@
/********************************************************************************
* Copyright (c) 2013, 2013 IBM Corporation and others. All rights reserved.
* This program and the accompanying materials are made available under the terms
* of the Eclipse Public License v1.0 which accompanies this distribution, and is
* available at http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* David Dykstal (IBM) - [397995] RSEInitJob starts too early
********************************************************************************/
package org.eclipse.rse.internal.ui;
import org.eclipse.rse.internal.core.RSEInitJob;
import org.eclipse.ui.IStartup;
public class RSEUIStartup implements IStartup {
public void earlyStartup() {
RSEInitJob.getInstance().schedule();
}
}

View file

@ -388,9 +388,7 @@ public class RSEUIPlugin extends SystemBasePlugin
{
super.start(context);
RSEInitJob.getInstance().schedule();
messageFile = getMessageFile("systemmessages.xml"); //$NON-NLS-1$
messageFile = getMessageFile("systemmessages.xml"); //$NON-NLS-1$
defaultMessageFile = getDefaultMessageFile("systemmessages.xml"); //$NON-NLS-1$
//Force load the SystemRegistry - TODO Is this really necessary?

View file

@ -21,6 +21,7 @@ Anna Dushistova (MontaVista) - [234274][api] Launch Shell / Terminal commands m
David McKnight (IBM) - [160105] [usability] Universal action needed to locate a resource in the Remote Systems View
David McKnight (IBM) - [260792] Default prompt text color/background color for Remote Shell view is difficult to see
Uwe Stieber (Wind River) - [245039] [contributions][api] Provide property tester implementations in parallel to the older action filters
David Dykstal (IBM) - [397995] RSEInitJob runs too early
-->
<?eclipse version="3.1"?>
<plugin>
@ -53,6 +54,10 @@ Uwe Stieber (Wind River) - [245039] [contributions][api] Provide property t
</runtime>
</extension>
<extension point="org.eclipse.ui.startup">
<startup class="org.eclipse.rse.internal.ui.RSEUIStartup"/>
</extension>
<!-- ============================================ -->
<!-- Define a RemoteSystems preference page -->
<!-- ============================================ -->