Bug 107010 - Add shortcuts for adding libraries to the inpath and aspectpath
Summary: Add shortcuts for adding libraries to the inpath and aspectpath
Status: RESOLVED FIXED
Alias: None
Product: AJDT
Classification: Tools
Component: UI (show other bugs)
Version: 1.2.1   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 1.4.1   Edit
Assignee: Matthew Ford CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-15 07:54 EDT by Sian January CLA
Modified: 2012-04-03 14:07 EDT (History)
1 user (show)

See Also:


Attachments
added the extensions for right click -> AspectJ Tools -> add/remove from in/aspectpath (39.13 KB, patch)
2006-08-25 10:26 EDT, Matthew Ford CLA
no flags Details | Diff
added greying out, and now only enabled for one item selected. (33.16 KB, patch)
2006-08-30 10:13 EDT, Matthew Ford CLA
no flags Details | Diff
actual patch this time (39.37 KB, patch)
2006-08-30 10:26 EDT, Matthew Ford CLA
andrew.eisenberg: iplog+
Details | Diff
test case (3.91 KB, patch)
2006-08-31 10:13 EDT, Matthew Ford CLA
andrew.eisenberg: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sian January CLA 2005-08-15 07:54:00 EDT
In Eclipse 3.1 if you right click on a project the context menu has a sub-menu 
called "Build Path".  This menu has several entries, including "Add Libraries" 
and "Add External Archives".  It would be nice to have similar shortcuts to 
add Jars to the Aspect path and Inpath.  These should be under the AspectJ 
Tools menu. For example:

AspectJ Tools > Inpath > Add External Archives
                       > Add Libraries
              
AspectJ Tools > Aspect Path > Add External Archives
                            > Add Libraries
Comment 1 Matt Chapman CLA 2005-08-15 11:36:52 EDT
It would also be nice to be able to right-click on a jar file in a project and
select AspectJ Tools > Add to Inpath  and Add to Aspect Path (and corresponding
entries to Remove the jar file).
Comment 2 Matthew Ford CLA 2006-08-25 10:26:33 EDT
Created attachment 48719 [details]
added the extensions for right click -> AspectJ Tools -> add/remove from in/aspectpath

This still need some work to 'grey out' the remove option when its not on the list and the add option when it is on the list. As it stands there are checks in place to prevent this.
Comment 3 Matthew Ford CLA 2006-08-30 10:13:28 EDT
Created attachment 49055 [details]
added greying out, and now only enabled for one item selected.
Comment 4 Matthew Ford CLA 2006-08-30 10:26:05 EDT
Created attachment 49058 [details]
actual patch this time
Comment 5 Matthew Ford CLA 2006-08-31 09:09:16 EDT
Fixed in AJDT1.5 build.19 Build
Comment 6 Matthew Ford CLA 2006-08-31 10:13:18 EDT
Created attachment 49176 [details]
test case
Comment 7 Matt Chapman CLA 2006-08-31 10:37:27 EDT
Fixed in:
1.4.1.200608301425 for Eclipse 3.2 (build.190)
1.5.0.200608301302 for Eclipse 3.3M1 (build.19)