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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
20,040 | Bug 20040 java editor: undo does not work correctly | 20020612 .create new class .'override methods...' - add clone() .undo .redo .undo the plain text editor does not exhibit this mis-behavior you're left with garbage like (pressing undo/redo more times produces even more garbage): public class Dfg { r.clone(); //<<GARBAGE } //<<GARBAGE } | resolved fixed | e11a624 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:35:49Z | 2002-06-12T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | private IProblemAnnotation getNextError(int offset, boolean forward, Position errorPosition) {
IProblemAnnotation nextError= null;
Position nextErrorPosition= null;
IDocument document= getDocumentProvider().getDocument(getEditorInput());
int endOfDocument= document.getLength();
int distance= 0;
IA... |
20,040 | Bug 20040 java editor: undo does not work correctly | 20020612 .create new class .'override methods...' - add clone() .undo .redo .undo the plain text editor does not exhibit this mis-behavior you're left with garbage like (pressing undo/redo more times produces even more garbage): public class Dfg { r.clone(); //<<GARBAGE } //<<GARBAGE } | resolved fixed | e11a624 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:35:49Z | 2002-06-12T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | }
if (nextError == null || currentDistance < distance) {
distance= currentDistance;
nextError= a;
nextErrorPosition= p;
}
}
}
if (nextErrorPosition != null) {
errorPosition.setOffset(nextErrorPosition.getOffset());
errorPosition.setLength(nextErrorPosition.getLeng... |
20,040 | Bug 20040 java editor: undo does not work correctly | 20020612 .create new class .'override methods...' - add clone() .undo .redo .undo the plain text editor does not exhibit this mis-behavior you're left with garbage like (pressing undo/redo more times produces even more garbage): public class Dfg { r.clone(); //<<GARBAGE } //<<GARBAGE } | resolved fixed | e11a624 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:35:49Z | 2002-06-12T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | protected void performSaveAs(IProgressMonitor progressMonitor) {
Shell shell= getSite().getShell();
SaveAsDialog dialog= new SaveAsDialog(shell);
dialog.create();
IEditorInput input = getEditorInput();
IFile original= (input instanceof IFileEditorInput) ? ((IFileEditorInput) input).getFile() : nul... |
20,040 | Bug 20040 java editor: undo does not work correctly | 20020612 .create new class .'override methods...' - add clone() .undo .redo .undo the plain text editor does not exhibit this mis-behavior you're left with garbage like (pressing undo/redo more times produces even more garbage): public class Dfg { r.clone(); //<<GARBAGE } //<<GARBAGE } | resolved fixed | e11a624 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:35:49Z | 2002-06-12T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | }
IWorkspace workspace= ResourcesPlugin.getWorkspace();
IFile file= workspace.getRoot().getFile(filePath);
final IEditorInput newInput= new FileEditorInput(file);
WorkspaceModifyOperation op= new WorkspaceModifyOperation() {
public void execute(final IProgressMonitor monitor) throws CoreException {
... |
20,040 | Bug 20040 java editor: undo does not work correctly | 20020612 .create new class .'override methods...' - add clone() .undo .redo .undo the plain text editor does not exhibit this mis-behavior you're left with garbage like (pressing undo/redo more times produces even more garbage): public class Dfg { r.clone(); //<<GARBAGE } //<<GARBAGE } | resolved fixed | e11a624 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:35:49Z | 2002-06-12T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | } finally {
getDocumentProvider().changed(newInput);
if (success)
setInput(newInput);
}
if (progressMonitor != null)
progressMonitor.setCanceled(!success);
}
/*
* @see AbstractTextEditor#doSetInput(IEditorInput)
*/
protected void doSetInput(IEditorInput input) throws CoreException {
super... |
20,040 | Bug 20040 java editor: undo does not work correctly | 20020612 .create new class .'override methods...' - add clone() .undo .redo .undo the plain text editor does not exhibit this mis-behavior you're left with garbage like (pressing undo/redo more times produces even more garbage): public class Dfg { r.clone(); //<<GARBAGE } //<<GARBAGE } | resolved fixed | e11a624 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:35:49Z | 2002-06-12T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | fBracketPainter.deactivate(true);
fBracketPainter.dispose();
fBracketPainter= null;
}
}
private boolean isBracketHighlightingEnabled() {
IPreferenceStore store= getPreferenceStore();
return store.getBoolean(MATCHING_BRACKETS);
}
private void startLineHighlighting() {
if (fLinePainter == null) {
... |
20,040 | Bug 20040 java editor: undo does not work correctly | 20020612 .create new class .'override methods...' - add clone() .undo .redo .undo the plain text editor does not exhibit this mis-behavior you're left with garbage like (pressing undo/redo more times produces even more garbage): public class Dfg { r.clone(); //<<GARBAGE } //<<GARBAGE } | resolved fixed | e11a624 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:35:49Z | 2002-06-12T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | IPreferenceStore store= getPreferenceStore();
return store.getBoolean(CURRENT_LINE);
}
private void showPrintMargin() {
if (fPrintMarginPainter == null) {
fPrintMarginPainter= new PrintMarginPainter(getSourceViewer());
fPrintMarginPainter.setMarginRulerColor(getColor(PRINT_MARGIN_COLOR));
fPrintMarginP... |
20,040 | Bug 20040 java editor: undo does not work correctly | 20020612 .create new class .'override methods...' - add clone() .undo .redo .undo the plain text editor does not exhibit this mis-behavior you're left with garbage like (pressing undo/redo more times produces even more garbage): public class Dfg { r.clone(); //<<GARBAGE } //<<GARBAGE } | resolved fixed | e11a624 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:35:49Z | 2002-06-12T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | fProblemPainter.setHighlightColor(getColor(PROBLEM_INDICATION_COLOR));
fPaintManager.addPainter(fProblemPainter);
}
}
private void stopProblemIndication() {
if (fProblemPainter != null) {
fPaintManager.removePainter(fProblemPainter);
fProblemPainter.deactivate(true);
fProblemPainter.dispose();
fP... |
20,040 | Bug 20040 java editor: undo does not work correctly | 20020612 .create new class .'override methods...' - add clone() .undo .redo .undo the plain text editor does not exhibit this mis-behavior you're left with garbage like (pressing undo/redo more times produces even more garbage): public class Dfg { r.clone(); //<<GARBAGE } //<<GARBAGE } | resolved fixed | e11a624 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:35:49Z | 2002-06-12T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | Preferences preferences= JavaCore.getPlugin().getPluginPreferences();
return preferences.getInt(CODE_FORMATTER_TAB_SIZE);
}
private void startTabConversion() {
if (fTabConverter == null) {
fTabConverter= new TabConverter();
configureTabConverter();
fTabConverter.setNumberOfSpacesPerTab(getTabSize());
... |
20,040 | Bug 20040 java editor: undo does not work correctly | 20020612 .create new class .'override methods...' - add clone() .undo .redo .undo the plain text editor does not exhibit this mis-behavior you're left with garbage like (pressing undo/redo more times produces even more garbage): public class Dfg { r.clone(); //<<GARBAGE } //<<GARBAGE } | resolved fixed | e11a624 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:35:49Z | 2002-06-12T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | private void showOverviewRuler() {
AdaptedSourceViewer asv= (AdaptedSourceViewer) getSourceViewer();
asv.showOverviewRuler();
}
private void hideOverviewRuler() {
AdaptedSourceViewer asv= (AdaptedSourceViewer) getSourceViewer();
asv.hideOverviewRuler();
}
private boolean isOverviewRulerVisible() {
IPr... |
20,040 | Bug 20040 java editor: undo does not work correctly | 20020612 .create new class .'override methods...' - add clone() .undo .redo .undo the plain text editor does not exhibit this mis-behavior you're left with garbage like (pressing undo/redo more times produces even more garbage): public class Dfg { r.clone(); //<<GARBAGE } //<<GARBAGE } | resolved fixed | e11a624 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:35:49Z | 2002-06-12T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | if (fPropertyChangeListener != null) {
Preferences preferences= JavaCore.getPlugin().getPluginPreferences();
preferences.removePropertyChangeListener(fPropertyChangeListener);
fPropertyChangeListener= null;
}
if (fJavaEditorErrorTickUpdater != null) {
fJavaEditorErrorTickUpdater.dispose();
fJavaEd... |
20,040 | Bug 20040 java editor: undo does not work correctly | 20020612 .create new class .'override methods...' - add clone() .undo .redo .undo the plain text editor does not exhibit this mis-behavior you're left with garbage like (pressing undo/redo more times produces even more garbage): public class Dfg { r.clone(); //<<GARBAGE } //<<GARBAGE } | resolved fixed | e11a624 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:35:49Z | 2002-06-12T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | */
public void createPartControl(Composite parent) {
super.createPartControl(parent);
fPaintManager= new PaintManager(getSourceViewer());
if (isBracketHighlightingEnabled())
startBracketHighlighting();
if (isLineHighlightingEnabled())
startLineHighlighting();
if (isPrintMarginVisible())
showPrint... |
20,040 | Bug 20040 java editor: undo does not work correctly | 20020612 .create new class .'override methods...' - add clone() .undo .redo .undo the plain text editor does not exhibit this mis-behavior you're left with garbage like (pressing undo/redo more times produces even more garbage): public class Dfg { r.clone(); //<<GARBAGE } //<<GARBAGE } | resolved fixed | e11a624 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:35:49Z | 2002-06-12T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | String p= event.getProperty();
if (SPACES_FOR_TABS.equals(p)) {
if (isTabConversionEnabled())
startTabConversion();
else
stopTabConversion();
return;
}
if (MATCHING_BRACKETS.equals(p)) {
if (isBracketHighlightingEnabled())
startBracketHighlighting();
el... |
20,040 | Bug 20040 java editor: undo does not work correctly | 20020612 .create new class .'override methods...' - add clone() .undo .redo .undo the plain text editor does not exhibit this mis-behavior you're left with garbage like (pressing undo/redo more times produces even more garbage): public class Dfg { r.clone(); //<<GARBAGE } //<<GARBAGE } | resolved fixed | e11a624 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:35:49Z | 2002-06-12T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | }
if (CURRENT_LINE_COLOR.equals(p)) {
if (fLinePainter != null) {
stopLineHighlighting();
startLineHighlighting();
}
return;
}
if (PRINT_MARGIN.equals(p)) {
if (isPrintMarginVisible())
showPrintMargin();
else
hidePrintMargin();
return;
... |
20,040 | Bug 20040 java editor: undo does not work correctly | 20020612 .create new class .'override methods...' - add clone() .undo .redo .undo the plain text editor does not exhibit this mis-behavior you're left with garbage like (pressing undo/redo more times produces even more garbage): public class Dfg { r.clone(); //<<GARBAGE } //<<GARBAGE } | resolved fixed | e11a624 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:35:49Z | 2002-06-12T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | if (PROBLEM_INDICATION.equals(p)) {
if (isProblemIndicationEnabled())
startProblemIndication();
else
stopProblemIndication();
return;
}
if (PROBLEM_INDICATION_COLOR.equals(p)) {
if (fProblemPainter != null)
fProblemPainter.setHighlightColor(getColor(PROBLEM_INDICATION_... |
20,040 | Bug 20040 java editor: undo does not work correctly | 20020612 .create new class .'override methods...' - add clone() .undo .redo .undo the plain text editor does not exhibit this mis-behavior you're left with garbage like (pressing undo/redo more times produces even more garbage): public class Dfg { r.clone(); //<<GARBAGE } //<<GARBAGE } | resolved fixed | e11a624 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:35:49Z | 2002-06-12T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | }
/**
* Handles a property change event describing a change
* of the java core's preferences and updates the preference
* related editor properties.
*
* @param event the property change event
*/
protected void handlePreferencePropertyChanged(org.eclipse.core.runtime.Preferences.PropertyChangeEvent event)... |
20,040 | Bug 20040 java editor: undo does not work correctly | 20020612 .create new class .'override methods...' - add clone() .undo .redo .undo the plain text editor does not exhibit this mis-behavior you're left with garbage like (pressing undo/redo more times produces even more garbage): public class Dfg { r.clone(); //<<GARBAGE } //<<GARBAGE } | resolved fixed | e11a624 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:35:49Z | 2002-06-12T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | * @see JavaEditor#createJavaSourceViewer(Composite, IVerticalRuler, int)
*/
protected ISourceViewer createJavaSourceViewer(Composite parent, IVerticalRuler ruler, int styles) {
return new AdaptedSourceViewer(parent, ruler, styles);
}
/*
* @see JavaEditor#synchronizeOutlinePageSelection()
*/
public void sy... |
20,040 | Bug 20040 java editor: undo does not work correctly | 20020612 .create new class .'override methods...' - add clone() .undo .redo .undo the plain text editor does not exhibit this mis-behavior you're left with garbage like (pressing undo/redo more times produces even more garbage): public class Dfg { r.clone(); //<<GARBAGE } //<<GARBAGE } | resolved fixed | e11a624 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:35:49Z | 2002-06-12T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | private ISourceReference getSourceReference(IJavaElement element, int offset) {
if ( !(element instanceof ISourceReference))
return null;
if (element.getElementType() == IJavaElement.IMPORT_DECLARATION) {
IImportDeclaration declaration= (IImportDeclaration) element;
IImportContainer container= (I... |
20,040 | Bug 20040 java editor: undo does not work correctly | 20020612 .create new class .'override methods...' - add clone() .undo .redo .undo the plain text editor does not exhibit this mis-behavior you're left with garbage like (pressing undo/redo more times produces even more garbage): public class Dfg { r.clone(); //<<GARBAGE } //<<GARBAGE } | resolved fixed | e11a624 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:35:49Z | 2002-06-12T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | if (shell != null && !shell.isDisposed()) {
shell.getDisplay().asyncExec(new Runnable() {
public void run() {
synchronizeOutlinePageSelection();
}
});
}
}
}
protected void updateStateDependentActions() {
super.updateStateDependentActions();
fGenerateActionGroup.editorStateChanged();... |
20,040 | Bug 20040 java editor: undo does not work correctly | 20020612 .create new class .'override methods...' - add clone() .undo .redo .undo the plain text editor does not exhibit this mis-behavior you're left with garbage like (pressing undo/redo more times produces even more garbage): public class Dfg { r.clone(); //<<GARBAGE } //<<GARBAGE } | resolved fixed | e11a624 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:35:49Z | 2002-06-12T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | unit.reconcile();
}
IJavaElement[] findings= unit.findElements(element);
if (findings != null && findings.length > 0)
return findings[0];
} catch (JavaModelException x) {
JavaPlugin.getDefault().log(x.getStatus());
}
}
return null;
}
/**
* Returns the offset of the given... |
20,040 | Bug 20040 java editor: undo does not work correctly | 20020612 .create new class .'override methods...' - add clone() .undo .redo .undo the plain text editor does not exhibit this mis-behavior you're left with garbage like (pressing undo/redo more times produces even more garbage): public class Dfg { r.clone(); //<<GARBAGE } //<<GARBAGE } | resolved fixed | e11a624 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:35:49Z | 2002-06-12T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | /*
* @see AbstractTextEditor#rememberSelection()
*/
protected void rememberSelection() {
ISelectionProvider sp= getSelectionProvider();
fRememberedSelection= (sp == null ? null : (ITextSelection) sp.getSelection());
if (fRememberedSelection != null) {
fRememberedElement= getElementAt(fRememberedSelection.... |
20,040 | Bug 20040 java editor: undo does not work correctly | 20020612 .create new class .'override methods...' - add clone() .undo .redo .undo the plain text editor does not exhibit this mis-behavior you're left with garbage like (pressing undo/redo more times produces even more garbage): public class Dfg { r.clone(); //<<GARBAGE } //<<GARBAGE } | resolved fixed | e11a624 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:35:49Z | 2002-06-12T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | fRememberedElement= null;
fRememberedElementOffset= -1;
}
}
/*
* @see AbstractTextEditor#canHandleMove(IEditorInput, IEditorInput)
*/
protected boolean canHandleMove(IEditorInput originalElement, IEditorInput movedElement) {
String oldExtension= "";
if (originalElement instanceof IFileEditorInput)... |
20,181 | Bug 20181 TVT2: Mnemonic doesn't work in Java Editor prefs | Japanese TVT tester found a non-functional mnemonic in Preferences>Java>Editor on the Syntax tab. Pressing Alt+B doesn't activate the bold checkbox. Build F2 NL fragments generated on 6/11 Window>Preferences Select Java Select Editor Click on Syntax tab press Alt+B... checkbox does not work. | resolved fixed | 3304ed1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:49:38Z | 2002-06-13T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.preferences;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader; |
20,181 | Bug 20181 TVT2: Mnemonic doesn't work in Java Editor prefs | Japanese TVT tester found a non-functional mnemonic in Preferences>Java>Editor on the Syntax tab. Pressing Alt+B doesn't activate the bold checkbox. Build F2 NL fragments generated on 6/11 Window>Preferences Select Java Select Editor Click on Syntax tab press Alt+B... checkbox does not work. | resolved fixed | 3304ed1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:49:38Z | 2002-06-13T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.StyledText;
import org.eclipse.swt.events.ModifyEvent;
import org.eclipse.swt.events.ModifyListener;
import org.eclips... |
20,181 | Bug 20181 TVT2: Mnemonic doesn't work in Java Editor prefs | Japanese TVT tester found a non-functional mnemonic in Preferences>Java>Editor on the Syntax tab. Pressing Alt+B doesn't activate the bold checkbox. Build F2 NL fragments generated on 6/11 Window>Preferences Select Java Select Editor Click on Syntax tab press Alt+B... checkbox does not work. | resolved fixed | 3304ed1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:49:38Z | 2002-06-13T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | import org.eclipse.jface.resource.JFaceResources;
import org.eclipse.jface.text.Document;
import org.eclipse.jface.text.IDocument;
import org.eclipse.jface.text.IDocumentPartitioner;
import org.eclipse.jface.text.source.ISourceViewer;
import org.eclipse.jface.text.source.SourceViewer;
import org.eclipse.jface.util.IPro... |
20,181 | Bug 20181 TVT2: Mnemonic doesn't work in Java Editor prefs | Japanese TVT tester found a non-functional mnemonic in Preferences>Java>Editor on the Syntax tab. Pressing Alt+B doesn't activate the bold checkbox. Build F2 NL fragments generated on 6/11 Window>Preferences Select Java Select Editor Click on Syntax tab press Alt+B... checkbox does not work. | resolved fixed | 3304ed1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:49:38Z | 2002-06-13T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | public static final String BOLD= "_bold";
public static final String PREF_SHOW_TEMP_PROBLEMS= "JavaEditor.ShowTemporaryProblem";
public static final String PREF_SYNC_OUTLINE_ON_CURSOR_MOVE= "JavaEditor.SyncOutlineOnCursorMove";
public final OverlayPreferenceStore.OverlayKey[] fKeys= new OverlayPreferenceStore.Ove... |
20,181 | Bug 20181 TVT2: Mnemonic doesn't work in Java Editor prefs | Japanese TVT tester found a non-functional mnemonic in Preferences>Java>Editor on the Syntax tab. Pressing Alt+B doesn't activate the bold checkbox. Build F2 NL fragments generated on 6/11 Window>Preferences Select Java Select Editor Click on Syntax tab press Alt+B... checkbox does not work. | resolved fixed | 3304ed1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:49:38Z | 2002-06-13T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.STRING, IJavaColorConstants.JAVA_DEFAULT),
new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN, IJavaColorConstants.JAVA_DEFAULT + BOLD),
new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.STRING, IJavaColorConstants.JAVADOC_KEY... |
20,181 | Bug 20181 TVT2: Mnemonic doesn't work in Java Editor prefs | Japanese TVT tester found a non-functional mnemonic in Preferences>Java>Editor on the Syntax tab. Pressing Alt+B doesn't activate the bold checkbox. Build F2 NL fragments generated on 6/11 Window>Preferences Select Java Select Editor Click on Syntax tab press Alt+B... checkbox does not work. | resolved fixed | 3304ed1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:49:38Z | 2002-06-13T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN, JavaEditorPreferencePage.PREF_SHOW_TEMP_PROBLEMS),
new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN, JavaEditorPreferencePage.PREF_SYNC_OUTLINE_ON_CURSOR_MOVE),
new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.B... |
20,181 | Bug 20181 TVT2: Mnemonic doesn't work in Java Editor prefs | Japanese TVT tester found a non-functional mnemonic in Preferences>Java>Editor on the Syntax tab. Pressing Alt+B doesn't activate the bold checkbox. Build F2 NL fragments generated on 6/11 Window>Preferences Select Java Select Editor Click on Syntax tab press Alt+B... checkbox does not work. | resolved fixed | 3304ed1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:49:38Z | 2002-06-13T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | { JavaUIMessages.getString("JavaEditorPreferencePage.singleLineComment"), IJavaColorConstants.JAVA_SINGLE_LINE_COMMENT },
{ JavaUIMessages.getString("JavaEditorPreferencePage.keywords"), IJavaColorConstants.JAVA_KEYWORD },
{ JavaUIMessages.getString("JavaEditorPreferencePage.strings"), IJavaColorConstants.JAVA_ST... |
20,181 | Bug 20181 TVT2: Mnemonic doesn't work in Java Editor prefs | Japanese TVT tester found a non-functional mnemonic in Preferences>Java>Editor on the Syntax tab. Pressing Alt+B doesn't activate the bold checkbox. Build F2 NL fragments generated on 6/11 Window>Preferences Select Java Select Editor Click on Syntax tab press Alt+B... checkbox does not work. | resolved fixed | 3304ed1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:49:38Z | 2002-06-13T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | }
};
private Map fCheckBoxes= new HashMap();
private SelectionListener fCheckBoxListener= new SelectionListener() {
public void widgetDefaultSelected(SelectionEvent e) {
}
public void widgetSelected(SelectionEvent e) {
Button button= (Button) e.widget;
fOverlayStore.setValue((String) fCheckBoxes.get(bu... |
20,181 | Bug 20181 TVT2: Mnemonic doesn't work in Java Editor prefs | Japanese TVT tester found a non-functional mnemonic in Preferences>Java>Editor on the Syntax tab. Pressing Alt+B doesn't activate the bold checkbox. Build F2 NL fragments generated on 6/11 Window>Preferences Select Java Select Editor Click on Syntax tab press Alt+B... checkbox does not work. | resolved fixed | 3304ed1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:49:38Z | 2002-06-13T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | private ColorEditor fSyntaxForegroundColorEditor;
private ColorEditor fAppearanceForegroundColorEditor;
private ColorEditor fBackgroundColorEditor;
private Button fBackgroundDefaultRadioButton;
private Button fBackgroundCustomRadioButton;
private Button fBackgroundColorButton;
private Button fBoldCheckBox;
priva... |
20,181 | Bug 20181 TVT2: Mnemonic doesn't work in Java Editor prefs | Japanese TVT tester found a non-functional mnemonic in Preferences>Java>Editor on the Syntax tab. Pressing Alt+B doesn't activate the bold checkbox. Build F2 NL fragments generated on 6/11 Window>Preferences Select Java Select Editor Click on Syntax tab press Alt+B... checkbox does not work. | resolved fixed | 3304ed1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:49:38Z | 2002-06-13T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | rgbs[0]= c.getRGB();
c= display.getSystemColor(SWT.COLOR_LIST_FOREGROUND);
rgbs[1]= c.getRGB();
c= display.getSystemColor(SWT.COLOR_LIST_BACKGROUND);
rgbs[2]= c.getRGB();
}
});
/*
* Go on in whatever thread this is.
*/
store.setDefault(CompilationUnitEditor.MATCHING_BRACKETS, true... |
20,181 | Bug 20181 TVT2: Mnemonic doesn't work in Java Editor prefs | Japanese TVT tester found a non-functional mnemonic in Preferences>Java>Editor on the Syntax tab. Pressing Alt+B doesn't activate the bold checkbox. Build F2 NL fragments generated on 6/11 Window>Preferences Select Java Select Editor Click on Syntax tab press Alt+B... checkbox does not work. | resolved fixed | 3304ed1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:49:38Z | 2002-06-13T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | store.setDefault(CompilationUnitEditor.OVERVIEW_RULER, true);
store.setDefault(JavaEditor.LINE_NUMBER_RULER, false);
PreferenceConverter.setDefault(store, JavaEditor.LINE_NUMBER_COLOR, new RGB(0, 0, 0));
WorkbenchChainedTextFontFieldEditor.startPropagate(store, JFaceResources.TEXT_FONT);
PreferenceConvert... |
20,181 | Bug 20181 TVT2: Mnemonic doesn't work in Java Editor prefs | Japanese TVT tester found a non-functional mnemonic in Preferences>Java>Editor on the Syntax tab. Pressing Alt+B doesn't activate the bold checkbox. Build F2 NL fragments generated on 6/11 Window>Preferences Select Java Select Editor Click on Syntax tab press Alt+B... checkbox does not work. | resolved fixed | 3304ed1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:49:38Z | 2002-06-13T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | PreferenceConverter.setDefault(store, IJavaColorConstants.JAVA_DEFAULT, new RGB(0, 0, 0));
store.setDefault(IJavaColorConstants.JAVA_DEFAULT + "_bold", false);
PreferenceConverter.setDefault(store, IJavaColorConstants.JAVADOC_KEYWORD, new RGB(127, 159, 191));
store.setDefault(IJavaColorConstants.JAVADOC_KEYWORD ... |
20,181 | Bug 20181 TVT2: Mnemonic doesn't work in Java Editor prefs | Japanese TVT tester found a non-functional mnemonic in Preferences>Java>Editor on the Syntax tab. Pressing Alt+B doesn't activate the bold checkbox. Build F2 NL fragments generated on 6/11 Window>Preferences Select Java Select Editor Click on Syntax tab press Alt+B... checkbox does not work. | resolved fixed | 3304ed1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:49:38Z | 2002-06-13T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | }
/*
* @see IWorkbenchPreferencePage#init()
*/
public void init(IWorkbench workbench) {
}
/*
* @see PreferencePage#createControl(Composite)
*/
public void createControl(Composite parent) {
super.createControl(parent);
WorkbenchHelp.setHelp(getControl(), IJavaHelpContextIds.JAVA_EDITOR_PREFERENCE_PAGE)... |
20,181 | Bug 20181 TVT2: Mnemonic doesn't work in Java Editor prefs | Japanese TVT tester found a non-functional mnemonic in Preferences>Java>Editor on the Syntax tab. Pressing Alt+B doesn't activate the bold checkbox. Build F2 NL fragments generated on 6/11 Window>Preferences Select Java Select Editor Click on Syntax tab press Alt+B... checkbox does not work. | resolved fixed | 3304ed1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:49:38Z | 2002-06-13T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | colorComposite.setLayout(new GridLayout());
Group backgroundComposite= new Group(colorComposite, SWT.SHADOW_ETCHED_IN);
backgroundComposite.setLayout(new RowLayout());
backgroundComposite.setText(JavaUIMessages.getString("JavaEditorPreferencePage.backgroundColor"));
SelectionListener backgroundSelectionListen... |
20,181 | Bug 20181 TVT2: Mnemonic doesn't work in Java Editor prefs | Japanese TVT tester found a non-functional mnemonic in Preferences>Java>Editor on the Syntax tab. Pressing Alt+B doesn't activate the bold checkbox. Build F2 NL fragments generated on 6/11 Window>Preferences Select Java Select Editor Click on Syntax tab press Alt+B... checkbox does not work. | resolved fixed | 3304ed1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:49:38Z | 2002-06-13T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | GridData gd= new GridData(GridData.FILL_BOTH);
editorComposite.setLayoutData(gd);
fSyntaxColorList= new List(editorComposite, SWT.SINGLE | SWT.V_SCROLL | SWT.BORDER);
gd= new GridData(GridData.FILL_BOTH);
gd.heightHint= convertHeightInCharsToPixels(5);
fSyntaxColorList.setLayoutData(gd);
Composite ... |
20,181 | Bug 20181 TVT2: Mnemonic doesn't work in Java Editor prefs | Japanese TVT tester found a non-functional mnemonic in Preferences>Java>Editor on the Syntax tab. Pressing Alt+B doesn't activate the bold checkbox. Build F2 NL fragments generated on 6/11 Window>Preferences Select Java Select Editor Click on Syntax tab press Alt+B... checkbox does not work. | resolved fixed | 3304ed1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:49:38Z | 2002-06-13T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | fBoldCheckBox= new Button(stylesComposite, SWT.CHECK);
gd= new GridData(GridData.FILL_HORIZONTAL);
gd.horizontalAlignment= GridData.BEGINNING;
fBoldCheckBox.setLayoutData(gd);
label= new Label(colorComposite, SWT.LEFT);
label.setText(JavaUIMessages.getString("JavaEditorPreferencePage.preview"));
label.s... |
20,181 | Bug 20181 TVT2: Mnemonic doesn't work in Java Editor prefs | Japanese TVT tester found a non-functional mnemonic in Preferences>Java>Editor on the Syntax tab. Pressing Alt+B doesn't activate the bold checkbox. Build F2 NL fragments generated on 6/11 Window>Preferences Select Java Select Editor Click on Syntax tab press Alt+B... checkbox does not work. | resolved fixed | 3304ed1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:49:38Z | 2002-06-13T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | int i= fSyntaxColorList.getSelectionIndex();
String key= fSyntaxColorListModel[i][1];
PreferenceConverter.setValue(fOverlayStore, key, fSyntaxForegroundColorEditor.getColorValue());
}
});
fBackgroundColorButton.addSelectionListener(new SelectionListener() {
public void widgetDefaultSelected(Selec... |
20,181 | Bug 20181 TVT2: Mnemonic doesn't work in Java Editor prefs | Japanese TVT tester found a non-functional mnemonic in Preferences>Java>Editor on the Syntax tab. Pressing Alt+B doesn't activate the bold checkbox. Build F2 NL fragments generated on 6/11 Window>Preferences Select Java Select Editor Click on Syntax tab press Alt+B... checkbox does not work. | resolved fixed | 3304ed1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:49:38Z | 2002-06-13T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | fJavaTextTools= new JavaTextTools(fOverlayStore);
fPreviewViewer= new SourceViewer(parent, null, SWT.V_SCROLL | SWT.H_SCROLL | SWT.BORDER);
fPreviewViewer.configure(new JavaSourceViewerConfiguration(fJavaTextTools, null));
fPreviewViewer.getTextWidget().setFont(JFaceResources.getFontRegistry().get(JFaceResourc... |
20,181 | Bug 20181 TVT2: Mnemonic doesn't work in Java Editor prefs | Japanese TVT tester found a non-functional mnemonic in Preferences>Java>Editor on the Syntax tab. Pressing Alt+B doesn't activate the bold checkbox. Build F2 NL fragments generated on 6/11 Window>Preferences Select Java Select Editor Click on Syntax tab press Alt+B... checkbox does not work. | resolved fixed | 3304ed1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:49:38Z | 2002-06-13T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | return fPreviewViewer.getControl();
}
/**
* Initializes the given viewer's colors.
*
* @param viewer the viewer to be initialized
*/
private void initializeViewerColors(ISourceViewer viewer) {
IPreferenceStore store= fOverlayStore;
if (store != null) {
StyledText styledText= viewer.getTextWi... |
20,181 | Bug 20181 TVT2: Mnemonic doesn't work in Java Editor prefs | Japanese TVT tester found a non-functional mnemonic in Preferences>Java>Editor on the Syntax tab. Pressing Alt+B doesn't activate the bold checkbox. Build F2 NL fragments generated on 6/11 Window>Preferences Select Java Select Editor Click on Syntax tab press Alt+B... checkbox does not work. | resolved fixed | 3304ed1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:49:38Z | 2002-06-13T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | */
private Color createColor(IPreferenceStore store, String key, Display display) {
RGB rgb= null;
if (store.contains(key)) {
if (store.isDefault(key))
rgb= PreferenceConverter.getDefaultColor(store, key);
else
rgb= PreferenceConverter.getColor(store, key);
if (rgb != null)
retur... |
20,181 | Bug 20181 TVT2: Mnemonic doesn't work in Java Editor prefs | Japanese TVT tester found a non-functional mnemonic in Preferences>Java>Editor on the Syntax tab. Pressing Alt+B doesn't activate the bold checkbox. Build F2 NL fragments generated on 6/11 Window>Preferences Select Java Select Editor Click on Syntax tab press Alt+B... checkbox does not work. | resolved fixed | 3304ed1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:49:38Z | 2002-06-13T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | Composite behaviorComposite= new Composite(parent, SWT.NONE);
GridLayout layout= new GridLayout(); layout.numColumns= 2;
behaviorComposite.setLayout(layout);
String label= JavaUIMessages.getString("JavaEditorPreferencePage.textFont");
addTextFontEditor(behaviorComposite, label, AbstractTextEditor.PREFERENCE_FO... |
20,181 | Bug 20181 TVT2: Mnemonic doesn't work in Java Editor prefs | Japanese TVT tester found a non-functional mnemonic in Preferences>Java>Editor on the Syntax tab. Pressing Alt+B doesn't activate the bold checkbox. Build F2 NL fragments generated on 6/11 Window>Preferences Select Java Select Editor Click on Syntax tab press Alt+B... checkbox does not work. | resolved fixed | 3304ed1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:49:38Z | 2002-06-13T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | GridData gd= new GridData(GridData.HORIZONTAL_ALIGN_FILL);
gd.horizontalSpan= 2;
gd.heightHint= convertHeightInCharsToPixels(1) / 2;
l.setLayoutData(gd);
l= new Label(behaviorComposite, SWT.LEFT);
l.setText(JavaUIMessages.getString("JavaEditorPreferencePage.appearanceOptions"));
gd= new GridData(GridDat... |
20,181 | Bug 20181 TVT2: Mnemonic doesn't work in Java Editor prefs | Japanese TVT tester found a non-functional mnemonic in Preferences>Java>Editor on the Syntax tab. Pressing Alt+B doesn't activate the bold checkbox. Build F2 NL fragments generated on 6/11 Window>Preferences Select Java Select Editor Click on Syntax tab press Alt+B... checkbox does not work. | resolved fixed | 3304ed1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:49:38Z | 2002-06-13T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | stylesComposite.setLayoutData(new GridData(GridData.FILL_BOTH));
l= new Label(stylesComposite, SWT.LEFT);
l.setText(JavaUIMessages.getString("JavaEditorPreferencePage.color"));
gd= new GridData();
gd.horizontalAlignment= GridData.BEGINNING;
l.setLayoutData(gd);
fAppearanceForegroundColorEditor= new Colo... |
20,181 | Bug 20181 TVT2: Mnemonic doesn't work in Java Editor prefs | Japanese TVT tester found a non-functional mnemonic in Preferences>Java>Editor on the Syntax tab. Pressing Alt+B doesn't activate the bold checkbox. Build F2 NL fragments generated on 6/11 Window>Preferences Select Java Select Editor Click on Syntax tab press Alt+B... checkbox does not work. | resolved fixed | 3304ed1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:49:38Z | 2002-06-13T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | });
return behaviorComposite;
}
private Control createProblemIndicationPage(Composite parent) {
Composite composite= new Composite(parent, SWT.NULL);
GridLayout layout= new GridLayout(); layout.numColumns= 2;
composite.setLayout(layout);
String label= JavaUIMessages.getString("JavaEditorPreferencePag... |
20,181 | Bug 20181 TVT2: Mnemonic doesn't work in Java Editor prefs | Japanese TVT tester found a non-functional mnemonic in Preferences>Java>Editor on the Syntax tab. Pressing Alt+B doesn't activate the bold checkbox. Build F2 NL fragments generated on 6/11 Window>Preferences Select Java Select Editor Click on Syntax tab press Alt+B... checkbox does not work. | resolved fixed | 3304ed1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:49:38Z | 2002-06-13T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | label= JavaUIMessages.getString("JavaEditorPreferencePage.showOnlyProposalsVisibleInTheInvocationContext");
addCheckBox(contentAssistComposite, label, ContentAssistPreference.SHOW_VISIBLE_PROPOSALS, 0);
label= JavaUIMessages.getString("JavaEditorPreferencePage.presentProposalsInAlphabeticalOrder");
addCheckB... |
20,181 | Bug 20181 TVT2: Mnemonic doesn't work in Java Editor prefs | Japanese TVT tester found a non-functional mnemonic in Preferences>Java>Editor on the Syntax tab. Pressing Alt+B doesn't activate the bold checkbox. Build F2 NL fragments generated on 6/11 Window>Preferences Select Java Select Editor Click on Syntax tab press Alt+B... checkbox does not work. | resolved fixed | 3304ed1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:49:38Z | 2002-06-13T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | addColorButton(contentAssistComposite, label, ContentAssistPreference.PARAMETERS_BACKGROUND, 0);
label= JavaUIMessages.getString("JavaEditorPreferencePage.foregroundForMethodParameters");
addColorButton(contentAssistComposite, label, ContentAssistPreference.PARAMETERS_FOREGROUND, 0);
autoactivation.addSele... |
20,181 | Bug 20181 TVT2: Mnemonic doesn't work in Java Editor prefs | Japanese TVT tester found a non-functional mnemonic in Preferences>Java>Editor on the Syntax tab. Pressing Alt+B doesn't activate the bold checkbox. Build F2 NL fragments generated on 6/11 Window>Preferences Select Java Select Editor Click on Syntax tab press Alt+B... checkbox does not work. | resolved fixed | 3304ed1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:49:38Z | 2002-06-13T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | item.setControl(createSyntaxPage(folder));
item= new TabItem(folder, SWT.NONE);
item.setText(JavaUIMessages.getString("JavaEditorPreferencePage.codeAssist"));
item.setControl(createContentAssistPage(folder));
item= new TabItem(folder, SWT.NONE);
item.setText(JavaUIMessages.getString("JavaEditorPreferenceP... |
20,181 | Bug 20181 TVT2: Mnemonic doesn't work in Java Editor prefs | Japanese TVT tester found a non-functional mnemonic in Preferences>Java>Editor on the Syntax tab. Pressing Alt+B doesn't activate the bold checkbox. Build F2 NL fragments generated on 6/11 Window>Preferences Select Java Select Editor Click on Syntax tab press Alt+B... checkbox does not work. | resolved fixed | 3304ed1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:49:38Z | 2002-06-13T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | });
for (int i= 0; i < fAppearanceColorListModel.length; i++)
fAppearanceColorList.add(fAppearanceColorListModel[i][0]);
fAppearanceColorList.getDisplay().asyncExec(new Runnable() {
public void run() {
fAppearanceColorList.select(0);
handleAppearanceColorListSelection();
}
});
}
pri... |
20,181 | Bug 20181 TVT2: Mnemonic doesn't work in Java Editor prefs | Japanese TVT tester found a non-functional mnemonic in Preferences>Java>Editor on the Syntax tab. Pressing Alt+B doesn't activate the bold checkbox. Build F2 NL fragments generated on 6/11 Window>Preferences Select Java Select Editor Click on Syntax tab press Alt+B... checkbox does not work. | resolved fixed | 3304ed1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:49:38Z | 2002-06-13T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | e= fTextFields.keySet().iterator();
while (e.hasNext()) {
Text t= (Text) e.next();
String key= (String) fTextFields.get(t);
t.setText(fOverlayStore.getString(key));
}
RGB rgb= PreferenceConverter.getColor(fOverlayStore, AbstractTextEditor.PREFERENCE_COLOR_BACKGROUND);
fBackgroundColorEditor.setColor... |
20,181 | Bug 20181 TVT2: Mnemonic doesn't work in Java Editor prefs | Japanese TVT tester found a non-functional mnemonic in Preferences>Java>Editor on the Syntax tab. Pressing Alt+B doesn't activate the bold checkbox. Build F2 NL fragments generated on 6/11 Window>Preferences Select Java Select Editor Click on Syntax tab press Alt+B... checkbox does not work. | resolved fixed | 3304ed1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:49:38Z | 2002-06-13T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | fOverlayStore.propagate();
JavaPlugin.getDefault().savePluginPreferences();
return true;
}
/*
* @see PreferencePage#performDefaults()
*/
protected void performDefaults() {
fFontEditor.loadDefault();
fOverlayStore.loadDefaults();
initializeFields();
handleSyntaxColorListSelection();
handleAp... |
20,181 | Bug 20181 TVT2: Mnemonic doesn't work in Java Editor prefs | Japanese TVT tester found a non-functional mnemonic in Preferences>Java>Editor on the Syntax tab. Pressing Alt+B doesn't activate the bold checkbox. Build F2 NL fragments generated on 6/11 Window>Preferences Select Java Select Editor Click on Syntax tab press Alt+B... checkbox does not work. | resolved fixed | 3304ed1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:49:38Z | 2002-06-13T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | fFontEditor.setPreferencePage(null);
fFontEditor.setPreferenceStore(null);
if (fOverlayStore != null) {
fOverlayStore.stop();
fOverlayStore= null;
}
super.dispose();
}
private Control addColorButton(Composite composite, String label, String key, int indentation) {
Label labelControl= new Label... |
20,181 | Bug 20181 TVT2: Mnemonic doesn't work in Java Editor prefs | Japanese TVT tester found a non-functional mnemonic in Preferences>Java>Editor on the Syntax tab. Pressing Alt+B doesn't activate the bold checkbox. Build F2 NL fragments generated on 6/11 Window>Preferences Select Java Select Editor Click on Syntax tab press Alt+B... checkbox does not work. | resolved fixed | 3304ed1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:49:38Z | 2002-06-13T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | }
private Button addCheckBox(Composite parent, String label, String key, int indentation) {
Button checkBox= new Button(parent, SWT.CHECK);
checkBox.setText(label);
GridData gd= new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING);
gd.horizontalIndent= indentation;
gd.horizontalSpan= 2;
checkBox.setLay... |
20,181 | Bug 20181 TVT2: Mnemonic doesn't work in Java Editor prefs | Japanese TVT tester found a non-functional mnemonic in Preferences>Java>Editor on the Syntax tab. Pressing Alt+B doesn't activate the bold checkbox. Build F2 NL fragments generated on 6/11 Window>Preferences Select Java Select Editor Click on Syntax tab press Alt+B... checkbox does not work. | resolved fixed | 3304ed1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:49:38Z | 2002-06-13T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | fTextFields.put(textControl, key);
if (isNumber) {
fNumberFields.add(textControl);
textControl.addModifyListener(fNumberFieldListener);
} else {
textControl.addModifyListener(fTextFieldListener);
}
return textControl;
}
private void addTextFontEditor(Composite parent, String label, String key) ... |
20,181 | Bug 20181 TVT2: Mnemonic doesn't work in Java Editor prefs | Japanese TVT tester found a non-functional mnemonic in Preferences>Java>Editor on the Syntax tab. Pressing Alt+B doesn't activate the bold checkbox. Build F2 NL fragments generated on 6/11 Window>Preferences Select Java Select Editor Click on Syntax tab press Alt+B... checkbox does not work. | resolved fixed | 3304ed1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:49:38Z | 2002-06-13T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | try {
reader= new BufferedReader(new InputStreamReader(getClass().getResourceAsStream(filename)));
while ((line= reader.readLine()) != null) {
buffer.append(line);
buffer.append(separator);
}
} catch (IOException io) {
JavaPlugin.log(io);
} finally {
if (reader != null) {
try { reader.clo... |
20,181 | Bug 20181 TVT2: Mnemonic doesn't work in Java Editor prefs | Japanese TVT tester found a non-functional mnemonic in Preferences>Java>Editor on the Syntax tab. Pressing Alt+B doesn't activate the bold checkbox. Build F2 NL fragments generated on 6/11 Window>Preferences Select Java Select Editor Click on Syntax tab press Alt+B... checkbox does not work. | resolved fixed | 3304ed1 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-18T18:49:38Z | 2002-06-13T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | int value= Integer.parseInt(number);
if (value < 0)
status.setError(JavaUIMessages.getFormattedString("JavaEditorPreferencePage.invalid_input", number));
} catch (NumberFormatException e) {
status.setError(JavaUIMessages.getFormattedString("JavaEditorPreferencePage.invalid_input", number));
}
}
... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.junit.ui;
import java.net.MalformedURLException;
import java.text.NumberFormat;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.Map;
import java.util.Vector;
import org.eclipse.core.runtime.Co... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java | import org.eclipse.swt.widgets.ProgressBar;
import org.eclipse.swt.widgets.ToolBar;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.action.IStatusLineManager;
import org.eclipse.jface.action.IToolBarManager;
import org.eclipse.jface.action.ToolBarManager;
import org.eclipse.jface.dialogs.ErrorDialog;
i... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java | import org.eclipse.jdt.core.IType;
import org.eclipse.jdt.core.JavaCore;
import org.eclipse.jdt.internal.junit.runner.ITestRunListener;
/**
* A ViewPart that shows the results of a test run.
*/
public class TestRunnerViewPart extends ViewPart implements ITestRunListener, IPropertyChangeListener {
public static final... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java | * The first failure of a test run. Used to reveal the
* first failed tests at the end of a run.
*/
private TestRunInfo fFirstFailure;
private ProgressBar fProgressBar;
private ProgressImages fProgressImages;
private Image fViewImage;
private CounterPanel fCounterPanel;
private boolean fShowOnErrorOnly= false;... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java | * The launcher that has started the test
*/
private String fLaunchMode;
private ILaunch fLastLaunch= null;
/**
* The client side of the remote test runner
*/
private RemoteTestRunnerClient fTestRunnerClient;
final Image fStackViewIcon= TestRunnerViewPart.createImage("cview16/stackframe.gif");
final Image fT... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java | public RerunAction() {
setText(JUnitMessages.getString("TestRunnerViewPart.rerunaction.label"));
setToolTipText(JUnitMessages.getString("TestRunnerViewPart.rerunaction.tooltip"));
setDisabledImageDescriptor(JUnitPlugin.getImageDescriptor("dlcl16/relaunch.gif"));
setHoverImageDescriptor(JUnitPlugin.getIma... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java | case IJavaElement.JAVA_MODEL:
case IJavaElement.JAVA_PROJECT:
case IJavaElement.PACKAGE_FRAGMENT_ROOT:
case IJavaElement.PACKAGE_FRAGMENT:
if (kind != IJavaElementDelta.CHANGED || details != IJavaElementDelta.F_CHILDREN) {
codeHasChanged();
return false;
}
break;
case IJ... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java | if (affectedChildren == null)
return true;
for (int i= 0; i < affectedChildren.length; i++) {
if (!processDelta(affectedChildren[i]))
return false;
}
return true;
}
}
/**
* Stops the currently running test and shuts down the RemoteTestRunner
*/
public void stopTest() {
if (fTestR... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java | }
}
/*
* @see ITestRunListener#testRunStarted(testCount)
*/
public void testRunStarted(final int testCount){
reset(testCount);
fShowOnErrorOnly= JUnitPreferencePage.getShowOnErrorOnly();
fExecutedTests++;
}
/*
* @see ITestRunListener#testRunEnded
*/
public void testRunEnded(long elapsedTime){
fExe... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java | }
});
}
private void updateViewIcon() {
if (fErrors+fFailures > 0)
fViewImage= fTestRunFailIcon;
else
fViewImage= fTestRunOKIcon;
firePropertyChange(IWorkbenchPart.PROP_TITLE);
}
private String elapsedTimeAsString(long runTime) {
return NumberFormat.getInstance().format((double)runTime/1000);
}... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java | }
/*
* @see ITestRunListener#testRunTerminated
*/
public void testRunTerminated() {
String msg= JUnitMessages.getString("TestRunnerViewPart.message.terminated");
showMessage(msg);
}
private void showMessage(String msg) {
showInformation(msg);
postError(msg);
}
/*
* @see ITestRunListener#testStarted... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java | fExecutedTests++;
}
/*
* @see ITestRunListener#testFailed
*/
public void testFailed(int status, String testName, String trace){
TestRunInfo testInfo= getTestInfo(testName);
if (testInfo == null) {
testInfo= new TestRunInfo(testName);
fTestInfos.put(testName, testInfo);
}
testInfo.fTrace= trace;
t... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java | } else if (status == ITestRunListener.STATUS_FAILURE) {
String msg= JUnitMessages.getFormattedString("TestRunnerViewPart.message.failure", new String[]{testName, className});
postError(msg);
} else {
String msg= JUnitMessages.getFormattedString("TestRunnerViewPart.message.success", new String[]{testName, cl... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java | } else if (info.fStatus == ITestRunListener.STATUS_FAILURE) {
if (status == ITestRunListener.STATUS_OK)
fFailures--;
else if (status == ITestRunListener.STATUS_ERROR) {
fFailures--;
fErrors++;
}
}
info.fStatus= status;
final TestRunInfo finalInfo= info;
postAsyncRunnable(new Runnable()... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java | ITestRunView v= (ITestRunView) e.nextElement();
v.newTreeEntry(treeEntry);
}
}
});
}
public void startTestRunListening(IType type, int port, ILaunch launch) {
fTestType= type;
fLaunchMode= launch.getLaunchMode();
aboutToLaunch();
if (fTestRunnerClient != null) {
stopTest();
}
fTestRun... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java | fTestRunnerClient.rerunTest(className, testName);
else {
MessageDialog.openInformation(getSite().getShell(),
JUnitMessages.getString("TestRunnerViewPart.cannotrerun.title"),
JUnitMessages.getString("TestRunnerViewPart.cannotrerurn.message")
);
}
}
public synchronized void dispose(){
fIsDispo... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java | private void postSyncRunnable(Runnable r) {
if (!isDisposed())
getDisplay().syncExec(r);
}
private void postAsyncRunnable(Runnable r) {
if (!isDisposed())
getDisplay().asyncExec(r);
}
private void aboutToStart() {
postSyncRunnable(new Runnable() {
public void run() {
if (!isDisposed()) {
for... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java | }
});
}
private void handleEndTest() {
refreshCounters();
updateProgressColor(fFailures+fErrors);
fProgressBar.setSelection(fProgressBar.getSelection() + 1);
if (fShowOnErrorOnly) {
Image progress= fProgressImages.getImage(fExecutedTests, fTestCount, fErrors, fFailures);
if (progress != fViewImage) {... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java | if (isDisposed())
return;
showTestResultsView();
}
});
}
public void showTestResultsView() {
IWorkbenchWindow window= getSite().getWorkbenchWindow();
IWorkbenchPage page= window.getActivePage();
TestRunnerViewPart testRunner= null;
if (page != null) {
try {
testRunner= (TestRunnerVie... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java | if (isDisposed())
return;
getStatusLine().setErrorMessage(null);
getStatusLine().setMessage(message);
}
});
}
protected void postError(final String message) {
postAsyncRunnable(new Runnable() {
public void run() {
if (isDisposed())
return;
getStatusLine().setMessage(null);
ge... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java | ITestRunView testHierarchyRunView= new HierarchyRunView(tabFolder, this);
fTestRunViews.addElement(failureRunView);
fTestRunViews.addElement(testHierarchyRunView);
tabFolder.setSelection(0);
fActiveRunView= (ITestRunView)fTestRunViews.firstElement();
tabFolder.addSelectionListener(new Selecti... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java | top.setContent(tabFolder);
ViewForm bottom= new ViewForm(sashForm, SWT.NONE);
ToolBar failureToolBar= new ToolBar(bottom, SWT.FLAT | SWT.WRAP);
bottom.setTopCenter(failureToolBar);
fFailureView= new FailureTraceView(bottom, this);
bottom.setContent(fFailureView.getComposite());
CLabel label= new CLab... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java | }
});
fExecutedTests= 0;
fFailures= 0;
fErrors= 0;
fTestCount= testCount;
aboutToStart();
fTestInfos.clear();
fFirstFailure= null;
}
private void clearStatus() {
getStatusLine().setMessage(null);
getStatusLine().setErrorMessage(null);
}
public void setFocus() {
if (fActiveRunView != null... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java | SashForm sashForm= createSashForm(parent);
sashForm.setLayoutData(new GridData(GridData.FILL_BOTH));
actionBars.setGlobalActionHandler(
IWorkbenchActionConstants.COPY,
new CopyTraceAction(fFailureView));
JUnitPlugin.getDefault().getPreferenceStore().addPropertyChangeListener(this);
fOriginalViewImage= get... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java | return getViewSite().getActionBars().getStatusLineManager();
}
private Composite createProgressCountPanel(Composite parent) {
Composite composite= new Composite(parent, SWT.NONE);
composite.setLayout(new GridLayout());
fProgressBar = new ProgressBar(composite, SWT.HORIZONTAL);
fProgressBar.setLayoutData(
n... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java | });
}
public IJavaProject getLaunchedProject() {
return fTestType.getJavaProject();
}
protected static Image createImage(String path) {
try {
ImageDescriptor id= ImageDescriptor.createFromURL(JUnitPlugin.makeIconFileURL(path));
return id.createImage();
} catch (MalformedURLException e) {
}
r... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java | }
public void propertyChange(PropertyChangeEvent event) {
if (isDisposed())
return;
if (event.getProperty() == JUnitPreferencePage.SHOW_ON_ERROR_ONLY) {
if (!JUnitPreferencePage.getShowOnErrorOnly()) {
fViewImage= fOriginalViewImage;
firePropertyChange(IWorkbenchPart.PROP_TITLE);
}
}
}
void co... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | /*******************************************************************************
* Copyright (c) 2000, 2002 International Business Machines Corp. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v0.5
* which accompanie... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | import org.eclipse.swt.events.KeyEvent;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Menu;
import org.eclipse.swt.widgets.ScrollBar;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Tree;
import org.eclipse.jface.action.IMenuListene... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | import org.eclipse.ui.IActionBars;
import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.IEditorPart;
import org.eclipse.ui.IFileEditorInput;
import org.eclipse.ui.IMemento;
import org.eclipse.ui.IPartListener;
import org.eclipse.ui.IViewPart;
import org.eclipse.ui.IViewSite;
import org.eclipse.ui.IWorkbenchPage;
i... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | import org.eclipse.jdt.internal.ui.IJavaHelpContextIds;
import org.eclipse.jdt.internal.ui.JavaPlugin;
import org.eclipse.jdt.internal.ui.dnd.DelegatingDragAdapter;
import org.eclipse.jdt.internal.ui.dnd.DelegatingDropAdapter;
import org.eclipse.jdt.internal.ui.dnd.LocalSelectionTransfer;
import org.eclipse.jdt.interna... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | static final String TAG_SELECTION= "selection";
static final String TAG_EXPANDED= "expanded";
static final String TAG_ELEMENT= "element";
static final String TAG_PATH= "path";
static final String TAG_VERTICAL_POSITION= "verticalPosition";
static final String TAG_HORIZONTAL_POSITION= "horizontalPosition";
st... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | }
public void partOpened(IWorkbenchPart part) {
}
};
private ITreeViewerListener fExpansionListener= new ITreeViewerListener() {
public void treeCollapsed(TreeExpansionEvent event) {
}
public void treeExpanded(TreeExpansionEvent event) {
Object element= event.getElement();
if (element instanceof ... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | public static void initDefaults(IPreferenceStore store) {
store.setDefault(TAG_SHOWLIBRARIES, true);
store.setDefault(TAG_SHOWBINARIES, true);
}
/**
* Returns the package explorer part of the active perspective. If
* there isn't any package explorer part <code>null</code> is returned.
*/
public static Pac... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | fContextMenu.dispose();
getSite().getPage().removePartListener(fPartListener);
JavaPlugin.getDefault().getPreferenceStore().removePropertyChangeListener(this);
if (fViewer != null)
fViewer.removeTreeListener(fExpansionListener);
if (fActionSet != null)
fActionSet.dispose();
super.dispose();
}
/**... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | labelProvider, PlatformUI.getWorkbench().getDecoratorManager().getLabelDecorator())
);
fViewer.setSorter(new JavaElementSorter());
fViewer.setUseHashlookup(true);
MenuManager menuMgr= new MenuManager("#PopupMenu");
menuMgr.setRemoveAllWhenShown(true);
menuMgr.addMenuListener(this);
fContextMenu= menuMgr.... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | fViewer.addDoubleClickListener(new IDoubleClickListener() {
public void doubleClick(DoubleClickEvent event) {
fActionSet.handleDoubleClick(event);
}
});
fViewer.addOpenListener(new IOpenListener() {
public void open(OpenEvent event) {
fActionSet.handleOpen(event);
}
});
IStatusLineManager... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | private Object findInputElement() {
Object input= getSite().getPage().getInput();
if (input instanceof IWorkspace) {
return JavaCore.create(((IWorkspace)input).getRoot());
} else if (input instanceof IContainer) {
return JavaCore.create((IContainer)input);
}
return JavaCore.create(JavaPlugin.g... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | if (path.isRoot()) {
result= PackagesMessages.getString("PackageExplorer.title");
} else {
result= path.makeRelative().toString();
}
}
if (fWorkingSetName == null)
return result;
String wsstr= PackagesMessages.getFormattedString("PackageExplorer.toolTip", new String[] { fWorkingSetName });
... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | */
private Shell getShell() {
return fViewer.getTree().getShell();
}
/**
* Returns the selection provider.
*/
private ISelectionProvider getSelectionProvider() {
return fViewer;
}
/**
* Returns the current selection.
*/
private ISelection getSelection() {
return fViewer.getSelection();
}
... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | }
private void makeActions() {
fActionSet= new PackageExplorerActionGroup(this);
}
private boolean isSelectionOfType(ISelection s, Class clazz, boolean considerUnderlyingResource) {
if (! (s instanceof IStructuredSelection) || s.isEmpty())
return false;
IStructuredSelection selection= (IStructuredSelec... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | int ops= DND.DROP_COPY | DND.DROP_MOVE | DND.DROP_LINK;
Transfer[] transfers= new Transfer[] {
LocalSelectionTransfer.getInstance(),
ResourceTransfer.getInstance(),
FileTransfer.getInstance()};
TransferDropTargetListener[] dropListeners= new TransferDropTargetListener[] {
new SelectionTransferDro... |
20,595 | Bug 20595 Preference listeners should use equals, not == | null | resolved fixed | 76d5255 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-19T09:50:16Z | 2002-06-18T19:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | }
super.dragStart(event);
}
});
}
/**
* Handles selection changed in viewer.
* Updates global actions.
* Links to editor (if option enabled)
*/
private void handleSelectionChanged(SelectionChangedEvent event) {
IStructuredSelection selection= (IStructuredSelection) event.getSelection();
fActionS... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.