コード例 #1
0
 @Override
 protected void applyEditorTo(MayaCharmRunConfiguration configuration)
     throws ConfigurationException {
   configuration.setScriptCodeText(myForm.getCodeText());
   configuration.setScriptFilePath(myForm.getFilePath());
   configuration.setUseCode(myForm.getUseCode());
 }
コード例 #2
0
 @Override
 protected void resetEditorFrom(MayaCharmRunConfiguration configuration) {
   myForm.setFilePath(configuration.getScriptFilePath());
   myForm.setCodeText(configuration.getScriptCodeText());
   myForm.setUseCode(configuration.getUseCode());
 }
コード例 #3
0
 public MayaCharmConfigEditor(MayaCharmRunConfiguration configuration) {
   this.myForm = new MayaCharmConfigForm(configuration.getProject());
 }