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

Fixing old typo

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