Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge risk assessment questionnaire #351

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
d9489b5
add checklist wizard
thomasguenzel Jan 31, 2017
309b0ca
remove debug prints, add comments
thomasguenzel Feb 1, 2017
9886a7e
try to fix conflicts
thomasguenzel Feb 1, 2017
45d7d9f
change to upstream
thomasguenzel Feb 1, 2017
82c3756
use upstream mainwindow
thomasguenzel Feb 1, 2017
b3bbd71
rename checklist file
thomasguenzel Feb 1, 2017
4637ba6
fix monitor visualization bug
thomasguenzel Feb 1, 2017
3edf215
try matching code layout to upstream
thomasguenzel Feb 1, 2017
3767f2c
comments
thomasguenzel Feb 1, 2017
c9c21b4
fix typos in message.properties
thomasguenzel Feb 1, 2017
aab5a77
persist risk wizard config in model
thomasguenzel Feb 2, 2017
90d63d9
Merge branch 'master' of https://github.com/arx-deidentifier/arx
thomasguenzel Feb 2, 2017
9806971
remove debug log
thomasguenzel Feb 2, 2017
134419a
remove “last used” from messages
thomasguenzel Feb 2, 2017
85ec1d0
Initial rework of the code implementing the questionnaire
prasser Feb 2, 2017
03ddcdb
Add
prasser Feb 3, 2017
0fd6b52
Update
prasser Feb 3, 2017
66ede45
Update
prasser Feb 8, 2017
3d502fb
Update documentation
prasser Feb 9, 2017
d28f12d
Some further updates
prasser Feb 9, 2017
b65394c
Merge remote-tracking branch 'origin/master' into risk
prasser Jan 15, 2018
4c171c9
Merge remote-tracking branch 'origin/changes-for-3.7.0' into risk
prasser Jan 15, 2018
007bd18
Bugfix: rename classes
prasser Jan 15, 2018
ad4a7f0
Add further files
prasser Mar 8, 2020
ecef52c
Merge remote-tracking branch 'origin/master' into risk
prasser Mar 8, 2020
5a426fa
Add comment
prasser Mar 8, 2020
85fe39b
Merge branch 'master' into risk
prasser Feb 16, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
use upstream mainwindow
  • Loading branch information
thomasguenzel committed Feb 1, 2017
commit 82c375688c23051b5178fa33dccfd84f2c8a1a9e
18 changes: 18 additions & 0 deletions src/gui/org/deidentifier/arx/gui/view/impl/MainWindow.java
Original file line number Diff line number Diff line change
@@ -65,6 +65,9 @@
import org.deidentifier.arx.gui.view.impl.risk.LayoutRisks;
import org.deidentifier.arx.gui.view.impl.utility.LayoutUtility;
import org.deidentifier.arx.gui.worker.Worker;
import org.deidentifier.arx.gui.view.impl.wizard.sharingwizard.ChecklistWizard;
import org.deidentifier.arx.gui.view.impl.wizard.sharingwizard.ChecklistDialog;
import org.deidentifier.arx.gui.view.impl.wizard.sharingwizard.checklist.Checklist;
import org.eclipse.jface.dialogs.IInputValidator;
import org.eclipse.jface.dialogs.InputDialog;
import org.eclipse.jface.dialogs.MessageDialog;
@@ -516,6 +519,12 @@ public void showInfoDialog(final Shell shell, final String header, final String
MessageDialog.openInformation(getShell(), header, text);
}

public void showChecklistWizard() {
Checklist checklist = new Checklist(controller.getResources().getStream("default_checklist.txt"));
final ChecklistDialog dialog = new ChecklistDialog(checklist, shell, controller, new ChecklistWizard(checklist, controller));
dialog.open();
}

/**
* Shows an input dialog.
*
@@ -1016,6 +1025,15 @@ private MainMenuItem getMenuHelp() {

items.add(new MainMenuSeparator());

items.add(new MainMenuItem(Resources.getMessage("MainMenu.28"), //$NON-NLS-1$
controller.getResources().getManagedImage("information.png"), //$NON-NLS-1$
true) {
public void action(Controller controller) { controller.actionMenuHelpChecklistWizard(); }
public boolean isEnabled(Model model) { return true; }
});

items.add(new MainMenuSeparator());

items.add(new MainMenuItem(Resources.getMessage("MainMenu.29"), //$NON-NLS-1$
controller.getResources().getManagedImage("information.png"), //$NON-NLS-1$
false) {