Menu

Tree [r4276] / trunk / eclipse /
 History

HTTPS access


File Date Author Commit
 lib 2006-08-17 dlsmith [r3972] Updated build process for Eclipse plug-in. (Th...
 packaging 2006-10-30 dlsmith [r4023] Fixed packaging and added RMI compilation to bu...
 src 2006-02-13 camus546 [r3533] Trying to patch Interactions
 .classpath 2006-02-03 camus546 [r3515] Updating eclipse plugin against latest DrJava C...
 .project 2005-08-24 dlsmith [r3443] Initial revision
 README.dev-tips 2006-10-30 dlsmith [r4023] Fixed packaging and added RMI compilation to bu...
 build.xml 2006-10-30 dlsmith [r4023] Fixed packaging and added RMI compilation to bu...

Read Me

DrJava Plug-in for Eclipse Development Tips -----


How to run the plug-in tests:

 - The tests create Eclipse objects, which require extra libraries.
   There is currently no ant target for running the plug-in tests,
   so it's best to run them by hand.
 - To do:
   - Add instructions for specifying these libraries to this document.


How to add a preference to the plug-in:

 - Add a constant to DrJavaConstants
 - In DrJavaPreferencePage:
   - Add a field in createFieldEditors()
 - Add a default value to EclipsePlugin
 - Add an IPropertyChangeListener to the PreferenceStore
   (EclipsePlugin.getDefault().getPreferenceStore())
   - Specifically, in InteractionsController:
     - Add a variable to remember preference
     - Make action dependent on variable
     - Add a line to _updatePreferences


 Special note for font preferences:
  - Fonts are added to FontRegistry in plugin.xml (via an extension point)
  - Use JFaceResources to access the FontRegistry
    (see InteractionsController, InteractionsView)

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.