|
|
|
@ -40,6 +40,11 @@ public class DesignerStartupModel {
|
|
|
|
|
*/ |
|
|
|
|
private int mode; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* jdkVersion:JDK版本 |
|
|
|
|
*/ |
|
|
|
|
private String jdkVersion; |
|
|
|
|
|
|
|
|
|
public DesignerStartupModel() { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -74,6 +79,14 @@ public class DesignerStartupModel {
|
|
|
|
|
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()); |
|
|
|
|