1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-18 21:55:45 +02:00

Allow ability to create RSE connection from File -> New wizard

This commit is contained in:
Kushal Munir 2006-05-17 14:35:13 +00:00
parent 1fe776710f
commit 5dc7980fd2
3 changed files with 29 additions and 3 deletions

View file

@ -39,12 +39,13 @@ import org.eclipse.rse.ui.SystemConnectionForm;
import org.eclipse.rse.ui.RSEUIPlugin; import org.eclipse.rse.ui.RSEUIPlugin;
import org.eclipse.rse.ui.SystemResources; import org.eclipse.rse.ui.SystemResources;
import org.eclipse.rse.ui.messages.SystemMessageDialog; import org.eclipse.rse.ui.messages.SystemMessageDialog;
import org.eclipse.ui.INewWizard;
/** /**
* Wizard for creating a new remote systems connection. * Wizard for creating a new remote systems connection.
*/ */
public class SystemNewConnectionWizard public class SystemNewConnectionWizard
extends AbstractSystemWizard extends AbstractSystemWizard implements INewWizard
{ {

View file

@ -126,3 +126,8 @@ RemoteCommandsBackground.label = Background color
RemoteCommandsBackground.description = The background color is used by the Remote Shell view. RemoteCommandsBackground.description = The background color is used by the Remote Shell view.
RemoteCommandsPrompt.label = Prompt color RemoteCommandsPrompt.label = Prompt color
RemoteCommandsPrompt.description = The text color used for displaying prompts. RemoteCommandsPrompt.description = The text color used for displaying prompts.
# Creation wizard
Creation.category.name = Remote System Explorer
Creation.connection.name = Connection
Creation.connection.description = Create a new connection to a remote system

View file

@ -1040,4 +1040,24 @@ Contributors:
id="org.eclipse.rse.universal.passwordPersistence.AIX"> id="org.eclipse.rse.universal.passwordPersistence.AIX">
</provider> </provider>
</extension> </extension>
<!-- ================================================================= -->
<!-- RSE Creation Wizards from File -> New -->
<!-- ================================================================= -->
<extension point="org.eclipse.ui.newWizards">
<category id="org.eclipse.rse.ui.newWizards.rseCategory"
name="%Creation.category.name"/>
<wizard id="org.eclipse.rse.ui.newWizards.connection"
name="%Creation.connection.name"
icon="icons/full/etool16/newconnection_wiz.gif"
category="org.eclipse.rse.ui.newWizards.rseCategory"
class="org.eclipse.rse.ui.wizards.SystemNewConnectionWizard"
preferredPerspectives="org.eclipse.rse.ui.view.SystemPerspective"
canFinishEarly="false"
hasPages="true">
<description>
%Creation.connection.description
</description>
</wizard>
</extension>
</plugin> </plugin>