/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform/ant/org.eclipse.ant.tests.ui/Ant Editor Tests/org/eclipse/ant/tests/ui/editor/ |
H A D | AntEditorTests.java | 69 ITextSelection selection = (ITextSelection) editor.getSelectionProvider().getSelection(); in testPropertyOpenDeclaration() 126 ITextSelection selection = (ITextSelection) editor.getSelectionProvider().getSelection(); in testTaskdefOpenDeclaration() 144 ITextSelection selection = (ITextSelection) editor.getSelectionProvider().getSelection(); in testMacroDefOpenDeclaration() 165 ITextSelection selection = (ITextSelection) editor.getSelectionProvider().getSelection(); in testMacroDefOpenDeclarationWithURI() 179 ITextSelection selection = (ITextSelection) editor.getSelectionProvider().getSelection(); in testSelfClosingTagOpenDeclaration() 190 ITextSelection selection = (ITextSelection) editor.getSelectionProvider().getSelection(); in testMacroDefAttributeOpenDeclaration() 201 ITextSelection selection = (ITextSelection) editor.getSelectionProvider().getSelection(); in testRefOpenDeclaration() 212 ITextSelection selection = (ITextSelection) editor.getSelectionProvider().getSelection(); in testTargetOpenDeclaration() 223 ITextSelection selection = (ITextSelection) editor.getSelectionProvider().getSelection(); in testExtensionPointOpenDeclaration() 252 ITextSelection selection = (ITextSelection) editor.getSelectionProvider().getSelection(); in testAugmentOpenAndSelect() [all …]
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ |
H A D | SelectionDispatchAction.java | 27 import org.eclipse.jface.text.ITextSelection; 197 selectionChanged((ITextSelection)selection); in selectionChanged() 208 run((ITextSelection)selection); in run() 217 public void selectionChanged(ITextSelection selection) { in selectionChanged() 227 public void run(ITextSelection selection) { in run() 265 } else if (selection instanceof ITextSelection) { in dispatchSelectionChanged() 266 selectionChanged((ITextSelection)selection); in dispatchSelectionChanged() 277 } else if (selection instanceof ITextSelection) { in dispatchRun() 278 run((ITextSelection)selection); in dispatchRun()
|
/dports/java/phpeclipse/plugins/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/ui/actions/ |
H A D | SelectionDispatchAction.java | 14 import org.eclipse.jface.text.ITextSelection; 143 protected void selectionChanged(ITextSelection selection) { in selectionChanged() 151 protected void run(ITextSelection selection) { in run() 190 } else if (selection instanceof ITextSelection) { in dispatchSelectionChanged() 191 selectionChanged((ITextSelection) selection); in dispatchSelectionChanged() 200 } else if (selection instanceof ITextSelection) { in dispatchRun() 201 run((ITextSelection) selection); in dispatchRun()
|
/dports/java/phpeclipse/plugins/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/actions/ |
H A D | SelectionDispatchAction.java | 14 import org.eclipse.jface.text.ITextSelection; 143 protected void selectionChanged(ITextSelection selection) { in selectionChanged() 151 protected void run(ITextSelection selection) { in run() 190 } else if (selection instanceof ITextSelection) { in dispatchSelectionChanged() 191 selectionChanged((ITextSelection) selection); in dispatchSelectionChanged() 200 } else if (selection instanceof ITextSelection) { in dispatchRun() 201 run((ITextSelection) selection); in dispatchRun()
|
H A D | BlockCommentAction.java | 27 import org.eclipse.jface.text.ITextSelection; 206 ITextSelection selection = getCurrentSelection(); in run() 311 protected ITextSelection getCurrentSelection() { in getCurrentSelection() 317 if (selection instanceof ITextSelection) in getCurrentSelection() 318 return (ITextSelection) selection; in getCurrentSelection() 339 protected abstract void runInternal(ITextSelection selection, in runInternal() 351 protected abstract boolean isValidSelection(ITextSelection selection); in isValidSelection()
|
H A D | SelectionConverter.java | 24 import org.eclipse.jface.text.ITextSelection; 101 ITextSelection selection = (ITextSelection) editor in codeResolveOrInput() 154 return codeResolve(getInput(editor), (ITextSelection) editor in codeResolve() 189 return getElementAtOffset(getInput(editor), (ITextSelection) editor in getElementAtOffset() 226 ITextSelection selection) throws JavaModelException { in codeResolve() 238 ITextSelection selection) throws JavaModelException { in getElementAtOffset()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.text/org.eclipse.jface.text/src/org/eclipse/jface/internal/text/ |
H A D | SelectionProcessor.java | 171 ITextSelection ts= (ITextSelection)selection; 177 ITextSelection ts= (ITextSelection)selection; 183 ITextSelection ts= (ITextSelection)selection; 189 ITextSelection ts= (ITextSelection)selection; 195 ITextSelection ts= (ITextSelection)selection; 203 ITextSelection ts= (ITextSelection)selection; 211 ITextSelection ts= (ITextSelection)selection; 219 ITextSelection ts= (ITextSelection)selection; 225 ITextSelection ts= (ITextSelection)selection; 231 ITextSelection ts= (ITextSelection)selection; [all …]
|
/dports/java/phpeclipse/plugins/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/viewsupport/ |
H A D | SelectionListenerWithASTManager.java | 22 import org.eclipse.jface.text.ITextSelection; 73 if (selection instanceof ITextSelection) { in PartListenerGroup() 74 fireSelectionChanged((ITextSelection) selection); in PartListenerGroup() 82 if (selection instanceof ITextSelection) { in PartListenerGroup() 83 firePostSelectionChanged((ITextSelection) selection); in PartListenerGroup() 121 public void fireSelectionChanged(final ITextSelection selection) { in fireSelectionChanged() 127 public void firePostSelectionChanged(final ITextSelection selection) { in firePostSelectionChanged() 149 ITextSelection selection, IProgressMonitor monitor) { in calculateASTandInform() 238 public void forceSelectionChange(ITextEditor part, ITextSelection selection) { in forceSelectionChange()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.debug/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/ |
H A D | ToggleBreakpointAction.java | 27 import org.eclipse.jface.text.ITextSelection; 98 ITextSelection selection = getTextSelection(document, line); in doIt() 194 ITextSelection selection = getTextSelection(document, line); in update() 234 private ITextSelection getTextSelection(IDocument document, int line) throws BadLocationException { in getTextSelection() 236 ITextSelection textSelection = new TextSelection(document, region.getOffset(), 0); in getTextSelection() 240 if (selection instanceof ITextSelection in getTextSelection() 241 && ((ITextSelection) selection).getStartLine() <= line in getTextSelection() 242 && ((ITextSelection) selection).getEndLine() >= line) { in getTextSelection() 243 textSelection = (ITextSelection) selection; in getTextSelection()
|
H A D | RunToLineAction.java | 33 import org.eclipse.jface.text.ITextSelection; 134 ITextSelection selection = getTextSelection(document, line); in doIt() 240 private ITextSelection getTextSelection(IDocument document, int line) throws BadLocationException { in getTextSelection() 242 ITextSelection textSelection = new TextSelection(document, region.getOffset(), 0); in getTextSelection() 246 …if (selection instanceof ITextSelection && ((ITextSelection) selection).getStartLine() <= line && … in getTextSelection() 247 textSelection = (ITextSelection) selection; in getTextSelection()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/ |
H A D | SelectionConverter.java | 30 import org.eclipse.jface.text.ITextSelection; 123 ITextSelection selection= (ITextSelection)editor.getSelectionProvider().getSelection(); in codeResolveOrInputForked() 154 return codeResolve(input, (ITextSelection) editor.getSelectionProvider().getSelection()); in codeResolve() 173 …return performForkedCodeResolve(input, (ITextSelection) editor.getSelectionProvider().getSelection… in codeResolveForked() 202 return getElementAtOffset(input, (ITextSelection) editor.getSelectionProvider().getSelection()); in getElementAtOffset() 248 …private static IJavaElement[] performForkedCodeResolve(final ITypeRoot input, final ITextSelection… in performForkedCodeResolve() 265 …public static IJavaElement[] codeResolve(IJavaElement input, ITextSelection selection) throws Java… in codeResolve() 278 …public static IJavaElement getElementAtOffset(ITypeRoot input, ITextSelection selection) throws Ja… in getElementAtOffset() 288 …public static IJavaElement resolveEnclosingElement(JavaEditor editor, ITextSelection selection) th… in resolveEnclosingElement() 295 …public static IJavaElement resolveEnclosingElement(IJavaElement input, ITextSelection selection) t… in resolveEnclosingElement()
|
H A D | BlockCommentAction.java | 33 import org.eclipse.jface.text.ITextSelection; 186 ITextSelection selection= getCurrentSelection(); in run() 283 protected ITextSelection getCurrentSelection() { in getCurrentSelection() 289 if (selection instanceof ITextSelection) in getCurrentSelection() 290 return (ITextSelection) selection; in getCurrentSelection() 305 …protected abstract void runInternal(ITextSelection selection, IDocumentExtension3 docExtension, Ed… in runInternal() 313 protected abstract boolean isValidSelection(ITextSelection selection); in isValidSelection()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/ |
H A D | SelectionListenerWithASTManager.java | 33 import org.eclipse.jface.text.ITextSelection; 87 if (selection instanceof ITextSelection) { in PartListenerGroup() 88 fireSelectionChanged((ITextSelection) selection); in PartListenerGroup() 96 if (part == fPart && selection instanceof ITextSelection) in PartListenerGroup() 97 firePostSelectionChanged((ITextSelection) selection); in PartListenerGroup() 131 public void fireSelectionChanged(final ITextSelection selection) { in fireSelectionChanged() 142 public void firePostSelectionChanged(final ITextSelection selection) { in firePostSelectionChanged() 169 …protected final IStatus calculateASTandInform(ITypeRoot input, ITextSelection selection, IProgress… in calculateASTandInform()
|
/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 | MoveLinesAction.java | 28 import org.eclipse.jface.text.ITextSelection; 145 private boolean containedByVisibleRegion(ITextSelection selection, ITextViewer viewer) { in containedByVisibleRegion() 216 …private ITextSelection getMovingSelection(IDocument document, ITextSelection selection, ITextViewe… in getMovingSelection() 246 private ITextSelection getSkippedLine(IDocument document, ITextSelection selection) { in getSkippedLine() 294 ITextSelection sel= (ITextSelection) fTextViewer.getSelectionProvider().getSelection(); in runWithEvent() 298 ITextSelection skippedLine= getSkippedLine(document, sel); in runWithEvent() 304 ITextSelection movingArea= getMovingSelection(document, sel, fTextViewer); in runWithEvent()
|
H A D | DeleteLineAction.java | 28 import org.eclipse.jface.text.ITextSelection; 159 private static ITextSelection getSelection(ITextEditor editor) { in getSelection() 166 if (!(selection instanceof ITextSelection)) in getSelection() 169 return (ITextSelection) selection; in getSelection() 189 ITextSelection selection= getSelection(editor); in run()
|
H A D | TextSelectionNavigationLocation.java | 24 import org.eclipse.jface.text.ITextSelection; 74 ITextSelection selection= (ITextSelection) s; in TextSelectionNavigationLocation() 175 if (selection instanceof ITextSelection) { in equalsLocationOf() 176 ITextSelection textSelection= (ITextSelection) selection; in equalsLocationOf() 343 ITextSelection selection= (ITextSelection) s; in update()
|
H A D | JoinLinesAction.java | 25 import org.eclipse.jface.text.ITextSelection; 68 ITextSelection selection= getSelection(editor); in run() 109 private static ITextSelection getSelection(ITextEditor editor) { in getSelection() 116 if (!(selection instanceof ITextSelection)) in getSelection() 119 return (ITextSelection) selection; in getSelection()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/tests/org.eclipse.ui.tests.views.properties.tabbed/src/org/eclipse/ui/tests/views/properties/tabbed/text/ |
H A D | TextTestsLabelProvider.java | 18 import org.eclipse.jface.text.ITextSelection; 45 if (obj instanceof ITextSelection) { in getText() 46 ITextSelection textSelection = (ITextSelection) obj; in getText()
|
H A D | TextTestsTabDescriptorProvider.java | 20 import org.eclipse.jface.text.ITextSelection; 36 if (selection instanceof ITextSelection) { in getTabDescriptors() 37 ITextSelection textSelection = (ITextSelection) selection; in getTabDescriptors()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/propertiesfileeditor/ |
H A D | OpenAction.java | 17 import org.eclipse.jface.text.ITextSelection; 57 public void selectionChanged(ITextSelection selection) { in selectionChanged() 61 private boolean checkEnabled(ITextSelection selection) { in checkEnabled() 69 public void run(ITextSelection selection) { in run()
|
/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 | JavaMoveLinesAction.java | 28 import org.eclipse.jface.text.ITextSelection; 192 private boolean containedByVisibleRegion(ITextSelection selection, ISourceViewer viewer) { in containedByVisibleRegion() 247 …private ITextSelection getMovingSelection(IDocument document, ITextSelection selection, ISourceVie… in getMovingSelection() 269 private ITextSelection getSkippedLine(IDocument document, ITextSelection selection) { in getSkippedLine() 321 ITextSelection sel= (ITextSelection) viewer.getSelectionProvider().getSelection(); in runWithEvent() 325 ITextSelection skippedLine= getSkippedLine(document, sel); in runWithEvent() 331 ITextSelection movingArea= getMovingSelection(document, sel, viewer); in runWithEvent() 417 …private ILineRange getLineRange(IDocument document, ITextSelection selection) throws BadLocationEx… in getLineRange()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/infoviews/ |
H A D | TextSelectionConverter.java | 16 import org.eclipse.jface.text.ITextSelection; 56 …public static IJavaElement[] codeResolve(JavaEditor editor, ITextSelection selection) throws JavaM… in codeResolve() 68 …public static IJavaElement getElementAtOffset(JavaEditor editor, ITextSelection selection) throws … in getElementAtOffset() 84 …private static IJavaElement[] codeResolve(IJavaElement input, ITextSelection selection) throws Jav… in codeResolve() 98 …private static IJavaElement getElementAtOffset(IJavaElement input, ITextSelection selection) throw… in getElementAtOffset()
|
H A D | CopyToClipboardAction.java | 24 import org.eclipse.jface.text.ITextSelection; 58 public void selectionChanged(ITextSelection selection) { in selectionChanged() 63 public void run(ITextSelection selection) { in run() 72 private void copyToClipboard(ITextSelection selection, int repeatCount) { in copyToClipboard()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.debug/org.eclipse.debug.examples.ui/src/org/eclipse/debug/examples/ui/pda/breakpoints/ |
H A D | PDABreakpointAdapter.java | 30 import org.eclipse.jface.text.ITextSelection; 46 ITextSelection textSelection = (ITextSelection) selection; in toggleLineBreakpoints() 104 …bleAndFunctionName != null && part instanceof ITextEditor && selection instanceof ITextSelection) { in toggleWatchpoints() 106 int lineNumber = ((ITextSelection)selection).getStartLine(); in toggleWatchpoints() 151 if (editor != null && selection instanceof ITextSelection) { in getVariableAndFunctionName() 152 ITextSelection textSelection = (ITextSelection) selection; in getVariableAndFunctionName()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/internal/ |
H A D | ExtendedTextSelectionActionFilter.java | 16 import org.eclipse.jface.text.ITextSelection; 44 ITextSelection sel = (ITextSelection) target; in testAttribute()
|