Loading src/com/elphel/vdt/ui/launching/LaunchShortcut.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -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); } } Loading src/com/elphel/vdt/ui/texts/Strings.properties +5 −5 Original line number Original line Diff line number Diff line Loading @@ -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' Loading src/com/elphel/vdt/ui/views/DesignFlowView.java +7 −7 Original line number Original line Diff line number Diff line Loading @@ -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(). Loading Loading @@ -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) Loading Loading
src/com/elphel/vdt/ui/launching/LaunchShortcut.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -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); } } Loading
src/com/elphel/vdt/ui/texts/Strings.properties +5 −5 Original line number Original line Diff line number Diff line Loading @@ -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' Loading
src/com/elphel/vdt/ui/views/DesignFlowView.java +7 −7 Original line number Original line Diff line number Diff line Loading @@ -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(). Loading Loading @@ -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) Loading