Commit 02c3694d authored by Andrey Filippov's avatar Andrey Filippov

Fixing old typo

parent 0e706765
......@@ -60,7 +60,7 @@ public class LaunchShortcut implements ILaunchShortcut {
try {
LaunchCore.launch(tool, project, project.getName());
} catch (CoreException e) {
MessageUI.error(Txt.s("Action.ToolLounch.Error",
MessageUI.error(Txt.s("Action.ToolLaunch.Error",
new String[] {tool.getName(), e.getMessage()}),
e);
}
......
......@@ -62,11 +62,11 @@ Launch.Error.InvalidLocation = 'The file does not exist for the tool n
Launch.Cancel.Message = 'Failed to launch {0}. Launching was cancelled.'
Action.ToolLounch.Error = 'Cannot launch "{0}".\n{1}'
Action.ToolLounch.Caption.Default = 'Run'
Action.ToolLounch.ToolTip.Default = 'Run selected tool'
Action.ToolLounch.Caption = 'Run for "{0}"'
Action.ToolLounch.ToolTip = 'Run {0} for "{1}"'
Action.ToolLaunch.Error = 'Cannot launch "{0}".\n{1}'
Action.ToolLaunch.Caption.Default = 'Run'
Action.ToolLaunch.ToolTip.Default = 'Run selected tool'
Action.ToolLaunch.Caption = 'Run for "{0}"'
Action.ToolLaunch.ToolTip = 'Run {0} for "{1}"'
Action.OpenLaunchConfigDialog.Error = 'Cannot open launch configuration dialog for "{0}".\n{1}'
Action.OpenLaunchConfigDialog.Caption = 'Launch configuration'
......
......@@ -361,14 +361,14 @@ public class DesignFlowView extends ViewPart implements ISelectionListener {
try {
launchTool(selectedItem);
} catch (Exception e) {
MessageUI.error( Txt.s("Action.ToolLounch.Error",
MessageUI.error( Txt.s("Action.ToolLaunch.Error",
new String[] {selectedItem.getLabel(), e.getMessage()})
, e);
}
}
};
launchAction.setText(Txt.s("Action.ToolLounch.Caption.Default"));
launchAction.setToolTipText(Txt.s("Action.ToolLounch.ToolTip.Default"));
launchAction.setText(Txt.s("Action.ToolLaunch.Caption.Default"));
launchAction.setToolTipText(Txt.s("Action.ToolLaunch.ToolTip.Default"));
launchAction.setImageDescriptor(VDTPluginImages.DESC_RUN_TOOL);
launchAction.setEnabled(false);
// launchAction.setImageDescriptor(PlatformUI.getWorkbench().getSharedImages().
......@@ -440,16 +440,16 @@ public class DesignFlowView extends ViewPart implements ISelectionListener {
if (enabled){
launchAction.setText(Txt.s("Action.ToolLounch.Caption", new String[]{selectedResource.getName()}));
launchAction.setToolTipText(Txt.s("Action.ToolLounch.ToolTip", new String[]{selectedItem.getLabel(), selectedResource.getName()}));
launchAction.setText(Txt.s("Action.ToolLaunch.Caption", new String[]{selectedResource.getName()}));
launchAction.setToolTipText(Txt.s("Action.ToolLaunch.ToolTip", new String[]{selectedItem.getLabel(), selectedResource.getName()}));
Tool tool = selectedItem.getTool();
if (tool!=null){
System.out.println("Tool:"+tool.getName()); // Not yet parsed
}
} else {
launchAction.setText(Txt.s("Action.ToolLounch.Caption.Default"));
launchAction.setToolTipText(Txt.s("Action.ToolLounch.ToolTip.Default"));
launchAction.setText(Txt.s("Action.ToolLaunch.Caption.Default"));
launchAction.setToolTipText(Txt.s("Action.ToolLaunch.ToolTip.Default"));
}
enabled = (selectedItem != null)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment