Presentation is loading. Please wait.

Presentation is loading. Please wait.

University of British Columbia Software Practices Lab Experiences Building Research Tools Andrew Eisenberg & Terry Hon.

Similar presentations


Presentation on theme: "University of British Columbia Software Practices Lab Experiences Building Research Tools Andrew Eisenberg & Terry Hon."— Presentation transcript:

1 University of British Columbia Software Practices Lab Experiences Building Research Tools Andrew Eisenberg & Terry Hon

2 Andrew Eisenberg and Terry Hon University of British Columbia Building Research Tools in Eclipse Linked Editing (Terry) –good and bad Mapping graphical editor to source code (Andrew) –works well Weaving into Eclipse (Andrew) –not ideal Using GEF as a text editor (Andrew) –works, but messy

3 Andrew Eisenberg and Terry Hon University of British Columbia

4 Linked Editing Supported –Linking multiple positions in files –Simultaneous changes for all linked positions Not supported –Cursor updates –Linking different code

5 Andrew Eisenberg and Terry Hon University of British Columbia Good, Bad, and Ugly Graphics Source mapping (good) Weaving into the Eclipse framework (bad) Using GEF as a text editor (ugly)

6 Andrew Eisenberg and Terry Hon University of British Columbia Editing Equations

7 Andrew Eisenberg and Terry Hon University of British Columbia Compile @StateChart(...) public class AcceptCadrString {... char c = 'c'; char a = 'a'; char d = 'd'; char r = 'r'; char x = 'x'; public boolean g() { return length++ < MAX_LENGTH; } Mapping from a non-textual display Display Byte code/ Expanded AST Stored Source... Render Good

8 Andrew Eisenberg and Terry Hon University of British Columbia Good results Once it worked…it worked Got lots for free: –syntax highlighting –error highlighting –clicks on different views –refactoring

9 Andrew Eisenberg and Terry Hon University of British Columbia Weaving into JDT core ajc does not work –OSGi classloading issues Ajeer (dynamic weaver for Eclipse) –performance issues Used ant scripts 1.extracted original JDT core jar 2.weaved 3.recreated jar 4.copied to new location Overall, fairly restrictive Bad

10 Andrew Eisenberg and Terry Hon University of British Columbia Works, with restrictions ITDs Accessible Through Content Assist Advice can be applied internally only Cannot access pointcuts externally

11 Andrew Eisenberg and Terry Hon University of British Columbia Quirkiness: GEF as Text Editor Arrow keys (Ctrl/Shift behavior) Mouse behavior Tabs not displayed Artifacts with selection Ugly

12 Andrew Eisenberg and Terry Hon University of British Columbia Artifacts with selection My Editor (ETMOP Editor) JDT Editor

13 Andrew Eisenberg and Terry Hon University of British Columbia Overall Eclipse is extensible, but only in some limited defined ways If you are willing to get your hands dirty –Lose forward/backward compatibility if internal APIs used


Download ppt "University of British Columbia Software Practices Lab Experiences Building Research Tools Andrew Eisenberg & Terry Hon."

Similar presentations


Ads by Google