|
|
@ -40,6 +40,11 @@ public class DesignerStartupModel { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private int mode; |
|
|
|
private int mode; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* jdkVersion:JDK版本 |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
private String jdkVersion; |
|
|
|
|
|
|
|
|
|
|
|
public DesignerStartupModel() { |
|
|
|
public DesignerStartupModel() { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -74,6 +79,14 @@ public class DesignerStartupModel { |
|
|
|
this.info = info; |
|
|
|
this.info = info; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public String getJdkVersion() { |
|
|
|
|
|
|
|
return jdkVersion; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setJdkVersion(String jdkVersion) { |
|
|
|
|
|
|
|
this.jdkVersion = jdkVersion; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public int getMode() { |
|
|
|
public int getMode() { |
|
|
|
return mode; |
|
|
|
return mode; |
|
|
|
} |
|
|
|
} |
|
|
@ -83,7 +96,7 @@ public class DesignerStartupModel { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private void fillInfo() { |
|
|
|
private void fillInfo() { |
|
|
|
|
|
|
|
this.setJdkVersion(System.getProperty("java.runtime.version")); |
|
|
|
MachineInfo info = new MachineInfo(); |
|
|
|
MachineInfo info = new MachineInfo(); |
|
|
|
AbstractOperatingSystem operatingSystem = OperatingSystem.getOperatingSystem(); |
|
|
|
AbstractOperatingSystem operatingSystem = OperatingSystem.getOperatingSystem(); |
|
|
|
info.setSystem(operatingSystem.getDisplayString()); |
|
|
|
info.setSystem(operatingSystem.getDisplayString()); |
|
|
|