Bug 107634 - Eclipse 3.1: Missing convert to .java file entry
Summary: Eclipse 3.1: Missing convert to .java file entry
Status: RESOLVED FIXED
Alias: None
Product: AJDT
Classification: Tools
Component: UI (show other bugs)
Version: 1.3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: AJDT-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-22 12:32 EDT by Matt Chapman CLA
Modified: 2005-09-02 11:13 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Chapman CLA 2005-08-22 12:32:57 EDT
You should be able to right click on .aj files and select
AspectJ Tools > Convert File Extension to .java
However this entry is not currently appearing (the convert to .aj operation does
appear for .java files).
Comment 1 Matt Chapman CLA 2005-08-23 08:55:51 EDT
This is because registering .aj as a java file extension (see bug 98547) causes
CompilationUnits to be created for .aj files, instead of AJCompilationUnits, and
the convert to .java action is currently defined in plugin.xml to only apply to 
AJCompilationUnits.
Comment 2 Matt Chapman CLA 2005-09-02 11:13:16 EDT
The change from bug 98547 has been reverted, so this problem has gone away.
It would be possible to add the contribution with a *.aj name filter instead of
using an instanceof test for AJCompilationUnits, but there doesn't seem to be
anything to be gained from doing that now.