Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uaaltools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
universAAL
uaaltools
Commits
1dfe88a6
Commit
1dfe88a6
authored
12 years ago
by
Shanshan Jiang
Browse files
Options
Downloads
Patches
Plain Diff
improving GUI
parent
778036c5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ucc/ucc.viewjambi/src/main/java/org/universAAL/ucc/viewjambi/install/DeployConfigView.java
+16
-5
16 additions, 5 deletions
...rg/universAAL/ucc/viewjambi/install/DeployConfigView.java
with
16 additions
and
5 deletions
ucc/ucc.viewjambi/src/main/java/org/universAAL/ucc/viewjambi/install/DeployConfigView.java
+
16
−
5
View file @
1dfe88a6
...
...
@@ -83,6 +83,10 @@ public class DeployConfigView extends SubWindow {
currentScreen
=
screenId
;
ui
.
lineEdit_appId
.
setReadOnly
(
true
);
// disable text input (display only)
ui
.
radioButton_all
.
setChecked
(
true
);
if
(
screenId
==
0
)
ui
.
pushButton_previous
.
setDisabled
(
true
);
else
ui
.
pushButton_previous
.
setDisabled
(
false
);
onAllNodes
();
}
...
...
@@ -161,11 +165,18 @@ public class DeployConfigView extends SubWindow {
// initialize the next screen if any
if
(
currentScreen
==
screens
.
size
()-
1
)
{
// already the last screen - start to call DeployManager!
QMessageBox
.
information
(
this
,
"Info"
,
"start deploying the multi-part application..."
);
// TODO: change to option panel like function.. QInputDialog.
//TODO write all the deploy configure setting to a configFile
// saveDeployConfigToFile();
//TODO call MW deploy manager requestToInstall(zip, configFile)
String
[]
options
=
{
"YES - continue to deploy"
,
"NO - Go back"
};
String
op
=
QInputDialog
.
getItem
(
this
,
"Deploy"
,
"This is the last application part to configure. Start deploying?"
,
Arrays
.
asList
(
options
),
0
,
false
);
if
(
options
[
0
].
equals
(
op
))
{
MainWindow
.
getInstance
().
removeSubWindow
(
this
);
System
.
out
.
println
(
"Start deploying..."
);
QMessageBox
.
information
(
this
,
"Deploy"
,
"start deploying the multi-part application..."
);
//TODO write all the deploy configure setting to a configFile or use just the HashMap?
// saveDeployConfigToFile();
//TODO call MW deploy manager requestToInstall(zip, configFile) or requestToInstall(zip, HashMap configs)
}
return
;
}
initGuiForAppPart
(
currentScreen
+
1
);
...
...
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