Java Code Examples for org.eclipse.jdt.internal.ui.javaeditor.JavaEditor#getAdapter()
The following examples show how to use
org.eclipse.jdt.internal.ui.javaeditor.JavaEditor#getAdapter() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: FindImplementOccurrencesAction.java From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 | 4 votes |
private static void showMessage(Shell shell, JavaEditor editor, String msg) { IEditorStatusLine statusLine= (IEditorStatusLine) editor.getAdapter(IEditorStatusLine.class); if (statusLine != null) statusLine.setMessage(true, msg, null); shell.getDisplay().beep(); }
Example 2
Source File: FindExceptionOccurrencesAction.java From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 | 4 votes |
private static void showMessage(Shell shell, JavaEditor editor, String msg) { IEditorStatusLine statusLine= (IEditorStatusLine) editor.getAdapter(IEditorStatusLine.class); if (statusLine != null) statusLine.setMessage(true, msg, null); shell.getDisplay().beep(); }
Example 3
Source File: FindOccurrencesInFileAction.java From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 | 4 votes |
private static void showMessage(Shell shell, JavaEditor editor, String msg) { IEditorStatusLine statusLine= (IEditorStatusLine) editor.getAdapter(IEditorStatusLine.class); if (statusLine != null) statusLine.setMessage(true, msg, null); shell.getDisplay().beep(); }
Example 4
Source File: FindMethodExitOccurrencesAction.java From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 | 4 votes |
private static void showMessage(Shell shell, JavaEditor editor, String msg) { IEditorStatusLine statusLine= (IEditorStatusLine) editor.getAdapter(IEditorStatusLine.class); if (statusLine != null) statusLine.setMessage(true, msg, null); shell.getDisplay().beep(); }
Example 5
Source File: FindBreakContinueTargetOccurrencesAction.java From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 | 4 votes |
private static void showMessage(Shell shell, JavaEditor editor, String msg) { IEditorStatusLine statusLine= (IEditorStatusLine) editor.getAdapter(IEditorStatusLine.class); if (statusLine != null) statusLine.setMessage(true, msg, null); shell.getDisplay().beep(); }