|
|
|
@ -39,6 +39,11 @@ public class DesignerStartupModel {
|
|
|
|
|
* mode:模式,0-有设计器起动页;1-无设计器起始页 |
|
|
|
|
*/ |
|
|
|
|
private int mode; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* jdkVersion:JDK版本 |
|
|
|
|
*/ |
|
|
|
|
private String jdkVersion; |
|
|
|
|
|
|
|
|
|
public DesignerStartupModel() { |
|
|
|
|
} |
|
|
|
@ -73,7 +78,15 @@ public class DesignerStartupModel {
|
|
|
|
|
public void setInfo(MachineInfo info) { |
|
|
|
|
this.info = info; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public String getJdkVersion() { |
|
|
|
|
return jdkVersion; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void setJdkVersion(String jdkVersion) { |
|
|
|
|
this.jdkVersion = jdkVersion; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public int getMode() { |
|
|
|
|
return mode; |
|
|
|
|
} |
|
|
|
@ -83,7 +96,7 @@ public class DesignerStartupModel {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void fillInfo() { |
|
|
|
|
|
|
|
|
|
this.setJdkVersion(System.getProperty("java.runtime.version")); |
|
|
|
|
MachineInfo info = new MachineInfo(); |
|
|
|
|
AbstractOperatingSystem operatingSystem = OperatingSystem.getOperatingSystem(); |
|
|
|
|
info.setSystem(operatingSystem.getDisplayString()); |
|
|
|
|