/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.text/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/internal/texteditor/quickdiff/ |
H A D | QuickDiffRestoreAction.java | 75 ITextEditor editor= getTextEditor(); in run() 126 if (getTextEditor() == null) in getSelection() 128 ISelectionProvider sp= getTextEditor().getSelectionProvider(); in getSelection() 179 if (getTextEditor() == null) in getModel() 181 IDocumentProvider provider= getTextEditor().getDocumentProvider(); in getModel() 182 IEditorInput editorInput= getTextEditor().getEditorInput(); in getModel() 208 if (getTextEditor() != null) in getRuler() 209 return getTextEditor().getAdapter(IVerticalRulerInfo.class); in getRuler() 219 if (getTextEditor() != null) { in setStatus() 220 IEditorStatusLine statusLine= getTextEditor().getAdapter(IEditorStatusLine.class); in setStatus()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.text/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/quickdiff/ |
H A D | QuickDiffRestoreAction.java | 78 ITextEditor editor= getTextEditor(); in run() 129 if (getTextEditor() == null) in getSelection() 131 ISelectionProvider sp= getTextEditor().getSelectionProvider(); in getSelection() 182 if (getTextEditor() == null) in getModel() 184 IDocumentProvider provider= getTextEditor().getDocumentProvider(); in getModel() 185 IEditorInput editorInput= getTextEditor().getEditorInput(); in getModel() 211 if (getTextEditor() != null) in getRuler() 212 return getTextEditor().getAdapter(IVerticalRulerInfo.class); in getRuler() 222 if (getTextEditor() != null) { in setStatus() 223 IEditorStatusLine statusLine= getTextEditor().getAdapter(IEditorStatusLine.class); in setStatus()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.text/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/ |
H A D | SelectAnnotationRulerAction.java | 56 if (getTextEditor() != null) { in setEditor() 57 IVerticalRulerInfo service= getTextEditor().getAdapter(IVerticalRulerInfo.class); in setEditor() 62 if (getTextEditor() != null) { in setEditor() 63 IVerticalRulerInfo service= getTextEditor().getAdapter(IVerticalRulerInfo.class); in setEditor() 75 IDocumentProvider provider= getTextEditor().getDocumentProvider(); in getAnnotationModel() 76 return provider.getAnnotationModel(getTextEditor().getEditorInput()); in getAnnotationModel() 91 getTextEditor().selectAndReveal(position.offset, position.length); in annotationDefaultSelected()
|
H A D | HippieCompleteAction.java | 224 ITextEditor editor= getTextEditor(); in clearState() 251 ISourceViewer sourceViewer= ((AbstractTextEditor) getTextEditor()).getSourceViewer(); in completeNext() 255 fExitStrategy.arm(((AbstractTextEditor) getTextEditor()).getSourceViewer()); in completeNext() 266 ITextEditor editor= getTextEditor(); in getCurrentDocument() 286 ITextSelection selection= (ITextSelection) getTextEditor().getSelectionProvider().getSelection(); in getCurrentPrefix() 299 return ((ITextSelection) getTextEditor().getSelectionProvider().getSelection()).getOffset(); in getSelectionOffset() 321 getTextEditor().getSite().getShell().getDisplay().beep(); in notifyUser() 355 Assert.isNotNull(getTextEditor()); in updateState() 359 List<IDocument> documents= HippieCompletionEngine.computeDocuments(getTextEditor()); in updateState() 387 IRewriteTarget target= getTextEditor().getAdapter(IRewriteTarget.class); in updateState()
|
H A D | TextEditorAction.java | 79 protected ITextEditor getTextEditor() { in getTextEditor() method in TextEditorAction 99 setEnabled(getTextEditor() != null); in update() 118 ITextEditor editor= getTextEditor(); in canModifyEditor() 145 ITextEditor editor= getTextEditor(); in validateEditorInputState()
|
H A D | SaveAction.java | 50 getTextEditor().getSite().getPage().saveEditor(getTextEditor(), false); in run() 55 setEnabled(getTextEditor().isDirty()); in update()
|
H A D | ShiftAction.java | 73 ITextEditor editor= getTextEditor(); in run() 101 ITextEditor editor= getTextEditor(); in update() 121 ITextEditor editor= getTextEditor(); in updateForTab() 149 ITextEditor editor= getTextEditor(); in isEnabled()
|
H A D | WordWrapToggleAction.java | 45 ITextEditorExtension6 ext6= (ITextEditorExtension6) getTextEditor(); in run() 64 return getTextEditor() instanceof ITextEditorExtension6; in isWordWrapPossible() 69 return ((ITextEditorExtension6)getTextEditor()).isWordWrapEnabled(); in isWordWrapEnabled()
|
H A D | RevertToSavedAction.java | 49 getTextEditor().doRevertToSaved(); in run() 54 setEnabled(getTextEditor().isDirty()); in update()
|
H A D | BlockSelectionModeToggleAction.java | 41 ITextEditor editor= getTextEditor(); in run() 51 ITextEditor editor= getTextEditor(); in update()
|
H A D | GotoAnnotationAction.java | 72 ITextEditor editor= getTextEditor(); in run() 85 ITextEditor editor= getTextEditor(); in update()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/breadcrumb/ |
H A D | EditorBreadcrumb.java | 203 boolean rtl= (getTextEditor().getSite().getShell().getStyle() & SWT.RIGHT_TO_LEFT) != 0; in createContent() 341 getTextEditor().getSite().getPage().removePartListener(fPartListener); in dispose() 383 getTextEditor().getSelectionProvider().setSelection(fOldTextSelection); in doReveal() 387 fOldTextSelection= getTextEditor().getSelectionProvider().getSelection(); in doReveal() 388 getTextEditor().getSelectionProvider().setSelection(new StructuredSelection(this)); in doReveal() 409 getTextEditor().getEditorSite().getActionBars().updateActionBars(); in focusGained() 411 fOldTextSelection= getTextEditor().getSelectionProvider().getSelection(); in focusGained() 413 getTextEditor().getSelectionProvider().setSelection(new StructuredSelection(this)); in focusGained() 430 getTextEditor().getEditorSite().getActionBars().updateActionBars(); in focusLost() 432 getTextEditor().getSelectionProvider().setSelection(fOldTextSelection); in focusLost() [all …]
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.text/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/ |
H A D | ChangeEncodingAction.java | 99 final Shell parentShell= getTextEditor().getSite().getShell(); in run() 205 setEnabled((getResource() != null || getEncodingSupport() != null) && !getTextEditor().isDirty()); in update() 214 if (getTextEditor() != null && getTextEditor().getEditorInput() != null) in getResource() 215 return getTextEditor().getEditorInput().getAdapter(IResource.class); in getResource() 226 if (getTextEditor() != null) in getEncodingSupport() 227 return getTextEditor().getAdapter(IEncodingSupport.class); in getEncodingSupport()
|
H A D | AddMarkerAction.java | 139 final Shell shell= getTextEditor().getSite().getShell(); in run() 183 …InputDialog dialog= new InputDialog(getTextEditor().getSite().getShell(), title, message, proposal… in askForLabel() 211 ITextSelection selection= (ITextSelection) getTextEditor().getSelectionProvider().getSelection(); in getInitialAttributes() 229 …IDocument document= getTextEditor().getDocumentProvider().getDocument(getTextEditor().getEditorInp… in getInitialAttributes() 331 ITextEditor editor= getTextEditor(); in getResource()
|
/dports/games/wesnoth/wesnoth-1.14.17/utils/umc_dev/org.wesnoth/src/org/wesnoth/utils/ |
H A D | EditorUtils.java | 56 int offset = ( ( ITextSelection ) getTextEditor( targetEditor ) in writeInEditor() 121 IDocumentProvider dp = getTextEditor( targetEditor ) in getEditorDocument() 131 public static ITextEditor getTextEditor( ) in getTextEditor() method in EditorUtils 133 return getTextEditor( getEditedFile( ) ); in getTextEditor() 144 public static ITextEditor getTextEditor( IEditorPart targetEditor ) in getTextEditor() method in EditorUtils
|
/dports/java/phpeclipse/plugins/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/ |
H A D | PresentationAction.java | 38 ITextEditor editor = getTextEditor(); in run() 50 setChecked(getTextEditor() != null in update() 51 && getTextEditor().showsHighlightRangeOnly()); in update()
|
H A D | TogglePresentationAction.java | 55 ITextEditor editor = getTextEditor(); in run() 79 ITextEditor editor = getTextEditor(); in update() 137 synchronizeWithPreference(getTextEditor()); in propertyChange()
|
H A D | GotoAnnotationAction.java | 36 PHPEditor e = (PHPEditor) getTextEditor(); in run() 47 setEnabled(getTextEditor() instanceof PHPEditor); in update()
|
H A D | GotoErrorAction.java | 36 PHPEditor e = (PHPEditor) getTextEditor(); in run() 47 setEnabled(getTextEditor() instanceof PHPEditor); in update()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.text/org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/ |
H A D | PresentationAction.java | 38 ITextEditor editor= getTextEditor(); in run() 48 setChecked(getTextEditor() != null && getTextEditor().showsHighlightRangeOnly()); in update()
|
/dports/java/phpeclipse/plugins/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/actions/ |
H A D | IndentAction.java | 130 IRewriteTarget target = (IRewriteTarget) getTextEditor() in run() 187 Display display = getTextEditor().getEditorSite() in run() 207 ITextEditor editor = getTextEditor(); in selectAndReveal() 214 getTextEditor().selectAndReveal(newOffset, newLength); in selectAndReveal() 365 ITextEditor editor = getTextEditor(); in indentLine() 449 ITextEditor editor = getTextEditor(); in getSelectionProvider() 517 ITextEditor editor = getTextEditor(); in isSmartMode() 533 ITextEditor editor = getTextEditor(); in getDocument()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform/ant/org.eclipse.ant.ui/Ant Editor/org/eclipse/ant/internal/ui/editor/actions/ |
H A D | TogglePresentationAction.java | 47 ITextEditor editor = getTextEditor(); in run() 70 ITextEditor editor = getTextEditor(); in update() 125 synchronizeWithPreference(getTextEditor()); in propertyChange()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ |
H A D | JavaSelectMarkerRulerAction2.java | 74 ITextOperationTarget operation= getTextEditor().getAdapter(ITextOperationTarget.class); in annotationDefaultSelected() 77 getTextEditor().selectAndReveal(position.getOffset(), position.getLength()); in annotationDefaultSelected() 112 IAction action= getTextEditor().getAction(actionID); in triggerAction()
|
H A D | TogglePresentationAction.java | 66 ITextEditor editor= getTextEditor(); in run() 90 ITextEditor editor= getTextEditor(); in update() 160 synchronizeWithPreference(getTextEditor()); in propertyChange()
|
/dports/games/wesnoth/wesnoth-1.14.17/utils/umc_dev/org.wesnoth.ui/src/org/wesnoth/ui/navigation/ |
H A D | FileLocationOpenerHyperlink.java | 35 ITextEditor editor = EditorUtils.getTextEditor( part ); in open() 45 EditorUtils.getTextEditor( part ).selectAndReveal( offset, 0 ); in open()
|