Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NomadGUI
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Instrument Control
NomadGUI
Commits
6f2ef35c
Commit
6f2ef35c
authored
4 years ago
by
ics
Browse files
Options
Downloads
Patches
Plain Diff
debug messages
parent
6f9c73f7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pom.xml
+1
-1
1 addition, 1 deletion
pom.xml
src/main/java/fr/ill/ics/client/view/command/commandline/CommandLineShell.java
+13
-0
13 additions, 0 deletions
...ics/client/view/command/commandline/CommandLineShell.java
with
14 additions
and
1 deletion
pom.xml
+
1
−
1
View file @
6f2ef35c
...
...
@@ -3,7 +3,7 @@
<modelVersion>
4.0.0
</modelVersion>
<groupId>
fr.ill.ics
</groupId>
<artifactId>
nomadgui
</artifactId>
<version>
4.0.2
5
</version>
<version>
4.0.2
6-SNAPSHOT
</version>
<name>
NomadGUI
</name>
<description>
Graphical user interface for Nomad
</description>
<scm>
...
...
This diff is collapsed.
Click to expand it.
src/main/java/fr/ill/ics/client/view/command/commandline/CommandLineShell.java
+
13
−
0
View file @
6f2ef35c
...
...
@@ -92,13 +92,18 @@ public abstract class CommandLineShell implements IMagnifyListener {
}
public
void
init
()
{
System
.
out
.
println
(
"init commandlineshell 1"
);
if
(
state
.
isCommandLine
()
&&
!
isSimulationMode
)
{
System
.
out
.
println
(
"init commandlineshell 2"
);
if
(
CommandLine
.
getInstance
(
serverId
).
isPaused
()
||
CommandLine
.
getInstance
(
serverId
).
isStarted
())
{
System
.
out
.
println
(
"init commandlineshell 3"
);
// Wait for a sync event coming from the server
setSynchronised
(
false
);
}
}
System
.
out
.
println
(
"init commandlineshell 4"
);
Magnifier
.
getInstance
().
addContainerMagnifyListener
(
this
);
System
.
out
.
println
(
"init commandlineshell 5"
);
}
public
final
void
setState
(
CommandLineState
state
)
{
...
...
@@ -411,11 +416,17 @@ public abstract class CommandLineShell implements IMagnifyListener {
public
void
setSynchronised
(
boolean
synchronised
)
{
System
.
out
.
println
(
"\tinit commandlineshell 3.1"
);
state
.
setSynchronised
(
synchronised
);
System
.
out
.
println
(
"\tinit commandlineshell 3.2"
);
updatePromptLabel
();
System
.
out
.
println
(
"\tinit commandlineshell 3.3"
);
if
(
synchronised
)
{
System
.
out
.
println
(
"\tinit commandlineshell 3.4"
);
if
(!
pendingCommands
.
isEmpty
())
{
System
.
out
.
println
(
"\tinit commandlineshell 3.5"
);
// Disable the command line again to avoid pending commands to start in parallel
state
.
setSynchronised
(
false
);
storeCommand
=
false
;
...
...
@@ -424,8 +435,10 @@ public abstract class CommandLineShell implements IMagnifyListener {
CommandLine
.
getInstance
(
serverId
).
parse
(
this
,
pendingCommands
.
get
(
0
),
state
.
getStartingLineNumber
(),
true
);
pendingCommands
.
remove
(
0
);
storeCommand
=
true
;
System
.
out
.
println
(
"\tinit commandlineshell 3.6"
);
}
}
System
.
out
.
println
(
"\tinit commandlineshell 3.7"
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment