Im hoping someone can help me with a problem Im having,regarding the development of an AspectJ Plugin (ajdt1.3) in Eclipse RC.3.1.
A core requirement of the plugin is the ability to allow a user to select an AspectJ project (currently existing in the Runtime Workspace), which the plugin will then, using the selectionChanged(IWorkbenchPart part, ISelection selection) command, be able to determine the project entities such as name,packages,aspects..etc
However when tracing the code, when the Structured Selection is converted to an object it is of type org.eclipse.jdt.core.IJavaElement, and not (what I expect) org.aspectj.org.eclipse.jdt.core.IJavaElement
Is there a way to convert the jdt project returned from the StructuredSelection to its AJDT form?
Sorry if this is a newbie question,or asked badly on the wrong list, but I have trawled through much code,and questions on the mailing list,and have been unable to find anything which helps.