mirror of
https://github.com/Noratrieb/UMLetClassParser.git
synced 2026-03-16 14:16:04 +01:00
Auto Generate constructor
This commit is contained in:
parent
e3643765ec
commit
b202f6b9ad
5 changed files with 51 additions and 5 deletions
|
|
@ -11,11 +11,13 @@ public class UMLManager {
|
|||
private UMLClassView view;
|
||||
private boolean showWatermark;
|
||||
private boolean getSetAuto;
|
||||
private boolean autoFillConstructor;
|
||||
|
||||
public UMLManager(UMLClassView view) {
|
||||
this.view = view;
|
||||
this.showWatermark = view.isWatermarkSelected();
|
||||
this.getSetAuto = view.isGetSetAutoSelected();
|
||||
this.autoFillConstructor = view.isAutoConstructorSelected();
|
||||
view.setManager(this);
|
||||
}
|
||||
|
||||
|
|
@ -66,4 +68,12 @@ public class UMLManager {
|
|||
public boolean isGetSetAuto() {
|
||||
return getSetAuto;
|
||||
}
|
||||
|
||||
public boolean isAutoFillConstructor(){
|
||||
return autoFillConstructor;
|
||||
}
|
||||
|
||||
public void setAutoGenerateConstructor(boolean selected) {
|
||||
autoFillConstructor = selected;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue