I’d like to select/open a specific file in a specific project in Eclipse from an external application.
Does Eclipse provide an API for such tasks?
I’d like to link a visual representation of an application’s structure to like to eclipse. If I click on a symbol in the external application, I’d like to open the related file in Eclipse.
You would need to create a simple Eclipse Plugin that was listening for an Event to open the file. I do not believe Eclispe provides such support since you can have multiple Eclipse’s executing at the same time and there isn’t an easy way to identify them except through the opened workspace.
I suggest you create a simple Eclipse Plugin that listens on a open socket or pipe. It can wait for a command from your external application. When it receives this command it can then scan for the appropriate project using the Eclipse PDE API’s then open the file.