Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vdt-plugin
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
vdt-plugin
Commits
02c3694d
Commit
02c3694d
authored
Jan 19, 2014
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing old typo
parent
0e706765
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
13 deletions
+13
-13
LaunchShortcut.java
src/com/elphel/vdt/ui/launching/LaunchShortcut.java
+1
-1
Strings.properties
src/com/elphel/vdt/ui/texts/Strings.properties
+5
-5
DesignFlowView.java
src/com/elphel/vdt/ui/views/DesignFlowView.java
+7
-7
No files found.
src/com/elphel/vdt/ui/launching/LaunchShortcut.java
View file @
02c3694d
...
@@ -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.ToolL
o
unch.Error"
,
MessageUI
.
error
(
Txt
.
s
(
"Action.ToolL
a
unch.Error"
,
new
String
[]
{
tool
.
getName
(),
e
.
getMessage
()}),
new
String
[]
{
tool
.
getName
(),
e
.
getMessage
()}),
e
);
e
);
}
}
...
...
src/com/elphel/vdt/ui/texts/Strings.properties
View file @
02c3694d
...
@@ -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.ToolL
o
unch.Error
=
'Cannot launch "{0}".\n{1}'
Action.ToolL
a
unch.Error
=
'Cannot launch "{0}".\n{1}'
Action.ToolL
o
unch.Caption.Default = 'Run'
Action.ToolL
a
unch.Caption.Default = 'Run'
Action.ToolL
o
unch.ToolTip.Default
=
'Run selected tool'
Action.ToolL
a
unch.ToolTip.Default
=
'Run selected tool'
Action.ToolL
o
unch.Caption = 'Run for "{0}"'
Action.ToolL
a
unch.Caption = 'Run for "{0}"'
Action.ToolL
o
unch.ToolTip
=
'Run {0} for "{1}"'
Action.ToolL
a
unch.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'
...
...
src/com/elphel/vdt/ui/views/DesignFlowView.java
View file @
02c3694d
...
@@ -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.ToolL
o
unch.Error"
,
MessageUI
.
error
(
Txt
.
s
(
"Action.ToolL
a
unch.Error"
,
new
String
[]
{
selectedItem
.
getLabel
(),
e
.
getMessage
()})
new
String
[]
{
selectedItem
.
getLabel
(),
e
.
getMessage
()})
,
e
);
,
e
);
}
}
}
}
};
};
launchAction
.
setText
(
Txt
.
s
(
"Action.ToolL
o
unch.Caption.Default"
));
launchAction
.
setText
(
Txt
.
s
(
"Action.ToolL
a
unch.Caption.Default"
));
launchAction
.
setToolTipText
(
Txt
.
s
(
"Action.ToolL
o
unch.ToolTip.Default"
));
launchAction
.
setToolTipText
(
Txt
.
s
(
"Action.ToolL
a
unch.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.ToolL
o
unch.Caption"
,
new
String
[]{
selectedResource
.
getName
()}));
launchAction
.
setText
(
Txt
.
s
(
"Action.ToolL
a
unch.Caption"
,
new
String
[]{
selectedResource
.
getName
()}));
launchAction
.
setToolTipText
(
Txt
.
s
(
"Action.ToolL
o
unch.ToolTip"
,
new
String
[]{
selectedItem
.
getLabel
(),
selectedResource
.
getName
()}));
launchAction
.
setToolTipText
(
Txt
.
s
(
"Action.ToolL
a
unch.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.ToolL
o
unch.Caption.Default"
));
launchAction
.
setText
(
Txt
.
s
(
"Action.ToolL
a
unch.Caption.Default"
));
launchAction
.
setToolTipText
(
Txt
.
s
(
"Action.ToolL
o
unch.ToolTip.Default"
));
launchAction
.
setToolTipText
(
Txt
.
s
(
"Action.ToolL
a
unch.ToolTip.Default"
));
}
}
enabled
=
(
selectedItem
!=
null
)
enabled
=
(
selectedItem
!=
null
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment