Skip to content

Commit

Permalink
Add CDMV5.1.0 to RabbitInAHatMain
Browse files Browse the repository at this point in the history
  • Loading branch information
qkerby committed Jul 10, 2017
1 parent b42f069 commit 5bbd115
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/org/ohdsi/rabbitInAHat/RabbitInAHatMain.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ public class RabbitInAHatMain implements ResizeListener, ActionListener {
public final static String ACTION_CMD_SET_TARGET_V4 = "CDM v4";
public final static String ACTION_CMD_SET_TARGET_V5 = "CDM v5.0.0";
public final static String ACTION_CMD_SET_TARGET_V501 = "CDM v5.0.1";
public final static String ACTION_CMD_SET_TARGET_V510 = "CDM v5.1.0";
public final static String ACTION_ADD_STEM_TABLE = "Add stem table";
public final static String ACTION_CMD_SET_TARGET_CUSTOM = "Load Custom...";
public final static String ACTION_CMD_MARK_COMPLETED = "Mark Highlighted As Complete";
Expand Down Expand Up @@ -263,6 +264,11 @@ private JMenuBar createMenuBar() {
targetCDMV501.addActionListener(this);
targetCDMV501.setActionCommand(ACTION_CMD_SET_TARGET_V501);
setTarget.add(targetCDMV501);

JMenuItem targetCDMV510 = new JMenuItem(ACTION_CMD_SET_TARGET_V510);
targetCDMV510.addActionListener(this);
targetCDMV510.setActionCommand(ACTION_CMD_SET_TARGET_V510);
setTarget.add(targetCDMV510);

JMenuItem loadTarget = new JMenuItem(ACTION_CMD_SET_TARGET_CUSTOM);
loadTarget.addActionListener(this);
Expand Down Expand Up @@ -418,6 +424,9 @@ public void actionPerformed(ActionEvent event) {
case ACTION_CMD_SET_TARGET_V501:
doSetTargetCDM(CDMVersion.CDMV501);
break;
case ACTION_CMD_SET_TARGET_V510:
doSetTargetCDM(CDMVersion.CDMV510);
break;
case ACTION_CMD_SET_TARGET_CUSTOM:
doSetTargetCustom(chooseOpenPath(FILE_FILTER_CSV));
break;
Expand Down

0 comments on commit 5bbd115

Please sign in to comment.