issue_id int64 2.04k 425k | title stringlengths 9 251 | body stringlengths 4 32.8k ⌀ | status stringclasses 6
values | after_fix_sha stringlengths 7 7 | project_name stringclasses 6
values | repo_url stringclasses 6
values | repo_name stringclasses 6
values | language stringclasses 1
value | issue_url null | before_fix_sha null | pull_url null | commit_datetime timestamp[us, tz=UTC] | report_datetime timestamp[us, tz=UTC] | updated_file stringlengths 23 187 | chunk_content stringlengths 1 22k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4,171 | Bug 4171 Accessibility: Code Formatter Page too large with a large text font (1GJL58E) | If the Text font is set to be very large (say 36 point) the CodeFormatter preference page is created so large that it ends up bigger than the display. The text in the preference page should be scrollable. It also does not pick up changes to the font size so if the user changes the size of the text font they will have t... | verified fixed | c9d4729 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T10:08:06Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeFormatterPreferencePage.java | textBox.setData(key);
textBox.setLayoutData(new GridData());
String currValue= (String)fWorkingValues.get(key);
textBox.setText(String.valueOf(getIntValue(currValue, 1)));
textBox.setTextLimit(3);
textBox.addModifyListener(fTextModifyListener);
GridData gd= new GridData();
gd.widthHint= convertWidthIn... |
4,171 | Bug 4171 Accessibility: Code Formatter Page too large with a large text font (1GJL58E) | If the Text font is set to be very large (say 36 point) the CodeFormatter preference page is created so large that it ends up bigger than the display. The text in the preference page should be scrollable. It also does not pick up changes to the font size so if the user changes the size of the text font they will have t... | verified fixed | c9d4729 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T10:08:06Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeFormatterPreferencePage.java | private void textChanged(Text textControl) {
String key= (String) textControl.getData();
String number= textControl.getText();
IStatus status= validatePositiveNumber(number);
if (!status.matches(IStatus.ERROR)) {
fWorkingValues.put(key, number);
}
updateStatus(status);
updatePreview();
}
/*
* ... |
4,171 | Bug 4171 Accessibility: Code Formatter Page too large with a large text font (1GJL58E) | If the Text font is set to be very large (say 36 point) the CodeFormatter preference page is created so large that it ends up bigger than the display. The text in the preference page should be scrollable. It also does not pick up changes to the font size so if the user changes the size of the text font they will have t... | verified fixed | c9d4729 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T10:08:06Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeFormatterPreferencePage.java | /*
* @see PreferencePage#performDefaults()
*/
protected void performDefaults() {
fWorkingValues= JavaCore.getDefaultOptions();
updateControls();
super.performDefaults();
}
private String loadPreviewFile(String filename) {
String separator= System.getProperty("line.separator");
StringBuffer btxt= new S... |
4,171 | Bug 4171 Accessibility: Code Formatter Page too large with a large text font (1GJL58E) | If the Text font is set to be very large (say 36 point) the CodeFormatter preference page is created so large that it ends up bigger than the display. The text in the preference page should be scrollable. It also does not pick up changes to the font size so if the user changes the size of the text font they will have t... | verified fixed | c9d4729 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T10:08:06Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeFormatterPreferencePage.java | fPreviewDocument.set(CodeFormatter.format(fPreviewText, 0, fWorkingValues));
}
private void updateControls() {
for (int i= fCheckBoxes.size() - 1; i >= 0; i--) {
Button curr= (Button) fCheckBoxes.get(i);
ControlData data= (ControlData) curr.getData();
String currValue= (String) fWorkingValues.g... |
4,171 | Bug 4171 Accessibility: Code Formatter Page too large with a large text font (1GJL58E) | If the Text font is set to be very large (say 36 point) the CodeFormatter preference page is created so large that it ends up bigger than the display. The text in the preference page should be scrollable. It also does not pick up changes to the font size so if the user changes the size of the text font they will have t... | verified fixed | c9d4729 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T10:08:06Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeFormatterPreferencePage.java | }
} catch (NumberFormatException e) {
status.setError(JavaUIMessages.getFormattedString("CodeFormatterPreferencePage.invalid_input", number));
}
}
return status;
}
private void updateStatus(IStatus status) {
if (!status.matches(IStatus.ERROR)) {
for (int i= 0; i < fTextBoxes.size(); i++) ... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | package org.eclipse.jdt.internal.ui.javaeditor;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
import java.lang.reflect.InvocationTargetException;
import java.util.Iterator;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.StyleRange;
import org.eclipse.swt.custom.StyledText;
import org.... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.Path;
import org.eclipse.jface.action.IMenuManager;
import org.eclipse.jface.dialogs.Dialog;
import o... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | import org.eclipse.ui.IWorkbenchPage;
import org.eclipse.ui.actions.WorkspaceModifyOperation;
import org.eclipse.ui.dialogs.SaveAsDialog;
import org.eclipse.ui.part.FileEditorInput;
import org.eclipse.ui.texteditor.IDocumentProvider;
import org.eclipse.ui.texteditor.ITextEditorActionConstants;
import org.eclipse.ui.tex... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | /**
* Responsible for highlighting matching pairs of brackets.
*/
class BracketHighlighter implements KeyListener, MouseListener {
/**
* Highlights the brackets.
*/
class HighlightBrackets implements PaintListener {
private boolean fHooked= false;
private JavaPairMatcher fMatcher= new J... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | public void dispose() {
if (fMatcher != null) {
fMatcher.dispose();
fMatcher= null;
}
fTextWidget= null;
fColor= null;
}
public void run() {
int offset= fSourceViewer.getSelectedRange().x;
IRegion pair= fMatcher.match(fSourceViewer.getDocument(), offset);
i... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | public void paintControl(PaintEvent event) {
handleDrawRequest(event.gc);
}
private void handleDrawRequest(GC gc) {
IRegion region= fSourceViewer.getVisibleRegion();
int offset= fBracketPosition.getOffset();
int length= fBracketPosition.getLength();
if (region.getOffset() <= offset &&... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | }
private void removeStyles() {
fHooked= false;
fTextWidget.removePaintListener(this);
handleDrawRequest(null);
}
private void applyStyles() {
if (!fHooked) {
fHooked= true;
fTextWidget.addPaintListener(this);
}
handleDrawRequest(null);
}
};
/**
* Monit... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | public void install() {
fSourceViewer.addTextInputListener(this);
start(fSourceViewer.getDocument());
}
public void dispose() {
fSourceViewer.removeTextInputListener(this);
if (fDocument != null) {
stop(fDocument);
fDocument= null;
}
}
private void start(IDocument docum... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | document.removePositionUpdater(fPositionUpdater);
document.removePositionCategory(fCategory);
} catch (BadPositionCategoryException x) {
}
fDocument= null;
}
}
/*
* @see ITextInputListener#inputDocumentAboutToBeChanged(IDocument, IDocument)
*/
public void inputDoc... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | private HighlightBrackets fHighlightBrackets;
public BracketHighlighter(ISourceViewer sourceViewer) {
fSourceViewer= sourceViewer;
fHighlightBrackets= new HighlightBrackets();
}
public void install() {
fManager.install();
StyledText text= fSourceViewer.getTextWidget();
text.addKeyListene... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | if (text != null && !text.isDisposed()) {
text.removeKeyListener(fBracketHighlighter);
text.removeMouseListener(fBracketHighlighter);
}
fSourceViewer= null;
}
}
/*
* @see KeyListener#keyPressed(KeyEvent)
*/
public void keyPressed(KeyEvent e) {
}
/*
* @see KeyListener#keyR... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | /*
* @see MouseListener#mouseUp(MouseEvent)
*/
public void mouseUp(MouseEvent e) {
fHighlightBrackets.run();
}
};
protected ISelectionChangedListener fStatusLineClearer;
protected ISavePolicy fSavePolicy;
private JavaEditorErrorTickUpdater fJavaEditorErrorTickUpdater;
private BracketHighli... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | fJavaEditorErrorTickUpdater= new JavaEditorErrorTickUpdater(this);
}
/*
* @see AbstractTextEditor#createActions
*/
protected void createActions() {
super.createActions();
setAction("ContentAssistProposal", new TextOperationAction(JavaEditorMessages.getResourceBundle(), "ContentAssistProposal.", this,... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | ICompilationUnit unit= manager.getWorkingCopy(getEditorInput());
if (unit != null) {
synchronized (unit) {
try {
unit.reconcile();
IJavaElement element= unit.getElementAt(position);
if (element instanceof ISourceReference)
return (ISourceReference) element;
} catch (JavaModelExcepti... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | }
/*
* @see AbstractTextEditor#rulerContextMenuAboutToShow
*/
protected void rulerContextMenuAboutToShow(IMenuManager menu) {
super.rulerContextMenuAboutToShow(menu);
addAction(menu, "ManageBreakpoints");
}
/*
* @see JavaEditor#createOutlinePage
*/
protected JavaOutlinePage createOutlinePage() {
... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | if (page != null) {
IWorkingCopyManager manager= JavaPlugin.getDefault().getWorkingCopyManager();
page.setInput(manager.getWorkingCopy(input));
}
}
/*
* @see AbstractTextEditor#performSaveOperation(WorkspaceModifyOperation, IProgressMonitor)
*/
protected void performSaveOperation(WorkspaceModifyOperati... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | IDocumentProvider p= getDocumentProvider();
if (p == null)
return;
if (p.isDeleted(getEditorInput())) {
if (isSaveAsAllowed()) {
/*
* 1GEUSSR: ITPUI:ALL - User should never loose changes made in the editors.
* Changed Behavior to make sure that if called inside a regular save (becau... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | IWorkingCopyManager manager= JavaPlugin.getDefault().getWorkingCopyManager();
ICompilationUnit unit= manager.getWorkingCopy(getEditorInput());
if (unit != null) {
synchronized (unit) {
performSaveOperation(createSaveOperation(false), progressMonitor);
}
} else
performSaveOperation(creat... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | IWorkbenchPage page= getSite().getPage();
IViewPart view= view= page.findView("org.eclipse.ui.views.TaskList");
if (view instanceof TaskList) {
StructuredSelection ss= new StructuredSelection(nextError);
((TaskList) view).setSelection(ss, true);
}
getStatusLineManager().setErrorMessage(next... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | int endOfDocument= document.getLength();
int distance= 0;
IAnnotationModel model= getDocumentProvider().getAnnotationModel(getEditorInput());
Iterator e= model.getAnnotationIterator();
while (e.hasNext()) {
Annotation a= (Annotation) e.next();
if (a instanceof MarkerAnnotation) {
MarkerAnnotation ... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | }
}
}
}
}
return nextError;
}
/*
* @see AbstractTextEditor#isSaveAsAllowed()
*/
public boolean isSaveAsAllowed() {
return true;
}
/*
* 1GF7WG9: ITPJUI:ALL - EXCEPTION: "Save As..." always fails
*/
protected IPackageFragment getPackage(IWorkspaceRoot root, IPath path) {
... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | if (element instanceof IPackageFragment) {
IPackageFragment fragment= (IPackageFragment) element;
IJavaElement parent= fragment.getParent();
if (parent instanceof IPackageFragmentRoot) {
IPackageFragmentRoot pRoot= (IPackageFragmentRoot) parent;
if ( !pRoot.isArchive() && !pRoot.isE... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | * Changed behavior to make sure that if called inside a regular save (because
* of deletion of input element) there is a way to report back to the caller.
*/
protected void performSaveAs(IProgressMonitor progressMonitor) {
Shell shell= getSite().getShell();
SaveAsDialog dialog= new SaveAsDialog(shell);
... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | IWorkspaceRoot root= ResourcesPlugin.getWorkspace().getRoot();
/*
* 1GF7WG9: ITPJUI:ALL - EXCEPTION: "Save As..." always fails
*/
final IPackageFragment fragment= getPackage(root, folderPath);
IFile file= root.getFile(filePath);
final FileEditorInput newInput= new FileEditorInput(file);
Workspa... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | return;
}
} catch (JavaModelException x) {
}
}
/*
* 1GF5YOX: ITPJUI:ALL - Save of delete file claims it's still there
* Changed false to true.
*/
getDocumentProvider().saveDocument(monitor, newInput, getDocumentProvider().getDocument(getEditorInput(... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | /*
* 1GF5YOX: ITPJUI:ALL - Save of delete file claims it's still there
* Missing resources.
*/
Throwable t= x.getTargetException();
if (t instanceof CoreException) {
CoreException cx= (CoreException) t;
ErrorDialog.openError(shell, JavaEditorMessages.getString("CompilationUnitEditor.err... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | /*
* @see AbstractTextEditor#dispose()
*/
public void dispose() {
if (fJavaEditorErrorTickUpdater != null) {
fJavaEditorErrorTickUpdater.setAnnotationModel(null);
fJavaEditorErrorTickUpdater= null;
}
if (fBracketHighlighter != null) {
fBracketHighlighter.dispose();
fBracketHighlighter= null;
... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCodeScanner.java | package org.eclipse.jdt.internal.ui.text.java;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
import java.util.ArrayList;
import java.util.List;
import org.eclipse.jface.text.TextAttribute;
import org.eclipse.jface.text.rules.EndOfLineRule;
import org.eclipse.jface.text.rules.IRule;
import org.ec... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCodeScanner.java | private static String[] fgKeywords= {
"abstract",
"break",
"case", "catch", "class", "const", "continue",
"default", "do",
"else", "extends",
"final", "finally", "for",
"goto",
"if", "implements", "import", "instanceof", "interface",
"native", "new",
"package", "private", "protected", "pub... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCodeScanner.java | /**
* Creates a Java code scanner
*/
public JavaCodeScanner(IColorManager manager) {
super();
setDefaultReturnToken(new Token(new TextAttribute(manager.getColor(IJavaColorConstants.JAVA_DEFAULT))));
fColorManager= manager;
fKeyword= new Token(new TextAttribute(fColorManager.getColor(IJavaColorCons... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCodeScanner.java | rules.add(new WhitespaceRule(new JavaWhitespaceDetector()));
WordRule wordRule= new WordRule(new JavaWordDetector(), getDefaultReturnToken());
for (int i=0; i<fgKeywords.length; i++)
wordRule.addWord(fgKeywords[i], fKeyword);
for (int i=0; i<fgTypes.length; i++)
wordRule.addWord(fgTypes[i], fType);
... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java | package org.eclipse.jdt.ui.text;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
import org.eclipse.swt.SWT;
import org.eclipse.swt.graphics.Color;
import org.eclipse.swt.graphics.RGB;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.jface.text.DefaultTextDoubleClickStrategy;
import org.ec... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java | import org.eclipse.jface.text.reconciler.MonoReconciler;
import org.eclipse.jface.text.rules.RuleBasedDamagerRepairer;
import org.eclipse.jface.text.rules.RuleBasedScanner;
import org.eclipse.jface.text.rules.Token;
import org.eclipse.jface.text.source.IAnnotationHover;
import org.eclipse.jface.text.source.ISourceViewe... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java | /**
* Creates a new Java source viewer configuration for viewers in the given editor
* using the given Java tools.
*
* @param tools the Java tools to be used
* @param editor the editor in which the configured viewer(s) will reside
*/
public JavaSourceViewerConfiguration(JavaTextTools tools, ITextEditor ed... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java | /**
* Returns the color manager for this configuration.
*
* @return the color manager
*/
protected IColorManager getColorManager() {
return fJavaTextTools.getColorManager();
}
/**
* Returns the editor in which the configured viewer(s) will reside.
*
* @return the enclosing editor
*/
protected IT... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java | RuleBasedScanner scanner= new RuleBasedScanner();
scanner.setDefaultReturnToken(new Token(new TextAttribute(manager.getColor(IJavaColorConstants.JAVA_MULTI_LINE_COMMENT))));
dr= new RuleBasedDamagerRepairer(scanner);
reconciler.setDamager(dr, JavaPartitionScanner.JAVA_MULTI_LINE_COMMENT);
reconciler.setRepair... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java | assistant.setContextSelectorBackground(background);
assistant.setProposalSelectorBackground(background);
return assistant;
}
/*
* @see SourceViewerConfiguration#getReconciler(ISourceViewer)
*/
public IReconciler getReconciler(ISourceViewer sourceViewer) {
if (getEditor() != null && getEditor().isEdita... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java | public ITextDoubleClickStrategy getDoubleClickStrategy(ISourceViewer sourceViewer, String contentType) {
if (JavaPartitionScanner.JAVA_DOC.equals(contentType) ||
JavaPartitionScanner.JAVA_MULTI_LINE_COMMENT.equals(contentType) ||
JavaPartitionScanner.JAVA_SINGLE_LINE_COMMENT.equals(contentType))
return new... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java | }
/*
* @see SourceViewerConfiguration#getTextHover(ISourceViewer, String)
*/
public ITextHover getTextHover(ISourceViewer sourceViewer, String contentType) {
return new JavaTextHover(getEditor());
}
/*
* @see SourceViewerConfiguration#getConfiguredContentTypes(ISourceViewer)
*/
public String[] getConfi... |
5,418 | Bug 5418 bracket marker stays in editor | private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter | resolved fixed | d287924 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-01T19:13:57Z | 2001-11-01T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java | /*
* @see SourceViewerConfiguration#getHoverControlCreator(ISourceViewer)
*/
public IInformationControlCreator getInformationControlCreator(ISourceViewer sourceViewer) {
return getInformationControlCreator(sourceViewer, true);
}
private IInformationControlCreator getInformationControlCreator(ISourceViewer so... |
5,452 | Bug 5452 Typehierarchy: can't see full label in method list | The label is shown with "..." even though the view has a horizontal scrollbar. This is critical since when showin inherited members the lable can be long. | resolved fixed | 3cee768 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T14:45:01Z | 2001-11-02T08:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.typehierarchy;
import java.util.Set;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.ControlAdapter;
import org.eclipse.swt.events.ControlEvent;
import org.eclipse.swt.widgets.Composite;
import org.eclips... |
5,452 | Bug 5452 Typehierarchy: can't see full label in method list | The label is shown with "..." even though the view has a horizontal scrollbar. This is critical since when showin inherited members the lable can be long. | resolved fixed | 3cee768 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T14:45:01Z | 2001-11-02T08:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java | import org.eclipse.jface.viewers.DoubleClickEvent;
import org.eclipse.jface.viewers.IDoubleClickListener;
import org.eclipse.jface.viewers.ILabelProvider;
import org.eclipse.jface.viewers.TableViewer;
import org.eclipse.jface.viewers.Viewer;
import org.eclipse.ui.IMemento;
import org.eclipse.ui.IWorkbenchPart;
import o... |
5,452 | Bug 5452 Typehierarchy: can't see full label in method list | The label is shown with "..." even though the view has a horizontal scrollbar. This is critical since when showin inherited members the lable can be long. | resolved fixed | 3cee768 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T14:45:01Z | 2001-11-02T08:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java | private ProblemItemMapper fProblemItemMapper;
/**
* Sorter that uses the unmodified labelprovider (No declaring class names)
*/
private static class MethodsViewerSorter extends JavaElementSorter {
public MethodsViewerSorter() {
}
public int compare(Viewer viewer, Object e1, Object e2) {
int cat1... |
5,452 | Bug 5452 Typehierarchy: can't see full label in method list | The label is shown with "..." even though the view has a horizontal scrollbar. This is critical since when showin inherited members the lable can be long. | resolved fixed | 3cee768 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T14:45:01Z | 2001-11-02T08:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java | String name2= JavaElementLabels.getElementLabel((IJavaElement) e2, JavaElementLabels.ALL_DEFAULT);
return getCollator().compare(name1, name2);
}
}
private static final String TAG_HIDEFIELDS= "hidefields";
private static final String TAG_HIDESTATIC= "hidestatic";
private static final String TAG_HIDENONPUB... |
5,452 | Bug 5452 Typehierarchy: can't see full label in method list | The label is shown with "..." even though the view has a horizontal scrollbar. This is critical since when showin inherited members the lable can be long. | resolved fixed | 3cee768 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T14:45:01Z | 2001-11-02T08:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java | width= 0;
}
column.setWidth(width);
}
});
JavaElementLabelProvider lprovider= new JavaElementLabelProvider(JavaElementLabelProvider.SHOW_DEFAULT);
lprovider.setErrorTickManager(new MarkerErrorTickProvider());
MethodsContentProvider contentProvider= new MethodsContentProvider();
setLabelProvider(lpr... |
5,452 | Bug 5452 Typehierarchy: can't see full label in method list | The label is shown with "..." even though the view has a horizontal scrollbar. This is critical since when showin inherited members the lable can be long. | resolved fixed | 3cee768 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T14:45:01Z | 2001-11-02T08:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java | title= TypeHierarchyMessages.getString("MethodsViewer.hide_static.label");
helpContext= IJavaHelpContextIds.FILTER_STATIC_ACTION;
MethodsViewerFilterAction hideStatic= new MethodsViewerFilterAction(this, title, MethodsViewerFilter.FILTER_STATIC, helpContext, false);
hideStatic.setDescription(TypeHierarchyMessage... |
5,452 | Bug 5452 Typehierarchy: can't see full label in method list | The label is shown with "..." even though the view has a horizontal scrollbar. This is critical since when showin inherited members the lable can be long. | resolved fixed | 3cee768 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T14:45:01Z | 2001-11-02T08:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java | setSorter(new MethodsViewerSorter());
}
/**
* Show inherited methods
*/
public void showInheritedMethods(boolean on) {
MethodsContentProvider cprovider= (MethodsContentProvider) getContentProvider();
try {
cprovider.showInheritedMethods(on);
fShowInheritedMembersAction.setChecked(on);
JavaElem... |
5,452 | Bug 5452 Typehierarchy: can't see full label in method list | The label is shown with "..." even though the view has a horizontal scrollbar. This is critical since when showin inherited members the lable can be long. | resolved fixed | 3cee768 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T14:45:01Z | 2001-11-02T08:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java | * Filters the method list
*/
public void setMemberFilter(int filterProperty, boolean set) {
if (set) {
fFilter.addFilter(filterProperty);
} else {
fFilter.removeFilter(filterProperty);
}
for (int i= 0; i < fFilterActions.length; i++) {
if (fFilterActions[i].getFilterProperty() == filterProperty) {
... |
5,452 | Bug 5452 Typehierarchy: can't see full label in method list | The label is shown with "..." even though the view has a horizontal scrollbar. This is critical since when showin inherited members the lable can be long. | resolved fixed | 3cee768 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T14:45:01Z | 2001-11-02T08:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java | ScrollBar bar= getTable().getVerticalBar();
int position= bar != null ? bar.getSelection() : 0;
memento.putString(TAG_VERTICAL_SCROLL, String.valueOf(position));
}
/**
* Restores the state of the filter actions
*/
public void restoreState(IMemento memento) {
boolean set= Boolean.valueOf(memento.getString(... |
5,452 | Bug 5452 Typehierarchy: can't see full label in method list | The label is shown with "..." even though the view has a horizontal scrollbar. This is critical since when showin inherited members the lable can be long. | resolved fixed | 3cee768 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T14:45:01Z | 2001-11-02T08:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java | public void initContextMenu(IMenuListener menuListener, String popupId, IWorkbenchPartSite viewSite) {
MenuManager menuMgr= new MenuManager();
menuMgr.setRemoveAllWhenShown(true);
menuMgr.addMenuListener(menuListener);
Menu menu= menuMgr.createContextMenu(getTable());
getTable().setMenu(menu);
viewSite.regi... |
5,452 | Bug 5452 Typehierarchy: can't see full label in method list | The label is shown with "..." even though the view has a horizontal scrollbar. This is critical since when showin inherited members the lable can be long. | resolved fixed | 3cee768 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T14:45:01Z | 2001-11-02T08:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java | * @see IProblemChangedListener#problemsChanged
*/
public void problemsChanged(final Set changed) {
Control control= getControl();
if (control != null && !control.isDisposed()) {
control.getDisplay().asyncExec(new Runnable() {
public void run() {
fProblemItemMapper.problemsChanged(changed, (ILabelProv... |
5,474 | Bug 5474 should not use tool tips for labels | To be consistent with other preference pages, the debug preference labels for step filtering (filter sythetic methods, etc), should not specify tool tips. Instead, the relevant information should just be in the label. | verified fixed | 63aabcb | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T23:43:07Z | 2001-11-02T16:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaDebugPreferencePage.java | package org.eclipse.jdt.internal.ui.preferences;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import org.eclipse.core.resources.IWorkspaceRoot;
import org.eclipse.jdt.... |
5,474 | Bug 5474 should not use tool tips for labels | To be consistent with other preference pages, the debug preference labels for step filtering (filter sythetic methods, etc), should not specify tool tips. Instead, the relevant information should just be in the label. | verified fixed | 63aabcb | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T23:43:07Z | 2001-11-02T16:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaDebugPreferencePage.java | import org.eclipse.jdt.ui.JavaUI;
import org.eclipse.jface.dialogs.IDialogConstants;
import org.eclipse.jface.dialogs.ProgressMonitorDialog;
import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.jface.preference.PreferencePage;
import org.eclipse.jface.viewers.CheckStateChangedEvent;
import org.eclip... |
5,474 | Bug 5474 should not use tool tips for labels | To be consistent with other preference pages, the debug preference labels for step filtering (filter sythetic methods, etc), should not specify tool tips. Instead, the relevant information should just be in the label. | verified fixed | 63aabcb | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T23:43:07Z | 2001-11-02T16:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaDebugPreferencePage.java | import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Event;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Listener;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Table;
import org.eclipse.swt.widgets.TableItem;
imp... |
5,474 | Bug 5474 should not use tool tips for labels | To be consistent with other preference pages, the debug preference labels for step filtering (filter sythetic methods, etc), should not specify tool tips. Instead, the relevant information should just be in the label. | verified fixed | 63aabcb | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T23:43:07Z | 2001-11-02T16:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaDebugPreferencePage.java | private Button fHexButton;
private Button fCharButton;
private Button fUnsignedButton;
private CheckboxTableViewer fFilterViewer;
private Table fFilterTable;
private Button fUseFiltersCheckbox;
private Button fAddPackageButton;
private Button fAddTypeButton;
private Button fRemoveFilterButton;
private Button f... |
5,474 | Bug 5474 should not use tool tips for labels | To be consistent with other preference pages, the debug preference labels for step filtering (filter sythetic methods, etc), should not specify tool tips. Instead, the relevant information should just be in the label. | verified fixed | 63aabcb | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T23:43:07Z | 2001-11-02T16:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaDebugPreferencePage.java | private String fName;
private boolean fChecked;
public StepFilter(String name, boolean checked) {
setName(name);
setChecked(checked);
}
public String getName() {
return fName;
}
public void setName(String name) {
fName = name;
}
public boolean isChecked() {
return fChecked;
... |
5,474 | Bug 5474 should not use tool tips for labels | To be consistent with other preference pages, the debug preference labels for step filtering (filter sythetic methods, etc), should not specify tool tips. Instead, the relevant information should just be in the label. | verified fixed | 63aabcb | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T23:43:07Z | 2001-11-02T16:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaDebugPreferencePage.java | private CheckboxTableViewer fViewer;
private List fFilters;
public StepFilterContentProvider(CheckboxTableViewer viewer) {
fViewer = viewer;
List active = JDIDebugModel.getActiveStepFilters();
List inactive = JDIDebugModel.getInactiveStepFilters();
populateFilters(active, inactive);
}
public v... |
5,474 | Bug 5474 should not use tool tips for labels | To be consistent with other preference pages, the debug preference labels for step filtering (filter sythetic methods, etc), should not specify tool tips. Instead, the relevant information should just be in the label. | verified fixed | 63aabcb | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T23:43:07Z | 2001-11-02T16:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaDebugPreferencePage.java | fFilterConstructorButton.setSelection(JDIDebugModel.getDefaultFilterConstructor());
boolean useStepFilters = JDIDebugModel.getDefaultUseStepFilters();
fUseFiltersCheckbox.setSelection(useStepFilters);
toggleStepFilterWidgetsEnabled(useStepFilters);
}
protected void populateFilters(List activeList, List ... |
5,474 | Bug 5474 should not use tool tips for labels | To be consistent with other preference pages, the debug preference labels for step filtering (filter sythetic methods, etc), should not specify tool tips. Instead, the relevant information should just be in the label. | verified fixed | 63aabcb | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T23:43:07Z | 2001-11-02T16:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaDebugPreferencePage.java | public void saveFilters() {
JDIDebugModel.setUseStepFilters(fUseFiltersCheckbox.getSelection());
JDIDebugModel.setFilterSynthetic(fFilterSyntheticButton.getSelection());
JDIDebugModel.setFilterStatic(fFilterStaticButton.getSelection());
JDIDebugModel.setFilterConstructor(fFilterConstructorButton.getSelectio... |
5,474 | Bug 5474 should not use tool tips for labels | To be consistent with other preference pages, the debug preference labels for step filtering (filter sythetic methods, etc), should not specify tool tips. Instead, the relevant information should just be in the label. | verified fixed | 63aabcb | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T23:43:07Z | 2001-11-02T16:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaDebugPreferencePage.java | public void toggleFilter(StepFilter filter) {
boolean newState = !filter.isChecked();
filter.setChecked(newState);
fViewer.setChecked(filter, newState);
}
/*
* @see IStructuredContentProvider#getElements(Object)
*/
public Object[] getElements(Object inputElement) {
return fFilters.toArray();
... |
5,474 | Bug 5474 should not use tool tips for labels | To be consistent with other preference pages, the debug preference labels for step filtering (filter sythetic methods, etc), should not specify tool tips. Instead, the relevant information should just be in the label. | verified fixed | 63aabcb | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T23:43:07Z | 2001-11-02T16:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaDebugPreferencePage.java | public CellModifier() {
}
/*
* @see ICellModifier#canModify(Object, String)
*/
public boolean canModify(Object element, String property) {
return isNameProperty(property);
}
/*
* @see ICellModifier#getValue(Object, String)
*/
public Object getValue(Object element, String property) {
... |
5,474 | Bug 5474 should not use tool tips for labels | To be consistent with other preference pages, the debug preference labels for step filtering (filter sythetic methods, etc), should not specify tool tips. Instead, the relevant information should just be in the label. | verified fixed | 63aabcb | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T23:43:07Z | 2001-11-02T16:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaDebugPreferencePage.java | /*
* @see ICellModifier#modify(Object, String, Object)
*/
public void modify(Object element, String property, Object value) {
if (value != null) {
if (isNameProperty(property) && element instanceof TableItem) {
String stringValue = (String) value;
TableItem tableItem = (TableItem)element;
... |
5,474 | Bug 5474 should not use tool tips for labels | To be consistent with other preference pages, the debug preference labels for step filtering (filter sythetic methods, etc), should not specify tool tips. Instead, the relevant information should just be in the label. | verified fixed | 63aabcb | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T23:43:07Z | 2001-11-02T16:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaDebugPreferencePage.java | return ((StepFilter)object).getName();
}
return "";
}
/*
* @see ILabelProvider#getText(Object)
*/
public String getText(Object element) {
return ((StepFilter)element).getName();
}
/*
* @see ITableLabelProvider#getColumnImage(Object, int)
*/
public Image getColumnImage(Object obje... |
5,474 | Bug 5474 should not use tool tips for labels | To be consistent with other preference pages, the debug preference labels for step filtering (filter sythetic methods, etc), should not specify tool tips. Instead, the relevant information should just be in the label. | verified fixed | 63aabcb | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T23:43:07Z | 2001-11-02T16:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaDebugPreferencePage.java | * Set the default preferences for this page.
*/
public static void initDefaults(IPreferenceStore store) {
store.setDefault(SHOW_HEX, false);
store.setDefault(SHOW_CHARS, false);
store.setDefault(SHOW_UNSIGNED, false);
}
/**
* @see PreferencePage#createContents(Composite)
*/
protected Control createCon... |
5,474 | Bug 5474 should not use tool tips for labels | To be consistent with other preference pages, the debug preference labels for step filtering (filter sythetic methods, etc), should not specify tool tips. Instead, the relevant information should just be in the label. | verified fixed | 63aabcb | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T23:43:07Z | 2001-11-02T16:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaDebugPreferencePage.java | return composite;
}
/**
* Create the primitive display preferences composite widget
*/
private void createPrimitiveDisplayPreferences(Composite parent) {
Composite comp= createLabelledComposite(parent, 1, "Primitive type display options");
fHexButton= createCheckButton(comp, "Display &hexadecimal value... |
5,474 | Bug 5474 should not use tool tips for labels | To be consistent with other preference pages, the debug preference labels for step filtering (filter sythetic methods, etc), should not specify tool tips. Instead, the relevant information should just be in the label. | verified fixed | 63aabcb | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T23:43:07Z | 2001-11-02T16:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaDebugPreferencePage.java | fUseFiltersCheckbox.setText("Use &step filters");
fUseFiltersCheckbox.setToolTipText("Toggle whether step filters are used at all");
GridData gd = new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING);
gd.horizontalSpan = 2;
fUseFiltersCheckbox.setLayoutData(gd);
fUseFiltersCheckbox.addSelectionListener(new Sele... |
5,474 | Bug 5474 should not use tool tips for labels | To be consistent with other preference pages, the debug preference labels for step filtering (filter sythetic methods, etc), should not specify tool tips. Instead, the relevant information should just be in the label. | verified fixed | 63aabcb | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T23:43:07Z | 2001-11-02T16:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaDebugPreferencePage.java | }
});
fFilterViewer.addSelectionChangedListener(new ISelectionChangedListener() {
public void selectionChanged(SelectionChangedEvent event) {
ISelection selection = event.getSelection();
if (selection.isEmpty()) {
fRemoveFilterButton.setEnabled(false);
} else {
fRemoveFilterButton.setEnable... |
5,474 | Bug 5474 should not use tool tips for labels | To be consistent with other preference pages, the debug preference labels for step filtering (filter sythetic methods, etc), should not specify tool tips. Instead, the relevant information should just be in the label. | verified fixed | 63aabcb | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T23:43:07Z | 2001-11-02T16:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaDebugPreferencePage.java | public void widgetSelected(SelectionEvent se) {
addActiveFilter();
}
public void widgetDefaultSelected(SelectionEvent se) {
}
});
fAddTypeButton = new Button(buttonContainer, SWT.PUSH);
fAddTypeButton.setText("Add &Type...");
fAddTypeButton.setToolTipText("Choose a java type and add it to ste... |
5,474 | Bug 5474 should not use tool tips for labels | To be consistent with other preference pages, the debug preference labels for step filtering (filter sythetic methods, etc), should not specify tool tips. Instead, the relevant information should just be in the label. | verified fixed | 63aabcb | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T23:43:07Z | 2001-11-02T16:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaDebugPreferencePage.java | }
public void widgetDefaultSelected(SelectionEvent se) {
}
});
fRemoveFilterButton = new Button(buttonContainer, SWT.PUSH);
fRemoveFilterButton.setText("&Remove");
fRemoveFilterButton.setToolTipText("Remove all selected step filters");
gd = new GridData(GridData.FILL_HORIZONTAL | GridData.VERTICAL... |
5,474 | Bug 5474 should not use tool tips for labels | To be consistent with other preference pages, the debug preference labels for step filtering (filter sythetic methods, etc), should not specify tool tips. Instead, the relevant information should just be in the label. | verified fixed | 63aabcb | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T23:43:07Z | 2001-11-02T16:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaDebugPreferencePage.java | fFilterStaticButton.setText("Filter static &initializers");
fFilterStaticButton.setToolTipText("Don't stop in static initialization code");
gd = new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING);
gd.horizontalSpan = 2;
fFilterStaticButton.setLayoutData(gd);
fFilterConstructorButton = new Button(containe... |
5,474 | Bug 5474 should not use tool tips for labels | To be consistent with other preference pages, the debug preference labels for step filtering (filter sythetic methods, etc), should not specify tool tips. Instead, the relevant information should just be in the label. | verified fixed | 63aabcb | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T23:43:07Z | 2001-11-02T16:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaDebugPreferencePage.java | if (!enabled) {
fRemoveFilterButton.setEnabled(enabled);
} else if (!fFilterViewer.getSelection().isEmpty()) {
fRemoveFilterButton.setEnabled(true);
}
}
/**
* Create a new filter in the table (with the default 'new filter' value),
* then open up an in-place editor on it.
*/
private void addActiveFi... |
5,474 | Bug 5474 should not use tool tips for labels | To be consistent with other preference pages, the debug preference labels for step filtering (filter sythetic methods, etc), should not specify tool tips. Instead, the relevant information should just be in the label. | verified fixed | 63aabcb | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T23:43:07Z | 2001-11-02T16:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaDebugPreferencePage.java | fTableEditor.grabHorizontal = true;
fTableEditor.setEditor(fEditorText, fNewTableItem, 0);
fEditorText.setText(fNewStepFilter.getName());
fEditorText.selectAll();
setEditorListeners(fEditorText);
fEditorText.setFocus();
}
private void setEditorListeners(Text text) {
text.addKeyListener(new KeyA... |
5,474 | Bug 5474 should not use tool tips for labels | To be consistent with other preference pages, the debug preference labels for step filtering (filter sythetic methods, etc), should not specify tool tips. Instead, the relevant information should just be in the label. | verified fixed | 63aabcb | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T23:43:07Z | 2001-11-02T16:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaDebugPreferencePage.java | text.addListener(SWT.Traverse, new Listener() {
public void handleEvent(Event event) {
event.doit = false;
}
});
}
private void validateChangeAndCleanup() {
String trimmedValue = fEditorText.getText().trim();
if (trimmedValue.length() < 1) {
removeNewFilter();
}
else if (!validateEditor... |
5,474 | Bug 5474 should not use tool tips for labels | To be consistent with other preference pages, the debug preference labels for step filtering (filter sythetic methods, etc), should not specify tool tips. Instead, the relevant information should just be in the label. | verified fixed | 63aabcb | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T23:43:07Z | 2001-11-02T16:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaDebugPreferencePage.java | if (fEditorText != null) {
fEditorText.dispose();
fEditorText = null;
fNewStepFilter = null;
fNewTableItem = null;
fTableEditor.setEditor(null, null, 0);
}
}
private void removeNewFilter() {
fStepFilterContentProvider.removeFilters(new Object[] {fNewStepFilter});
}
/**
* A valid step fil... |
5,474 | Bug 5474 should not use tool tips for labels | To be consistent with other preference pages, the debug preference labels for step filtering (filter sythetic methods, etc), should not specify tool tips. Instead, the relevant information should just be in the label. | verified fixed | 63aabcb | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T23:43:07Z | 2001-11-02T16:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaDebugPreferencePage.java | try {
dialog= JavaUI.createTypeDialog(shell, new ProgressMonitorDialog(shell),
SearchEngine.createWorkspaceScope(), IJavaElementSearchConstants.CONSIDER_TYPES, false);
} catch (JavaModelException jme) {
String title= "Add type to step filters";
String message= "Could not open type selection dialog for st... |
5,474 | Bug 5474 should not use tool tips for labels | To be consistent with other preference pages, the debug preference labels for step filtering (filter sythetic methods, etc), should not specify tool tips. Instead, the relevant information should just be in the label. | verified fixed | 63aabcb | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T23:43:07Z | 2001-11-02T16:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaDebugPreferencePage.java | String message= "Could not open package selection dialog for step filters";
ExceptionHandler.handle(jme, title, message);
return;
}
dialog.setTitle("Add package to step filters");
dialog.setMessage("Select a package to filter when stepping");
if (dialog.open() == IDialogConstants.CANCEL_ID) {
retu... |
5,474 | Bug 5474 should not use tool tips for labels | To be consistent with other preference pages, the debug preference labels for step filtering (filter sythetic methods, etc), should not specify tool tips. Instead, the relevant information should just be in the label. | verified fixed | 63aabcb | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T23:43:07Z | 2001-11-02T16:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaDebugPreferencePage.java | * that each fragment is added to the list only once.
*/
private SelectionDialog createAllPackagesDialog(Shell shell) throws JavaModelException{
IWorkspaceRoot wsroot= JavaPlugin.getWorkspace().getRoot();
IJavaModel model= JavaCore.create(wsroot);
IJavaProject[] projects= model.getJavaProjects();
Set packageN... |
5,474 | Bug 5474 should not use tool tips for labels | To be consistent with other preference pages, the debug preference labels for step filtering (filter sythetic methods, etc), should not specify tool tips. Instead, the relevant information should just be in the label. | verified fixed | 63aabcb | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T23:43:07Z | 2001-11-02T16:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaDebugPreferencePage.java | public void init(IWorkbench workbench) {
}
/**
* @see PreferencePage#performOk()
* Also, notifies interested listeners
*/
public boolean performOk() {
storeValues();
getPreferenceStore().firePropertyChangeEvent(IPreferencesConstants.VARIABLE_RENDERING, new Boolean(true), new Boolean(false));
fStepFilterC... |
5,474 | Bug 5474 should not use tool tips for labels | To be consistent with other preference pages, the debug preference labels for step filtering (filter sythetic methods, etc), should not specify tool tips. Instead, the relevant information should just be in the label. | verified fixed | 63aabcb | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T23:43:07Z | 2001-11-02T16:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaDebugPreferencePage.java | /**
* Creates a button with the given label and sets the default
* configuration data.
*/
private Button createCheckButton(Composite parent, String label) {
Button button= new Button(parent, SWT.CHECK | SWT.LEFT);
button.setText(label);
button.addListener(SWT.Selection, this);
GridData data = new G... |
5,474 | Bug 5474 should not use tool tips for labels | To be consistent with other preference pages, the debug preference labels for step filtering (filter sythetic methods, etc), should not specify tool tips. Instead, the relevant information should just be in the label. | verified fixed | 63aabcb | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T23:43:07Z | 2001-11-02T16:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaDebugPreferencePage.java | comp.setLayout(layout);
GridData gd= new GridData();
gd.verticalAlignment = GridData.FILL;
gd.horizontalAlignment = GridData.FILL;
comp.setLayoutData(gd);
Label label = new Label(comp, SWT.NONE);
label.setText(labelText);
gd = new GridData();
gd.horizontalSpan = numColumns;
label.setLayoutDat... |
5,474 | Bug 5474 should not use tool tips for labels | To be consistent with other preference pages, the debug preference labels for step filtering (filter sythetic methods, etc), should not specify tool tips. Instead, the relevant information should just be in the label. | verified fixed | 63aabcb | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-02T23:43:07Z | 2001-11-02T16:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaDebugPreferencePage.java | */
public void handleEvent(Event event) {
}
/**
* Set the values of the component widgets based on the
* values in the preference store
*/
private void setValues() {
IPreferenceStore store = getPreferenceStore();
fHexButton.setSelection(store.getBoolean(SHOW_HEX));
fCharButton.setSelection(store.g... |
4,928 | Bug 4928 Java perspective should have placeholder for Navigator | build 204 I sometimes want to show the Navigator in the Java perspective. It currently opens over the outline. I would prefer it to open over the packages view, since they're of the same flavour and I usually want one or the other, not both at the same time. It also means my flow still goes from left to right: choose s... | resolved fixed | e48f52e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-07T14:00:19Z | 2001-10-12T15:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPerspectiveFactory.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui;
import org.eclipse.ui.IFolderLayout;
import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;
import org.eclipse.search.ui.SearchUI;
import org.eclipse.debug.ui.IDebugUIConstants;
import org.e... |
4,928 | Bug 4928 Java perspective should have placeholder for Navigator | build 204 I sometimes want to show the Navigator in the Java perspective. It currently opens over the outline. I would prefer it to open over the packages view, since they're of the same flavour and I usually want one or the other, not both at the same time. It also means my flow still goes from left to right: choose s... | resolved fixed | e48f52e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-07T14:00:19Z | 2001-10-12T15:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPerspectiveFactory.java | outputfolder.addView(IPageLayout.ID_TASK_LIST);
outputfolder.addView(SearchUI.SEARCH_RESULT_VIEW_ID);
outputfolder.addView(IDebugUIConstants.ID_CONSOLE_VIEW);
layout.addView(IPageLayout.ID_OUTLINE, IPageLayout.RIGHT, (float)0.75, editorArea);
layout.addActionSet(IDebugUIConstants.DEBUG_ACTION_SET);
layo... |
3,672 | Bug 3672 DCR: Add working set support | Would be nice to have the VAME Search "Scope" feature. This allows the user to filter searches, which reduces both the time to do the search, and the number of results found - so that more of the results are known to be useful. In VAME, the user could edit a search scope (for example, only search in these 3 projects), ... | verified fixed | 7049e8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-07T16:23:46Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/DeclarationsSearchGroup.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.search;
/**
* Contribute Java search specific menu elements.
*/
public class DeclarationsSearchGroup extends JavaSearchSubGroup {
public static final String GROUP_NAME= SearchMessages.getString("group.declarati... |
3,672 | Bug 3672 DCR: Add working set support | Would be nice to have the VAME Search "Scope" feature. This allows the user to filter searches, which reduces both the time to do the search, and the number of results found - so that more of the results are known to be useful. In VAME, the user could edit a search scope (for example, only search in these 3 projects), ... | verified fixed | 7049e8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-07T16:23:46Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/ElementSearchAction.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.search;
import java.lang.reflect.InvocationTargetException;
import org.eclipse.core.resources.IWorkspaceDescription;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.swt.widgets.Shell;
import org.e... |
3,672 | Bug 3672 DCR: Add working set support | Would be nice to have the VAME Search "Scope" feature. This allows the user to filter searches, which reduces both the time to do the search, and the number of results found - so that more of the results are known to be useful. In VAME, the user could edit a search scope (for example, only search in these 3 projects), ... | verified fixed | 7049e8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-07T16:23:46Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/ElementSearchAction.java | public ElementSearchAction(String label, Class[] validTypes) {
super(label, validTypes);
}
public void run(IJavaElement element) {
SearchUI.activateSearchResultView();
Shell shell= JavaPlugin.getActiveWorkbenchShell();
JavaSearchOperation op= null;
try {
op= makeOperation(element);
if (op == null)
... |
3,672 | Bug 3672 DCR: Add working set support | Would be nice to have the VAME Search "Scope" feature. This allows the user to filter searches, which reduces both the time to do the search, and the number of results found - so that more of the results are known to be useful. In VAME, the user could edit a search scope (for example, only search in these 3 projects), ... | verified fixed | 7049e8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-07T16:23:46Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/ElementSearchAction.java | if (isAutoBuilding) {
workspaceDesc.setAutoBuilding(false);
try {
JavaPlugin.getWorkspace().setDescription(workspaceDesc);
}
catch (CoreException ex) {
ExceptionHandler.handle(ex, shell, SearchMessages.getString("Search.Error.setDescription.title"), SearchMessages.getString("Search.Error.setDescr... |
3,672 | Bug 3672 DCR: Add working set support | Would be nice to have the VAME Search "Scope" feature. This allows the user to filter searches, which reduces both the time to do the search, and the number of results found - so that more of the results are known to be useful. In VAME, the user could edit a search scope (for example, only search in these 3 projects), ... | verified fixed | 7049e8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-07T16:23:46Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/ElementSearchAction.java | IType type= getType(element);
return new JavaSearchOperation(JavaPlugin.getWorkspace(), element, getLimitTo(), getScope(type), getScopeDescription(type), getCollector());
};
protected abstract int getLimitTo();
protected IJavaSearchScope getScope(IType element) throws JavaModelException {
return SearchEngine.cre... |
3,672 | Bug 3672 DCR: Add working set support | Would be nice to have the VAME Search "Scope" feature. This allows the user to filter searches, which reduces both the time to do the search, and the number of results found - so that more of the results are known to be useful. In VAME, the user could edit a search scope (for example, only search in these 3 projects), ... | verified fixed | 7049e8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-07T16:23:46Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/FindDeclarationsInWorkingSetAction.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.search;
import org.eclipse.ui.dialogs.SelectionDialog;
import org.eclipse.search.ui.IWorkingSet;
import org.eclipse.search.ui.SearchUI;
import org.eclipse.jdt.core.IJavaElement;
import org.eclipse.jdt.core.IMethod;... |
3,672 | Bug 3672 DCR: Add working set support | Would be nice to have the VAME Search "Scope" feature. This allows the user to filter searches, which reduces both the time to do the search, and the number of results found - so that more of the results are known to be useful. In VAME, the user could edit a search scope (for example, only search in these 3 projects), ... | verified fixed | 7049e8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-07T16:23:46Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/FindDeclarationsInWorkingSetAction.java | protected JavaSearchOperation makeOperation(IJavaElement element) throws JavaModelException {
IWorkingSet workingSet= queryWorkingSet();
if (workingSet == null)
return null;
if (element.getElementType() == IJavaElement.METHOD) {
IMethod method= (IMethod)element;
int searchFor= IJavaSearchConstants.METHOD... |
3,672 | Bug 3672 DCR: Add working set support | Would be nice to have the VAME Search "Scope" feature. This allows the user to filter searches, which reduces both the time to do the search, and the number of results found - so that more of the results are known to be useful. In VAME, the user could edit a search scope (for example, only search in these 3 projects), ... | verified fixed | 7049e8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-07T16:23:46Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/FindImplementorsInWorkingSetAction.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.search;
import org.eclipse.ui.dialogs.SelectionDialog;
import org.eclipse.search.ui.IWorkingSet;
import org.eclipse.search.ui.SearchUI;
import org.eclipse.jdt.core.IJavaElement;
import org.eclipse.jdt.core.JavaMode... |
3,672 | Bug 3672 DCR: Add working set support | Would be nice to have the VAME Search "Scope" feature. This allows the user to filter searches, which reduces both the time to do the search, and the number of results found - so that more of the results are known to be useful. In VAME, the user could edit a search scope (for example, only search in these 3 projects), ... | verified fixed | 7049e8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-07T16:23:46Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/FindImplementorsInWorkingSetAction.java | public FindImplementorsInWorkingSetAction() {
setText(SearchMessages.getString("Search.FindImplementorsInWorkingSetAction.label"));
setToolTipText(SearchMessages.getString("Search.FindImplementorsInWorkingSetAction.tooltip"));
}
protected JavaSearchOperation makeOperation(IJavaElement element) throws JavaModelE... |
3,672 | Bug 3672 DCR: Add working set support | Would be nice to have the VAME Search "Scope" feature. This allows the user to filter searches, which reduces both the time to do the search, and the number of results found - so that more of the results are known to be useful. In VAME, the user could edit a search scope (for example, only search in these 3 projects), ... | verified fixed | 7049e8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-07T16:23:46Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/FindReadReferencesInWorkingSetAction.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.search;
import org.eclipse.jdt.core.IField;
import org.eclipse.jdt.core.search.IJavaSearchConstants;
public class FindReadReferencesInWorkingSetAction extends FindReferencesInWorkingSetAction {
public FindReadRefe... |
3,672 | Bug 3672 DCR: Add working set support | Would be nice to have the VAME Search "Scope" feature. This allows the user to filter searches, which reduces both the time to do the search, and the number of results found - so that more of the results are known to be useful. In VAME, the user could edit a search scope (for example, only search in these 3 projects), ... | verified fixed | 7049e8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-07T16:23:46Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/FindReferencesInWorkingSetAction.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.search;
import org.eclipse.ui.dialogs.SelectionDialog;
import org.eclipse.search.ui.IWorkingSet;
import org.eclipse.search.ui.SearchUI;
import org.eclipse.jdt.core.IJavaElement;
import org.eclipse.jdt.core.JavaMode... |
3,672 | Bug 3672 DCR: Add working set support | Would be nice to have the VAME Search "Scope" feature. This allows the user to filter searches, which reduces both the time to do the search, and the number of results found - so that more of the results are known to be useful. In VAME, the user could edit a search scope (for example, only search in these 3 projects), ... | verified fixed | 7049e8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-07T16:23:46Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/FindReferencesInWorkingSetAction.java | public FindReferencesInWorkingSetAction() {
setText(SearchMessages.getString("Search.FindReferencesInWorkingSetAction.label"));
setToolTipText(SearchMessages.getString("Search.FindReferencesInWorkingSetAction.tooltip"));
}
FindReferencesInWorkingSetAction(String label, Class[] validTypes) {
super(label, valid... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.