@Override protected void applyEditorTo(MayaCharmRunConfiguration configuration) throws ConfigurationException { configuration.setScriptCodeText(myForm.getCodeText()); configuration.setScriptFilePath(myForm.getFilePath()); configuration.setUseCode(myForm.getUseCode()); }
@Override protected void resetEditorFrom(MayaCharmRunConfiguration configuration) { myForm.setFilePath(configuration.getScriptFilePath()); myForm.setCodeText(configuration.getScriptCodeText()); myForm.setUseCode(configuration.getUseCode()); }
public MayaCharmConfigEditor(MayaCharmRunConfiguration configuration) { this.myForm = new MayaCharmConfigForm(configuration.getProject()); }