Community
Participate
Working Groups
Created attachment 244283 [details] Example plugin and aspect projects I will attach a zip containing an example command which invokes the SWT DirectoryDialog along with an aspect project which should intercept this and return a fixed value (we use an aspect like this in some automated testing). Import the projects into a workspace and run Eclipse with JDT Weaving enabled, invoke the SampleMenu->Sample Command menu item - it should simply display a message box saying the call was intercepted but it will instead display the native directory browse dialog. The same aspect works fine with Eclipse 3.8 but not with 4.x - changing the "execution" to "call" and adding the relevant bundle to the Eclipse-SupplementBundle header is a workaround as that works with both 3.8 and 4.x.