Bug 140150 - No context menu
Summary: No context menu
Status: RESOLVED FIXED
Alias: None
Product: AJDT
Classification: Tools
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 1.4.0   Edit
Assignee: Matt Chapman CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-04 09:12 EDT by Ron Bodkin CLA
Modified: 2006-05-11 08:30 EDT (History)
0 users

See Also:


Attachments
screen shot (86.09 KB, image/jpeg)
2006-05-04 09:14 EDT, Ron Bodkin CLA
no flags Details
example project (150.92 KB, application/zip)
2006-05-04 09:14 EDT, Ron Bodkin CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ron Bodkin CLA 2006-05-04 09:12:53 EDT
In 3.2 RC2 with AJDT 20060503081550 I am seeing gutter annotations for advice but don't have any right click menu options for them. I do see right click options for other items. See attached screenshot for an example and an attached zip of the project too.
Comment 1 Ron Bodkin CLA 2006-05-04 09:14:00 EDT
Created attachment 40350 [details]
screen shot
Comment 2 Ron Bodkin CLA 2006-05-04 09:14:31 EDT
Created attachment 40351 [details]
example project
Comment 3 Ron Bodkin CLA 2006-05-04 09:16:29 EDT
interestingly the cross references view is working...
Comment 4 Matt Chapman CLA 2006-05-10 12:44:57 EDT
This happens when there is an anonymous class within a method, e.g.:

public class Demo {
	public void foo() {}
	
	public static void main(String[] args) {
		final Demo d = new Demo();
		Runnable r = new Runnable() {
			public void run() {
				d.foo();				
			}
		};
	}
}

public aspect MyAspect {
	before() : call(public void foo(..)) {}
}
Comment 5 Matt Chapman CLA 2006-05-11 08:30:43 EDT
Now fixed. I've also removed the separators between the different submenus to group the AJ contributions together in the context menu.

Fixed in 1.4.0.20060511073914 for Eclipse 3.2RC2 / RC3

AJDT1.4 build.111 Build Successful
BUILD COMPLETE -  build.111
Date of build:	05/11/2006 07:39:14
Time to build:	19 minutes 1 second
Last changed:	05/11/2006 07:23:27