use of io.sloeber.core.api.CompileDescription.SizeCommands in project arduino-eclipse-plugin by Sloeber.
the class CompileProperties method getFromScreen.
@Override
protected Object getFromScreen() {
CompileDescription compDesc = (CompileDescription) getDescription(getConfdesc());
WarningLevels warningLevel = WarningLevels.valueOf(myWarningLevel.getText());
warningLevel.setCustomWarningLevel(myCustomWarningLevel.getText());
SizeCommands sizeCommand = SizeCommands.valueOf(mySizeCommand.getText());
sizeCommand.setCustomSizeCommand(myCustomSizeCommand.getText());
compDesc.setWarningLevel(warningLevel);
compDesc.setSizeCommand(sizeCommand);
compDesc.set_C_andCPP_CompileOptions(this.myCAndCppCommand.getText());
compDesc.set_C_CompileOptions(this.myCCommand.getText());
compDesc.set_CPP_CompileOptions(this.myCppCommand.getText());
compDesc.set_All_CompileOptions(this.myAllCommand.getText());
compDesc.set_Archive_CompileOptions(this.myArchiveCommand.getText());
compDesc.set_Assembly_CompileOptions(this.myAssemblyCommand.getText());
compDesc.set_Link_CompileOptions(this.myLinkCommand.getText());
return compDesc;
}
Aggregations