Skip to content

Commit

Permalink
TODO temporal fix what to do with add to roi manager checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m committed Mar 18, 2024
1 parent a06fb32 commit b3d7d5a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/java/ai/nets/samj/gui/SAMJDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,8 @@ public void error(String text) {}
pnActions.add(bnComplete);
pnActions.add(cmbROIs);
pnActions.add(chkROIManager);
// TODO think what to do with "add to roimanager" cehckbox
chkROIManager.setEnabled(false);

List<ComboBoxItem> listImages = this.consumerMethods.getListOfOpenImages();
for(ComboBoxItem item : listImages)
Expand Down Expand Up @@ -461,7 +463,7 @@ public void updateInterface(boolean deleteEncodings) {
&& ((ComboBoxItem) this.cmbImage.getSelectedItem()).getId() != -1) {
this.bnStart.setEnabled(true);
this.cmbImage.setEnabled(true);
this.chkROIManager.setEnabled(true);
// TODO think what to do this.chkROIManager.setEnabled(true);
this.cmbROIs.setEnabled(true);
} else if (this.panelModel.isSelectedModelInstalled()
&& this.cmbImage.getSelectedItem() != null
Expand All @@ -474,7 +476,7 @@ public void updateInterface(boolean deleteEncodings) {
}
// TODO not ready yet bnComplete.setEnabled(this.encodingsDone);
bnRoi2Labeling.setEnabled(this.encodingsDone);
chkROIManager.setEnabled(this.encodingsDone);
// TODO think what to do chkROIManager.setEnabled(this.encodingsDone);
cmbROIs.setEnabled(this.encodingsDone);
bnRect.setEnabled(this.encodingsDone);
bnPoints.setEnabled(this.encodingsDone);
Expand Down

0 comments on commit b3d7d5a

Please sign in to comment.