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
15,527
Bug 15527 JavaCore constants should be used is favor of hard-coded strings
the following classes should use constants defined in JavaCode rather than hard-coded strings StubUtility CodeFormatterUtil CompilationUnitEditor JavaCodeScanner JavaCompiletionProcessor
resolved fixed
30f40b6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-11T23:08:37Z
2002-05-08T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
return fragment; } } } catch (JavaModelException x) { } } } return null; } else if (path.segmentCount() > 1) { IFolder folder= root.getFolder(path); IJavaElement element= JavaCore.create(folder); if (element instanceof IPackageFragment) return (IPackageF...
15,527
Bug 15527 JavaCore constants should be used is favor of hard-coded strings
the following classes should use constants defined in JavaCode rather than hard-coded strings StubUtility CodeFormatterUtil CompilationUnitEditor JavaCodeScanner JavaCompiletionProcessor
resolved fixed
30f40b6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-11T23:08:37Z
2002-05-08T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
SaveAsDialog dialog= new SaveAsDialog(shell); IEditorInput input = getEditorInput(); IFile original= null; if (input instanceof IFileEditorInput) original= ((IFileEditorInput) input).getFile(); if (original != null) dialog.setOriginalFile(original); if (dialog.open() == Dialog.CANCEL) { if...
15,527
Bug 15527 JavaCore constants should be used is favor of hard-coded strings
the following classes should use constants defined in JavaCode rather than hard-coded strings StubUtility CodeFormatterUtil CompilationUnitEditor JavaCodeScanner JavaCompiletionProcessor
resolved fixed
30f40b6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-11T23:08:37Z
2002-05-08T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
return; } IWorkspaceRoot root= ResourcesPlugin.getWorkspace().getRoot(); /* * 1GF7WG9: ITPJUI:ALL - EXCEPTION: "Save As..." always fails */ final IPackageFragment fragment= getPackage(root, folderPath); IFile file= root.getFile(filePath); /* * Fix for http://dev.eclipse.org/bugs/show_bug.c...
15,527
Bug 15527 JavaCore constants should be used is favor of hard-coded strings
the following classes should use constants defined in JavaCode rather than hard-coded strings StubUtility CodeFormatterUtil CompilationUnitEditor JavaCodeScanner JavaCompiletionProcessor
resolved fixed
30f40b6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-11T23:08:37Z
2002-05-08T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
IWorkingCopyManager manager= JavaPlugin.getDefault().getWorkingCopyManager(); ICompilationUnit unit= manager.getWorkingCopy(getEditorInput()); /* * 1GJXY0L: ITPJUI:WINNT - NPE during save As in Java editor * Introduced null check, just go on in the null case */ if (unit != null) {...
15,527
Bug 15527 JavaCore constants should be used is favor of hard-coded strings
the following classes should use constants defined in JavaCode rather than hard-coded strings StubUtility CodeFormatterUtil CompilationUnitEditor JavaCodeScanner JavaCompiletionProcessor
resolved fixed
30f40b6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-11T23:08:37Z
2002-05-08T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
boolean success= false; try { if (fragment == null) getDocumentProvider().aboutToChange(newInput); new ProgressMonitorDialog(shell).run(false, true, op); setInput(newInput); success= true; } catch (InterruptedException x) { } catch (InvocationTargetException x) { /* * 1GF5Y...
15,527
Bug 15527 JavaCore constants should be used is favor of hard-coded strings
the following classes should use constants defined in JavaCode rather than hard-coded strings StubUtility CodeFormatterUtil CompilationUnitEditor JavaCodeScanner JavaCompiletionProcessor
resolved fixed
30f40b6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-11T23:08:37Z
2002-05-08T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
if (progressMonitor != null) progressMonitor.setCanceled(!success); } } /* * @see AbstractTextEditor#doSetInput(IEditorInput) */ protected void doSetInput(IEditorInput input) throws CoreException { super.doSetInput(input); fJavaEditorErrorTickUpdater.setAnnotationModel(getDocumentProvider().getAnnota...
15,527
Bug 15527 JavaCore constants should be used is favor of hard-coded strings
the following classes should use constants defined in JavaCode rather than hard-coded strings StubUtility CodeFormatterUtil CompilationUnitEditor JavaCodeScanner JavaCompiletionProcessor
resolved fixed
30f40b6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-11T23:08:37Z
2002-05-08T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
} private boolean isBracketHighlightingEnabled() { IPreferenceStore store= getPreferenceStore(); return store.getBoolean(MATCHING_BRACKETS); } private void startLineHighlighting() { if (fLinePainter == null) { ISourceViewer sourceViewer= getSourceViewer(); fLinePainter= new LinePainter(sourceViewer);...
15,527
Bug 15527 JavaCore constants should be used is favor of hard-coded strings
the following classes should use constants defined in JavaCode rather than hard-coded strings StubUtility CodeFormatterUtil CompilationUnitEditor JavaCodeScanner JavaCompiletionProcessor
resolved fixed
30f40b6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-11T23:08:37Z
2002-05-08T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
private void showPrintMargin() { if (fPrintMarginPainter == null) { fPrintMarginPainter= new PrintMarginPainter(getSourceViewer()); fPrintMarginPainter.setMarginRulerColor(getColor(PRINT_MARGIN_COLOR)); fPrintMarginPainter.setMarginRulerColumn(getPreferenceStore().getInt(PRINT_MARGIN_COLUMN)); fPaintManag...
15,527
Bug 15527 JavaCore constants should be used is favor of hard-coded strings
the following classes should use constants defined in JavaCode rather than hard-coded strings StubUtility CodeFormatterUtil CompilationUnitEditor JavaCodeScanner JavaCompiletionProcessor
resolved fixed
30f40b6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-11T23:08:37Z
2002-05-08T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
private void stopProblemIndication() { if (fProblemPainter != null) { fPaintManager.removePainter(fProblemPainter); fProblemPainter.deactivate(true); fProblemPainter.dispose(); fProblemPainter= null; } } private boolean isProblemIndicationEnabled() { IPreferenceStore store= getPreferenceStore(); ...
15,527
Bug 15527 JavaCore constants should be used is favor of hard-coded strings
the following classes should use constants defined in JavaCode rather than hard-coded strings StubUtility CodeFormatterUtil CompilationUnitEditor JavaCodeScanner JavaCompiletionProcessor
resolved fixed
30f40b6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-11T23:08:37Z
2002-05-08T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
AdaptedSourceViewer asv= (AdaptedSourceViewer) getSourceViewer(); asv.addTextConverter(fTabConverter); } } private void stopTabConversion() { if (fTabConverter != null) { AdaptedSourceViewer asv= (AdaptedSourceViewer) getSourceViewer(); asv.removeTextConverter(fTabConverter); fTabConverter= null; ...
15,527
Bug 15527 JavaCore constants should be used is favor of hard-coded strings
the following classes should use constants defined in JavaCode rather than hard-coded strings StubUtility CodeFormatterUtil CompilationUnitEditor JavaCodeScanner JavaCompiletionProcessor
resolved fixed
30f40b6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-11T23:08:37Z
2002-05-08T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
return store.getBoolean(OVERVIEW_RULER); } private Color getColor(String key) { RGB rgb= PreferenceConverter.getColor(getPreferenceStore(), key); return getColor(rgb); } private Color getColor(RGB rgb) { JavaTextTools textTools= JavaPlugin.getDefault().getJavaTextTools(); return textTools.getColorManage...
15,527
Bug 15527 JavaCore constants should be used is favor of hard-coded strings
the following classes should use constants defined in JavaCode rather than hard-coded strings StubUtility CodeFormatterUtil CompilationUnitEditor JavaCodeScanner JavaCompiletionProcessor
resolved fixed
30f40b6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-11T23:08:37Z
2002-05-08T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
fPaintManager= null; } if (fActionGroups != null) fActionGroups.dispose(); super.dispose(); } /* * @see AbstractTextEditor#createPartControl(Composite) */ public void createPartControl(Composite parent) { super.createPartControl(parent); fPaintManager= new PaintManager(getSourceViewer()); ...
15,527
Bug 15527 JavaCore constants should be used is favor of hard-coded strings
the following classes should use constants defined in JavaCode rather than hard-coded strings StubUtility CodeFormatterUtil CompilationUnitEditor JavaCodeScanner JavaCompiletionProcessor
resolved fixed
30f40b6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-11T23:08:37Z
2002-05-08T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
*/ protected void handlePreferenceStoreChanged(PropertyChangeEvent event) { try { AdaptedSourceViewer asv= (AdaptedSourceViewer) getSourceViewer(); if (asv != null) { String p= event.getProperty(); if (CODE_FORMATTER_TAB_SIZE.equals(p) || CODE_FORMATTER_TAB_CHAR.equals(p)) { Sour...
15,527
Bug 15527 JavaCore constants should be used is favor of hard-coded strings
the following classes should use constants defined in JavaCode rather than hard-coded strings StubUtility CodeFormatterUtil CompilationUnitEditor JavaCodeScanner JavaCompiletionProcessor
resolved fixed
30f40b6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-11T23:08:37Z
2002-05-08T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
else stopBracketHighlighting(); return; } if (MATCHING_BRACKETS_COLOR.equals(p)) { if (fBracketPainter != null) fBracketPainter.setHighlightColor(getColor(MATCHING_BRACKETS_COLOR)); return; } if (CURRENT_LINE.equals(p)) { if (isLineHighlightingEnabled()) s...
15,527
Bug 15527 JavaCore constants should be used is favor of hard-coded strings
the following classes should use constants defined in JavaCode rather than hard-coded strings StubUtility CodeFormatterUtil CompilationUnitEditor JavaCodeScanner JavaCompiletionProcessor
resolved fixed
30f40b6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-11T23:08:37Z
2002-05-08T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
else hidePrintMargin(); return; } if (PRINT_MARGIN_COLOR.equals(p)) { if (fPrintMarginPainter != null) fPrintMarginPainter.setMarginRulerColor(getColor(PRINT_MARGIN_COLOR)); return; } if (PRINT_MARGIN_COLUMN.equals(p)) { if (fPrintMarginPainter != null) fP...
15,527
Bug 15527 JavaCore constants should be used is favor of hard-coded strings
the following classes should use constants defined in JavaCode rather than hard-coded strings StubUtility CodeFormatterUtil CompilationUnitEditor JavaCodeScanner JavaCompiletionProcessor
resolved fixed
30f40b6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-11T23:08:37Z
2002-05-08T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
if (OVERVIEW_RULER.equals(p)) { if (isOverviewRulerVisible()) showOverviewRuler(); else hideOverviewRuler(); return; } IContentAssistant c= asv.getContentAssistant(); if (c instanceof ContentAssistant) ContentAssistPreference.changeConfiguration((ContentAssistant) c, ge...
15,527
Bug 15527 JavaCore constants should be used is favor of hard-coded strings
the following classes should use constants defined in JavaCode rather than hard-coded strings StubUtility CodeFormatterUtil CompilationUnitEditor JavaCodeScanner JavaCompiletionProcessor
resolved fixed
30f40b6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-11T23:08:37Z
2002-05-08T15:00: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 IReconcilingParticipant#reconciled() */ public void...
15,527
Bug 15527 JavaCore constants should be used is favor of hard-coded strings
the following classes should use constants defined in JavaCode rather than hard-coded strings StubUtility CodeFormatterUtil CompilationUnitEditor JavaCodeScanner JavaCompiletionProcessor
resolved fixed
30f40b6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-11T23:08:37Z
2002-05-08T15:00:00Z
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.preference.IPreferenceStore; import org.eclipse.jface.text.rules.ICharacterScanner; import org.eclipse.jface.text.rules.IRule; ...
15,527
Bug 15527 JavaCore constants should be used is favor of hard-coded strings
the following classes should use constants defined in JavaCode rather than hard-coded strings StubUtility CodeFormatterUtil CompilationUnitEditor JavaCodeScanner JavaCompiletionProcessor
resolved fixed
30f40b6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-11T23:08:37Z
2002-05-08T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCodeScanner.java
private static class VersionedWordRule extends WordRule { private final String fVersion; private final boolean fEnable; private String fCurrentVersion; public VersionedWordRule(IWordDetector detector, String version, boolean enable, String currentVersion) { super(detector); fVersion= version; fEnabl...
15,527
Bug 15527 JavaCore constants should be used is favor of hard-coded strings
the following classes should use constants defined in JavaCode rather than hard-coded strings StubUtility CodeFormatterUtil CompilationUnitEditor JavaCodeScanner JavaCompiletionProcessor
resolved fixed
30f40b6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-11T23:08:37Z
2002-05-08T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCodeScanner.java
fCurrentVersion= version; } /* * @see IRule#evaluate */ public IToken evaluate(ICharacterScanner scanner) { IToken token= super.evaluate(scanner); if (fEnable) { if (fCurrentVersion.equals(fVersion)) return token; return Token.UNDEFINED; } else { if (fCurrentVersion.equals(...
15,527
Bug 15527 JavaCore constants should be used is favor of hard-coded strings
the following classes should use constants defined in JavaCode rather than hard-coded strings StubUtility CodeFormatterUtil CompilationUnitEditor JavaCodeScanner JavaCompiletionProcessor
resolved fixed
30f40b6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-11T23:08:37Z
2002-05-08T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCodeScanner.java
"final", "finally", "for", "goto", "if", "implements", "import", "instanceof", "interface", "native", "new", "package", "private", "protected", "public", "return", "static", "super", "switch", "synchronized", "this", "throw", "throws", "transient", "try", "volatile", "while" }; private s...
15,527
Bug 15527 JavaCore constants should be used is favor of hard-coded strings
the following classes should use constants defined in JavaCode rather than hard-coded strings StubUtility CodeFormatterUtil CompilationUnitEditor JavaCodeScanner JavaCompiletionProcessor
resolved fixed
30f40b6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-11T23:08:37Z
2002-05-08T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCodeScanner.java
initialize(); } /* * @see AbstractJavaScanner#getTokenProperties() */ protected String[] getTokenProperties() { return fgTokenProperties; } /* * @see AbstractJavaScanner#createRules() */ protected List createRules() { List rules= new ArrayList(); Token token= getToken(IJavaColorConsta...
15,527
Bug 15527 JavaCore constants should be used is favor of hard-coded strings
the following classes should use constants defined in JavaCode rather than hard-coded strings StubUtility CodeFormatterUtil CompilationUnitEditor JavaCodeScanner JavaCompiletionProcessor
resolved fixed
30f40b6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-11T23:08:37Z
2002-05-08T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCodeScanner.java
fVersionedWordRule.addWord(fgNewKeywords[i], token); rules.add(fVersionedWordRule); } token= getToken(IJavaColorConstants.JAVA_DEFAULT); WordRule wordRule= new WordRule(new JavaWordDetector(), token); token= getToken(IJavaColorConstants.JAVA_KEYWORD); for (int i=0; i<fgKeywords.length; i++) wor...
15,527
Bug 15527 JavaCore constants should be used is favor of hard-coded strings
the following classes should use constants defined in JavaCode rather than hard-coded strings StubUtility CodeFormatterUtil CompilationUnitEditor JavaCodeScanner JavaCompiletionProcessor
resolved fixed
30f40b6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-11T23:08:37Z
2002-05-08T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCodeScanner.java
if (i == rules.length) fVersionedWordRule= null; super.setRules(rules); } /* * @see AbstractJavaScanner#affectsBehavior(PropertyChangeEvent) */ public boolean affectsBehavior(PropertyChangeEvent event) { return event.getProperty().equals(SOURCE_VERSION) || super.affectsBehavior(event); } /* * @se...
15,527
Bug 15527 JavaCore constants should be used is favor of hard-coded strings
the following classes should use constants defined in JavaCode rather than hard-coded strings StubUtility CodeFormatterUtil CompilationUnitEditor JavaCodeScanner JavaCompiletionProcessor
resolved fixed
30f40b6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-11T23:08:37Z
2002-05-08T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProcessor.java
package org.eclipse.jdt.internal.ui.text.java; /* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */
15,527
Bug 15527 JavaCore constants should be used is favor of hard-coded strings
the following classes should use constants defined in JavaCode rather than hard-coded strings StubUtility CodeFormatterUtil CompilationUnitEditor JavaCodeScanner JavaCompiletionProcessor
resolved fixed
30f40b6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-11T23:08:37Z
2002-05-08T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProcessor.java
import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.Hashtable; import java.util.List; import org.eclipse.swt.graphics.Image; import org.eclipse.swt.graphics.Point; import org.eclipse.swt.widgets.Shell; import org.eclipse.jface.dialogs.ErrorDialog; import org.eclipse.jface.t...
15,527
Bug 15527 JavaCore constants should be used is favor of hard-coded strings
the following classes should use constants defined in JavaCode rather than hard-coded strings StubUtility CodeFormatterUtil CompilationUnitEditor JavaCodeScanner JavaCompiletionProcessor
resolved fixed
30f40b6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-11T23:08:37Z
2002-05-08T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProcessor.java
private static class ContextInformationWrapper implements IContextInformation, IContextInformationExtension { private final IContextInformation fContextInformation; private int fPosition; public ContextInformationWrapper(IContextInformation contextInformation) { fContextInformation= contextInformation; ...
15,527
Bug 15527 JavaCore constants should be used is favor of hard-coded strings
the following classes should use constants defined in JavaCode rather than hard-coded strings StubUtility CodeFormatterUtil CompilationUnitEditor JavaCodeScanner JavaCompiletionProcessor
resolved fixed
30f40b6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-11T23:08:37Z
2002-05-08T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProcessor.java
/* * @see IContextInformationExtension#getContextInformationPosition() */ public int getContextInformationPosition() { return fPosition; } public void setContextInformationPosition(int position) { fPosition= position; } }; private final static String VISIBILITY= "org.eclipse.jdt.core.codeC...
15,527
Bug 15527 JavaCore constants should be used is favor of hard-coded strings
the following classes should use constants defined in JavaCode rather than hard-coded strings StubUtility CodeFormatterUtil CompilationUnitEditor JavaCodeScanner JavaCompiletionProcessor
resolved fixed
30f40b6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-11T23:08:37Z
2002-05-08T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProcessor.java
public JavaCompletionProcessor(IEditorPart editor) { fEditor= editor; fCollector= new ResultCollector(); fManager= JavaPlugin.getDefault().getWorkingCopyManager(); ContextType contextType= ContextTypeRegistry.getInstance().getContextType("java"); if (contextType != null) fTemplateEngine= new TemplateEngin...
15,527
Bug 15527 JavaCore constants should be used is favor of hard-coded strings
the following classes should use constants defined in JavaCode rather than hard-coded strings StubUtility CodeFormatterUtil CompilationUnitEditor JavaCodeScanner JavaCompiletionProcessor
resolved fixed
30f40b6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-11T23:08:37Z
2002-05-08T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProcessor.java
*/ public void restrictProposalsToVisibility(boolean restrict) { Hashtable options= JavaCore.getOptions(); Object value= options.get(VISIBILITY); if (value instanceof String) { String newValue= restrict ? ENABLED : DISABLED; if ( !newValue.equals((String) value)) { options.put(VISIBILITY, newValue); ...
15,527
Bug 15527 JavaCore constants should be used is favor of hard-coded strings
the following classes should use constants defined in JavaCode rather than hard-coded strings StubUtility CodeFormatterUtil CompilationUnitEditor JavaCodeScanner JavaCompiletionProcessor
resolved fixed
30f40b6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-11T23:08:37Z
2002-05-08T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProcessor.java
} /** * Tells this processor to add import statement for proposals that have * a fully qualified type name * * @param restrict <code>true</code> if import can be added */ public void allowAddingImports(boolean allowAddingImports) { fAllowAddImports= allowAddingImports; } /** * @see IContentAssi...
15,527
Bug 15527 JavaCore constants should be used is favor of hard-coded strings
the following classes should use constants defined in JavaCode rather than hard-coded strings StubUtility CodeFormatterUtil CompilationUnitEditor JavaCodeScanner JavaCompiletionProcessor
resolved fixed
30f40b6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-11T23:08:37Z
2002-05-08T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProcessor.java
return null; } /** * @see IContentAssistProcessor#getCompletionProposalAutoActivationCharacters() */ public char[] getCompletionProposalAutoActivationCharacters() { return fProposalAutoActivationSet; } private boolean looksLikeMethod(JavaCodeReader reader) throws IOException { int curr= reader.read(); ...
15,527
Bug 15527 JavaCore constants should be used is favor of hard-coded strings
the following classes should use constants defined in JavaCode rather than hard-coded strings StubUtility CodeFormatterUtil CompilationUnitEditor JavaCodeScanner JavaCompiletionProcessor
resolved fixed
30f40b6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-11T23:08:37Z
2002-05-08T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProcessor.java
while (curr != JavaCodeReader.EOF) { if (')' == (char) curr) ++ nestingLevel; else if ('(' == (char) curr) { -- nestingLevel; if (nestingLevel < 0) { int start= reader.getOffset(); if (looksLikeMethod(reader)) return start + 1; } } curr= reader.read(); ...
15,527
Bug 15527 JavaCore constants should be used is favor of hard-coded strings
the following classes should use constants defined in JavaCode rather than hard-coded strings StubUtility CodeFormatterUtil CompilationUnitEditor JavaCodeScanner JavaCompiletionProcessor
resolved fixed
30f40b6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-11T23:08:37Z
2002-05-08T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProcessor.java
} return result; } /** * @see IContentAssistProcessor#computeContextInformation(ITextViewer, int) */ public IContextInformation[] computeContextInformation(ITextViewer viewer, int offset) { int contextInformationPosition= guessContextInformationPosition(viewer, offset); List result= addContextInformation...
15,527
Bug 15527 JavaCore constants should be used is favor of hard-coded strings
the following classes should use constants defined in JavaCode rather than hard-coded strings StubUtility CodeFormatterUtil CompilationUnitEditor JavaCodeScanner JavaCompiletionProcessor
resolved fixed
30f40b6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-11T23:08:37Z
2002-05-08T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProcessor.java
try { if (unit != null) { fExperimentalCollector.reset(offset, unit.getJavaProject(), fAllowAddImports ? unit : null); fExperimentalCollector.setViewer(viewer); Point selection= viewer.getSelectedRange(); if (selection.y > 0) fExperimentalCollector.setReplacementLength(selection.y)...
15,527
Bug 15527 JavaCore constants should be used is favor of hard-coded strings
the following classes should use constants defined in JavaCode rather than hard-coded strings StubUtility CodeFormatterUtil CompilationUnitEditor JavaCodeScanner JavaCompiletionProcessor
resolved fixed
30f40b6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-11T23:08:37Z
2002-05-08T15:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProcessor.java
ErrorDialog.openError(shell, JavaTextMessages.getString("CompletionProcessor.error.accessing.title"), JavaTextMessages.getString("CompletionProcessor.error.accessing.message"), x.getStatus()); } results= fCollector.getResults(); } if (fTemplateEngine != null) { try { fTemplateEngine.reset(); f...
12,871
Bug 12871 JUnit view keeps focus even after clicking somewhere else.
Here are the scenarios I tested. Scenario 1 - Bug is revealed 1. Highlight a JUnit test in the packages view. 2. Click the "Run" button. 3. Highlight another test in the packages view. 4. BUG...JUnit still has focus. Scenario 2 - Bug is not present 1. Highlight a JUnit test in the packages view. 2. Click the "Run" butt...
resolved fixed
bcb642b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T10:09:34Z
2002-04-05T15:20:00Z
org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/JUnitCorePlugin.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.junit.ui;
12,871
Bug 12871 JUnit view keeps focus even after clicking somewhere else.
Here are the scenarios I tested. Scenario 1 - Bug is revealed 1. Highlight a JUnit test in the packages view. 2. Click the "Run" button. 3. Highlight another test in the packages view. 4. BUG...JUnit still has focus. Scenario 2 - Bug is not present 1. Highlight a JUnit test in the packages view. 2. Click the "Run" butt...
resolved fixed
bcb642b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T10:09:34Z
2002-04-05T15:20:00Z
org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/JUnitCorePlugin.java
import java.net.MalformedURLException; import java.net.URL; import java.util.AbstractSet; import java.util.HashSet; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IPluginDescriptor; import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Status; import org.eclipse.debug....
12,871
Bug 12871 JUnit view keeps focus even after clicking somewhere else.
Here are the scenarios I tested. Scenario 1 - Bug is revealed 1. Highlight a JUnit test in the packages view. 2. Click the "Run" button. 3. Highlight another test in the packages view. 4. BUG...JUnit still has focus. Scenario 2 - Bug is not present 1. Highlight a JUnit test in the packages view. 2. Click the "Run" butt...
resolved fixed
bcb642b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T10:09:34Z
2002-04-05T15:20:00Z
org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/JUnitCorePlugin.java
/** * The single instance of this plug-in runtime class. */ private static JUnitPlugin fgPlugin= null; public static final String PLUGIN_ID = "org.eclipse.jdt.junit" ; public final static String TEST_SUPERCLASS_NAME= "junit.framework.TestCase"; public final static String TEST_INTERFACE_NAME= "junit.framewor...
12,871
Bug 12871 JUnit view keeps focus even after clicking somewhere else.
Here are the scenarios I tested. Scenario 1 - Bug is revealed 1. Highlight a JUnit test in the packages view. 2. Click the "Run" button. 3. Highlight another test in the packages view. 4. BUG...JUnit still has focus. Scenario 2 - Bug is not present 1. Highlight a JUnit test in the packages view. 2. Click the "Run" butt...
resolved fixed
bcb642b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T10:09:34Z
2002-04-05T15:20:00Z
org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/JUnitCorePlugin.java
} public static JUnitPlugin getDefault() { return fgPlugin; } public static Shell getActiveWorkbenchShell() { IWorkbenchWindow workBenchWindow= getActiveWorkbenchWindow(); if (workBenchWindow == null) return null; return workBenchWindow.getShell(); } /** * Returns the active workbench window ...
12,871
Bug 12871 JUnit view keeps focus even after clicking somewhere else.
Here are the scenarios I tested. Scenario 1 - Bug is revealed 1. Highlight a JUnit test in the packages view. 2. Click the "Run" button. 3. Highlight another test in the packages view. 4. BUG...JUnit still has focus. Scenario 2 - Bug is not present 1. Highlight a JUnit test in the packages view. 2. Click the "Run" butt...
resolved fixed
bcb642b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T10:09:34Z
2002-04-05T15:20:00Z
org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/JUnitCorePlugin.java
public static String getPluginId() { return getDefault().getDescriptor().getUniqueIdentifier(); } /* * @see AbstractUIPlugin#initializeDefaultPreferences */ protected void initializeDefaultPreferences(IPreferenceStore store) { super.initializeDefaultPreferences(store); JUnitPreferencePage.initializeDefa...
12,871
Bug 12871 JUnit view keeps focus even after clicking somewhere else.
Here are the scenarios I tested. Scenario 1 - Bug is revealed 1. Highlight a JUnit test in the packages view. 2. Click the "Run" button. 3. Highlight another test in the packages view. 4. BUG...JUnit still has focus. Scenario 2 - Bug is not present 1. Highlight a JUnit test in the packages view. 2. Click the "Run" butt...
resolved fixed
bcb642b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T10:09:34Z
2002-04-05T15:20:00Z
org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/JUnitCorePlugin.java
/* * @see ILaunchListener#launchAdded(ILaunch) */ public void launchAdded(ILaunch launch) { fTrackedLaunches.add(launch); } public void connectTestRunner(ILaunch launch, IType launchedType, int port) { IWorkbench workbench= getWorkbench(); if (workbench == null) return; IWorkbenchWindow window= ge...
12,871
Bug 12871 JUnit view keeps focus even after clicking somewhere else.
Here are the scenarios I tested. Scenario 1 - Bug is revealed 1. Highlight a JUnit test in the packages view. 2. Click the "Run" button. 3. Highlight another test in the packages view. 4. BUG...JUnit still has focus. Scenario 2 - Bug is not present 1. Highlight a JUnit test in the packages view. 2. Click the "Run" butt...
resolved fixed
bcb642b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T10:09:34Z
2002-04-05T15:20:00Z
org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/JUnitCorePlugin.java
if (!fTrackedLaunches.contains(launch)) return; ILaunchConfiguration config= launch.getLaunchConfiguration(); IType launchedType= null; int port= -1; if (config != null) { String portStr= launch.getAttribute(JUnitBaseLaunchConfiguration.PORT_ATTR); String typeStr= launch.getAttribute(JUnitBaseL...
12,871
Bug 12871 JUnit view keeps focus even after clicking somewhere else.
Here are the scenarios I tested. Scenario 1 - Bug is revealed 1. Highlight a JUnit test in the packages view. 2. Click the "Run" button. 3. Highlight another test in the packages view. 4. BUG...JUnit still has focus. Scenario 2 - Bug is not present 1. Highlight a JUnit test in the packages view. 2. Click the "Run" butt...
resolved fixed
bcb642b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T10:09:34Z
2002-04-05T15:20:00Z
org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/JUnitCorePlugin.java
* @see Plugin#startup() */ public void startup() throws CoreException { super.startup(); ILaunchManager launchManager= DebugPlugin.getDefault().getLaunchManager(); launchManager.addLaunchListener(this); ProgressImages.load(); } /* * @see Plugin#shutdown() */ public void shutdown() throws CoreExceptio...
12,871
Bug 12871 JUnit view keeps focus even after clicking somewhere else.
Here are the scenarios I tested. Scenario 1 - Bug is revealed 1. Highlight a JUnit test in the packages view. 2. Click the "Run" button. 3. Highlight another test in the packages view. 4. BUG...JUnit still has focus. Scenario 2 - Bug is not present 1. Highlight a JUnit test in the packages view. 2. Click the "Run" butt...
resolved fixed
bcb642b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T10:09:34Z
2002-04-05T15:20:00Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitPlugin.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.junit.ui;
12,871
Bug 12871 JUnit view keeps focus even after clicking somewhere else.
Here are the scenarios I tested. Scenario 1 - Bug is revealed 1. Highlight a JUnit test in the packages view. 2. Click the "Run" button. 3. Highlight another test in the packages view. 4. BUG...JUnit still has focus. Scenario 2 - Bug is not present 1. Highlight a JUnit test in the packages view. 2. Click the "Run" butt...
resolved fixed
bcb642b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T10:09:34Z
2002-04-05T15:20:00Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitPlugin.java
import java.net.MalformedURLException; import java.net.URL; import java.util.AbstractSet; import java.util.HashSet; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IPluginDescriptor; import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Status; import org.eclipse.debug....
12,871
Bug 12871 JUnit view keeps focus even after clicking somewhere else.
Here are the scenarios I tested. Scenario 1 - Bug is revealed 1. Highlight a JUnit test in the packages view. 2. Click the "Run" button. 3. Highlight another test in the packages view. 4. BUG...JUnit still has focus. Scenario 2 - Bug is not present 1. Highlight a JUnit test in the packages view. 2. Click the "Run" butt...
resolved fixed
bcb642b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T10:09:34Z
2002-04-05T15:20:00Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitPlugin.java
/** * The single instance of this plug-in runtime class. */ private static JUnitPlugin fgPlugin= null; public static final String PLUGIN_ID = "org.eclipse.jdt.junit" ; public final static String TEST_SUPERCLASS_NAME= "junit.framework.TestCase"; public final static String TEST_INTERFACE_NAME= "junit.framewor...
12,871
Bug 12871 JUnit view keeps focus even after clicking somewhere else.
Here are the scenarios I tested. Scenario 1 - Bug is revealed 1. Highlight a JUnit test in the packages view. 2. Click the "Run" button. 3. Highlight another test in the packages view. 4. BUG...JUnit still has focus. Scenario 2 - Bug is not present 1. Highlight a JUnit test in the packages view. 2. Click the "Run" butt...
resolved fixed
bcb642b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T10:09:34Z
2002-04-05T15:20:00Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitPlugin.java
} public static JUnitPlugin getDefault() { return fgPlugin; } public static Shell getActiveWorkbenchShell() { IWorkbenchWindow workBenchWindow= getActiveWorkbenchWindow(); if (workBenchWindow == null) return null; return workBenchWindow.getShell(); } /** * Returns the active workbench window ...
12,871
Bug 12871 JUnit view keeps focus even after clicking somewhere else.
Here are the scenarios I tested. Scenario 1 - Bug is revealed 1. Highlight a JUnit test in the packages view. 2. Click the "Run" button. 3. Highlight another test in the packages view. 4. BUG...JUnit still has focus. Scenario 2 - Bug is not present 1. Highlight a JUnit test in the packages view. 2. Click the "Run" butt...
resolved fixed
bcb642b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T10:09:34Z
2002-04-05T15:20:00Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitPlugin.java
public static String getPluginId() { return getDefault().getDescriptor().getUniqueIdentifier(); } /* * @see AbstractUIPlugin#initializeDefaultPreferences */ protected void initializeDefaultPreferences(IPreferenceStore store) { super.initializeDefaultPreferences(store); JUnitPreferencePage.initializeDefa...
12,871
Bug 12871 JUnit view keeps focus even after clicking somewhere else.
Here are the scenarios I tested. Scenario 1 - Bug is revealed 1. Highlight a JUnit test in the packages view. 2. Click the "Run" button. 3. Highlight another test in the packages view. 4. BUG...JUnit still has focus. Scenario 2 - Bug is not present 1. Highlight a JUnit test in the packages view. 2. Click the "Run" butt...
resolved fixed
bcb642b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T10:09:34Z
2002-04-05T15:20:00Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitPlugin.java
/* * @see ILaunchListener#launchAdded(ILaunch) */ public void launchAdded(ILaunch launch) { fTrackedLaunches.add(launch); } public void connectTestRunner(ILaunch launch, IType launchedType, int port) { IWorkbench workbench= getWorkbench(); if (workbench == null) return; IWorkbenchWindow window= ge...
12,871
Bug 12871 JUnit view keeps focus even after clicking somewhere else.
Here are the scenarios I tested. Scenario 1 - Bug is revealed 1. Highlight a JUnit test in the packages view. 2. Click the "Run" button. 3. Highlight another test in the packages view. 4. BUG...JUnit still has focus. Scenario 2 - Bug is not present 1. Highlight a JUnit test in the packages view. 2. Click the "Run" butt...
resolved fixed
bcb642b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T10:09:34Z
2002-04-05T15:20:00Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitPlugin.java
if (!fTrackedLaunches.contains(launch)) return; ILaunchConfiguration config= launch.getLaunchConfiguration(); IType launchedType= null; int port= -1; if (config != null) { String portStr= launch.getAttribute(JUnitBaseLaunchConfiguration.PORT_ATTR); String typeStr= launch.getAttribute(JUnitBaseL...
12,871
Bug 12871 JUnit view keeps focus even after clicking somewhere else.
Here are the scenarios I tested. Scenario 1 - Bug is revealed 1. Highlight a JUnit test in the packages view. 2. Click the "Run" button. 3. Highlight another test in the packages view. 4. BUG...JUnit still has focus. Scenario 2 - Bug is not present 1. Highlight a JUnit test in the packages view. 2. Click the "Run" butt...
resolved fixed
bcb642b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T10:09:34Z
2002-04-05T15:20:00Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitPlugin.java
* @see Plugin#startup() */ public void startup() throws CoreException { super.startup(); ILaunchManager launchManager= DebugPlugin.getDefault().getLaunchManager(); launchManager.addLaunchListener(this); ProgressImages.load(); } /* * @see Plugin#shutdown() */ public void shutdown() throws CoreExceptio...
12,871
Bug 12871 JUnit view keeps focus even after clicking somewhere else.
Here are the scenarios I tested. Scenario 1 - Bug is revealed 1. Highlight a JUnit test in the packages view. 2. Click the "Run" button. 3. Highlight another test in the packages view. 4. BUG...JUnit still has focus. Scenario 2 - Bug is not present 1. Highlight a JUnit test in the packages view. 2. Click the "Run" butt...
resolved fixed
bcb642b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T10:09:34Z
2002-04-05T15:20:00Z
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.text.NumberFormat; import java.util.Enumeration; import java.util.HashMap; import java.util.Map; import java.util.Vector; import org.eclipse.core.runtime.CoreException; import org.eclipse.debug.c...
12,871
Bug 12871 JUnit view keeps focus even after clicking somewhere else.
Here are the scenarios I tested. Scenario 1 - Bug is revealed 1. Highlight a JUnit test in the packages view. 2. Click the "Run" button. 3. Highlight another test in the packages view. 4. BUG...JUnit still has focus. Scenario 2 - Bug is not present 1. Highlight a JUnit test in the packages view. 2. Click the "Run" butt...
resolved fixed
bcb642b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T10:09:34Z
2002-04-05T15:20:00Z
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...
12,871
Bug 12871 JUnit view keeps focus even after clicking somewhere else.
Here are the scenarios I tested. Scenario 1 - Bug is revealed 1. Highlight a JUnit test in the packages view. 2. Click the "Run" button. 3. Highlight another test in the packages view. 4. BUG...JUnit still has focus. Scenario 2 - Bug is not present 1. Highlight a JUnit test in the packages view. 2. Click the "Run" butt...
resolved fixed
bcb642b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T10:09:34Z
2002-04-05T15:20:00Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java
extends ViewPart implements ITestRunListener, IPropertyChangeListener { public static final String NAME = "org.eclipse.jdt.junit.ResultView"; /** * Number of executed tests during a test run */ protected int fExecutedTests; /** * Number of errors during this test run */ protected int fErrors; /** * ...
12,871
Bug 12871 JUnit view keeps focus even after clicking somewhere else.
Here are the scenarios I tested. Scenario 1 - Bug is revealed 1. Highlight a JUnit test in the packages view. 2. Click the "Run" button. 3. Highlight another test in the packages view. 4. BUG...JUnit still has focus. Scenario 2 - Bug is not present 1. Highlight a JUnit test in the packages view. 2. Click the "Run" butt...
resolved fixed
bcb642b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T10:09:34Z
2002-04-05T15:20:00Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java
* Number of tests run */ private int fTestCount; /** * Map storing TestInfos for each executed test keyed by * the test name. */ private Map fTestInfos = new HashMap(); /** * The first failure of a test run. Used to reveal the * first failed tests at the end of a run. */ private TestRunInfo fFirstFai...
12,871
Bug 12871 JUnit view keeps focus even after clicking somewhere else.
Here are the scenarios I tested. Scenario 1 - Bug is revealed 1. Highlight a JUnit test in the packages view. 2. Click the "Run" button. 3. Highlight another test in the packages view. 4. BUG...JUnit still has focus. Scenario 2 - Bug is not present 1. Highlight a JUnit test in the packages view. 2. Click the "Run" butt...
resolved fixed
bcb642b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T10:09:34Z
2002-04-05T15:20:00Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java
* Is the UI disposed */ private boolean fIsDisposed= false; /** * The launched test type */ private IType fTestType; /** * The launcher that has started the test */ private String fLaunchMode; private ILaunch fLastLaunch= null; /** * The client side of the remote test runner */ private RemoteTestR...
12,871
Bug 12871 JUnit view keeps focus even after clicking somewhere else.
Here are the scenarios I tested. Scenario 1 - Bug is revealed 1. Highlight a JUnit test in the packages view. 2. Click the "Run" button. 3. Highlight another test in the packages view. 4. BUG...JUnit still has focus. Scenario 2 - Bug is not present 1. Highlight a JUnit test in the packages view. 2. Click the "Run" butt...
resolved fixed
bcb642b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T10:09:34Z
2002-04-05T15:20:00Z
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")); setImageDescriptor(ImageDescriptor.createFromFile(getClass(), "icons/relaunch.gif")); } public void run(){ rerunTestRu...
12,871
Bug 12871 JUnit view keeps focus even after clicking somewhere else.
Here are the scenarios I tested. Scenario 1 - Bug is revealed 1. Highlight a JUnit test in the packages view. 2. Click the "Run" button. 3. Highlight another test in the packages view. 4. BUG...JUnit still has focus. Scenario 2 - Bug is not present 1. Highlight a JUnit test in the packages view. 2. Click the "Run" butt...
resolved fixed
bcb642b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T10:09:34Z
2002-04-05T15:20:00Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java
JUnitMessages.getString("TestRunnerViewPart.error.cannotrerun"), e.getMessage(), e.getStatus() ); } } } /* * @see ITestRunListener#testRunStarted(testCount) */ public void testRunStarted(final int testCount){ reset(testCount); fShowOnErrorOnly= JUnitPreferencePage.getShowOnErrorOnly(); fExecutedT...
12,871
Bug 12871 JUnit view keeps focus even after clicking somewhere else.
Here are the scenarios I tested. Scenario 1 - Bug is revealed 1. Highlight a JUnit test in the packages view. 2. Click the "Run" button. 3. Highlight another test in the packages view. 4. BUG...JUnit still has focus. Scenario 2 - Bug is not present 1. Highlight a JUnit test in the packages view. 2. Click the "Run" butt...
resolved fixed
bcb642b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T10:09:34Z
2002-04-05T15:20:00Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java
} private String elapsedTimeAsString(long runTime) { return NumberFormat.getInstance().format((double)runTime/1000); } /* * @see ITestRunListener#testRunStopped */ public void testRunStopped(final long elapsedTime) { String msg= JUnitMessages.getFormattedString("TestRunnerViewPart.message.stopped", elapsedT...
12,871
Bug 12871 JUnit view keeps focus even after clicking somewhere else.
Here are the scenarios I tested. Scenario 1 - Bug is revealed 1. Highlight a JUnit test in the packages view. 2. Click the "Run" button. 3. Highlight another test in the packages view. 4. BUG...JUnit still has focus. Scenario 2 - Bug is not present 1. Highlight a JUnit test in the packages view. 2. Click the "Run" butt...
resolved fixed
bcb642b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T10:09:34Z
2002-04-05T15:20:00Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java
postInfo(JUnitMessages.getFormattedString("TestRunnerViewPart.message.started", testName)); TestRunInfo testInfo= getTestInfo(testName); if (testInfo == null) fTestInfos.put(testName, new TestRunInfo(testName)); } /* * @see ITestRunListener#testEnded */ public void testEnded(String testName){ postEndT...
12,871
Bug 12871 JUnit view keeps focus even after clicking somewhere else.
Here are the scenarios I tested. Scenario 1 - Bug is revealed 1. Highlight a JUnit test in the packages view. 2. Click the "Run" button. 3. Highlight another test in the packages view. 4. BUG...JUnit still has focus. Scenario 2 - Bug is not present 1. Highlight a JUnit test in the packages view. 2. Click the "Run" butt...
resolved fixed
bcb642b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T10:09:34Z
2002-04-05T15:20:00Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java
if (fShowOnErrorOnly && (fErrors + fFailures == 1)) postShowTestResultsView(); } /* * @see ITestRunListener#testReran */ public void testReran(String className, String testName, int status, String trace) { if (status == ITestRunListener.STATUS_ERROR) { String msg= JUnitMessages.getFormattedString("TestR...
12,871
Bug 12871 JUnit view keeps focus even after clicking somewhere else.
Here are the scenarios I tested. Scenario 1 - Bug is revealed 1. Highlight a JUnit test in the packages view. 2. Click the "Run" button. 3. Highlight another test in the packages view. 4. BUG...JUnit still has focus. Scenario 2 - Bug is not present 1. Highlight a JUnit test in the packages view. 2. Click the "Run" butt...
resolved fixed
bcb642b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T10:09:34Z
2002-04-05T15:20:00Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java
fFailures++; else if (status == ITestRunListener.STATUS_ERROR) fErrors++; } else if (info.fStatus == ITestRunListener.STATUS_ERROR) { if (status == ITestRunListener.STATUS_OK) fErrors--; else if (status == ITestRunListener.STATUS_FAILURE) { fErrors--; fFailures++; } } else if (info.fSta...
12,871
Bug 12871 JUnit view keeps focus even after clicking somewhere else.
Here are the scenarios I tested. Scenario 1 - Bug is revealed 1. Highlight a JUnit test in the packages view. 2. Click the "Run" button. 3. Highlight another test in the packages view. 4. BUG...JUnit still has focus. Scenario 2 - Bug is not present 1. Highlight a JUnit test in the packages view. 2. Click the "Run" butt...
resolved fixed
bcb642b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T10:09:34Z
2002-04-05T15:20:00Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java
} /* * @see ITestRunListener#testTreeEntry */ public void testTreeEntry(final String treeEntry){ postSyncRunnable(new Runnable() { public void run() { if(isDisposed()) return; for (Enumeration e= fTestRunViews.elements(); e.hasMoreElements();) { ITestRunView v= (ITestRunView) e.nextElement...
12,871
Bug 12871 JUnit view keeps focus even after clicking somewhere else.
Here are the scenarios I tested. Scenario 1 - Bug is revealed 1. Highlight a JUnit test in the packages view. 2. Click the "Run" button. 3. Highlight another test in the packages view. 4. BUG...JUnit still has focus. Scenario 2 - Bug is not present 1. Highlight a JUnit test in the packages view. 2. Click the "Run" butt...
resolved fixed
bcb642b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T10:09:34Z
2002-04-05T15:20:00Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java
} private void aboutToLaunch() { String msg= JUnitMessages.getString("TestRunnerViewPart.message.launching"); showInformation(msg); postInfo(msg); fProgressImage= fOriginalViewImage; firePropertyChange(IWorkbenchPart.PROP_TITLE); } public void rerunTest(String className, String testName) { if (fTestRunn...
12,871
Bug 12871 JUnit view keeps focus even after clicking somewhere else.
Here are the scenarios I tested. Scenario 1 - Bug is revealed 1. Highlight a JUnit test in the packages view. 2. Click the "Run" button. 3. Highlight another test in the packages view. 4. BUG...JUnit still has focus. Scenario 2 - Bug is not present 1. Highlight a JUnit test in the packages view. 2. Click the "Run" butt...
resolved fixed
bcb642b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T10:09:34Z
2002-04-05T15:20:00Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java
fProgressBar.setMinimum(0); fProgressBar.setSelection(0); fProgressBar.setForeground(getDisplay().getSystemColor(SWT.COLOR_GREEN)); fProgressBar.setMaximum(total); } private void postSyncRunnable(Runnable r) { if (!isDisposed()) getDisplay().syncExec(r); } private void postAsyncRunnable(Runnable r) { i...
12,871
Bug 12871 JUnit view keeps focus even after clicking somewhere else.
Here are the scenarios I tested. Scenario 1 - Bug is revealed 1. Highlight a JUnit test in the packages view. 2. Click the "Run" button. 3. Highlight another test in the packages view. 4. BUG...JUnit still has focus. Scenario 2 - Bug is not present 1. Highlight a JUnit test in the packages view. 2. Click the "Run" butt...
resolved fixed
bcb642b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T10:09:34Z
2002-04-05T15:20:00Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java
handleEndTest(); for (Enumeration e= fTestRunViews.elements(); e.hasMoreElements();) { ITestRunView v= (ITestRunView) e.nextElement(); v.endTest(testName); } } }); } private void handleEndTest() { refreshCounters(); updateProgressColor(fFailures+fErrors); fProgressBar.setSelection(fProgr...
12,871
Bug 12871 JUnit view keeps focus even after clicking somewhere else.
Here are the scenarios I tested. Scenario 1 - Bug is revealed 1. Highlight a JUnit test in the packages view. 2. Click the "Run" button. 3. Highlight another test in the packages view. 4. BUG...JUnit still has focus. Scenario 2 - Bug is not present 1. Highlight a JUnit test in the packages view. 2. Click the "Run" butt...
resolved fixed
bcb642b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T10:09:34Z
2002-04-05T15:20:00Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java
updateProgressColor(fErrors + fFailures); } protected void postShowTestResultsView() { postAsyncRunnable(new Runnable() { public void run() { if (isDisposed()) return; showTestResultsView(); } }); } public void showTestResultsView() { IWorkbenchWindow window= getSite().getWorkbenchWindow()...
12,871
Bug 12871 JUnit view keeps focus even after clicking somewhere else.
Here are the scenarios I tested. Scenario 1 - Bug is revealed 1. Highlight a JUnit test in the packages view. 2. Click the "Run" button. 3. Highlight another test in the packages view. 4. BUG...JUnit still has focus. Scenario 2 - Bug is not present 1. Highlight a JUnit test in the packages view. 2. Click the "Run" butt...
resolved fixed
bcb642b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T10:09:34Z
2002-04-05T15:20:00Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java
getStatusLine().setMessage(message); } }); } protected void postError(final String message) { postAsyncRunnable(new Runnable() { public void run() { if (isDisposed()) return; getStatusLine().setMessage(null); getStatusLine().setErrorMessage(message); } }); } protected void showInfor...
12,871
Bug 12871 JUnit view keeps focus even after clicking somewhere else.
Here are the scenarios I tested. Scenario 1 - Bug is revealed 1. Highlight a JUnit test in the packages view. 2. Click the "Run" button. 3. Highlight another test in the packages view. 4. BUG...JUnit still has focus. Scenario 2 - Bug is not present 1. Highlight a JUnit test in the packages view. 2. Click the "Run" butt...
resolved fixed
bcb642b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T10:09:34Z
2002-04-05T15:20:00Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java
fTestRunViews.addElement(testHierarchyRunView); tabFolder.setSelection(0); fActiveRunView= (ITestRunView)fTestRunViews.firstElement(); tabFolder.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent event) { testViewChanged(event); } }); return tabFold...
12,871
Bug 12871 JUnit view keeps focus even after clicking somewhere else.
Here are the scenarios I tested. Scenario 1 - Bug is revealed 1. Highlight a JUnit test in the packages view. 2. Click the "Run" button. 3. Highlight another test in the packages view. 4. BUG...JUnit still has focus. Scenario 2 - Bug is not present 1. Highlight a JUnit test in the packages view. 2. Click the "Run" butt...
resolved fixed
bcb642b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T10:09:34Z
2002-04-05T15:20:00Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java
ToolBar failureToolBar= new ToolBar(bottom, SWT.FLAT | SWT.WRAP); bottom.setTopCenter(failureToolBar); fFailureView= new FailureTraceView(bottom, this); bottom.setContent(fFailureView.getComposite()); CLabel label= new CLabel(bottom, SWT.NONE); label.setText(JUnitMessages.getString("TestRunnerViewPart.lab...
12,871
Bug 12871 JUnit view keeps focus even after clicking somewhere else.
Here are the scenarios I tested. Scenario 1 - Bug is revealed 1. Highlight a JUnit test in the packages view. 2. Click the "Run" button. 3. Highlight another test in the packages view. 4. BUG...JUnit still has focus. Scenario 2 - Bug is not present 1. Highlight a JUnit test in the packages view. 2. Click the "Run" butt...
resolved fixed
bcb642b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T10:09:34Z
2002-04-05T15:20:00Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java
fFailures= 0; fErrors= 0; fTestCount= testCount; aboutToStart(); fTestInfos.clear(); fFirstFailure= null; } private void clearStatus() { getStatusLine().setMessage(null); getStatusLine().setErrorMessage(null); } public void setFocus() { fProgressBar.setFocus(); } public void createPart...
12,871
Bug 12871 JUnit view keeps focus even after clicking somewhere else.
Here are the scenarios I tested. Scenario 1 - Bug is revealed 1. Highlight a JUnit test in the packages view. 2. Click the "Run" button. 3. Highlight another test in the packages view. 4. BUG...JUnit still has focus. Scenario 2 - Bug is not present 1. Highlight a JUnit test in the packages view. 2. Click the "Run" butt...
resolved fixed
bcb642b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T10:09:34Z
2002-04-05T15:20:00Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java
new CopyTraceAction(fFailureView)); JUnitPlugin.getDefault().getPreferenceStore().addPropertyChangeListener(this); fOriginalViewImage= getTitleImage(); } private IStatusLineManager getStatusLine() { IViewSite site= getViewSite(); IWorkbenchPage page= site.getPage(); IWorkbenchPart activePart= page.get...
12,871
Bug 12871 JUnit view keeps focus even after clicking somewhere else.
Here are the scenarios I tested. Scenario 1 - Bug is revealed 1. Highlight a JUnit test in the packages view. 2. Click the "Run" button. 3. Highlight another test in the packages view. 4. BUG...JUnit still has focus. Scenario 2 - Bug is not present 1. Highlight a JUnit test in the packages view. 2. Click the "Run" butt...
resolved fixed
bcb642b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T10:09:34Z
2002-04-05T15:20:00Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java
fProgressBar.setLayoutData( new GridData(GridData.GRAB_HORIZONTAL | GridData.HORIZONTAL_ALIGN_FILL)); fCounterPanel = new CounterPanel(composite); fCounterPanel.setLayoutData( new GridData(GridData.GRAB_HORIZONTAL | GridData.HORIZONTAL_ALIGN_FILL)); return composite; } public TestRunInfo getTestInfo(Strin...
12,871
Bug 12871 JUnit view keeps focus even after clicking somewhere else.
Here are the scenarios I tested. Scenario 1 - Bug is revealed 1. Highlight a JUnit test in the packages view. 2. Click the "Run" button. 3. Highlight another test in the packages view. 4. BUG...JUnit still has focus. Scenario 2 - Bug is not present 1. Highlight a JUnit test in the packages view. 2. Click the "Run" butt...
resolved fixed
bcb642b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T10:09:34Z
2002-04-05T15:20:00Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java
return (new Image(Display.getCurrent(), clazz.getResourceAsStream(fName))); } private boolean isDisposed() { return fIsDisposed || fCounterPanel.isDisposed(); } private Display getDisplay() { return fCounterPanel.getDisplay(); } /** * @see IWorkbenchPart#getTitleImage() */ public Image getTitleImage() { ...
15,340
Bug 15340 Java Model Exceptions entering package name
Used build 20020501. - in Packages view - click on an existing folder - right click (to get context menu) New->Package - enter a name where prompted (e.g. "abcde") - the display doesn't keep up with the keys typed - the log file contains the following (note the exceptions at the bottom with "!STACK Java Model Exception...
resolved fixed
37a4980
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T19:54:27Z
2002-05-06T15:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewPackageWizardPage.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.ui.wizards; import java.lang.reflect.InvocationTargetException; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IPath; import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.core.ru...
15,340
Bug 15340 Java Model Exceptions entering package name
Used build 20020501. - in Packages view - click on an existing folder - right click (to get context menu) New->Package - enter a name where prompted (e.g. "abcde") - the display doesn't keep up with the keys typed - the log file contains the following (note the exceptions at the bottom with "!STACK Java Model Exception...
resolved fixed
37a4980
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T19:54:27Z
2002-05-06T15:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewPackageWizardPage.java
import org.eclipse.jface.operation.IRunnableWithProgress; import org.eclipse.jface.viewers.IStructuredSelection; import org.eclipse.ui.help.WorkbenchHelp; import org.eclipse.jdt.core.IJavaElement; import org.eclipse.jdt.core.IPackageFragment; import org.eclipse.jdt.core.IPackageFragmentRoot; import org.eclipse.jdt.core...
15,340
Bug 15340 Java Model Exceptions entering package name
Used build 20020501. - in Packages view - click on an existing folder - right click (to get context menu) New->Package - enter a name where prompted (e.g. "abcde") - the display doesn't keep up with the keys typed - the log file contains the following (note the exceptions at the bottom with "!STACK Java Model Exception...
resolved fixed
37a4980
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T19:54:27Z
2002-05-06T15:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewPackageWizardPage.java
* Status of last validation of the package field */ private IStatus fPackageStatus; private IPackageFragment fCreatedPackageFragment; public NewPackageWizardPage() { super(PAGE_NAME); setTitle(NewWizardMessages.getString("NewPackageWizardPage.title")); setDescription(NewWizardMessages.getString("NewP...
15,340
Bug 15340 Java Model Exceptions entering package name
Used build 20020501. - in Packages view - click on an existing folder - right click (to get context menu) New->Package - enter a name where prompted (e.g. "abcde") - the display doesn't keep up with the keys typed - the log file contains the following (note the exceptions at the bottom with "!STACK Java Model Exception...
resolved fixed
37a4980
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T19:54:27Z
2002-05-06T15:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewPackageWizardPage.java
updateStatus(new IStatus[] { fContainerStatus, fPackageStatus }); } /* * @see WizardPage#createControl */ public void createControl(Composite parent) { initializeDialogUnits(parent); Composite composite= new Composite(parent, SWT.NONE); int nColumns= 3; GridLayout layout= new GridLayout(...
15,340
Bug 15340 Java Model Exceptions entering package name
Used build 20020501. - in Packages view - click on an existing folder - right click (to get context menu) New->Package - enter a name where prompted (e.g. "abcde") - the display doesn't keep up with the keys typed - the log file contains the following (note the exceptions at the bottom with "!STACK Java Model Exception...
resolved fixed
37a4980
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T19:54:27Z
2002-05-06T15:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewPackageWizardPage.java
setControl(composite); WorkbenchHelp.setHelp(composite, IJavaHelpContextIds.NEW_PACKAGE_WIZARD_PAGE); } /* * @see WizardPage#becomesVisible */ public void setVisible(boolean visible) { if (visible) { setFocus(); } super.setVisible(visible); } /** * Sets the focus on the package name. */ p...
15,340
Bug 15340 Java Model Exceptions entering package name
Used build 20020501. - in Packages view - click on an existing folder - right click (to get context menu) New->Package - enter a name where prompted (e.g. "abcde") - the display doesn't keep up with the keys typed - the log file contains the following (note the exceptions at the bottom with "!STACK Java Model Exception...
resolved fixed
37a4980
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T19:54:27Z
2002-05-06T15:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewPackageWizardPage.java
public void dialogFieldChanged(DialogField field) { fPackageStatus= packageChanged(); handleFieldChanged(PACKAGE); } } /** * Called when a dialog field on this page changed. * @see NewContainerCreationPage#fieldUpdated */ protected void handleFieldChanged(String fieldName) { super.handleF...
15,340
Bug 15340 Java Model Exceptions entering package name
Used build 20020501. - in Packages view - click on an existing folder - right click (to get context menu) New->Package - enter a name where prompted (e.g. "abcde") - the display doesn't keep up with the keys typed - the log file contains the following (note the exceptions at the bottom with "!STACK Java Model Exception...
resolved fixed
37a4980
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T19:54:27Z
2002-05-06T15:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewPackageWizardPage.java
private IStatus packageChanged() { StatusInfo status= new StatusInfo(); String packName= getPackageText(); if (packName.length() > 0) { IStatus val= JavaConventions.validatePackageName(packName); if (val.getSeverity() == IStatus.ERROR) { status.setError(NewWizardMessages.getFormattedString("NewPackageWi...
15,340
Bug 15340 Java Model Exceptions entering package name
Used build 20020501. - in Packages view - click on an existing folder - right click (to get context menu) New->Package - enter a name where prompted (e.g. "abcde") - the display doesn't keep up with the keys typed - the log file contains the following (note the exceptions at the bottom with "!STACK Java Model Exception...
resolved fixed
37a4980
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T19:54:27Z
2002-05-06T15:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewPackageWizardPage.java
if (pack.exists()) { if (pack.containsJavaResources() || !pack.hasSubpackages()) { status.setError(NewWizardMessages.getString("NewPackageWizardPage.error.PackageExists")); } else { status.setWarning(NewWizardMessages.getString("NewPackageWizardPage.warning.PackageNotShown")); } } }...
15,340
Bug 15340 Java Model Exceptions entering package name
Used build 20020501. - in Packages view - click on an existing folder - right click (to get context menu) New->Package - enter a name where prompted (e.g. "abcde") - the display doesn't keep up with the keys typed - the log file contains the following (note the exceptions at the bottom with "!STACK Java Model Exception...
resolved fixed
37a4980
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-12T19:54:27Z
2002-05-06T15:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewPackageWizardPage.java
/** * Returns a runnable that creates a package using the current settings. */ public IRunnableWithProgress getRunnable() { return new IRunnableWithProgress() { public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException { try { createPackage(monitor); } catc...
15,301
Bug 15301 'show in packages view' - does not work fo java files not in source folders
20020502 open a java file that is in a resource folder (so it is not an ICompilationUnit - just a file with .java extension) 'show in packages view' is present in the context menu but it does nothing
resolved fixed
da509ab
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-13T14:20:49Z
2002-05-06T10:13: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...
15,301
Bug 15301 'show in packages view' - does not work fo java files not in source folders
20020502 open a java file that is in a resource folder (so it is not an ICompilationUnit - just a file with .java extension) 'show in packages view' is present in the context menu but it does nothing
resolved fixed
da509ab
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-13T14:20:49Z
2002-05-06T10:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
import org.eclipse.swt.dnd.DragSourceEvent; import org.eclipse.swt.dnd.FileTransfer; import org.eclipse.swt.dnd.Transfer; import org.eclipse.swt.events.KeyAdapter; import org.eclipse.swt.events.KeyEvent; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Control; import org.eclipse.swt.widgets.Men...
15,301
Bug 15301 'show in packages view' - does not work fo java files not in source folders
20020502 open a java file that is in a resource folder (so it is not an ICompilationUnit - just a file with .java extension) 'show in packages view' is present in the context menu but it does nothing
resolved fixed
da509ab
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-13T14:20:49Z
2002-05-06T10:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
import org.eclipse.jface.viewers.OpenEvent; import org.eclipse.jface.viewers.SelectionChangedEvent; import org.eclipse.jface.viewers.StructuredSelection; import org.eclipse.jface.viewers.TreeExpansionEvent; import org.eclipse.jface.viewers.TreeViewer; import org.eclipse.ui.IActionBars; import org.eclipse.ui.IEditorInpu...
15,301
Bug 15301 'show in packages view' - does not work fo java files not in source folders
20020502 open a java file that is in a resource folder (so it is not an ICompilationUnit - just a file with .java extension) 'show in packages view' is present in the context menu but it does nothing
resolved fixed
da509ab
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-13T14:20:49Z
2002-05-06T10:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
import org.eclipse.jdt.core.JavaModelException; import org.eclipse.jdt.ui.IPackagesViewPart; import org.eclipse.jdt.ui.JavaElementContentProvider; import org.eclipse.jdt.ui.JavaElementSorter; import org.eclipse.jdt.ui.JavaUI; import org.eclipse.jdt.internal.ui.IJavaHelpContextIds; import org.eclipse.jdt.internal.ui.Jav...
15,301
Bug 15301 'show in packages view' - does not work fo java files not in source folders
20020502 open a java file that is in a resource folder (so it is not an ICompilationUnit - just a file with .java extension) 'show in packages view' is present in the context menu but it does nothing
resolved fixed
da509ab
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-13T14:20:49Z
2002-05-06T10:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
public final static String VIEW_ID= JavaUI.ID_PACKAGES; 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 ...
15,301
Bug 15301 'show in packages view' - does not work fo java files not in source folders
20020502 open a java file that is in a resource folder (so it is not an ICompilationUnit - just a file with .java extension) 'show in packages view' is present in the context menu but it does nothing
resolved fixed
da509ab
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-13T14:20:49Z
2002-05-06T10:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
static final String TAG_SHOWLIBRARIES = "showLibraries"; static final String TAG_SHOWBINARIES = "showBinaries"; private JavaElementPatternFilter fPatternFilter= new JavaElementPatternFilter(); private LibraryFilter fLibraryFilter= new LibraryFilter(); private PackageExplorerActionGroup fActionSet; private Proble...
15,301
Bug 15301 'show in packages view' - does not work fo java files not in source folders
20020502 open a java file that is in a resource folder (so it is not an ICompilationUnit - just a file with .java extension) 'show in packages view' is present in the context menu but it does nothing
resolved fixed
da509ab
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-13T14:20:49Z
2002-05-06T10:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
public void treeCollapsed(TreeExpansionEvent event) { } public void treeExpanded(TreeExpansionEvent event) { Object element= event.getElement(); if (element instanceof ICompilationUnit || element instanceof IClassFile) expandMainType(element); } }; public PackageExplorerPart() { } /* (non...
15,301
Bug 15301 'show in packages view' - does not work fo java files not in source folders
20020502 open a java file that is in a resource folder (so it is not an ICompilationUnit - just a file with .java extension) 'show in packages view' is present in the context menu but it does nothing
resolved fixed
da509ab
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-13T14:20:49Z
2002-05-06T10:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
* there isn't any package explorer part <code>null</code> is returned. */ public static PackageExplorerPart getFromActivePerspective() { IViewPart view= JavaPlugin.getActivePage().findView(VIEW_ID); if (view instanceof PackageExplorerPart) return (PackageExplorerPart)view; return null; } /** * Makes ...
15,301
Bug 15301 'show in packages view' - does not work fo java files not in source folders
20020502 open a java file that is in a resource folder (so it is not an ICompilationUnit - just a file with .java extension) 'show in packages view' is present in the context menu but it does nothing
resolved fixed
da509ab
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-13T14:20:49Z
2002-05-06T10:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
if (fActionSet != null) fActionSet.dispose(); super.dispose(); } /** * Implementation of IWorkbenchPart.createPartControl(Composite) */ public void createPartControl(Composite parent) { fViewer= new ProblemTreeViewer(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL); boolean showCUChildren= JavaBase...
15,301
Bug 15301 'show in packages view' - does not work fo java files not in source folders
20020502 open a java file that is in a resource folder (so it is not an ICompilationUnit - just a file with .java extension) 'show in packages view' is present in the context menu but it does nothing
resolved fixed
da509ab
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-13T14:20:49Z
2002-05-06T10:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
fViewer.addFilter(fLibraryFilter); MenuManager menuMgr= new MenuManager("#PopupMenu"); menuMgr.setRemoveAllWhenShown(true); menuMgr.addMenuListener(this); fContextMenu= menuMgr.createContextMenu(fViewer.getTree()); fViewer.getTree().setMenu(fContextMenu); IWorkbenchPartSite site= getSite(); site.re...
15,301
Bug 15301 'show in packages view' - does not work fo java files not in source folders
20020502 open a java file that is in a resource folder (so it is not an ICompilationUnit - just a file with .java extension) 'show in packages view' is present in the context menu but it does nothing
resolved fixed
da509ab
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-13T14:20:49Z
2002-05-06T10:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
} }; fViewer.addSelectionChangedListener(fSelectionListener); fViewer.addDoubleClickListener(new IDoubleClickListener() { public void doubleClick(DoubleClickEvent event) { fActionSet.handleDoubleClick(event); } }); fViewer.addOpenListener(new IOpenListener() { public void open(OpenEvent eve...
15,301
Bug 15301 'show in packages view' - does not work fo java files not in source folders
20020502 open a java file that is in a resource folder (so it is not an ICompilationUnit - just a file with .java extension) 'show in packages view' is present in the context menu but it does nothing
resolved fixed
da509ab
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-13T14:20:49Z
2002-05-06T10:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
fActionSet.fillActionBars(actionBars); } 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); }...
15,301
Bug 15301 'show in packages view' - does not work fo java files not in source folders
20020502 open a java file that is in a resource folder (so it is not an ICompilationUnit - just a file with .java extension) 'show in packages view' is present in the context menu but it does nothing
resolved fixed
da509ab
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-13T14:20:49Z
2002-05-06T10:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
result= JavaElementLabels.getTextLabel(element, AppearanceAwareLabelProvider.DEFAULT_TEXTFLAGS); } else { IPath path= ((IResource) element).getFullPath(); if (path.isRoot()) { result= PackagesMessages.getString("PackageExplorer.title"); } else { result= path.makeRelative().toString(); } } ...
15,301
Bug 15301 'show in packages view' - does not work fo java files not in source folders
20020502 open a java file that is in a resource folder (so it is not an ICompilationUnit - just a file with .java extension) 'show in packages view' is present in the context menu but it does nothing
resolved fixed
da509ab
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-13T14:20:49Z
2002-05-06T10:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
/** * Returns the shell to use for opening dialogs. * Used in this class, and in the actions. */ private Shell getShell() { return fViewer.getTree().getShell(); } /** * Returns the selection provider. */ private ISelectionProvider getSelectionProvider() { return fViewer; } /** * Returns the curr...
15,301
Bug 15301 'show in packages view' - does not work fo java files not in source folders
20020502 open a java file that is in a resource folder (so it is not an ICompilationUnit - just a file with .java extension) 'show in packages view' is present in the context menu but it does nothing
resolved fixed
da509ab
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-13T14:20:49Z
2002-05-06T10:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
fActionSet.setContext(new ActionContext(getSelection())); fActionSet.fillContextMenu(menu); fActionSet.setContext(null); } private void makeActions() { fActionSet= new PackageExplorerActionGroup(this); } private boolean isSelectionOfType(ISelection s, Class clazz, boolean considerUnderlyingResource) { if ...
15,301
Bug 15301 'show in packages view' - does not work fo java files not in source folders
20020502 open a java file that is in a resource folder (so it is not an ICompilationUnit - just a file with .java extension) 'show in packages view' is present in the context menu but it does nothing
resolved fixed
da509ab
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-05-13T14:20:49Z
2002-05-06T10:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
private void initDragAndDrop() { int ops= DND.DROP_COPY | DND.DROP_MOVE | DND.DROP_LINK; final LocalSelectionTransfer lt= LocalSelectionTransfer.getInstance(); Transfer[] transfers= new Transfer[] { lt, ResourceTransfer.getInstance(), FileTransfer.getInstance()}; TransferDropTargetListener[] dro...