Project

General

Profile

Bug #3186

commit RExpression code changes, but leave actor open

Added by Kevin Drury about 11 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
Normal
Category:
actors
Target version:
Start date:
03/25/2008
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
3186

Description

R-script development within an RExpression actor can get pretty tedious. For example, when you add a line of code and want to test its effects, you push the RExpression actor "commit" button and this closes the RExpression actor. You can then run the workflow. Then, to make the next small change, you re-open the RExpression actor, alter the code, push "commit", etc. I have repeated this procedure 741 times in a single day (yes, I counted :). It would be REALLY nice if, when the text within the R-code window of the RExpression actor changed, the "submit" button would become activated (i.e., not grayed out). Then, when an analyist has added the next bit of code, they can just push submit and "run" the workflow. In other words, "submit" does not close the RExpression actor, but does make R-code changes visible to the workflow. Is this possible with Kepler?


Related issues

Blocks Kepler - Bug #3191: Merge TextEditor changes with ptII sourceResolved03/28/2008

History

#1 Updated by ben leinfelder about 11 years ago

Proposed implementation (working locally for me):
By using the ptolemy.actor.gui.TextEditor when "Open Actor" is invoked on the RExpression we can support saving changes to the script while still keeping the editor open.
After saving the contents of the editor (ctrl+S or cmd+S short cuts work), the window can remain open, and the workflow can be executed (and the editor can still be open during execution).

#2 Updated by ben leinfelder about 11 years ago

Rather than just double clicking on the actor, if you "Open" the actor, the expression editing window will appear. changes can be committed ("Save") and the workflow can be run while the window remains open.

#3 Updated by Redmine Admin about 6 years ago

Original Bugzilla ID was 3186

Also available in: Atom PDF