DeveloperLiberationFront / Program-Navigation-Plugin

2 stars 3 forks source link

Data Flow Links #15

Closed chbrown13 closed 8 years ago

chbrown13 commented 8 years ago

Add ability for users to click the links in the text box and open the new file.

chbrown13 commented 8 years ago

Power's been out at my apartment all weekend so haven't really been able to work on this.

CaptainEmerson commented 8 years ago

Not a problem! A random suggestion on workflow, though. I can see from the issues that you're working on these issues regularly, but perhaps you could include either some screenshots of some paper sketches of what you expect the UI to look like? It's pretty easy in GH -- you can just copy/paste images.

For instance, in this issues, a little sketch of what you're trying to do (pointing out the relevant parts of the UI) would help me visualize what you're planning here. The sketch doesn't need to be a big production or anything -- maybe just a picture of a paper sketch from your phone.

chbrown13 commented 8 years ago

Sure, no problem.

chbrown13 commented 8 years ago

Current pop-up box

image

chbrown13 commented 8 years ago

When the user clicks on the link in the pop-up box, we want the Eclipse editor to open the location where that method is declared (down) or used (up). In the example above- the Date parameter d is passed into a function called recent, and recent is called by another function getMessageAsSentence. When the user clicks on the getMessageAsSentence link, we want to open where recent is called inside of getMessageAsSentence.

CaptainEmerson commented 8 years ago

Since it's clunky looking, remove the shell trim (http://www.java2s.com/Tutorial/Java/0280__SWT/ShellwithoutTitlebar.htm). My pie menu implementation in my refactoring tools is a good example of how to do it.

chbrown13 commented 8 years ago

Ok, thanks

chbrown13 commented 8 years ago

Error message for clicked links for method outside of the current project.

image