|
Lines 121-126
Link Here
|
| 121 |
import org.eclipse.ui.IFileEditorInput; |
121 |
import org.eclipse.ui.IFileEditorInput; |
| 122 |
import org.eclipse.ui.IPageLayout; |
122 |
import org.eclipse.ui.IPageLayout; |
| 123 |
import org.eclipse.ui.IPartService; |
123 |
import org.eclipse.ui.IPartService; |
|
|
124 |
import org.eclipse.ui.IPathEditorInput; |
| 124 |
import org.eclipse.ui.IWorkbenchWindow; |
125 |
import org.eclipse.ui.IWorkbenchWindow; |
| 125 |
import org.eclipse.ui.PlatformUI; |
126 |
import org.eclipse.ui.PlatformUI; |
| 126 |
import org.eclipse.ui.actions.ActionContext; |
127 |
import org.eclipse.ui.actions.ActionContext; |
|
Lines 2536-2541
Link Here
|
| 2536 |
updateMarkerViews(annotation); |
2537 |
updateMarkerViews(annotation); |
| 2537 |
if (annotation instanceof ICAnnotation && ((ICAnnotation) annotation).isProblem()) |
2538 |
if (annotation instanceof ICAnnotation && ((ICAnnotation) annotation).isProblem()) |
| 2538 |
setStatusLineMessage(annotation.getText()); |
2539 |
setStatusLineMessage(annotation.getText()); |
|
|
2540 |
} else { |
| 2541 |
IEditorInput editorInput = getEditorInput(); |
| 2542 |
if (editorInput != null) { |
| 2543 |
if (editorInput instanceof IFileEditorInput) { |
| 2544 |
setStatusLineMessage(((IFileEditorInput) editorInput).getFile().getLocation().toOSString()); |
| 2545 |
} else if (editorInput instanceof IPathEditorInput) { |
| 2546 |
setStatusLineMessage(((IPathEditorInput) editorInput).getPath().toOSString()); |
| 2547 |
} |
| 2548 |
} |
| 2539 |
} |
2549 |
} |
| 2540 |
} |
2550 |
} |
| 2541 |
|
2551 |
|
|
Lines 3089-3094
Link Here
|
| 3089 |
if (fProjectionModelUpdater != null) { |
3099 |
if (fProjectionModelUpdater != null) { |
| 3090 |
fProjectionModelUpdater.initialize(); |
3100 |
fProjectionModelUpdater.initialize(); |
| 3091 |
} |
3101 |
} |
|
|
3102 |
} |
| 3103 |
|
| 3104 |
public void setFocus() { |
| 3105 |
super.setFocus(); |
| 3106 |
updateStatusLine(); |
| 3092 |
} |
3107 |
} |
| 3093 |
|
3108 |
|
| 3094 |
} |
3109 |
} |