mirror of
https://github.com/Noratrieb/UMLetClassParser.git
synced 2026-03-16 14:16:04 +01:00
Auto-Generate Getter and Setter
This commit is contained in:
parent
16e254b73a
commit
1db367b9bd
6 changed files with 89 additions and 5 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue