Auto-Generate Getter and Setter

This commit is contained in:
nora 2020-11-22 14:57:51 +01:00
parent 16e254b73a
commit 1db367b9bd
6 changed files with 89 additions and 5 deletions

View file

@ -10,10 +10,12 @@ public class UMLManager {
private UMLClassView view;
private boolean showWatermark;
private boolean getSetAuto;
public UMLManager(UMLClassView view) {
this.view = view;
this.showWatermark = view.isWatermarkSelected();
this.getSetAuto = view.isGetSetAutoSelected();
view.setManager(this);
}
@ -56,4 +58,12 @@ public class UMLManager {
public void setShowWatermark(boolean showWatermark) {
this.showWatermark = showWatermark;
}
public void setGetSetAuto(boolean getSetAuto) {
this.getSetAuto = getSetAuto;
}
public boolean isGetSetAuto() {
return getSetAuto;
}
}