File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 </attributes >
99 </classpathentry >
1010 <classpathentry kind =" src" path =" src_tests" />
11- <classpathentry kind =" var" path =" ECLIPSE_HOME/plugins/org.eclipse.jdt_3.11.1.v20150904-0015.jar" />
12- <classpathentry kind =" var" path =" ECLIPSE_HOME/plugins/org.eclipse.jdt.annotation_1.1.100.v20140704-0625.jar" />
13- <classpathentry kind =" var" path =" ECLIPSE_HOME/plugins/org.eclipse.jdt.annotation_2.0.100.v20150311-1658.jar" />
14- <classpathentry kind =" var" path =" ECLIPSE_HOME/plugins/org.eclipse.jdt.apt.core_3.4.0.v20150518-1201.jar" />
15- <classpathentry kind =" var" path =" ECLIPSE_HOME/plugins/org.eclipse.jdt.apt.pluggable.core_1.1.0.v20150423-0947.jar" />
16- <classpathentry kind =" var" path =" ECLIPSE_HOME/plugins/org.eclipse.jdt.apt.ui_3.4.0.v20150423-0947.jar" />
17- <classpathentry kind =" var" path =" ECLIPSE_HOME/plugins/org.eclipse.jdt.compiler.apt_1.2.0.v20150514-0146.jar" />
18- <classpathentry kind =" var" path =" ECLIPSE_HOME/plugins/org.eclipse.jdt.compiler.tool_1.1.0.v20150513-2007.jar" />
19- <classpathentry kind =" var" path =" ECLIPSE_HOME/plugins/org.eclipse.jdt.core_3.11.1.v20150902-1521.jar" />
20- <classpathentry kind =" var" path =" ECLIPSE_HOME/plugins/org.eclipse.jdt.core.manipulation_1.5.100.v20141002-1241.jar" />
21- <classpathentry kind =" var" path =" ECLIPSE_HOME/plugins/org.eclipse.jdt.debug.ui_3.7.0.v20150505-1916.jar" />
22- <classpathentry kind =" var" path =" ECLIPSE_HOME/plugins/org.eclipse.jdt.doc.user_3.11.1.v20150819-1130.jar" />
23- <classpathentry kind =" var" path =" ECLIPSE_HOME/plugins/org.eclipse.jdt.junit_3.8.0.v20150428-1340.jar" />
24- <classpathentry kind =" var" path =" ECLIPSE_HOME/plugins/org.eclipse.jdt.junit.core_3.7.400.v20150423-0747.jar" />
25- <classpathentry kind =" var" path =" ECLIPSE_HOME/plugins/org.eclipse.jdt.junit.runtime_3.4.500.v20140527-1138.jar" />
26- <classpathentry kind =" var" path =" ECLIPSE_HOME/plugins/org.eclipse.jdt.junit4.runtime_1.1.500.v20150423-0747.jar" />
27- <classpathentry kind =" var" path =" ECLIPSE_HOME/plugins/org.eclipse.jdt.launching_3.8.0.v20150527-0946.jar" />
28- <classpathentry kind =" var" path =" ECLIPSE_HOME/plugins/org.eclipse.jdt.ui_3.11.1.v20150827-1306.jar" />
2911 <classpathentry kind =" output" path =" bin" />
3012</classpath >
Original file line number Diff line number Diff line change @@ -26,4 +26,5 @@ Require-Bundle: org.eclipse.ui,
2626Eclipse-LazyStart : true
2727Import-Package : org.eclipse.jdt.internal.ui.search
2828Export-Package : dataTool,
29+ dataTool.annotations,
2930 dataTool.ui
Original file line number Diff line number Diff line change @@ -123,22 +123,22 @@ public void mouseUp(MouseEvent arg0) {
123123 * Opens invocation of new method in the editor and clears navigation box links
124124 * @param i: IMethod to open
125125 */
126- public void openLink (IMethod i ) {
126+ public static void openLink (IMethod i ) {
127127 IEditorPart editor = null ;
128128 try {
129129 editor = JavaUI .openInEditor (i , true , true );
130130 } catch (JavaModelException | PartInitException e ) {
131131 // Auto-generated catch block
132132 e .printStackTrace ();
133133 }
134- // if(editor != null) {
135- // String code = JDTUtils.getCUSource((AbstractTextEditor) editor);
136- // lineSearch(code.toCharArray(), i);
137- // goToLine(editor);
138- // }
134+ if (editor != null ) {
135+ String code = JDTUtils .getCUSource ((AbstractTextEditor ) editor );
136+ lineSearch (code .toCharArray (), i );
137+ goToLine (editor );
138+ }
139139 }
140140
141- private void lineSearch (char [] source , IMethod method ) {
141+ private static void lineSearch (char [] source , IMethod method ) {
142142 ASTParser parser = ASTParser .newParser (AST .JLS3 );
143143 parser .setSource (source );
144144 parser .setKind (ASTParser .K_COMPILATION_UNIT );
Original file line number Diff line number Diff line change 1- Subproject commit f3ee25a17f3ae4579ad66d54df1d88bf0e7ada96
1+ Subproject commit 9e7430d02c6f5eb51c986bd85f19126c29bb5e91
You can’t perform that action at this time.
0 commit comments