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,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 | for (int i= 0; i < elements.length; i++) {
Object o= elements[i];
if (o instanceof IResource) {
IJavaElement jElement= JavaCore.create((IResource)o);
if (jElement != null)
elements[i]= jElement;
}
}
return new StructuredSelection(elements);
}
private boolean containsResources(Object[] ... |
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 | /**
* Links to editor (if option enabled)
*/
private void linkToEditor(IStructuredSelection selection) {
if (!isActivePart())
return;
Object obj= selection.getFirstElement();
Object element= null;
if (selection.size() == 1) {
IEditorPart part= EditorUtility.isOpenInEditor(obj);
if (part != 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.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | }
try {
element= ((IJavaElement)element).getUnderlyingResource();
} catch (JavaModelException e) {
return null;
}
}
if (!(element instanceof IResource) || ((IResource)element).isPhantom()) {
return null;
}
return (IResource)element;
}
public void saveState(IMemento memento) {
if (fView... |
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 | bar= tree.getHorizontalBar();
position= bar != null ? bar.getSelection() : 0;
memento.putString(TAG_HORIZONTAL_POSITION, String.valueOf(position));
}
protected void saveSelectionState(IMemento memento) {
Object elements[]= ((IStructuredSelection) fViewer.getSelection()).toArray();
if (elements.length > 0) {
... |
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 | }
void restoreState(IMemento memento) {
restoreExpansionState(memento);
restoreSelectionState(memento);
fActionSet.restoreState(memento);
}
protected void restoreScrollState(IMemento memento, Tree tree) {
ScrollBar bar= tree.getVerticalBar();
if (bar != null) {
try {
String posStr= memento.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.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | }
}
protected void restoreSelectionState(IMemento memento) {
IMemento childMem;
childMem= memento.getChild(TAG_SELECTION);
if (childMem != null) {
ArrayList list= new ArrayList();
IMemento[] elementMem= childMem.getChildren(TAG_ELEMENT);
for (int i= 0; i < elementMem.length; i++) {
Object element= ... |
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 | /**
* Create the KeyListener for doing the refresh on the viewer.
*/
private void initKeyListener() {
fViewer.getControl().addKeyListener(new KeyAdapter() {
public void keyReleased(KeyEvent event) {
fActionSet.handleKeyEvent(event);
}
});
}
/**
* An editor has been activated. Set the selection 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 | if (oldSelection.size() == 1) {
Object o= oldSelection.getFirstElement();
if (o instanceof IJavaElement) {
ICompilationUnit cu= (ICompilationUnit)((IJavaElement)o).getAncestor(IJavaElement.COMPILATION_UNIT);
if (cu != null) {
if (cu.isWorkingCopy())
cu= (ICompilationUnit)cu.getOriginalEle... |
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 | */
void expandMainType(Object element) {
try {
IType type= null;
if (element instanceof ICompilationUnit) {
ICompilationUnit cu= (ICompilationUnit)element;
IType[] types= cu.getTypes();
if (types.length > 0)
type= types[0];
}
else if (element instanceof IClassFile) {
IClassFile cf= (... |
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 | }
/**
* Returns the element contained in the EditorInput
*/
Object getElementOfInput(IEditorInput input) {
if (input instanceof IClassFileEditorInput)
return ((IClassFileEditorInput)input).getClassFile();
else if (input instanceof IFileEditorInput)
return ((IFileEditorInput)input).getFile();
else if... |
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 (fViewer == null)
return false;
return fViewer.isExpandable(element);
}
void setWorkingSetName(String workingSetName) {
fWorkingSetName= workingSetName;
}
/**
* Updates the title text and title tool tip.
* Called whenever the input of the viewer changes.
*/
void updateTitle() {
Object input=... |
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 | * @param decorator a label decorator or <code>null</code> for no decorations.
* @deprecated To be removed
*/
public void setLabelDecorator(ILabelDecorator decorator) {
}
/*
* @see IPropertyChangeListener#propertyChange(PropertyChangeEvent)
*/
public void propertyChange(PropertyChangeEvent event) {
if (f... |
19,859 | Bug 19859 [JUnit] Socket connection error | I'll provide more specifics as I come across them. Sorry for the sparse detail. Sometimes (but not always) when I Run.. or Debug.. a JUnit launcher, I get the following exception: Console [<disconnected> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner at localHost:9613] Could not connect to: : 6293 java.net.Conn... | resolved fixed | bf3151a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:09:56Z | 2002-06-10T23:00:00Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/runner/RemoteTestRunner.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.junit.runner;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.lang.reflect.Constructor;
import java.lan... |
19,859 | Bug 19859 [JUnit] Socket connection error | I'll provide more specifics as I come across them. Sorry for the sparse detail. Sometimes (but not always) when I Run.. or Debug.. a JUnit launcher, I get the following exception: Console [<disconnected> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner at localHost:9613] Could not connect to: : 6293 java.net.Conn... | resolved fixed | bf3151a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:09:56Z | 2002-06-10T23:00:00Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/runner/RemoteTestRunner.java | /**
* Holder for information for a rerun request
*/
private static class RerunRequest { |
19,859 | Bug 19859 [JUnit] Socket connection error | I'll provide more specifics as I come across them. Sorry for the sparse detail. Sometimes (but not always) when I Run.. or Debug.. a JUnit launcher, I get the following exception: Console [<disconnected> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner at localHost:9613] Could not connect to: : 6293 java.net.Conn... | resolved fixed | bf3151a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:09:56Z | 2002-06-10T23:00:00Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/runner/RemoteTestRunner.java | String fClassName;
String fTestName;
public RerunRequest(String className, String testName) {
fClassName= className;
fTestName= testName;
}
}
private static final String SUITE_METHODNAME= "suite";
/**
* The name of the test classes to be executed
*/
private String[] fTestClassNames;
/**
* ... |
19,859 | Bug 19859 [JUnit] Socket connection error | I'll provide more specifics as I come across them. Sorry for the sparse detail. Sometimes (but not always) when I Run.. or Debug.. a JUnit launcher, I get the following exception: Console [<disconnected> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner at localHost:9613] Could not connect to: : 6293 java.net.Conn... | resolved fixed | bf3151a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:09:56Z | 2002-06-10T23:00:00Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/runner/RemoteTestRunner.java | private BufferedReader fReader;
/**
* Host to connect to, default is the localhost
*/
private String fHost= "";
/**
* Port to connect to.
*/
private int fPort= -1;
/**
* Is the debug mode enabled?
*/
private boolean fDebugMode= false;
/**
* Keep the test run server alive after a test run has fini... |
19,859 | Bug 19859 [JUnit] Socket connection error | I'll provide more specifics as I come across them. Sorry for the sparse detail. Sometimes (but not always) when I Run.. or Debug.. a JUnit launcher, I get the following exception: Console [<disconnected> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner at localHost:9613] Could not connect to: : 6293 java.net.Conn... | resolved fixed | bf3151a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:09:56Z | 2002-06-10T23:00:00Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/runner/RemoteTestRunner.java | public ReaderThread() {
super("ReaderThread");
}
public void run(){
try {
String message= null;
while (true) {
if ((message= fReader.readLine()) != null) {
if (message.startsWith(MessageIds.TEST_STOP)){
fStopped= true;
RemoteTestRunner.this.stop();
synchroniz... |
19,859 | Bug 19859 [JUnit] Socket connection error | I'll provide more specifics as I come across them. Sorry for the sparse detail. Sometimes (but not always) when I Run.. or Debug.. a JUnit launcher, I get the following exception: Console [<disconnected> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner at localHost:9613] Could not connect to: : 6293 java.net.Conn... | resolved fixed | bf3151a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:09:56Z | 2002-06-10T23:00:00Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/runner/RemoteTestRunner.java | }
}
}
} catch (Exception e) {
RemoteTestRunner.this.stop();
}
}
}
/**
* The main entry point.
* Parameters<pre>
* -classnames: the name of the test suite class
* -host: the host to connect to - default local host
* -port: the port to connect to, mandatory argument
* -kee... |
19,859 | Bug 19859 [JUnit] Socket connection error | I'll provide more specifics as I come across them. Sorry for the sparse detail. Sometimes (but not always) when I Run.. or Debug.. a JUnit launcher, I get the following exception: Console [<disconnected> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner at localHost:9613] Could not connect to: : 6293 java.net.Conn... | resolved fixed | bf3151a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:09:56Z | 2002-06-10T23:00:00Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/runner/RemoteTestRunner.java | System.exit(0);
}
/**
* Parse command line arguments. Hook for subclasses to process
* additional arguments.
*/
protected void init(String[] args) {
defaultInit(args);
}
/**
* The class loader to be used for loading tests.
* Subclasses may override to use another class loader.
*/
protected Cl... |
19,859 | Bug 19859 [JUnit] Socket connection error | I'll provide more specifics as I come across them. Sorry for the sparse detail. Sometimes (but not always) when I Run.. or Debug.. a JUnit launcher, I get the following exception: Console [<disconnected> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner at localHost:9613] Could not connect to: : 6293 java.net.Conn... | resolved fixed | bf3151a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:09:56Z | 2002-06-10T23:00:00Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/runner/RemoteTestRunner.java | }
fTestClassNames= (String[]) list.toArray(new String[list.size()]);
}
else if(args[i].toLowerCase().equals("-port")) {
fPort= Integer.parseInt(args[i+1]);
}
else if(args[i].toLowerCase().equals("-host")) {
fHost= args[i+1];
}
else if(args[i].toLowerCase().equals("-keepalive")) {
... |
19,859 | Bug 19859 [JUnit] Socket connection error | I'll provide more specifics as I come across them. Sorry for the sparse detail. Sometimes (but not always) when I Run.. or Debug.. a JUnit launcher, I get the following exception: Console [<disconnected> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner at localHost:9613] Could not connect to: : 6293 java.net.Conn... | resolved fixed | bf3151a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:09:56Z | 2002-06-10T23:00:00Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/runner/RemoteTestRunner.java | }
fTestResult= new TestResult();
fTestResult.addListener(this);
runTests(fTestClassNames);
fTestResult.removeListener(this);
if (fTestResult != null) {
fTestResult.stop();
fTestResult= null;
}
if (fKeepAlive)
waitForReruns();
shutDown();
}
/**
* Waits for rerun requests until... |
19,859 | Bug 19859 [JUnit] Socket connection error | I'll provide more specifics as I come across them. Sorry for the sparse detail. Sometimes (but not always) when I Run.. or Debug.. a JUnit launcher, I get the following exception: Console [<disconnected> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner at localHost:9613] Could not connect to: : 6293 java.net.Conn... | resolved fixed | bf3151a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:09:56Z | 2002-06-10T23:00:00Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/runner/RemoteTestRunner.java | }
}
/**
* Returns the Test corresponding to the given suite.
*/
private Test getTest(String suiteClassName) {
Class testClass= null;
try {
testClass= loadSuiteClass(suiteClassName);
} catch (ClassNotFoundException e) {
String clazz= e.getMessage();
if (clazz == null)
clazz= suiteClassName;... |
19,859 | Bug 19859 [JUnit] Socket connection error | I'll provide more specifics as I come across them. Sorry for the sparse detail. Sometimes (but not always) when I Run.. or Debug.. a JUnit launcher, I get the following exception: Console [<disconnected> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner at localHost:9613] Could not connect to: : 6293 java.net.Conn... | resolved fixed | bf3151a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:09:56Z | 2002-06-10T23:00:00Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/runner/RemoteTestRunner.java | }
catch (InvocationTargetException e) {
runFailed(JUnitMessages.getFormattedString("RemoteTestRunner.error.invoke", e.getTargetException().toString() ));
return null;
}
catch (IllegalAccessException e) {
runFailed(JUnitMessages.getFormattedString("RemoteTestRunner.error.invoke", e.toString() ));
re... |
19,859 | Bug 19859 [JUnit] Socket connection error | I'll provide more specifics as I come across them. Sorry for the sparse detail. Sometimes (but not always) when I Run.. or Debug.. a JUnit launcher, I get the following exception: Console [<disconnected> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner at localHost:9613] Could not connect to: : 6293 java.net.Conn... | resolved fixed | bf3151a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:09:56Z | 2002-06-10T23:00:00Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/runner/RemoteTestRunner.java | for (int i= 0; i < suites.length; i++) {
Test test= getTest(testClassNames[i]);
suites[i]= test;
}
int count= countTests(suites);
notifyTestRunStarted(count);
if (count == 0) {
notifyTestRunEnded(0);
return;
}
long startTime= System.currentTimeMillis();
if (fDebugMode)
System.... |
19,859 | Bug 19859 [JUnit] Socket connection error | I'll provide more specifics as I come across them. Sorry for the sparse detail. Sometimes (but not always) when I Run.. or Debug.. a JUnit launcher, I get the following exception: Console [<disconnected> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner at localHost:9613] Could not connect to: : 6293 java.net.Conn... | resolved fixed | bf3151a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:09:56Z | 2002-06-10T23:00:00Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/runner/RemoteTestRunner.java | private int countTests(Test[] tests) {
int count= 0;
for (int i= 0; i < tests.length; i++) {
if (tests[i] != null)
count= count + tests[i].countTestCases();
}
return count;
}
/**
* Reruns a test as defined by the fully qualified class name and
* the name of the test.
*/
public void rerunTest(S... |
19,859 | Bug 19859 [JUnit] Socket connection error | I'll provide more specifics as I come across them. Sorry for the sparse detail. Sometimes (but not always) when I Run.. or Debug.. a JUnit launcher, I get the following exception: Console [<disconnected> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner at localHost:9613] Could not connect to: : 6293 java.net.Conn... | resolved fixed | bf3151a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:09:56Z | 2002-06-10T23:00:00Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/runner/RemoteTestRunner.java | /*
* @see TestListener#addError(Test, Throwable)
*/
public final void addError(Test test, Throwable throwable) {
notifyTestFailed(MessageIds.TEST_ERROR, test.toString(), getTrace(throwable));
}
/*
* @see TestListener#addFailure(Test, AssertionFailedError)
*/
public final void addFailure(Test test, Asserti... |
19,859 | Bug 19859 [JUnit] Socket connection error | I'll provide more specifics as I come across them. Sorry for the sparse detail. Sometimes (but not always) when I Run.. or Debug.. a JUnit launcher, I get the following exception: Console [<disconnected> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner at localHost:9613] Could not connect to: : 6293 java.net.Conn... | resolved fixed | bf3151a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:09:56Z | 2002-06-10T23:00:00Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/runner/RemoteTestRunner.java | else if(test instanceof TestSuite){
TestSuite suite= (TestSuite) test;
notifyTestTreeEntry(suite.toString().trim() + ',' + true + ',' + suite.testCount());
for(int i=0; i < suite.testCount(); i++){
sendTree(suite.testAt(i));
}
}
else {
notifyTestTreeEntry(test.toString().trim() + ',' + fal... |
19,859 | Bug 19859 [JUnit] Socket connection error | I'll provide more specifics as I come across them. Sorry for the sparse detail. Sometimes (but not always) when I Run.. or Debug.. a JUnit launcher, I get the following exception: Console [<disconnected> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner at localHost:9613] Could not connect to: : 6293 java.net.Conn... | resolved fixed | bf3151a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:09:56Z | 2002-06-10T23:00:00Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/runner/RemoteTestRunner.java | /**
* Connect to the remote test listener.
*/
private boolean connect() {
if (fDebugMode)
System.out.println("RemoteTestRunner: trying to connect" + fHost + ":" + fPort);
Exception exception= null;
for (int i= 1; i < 5; i++) {
try{
fClientSocket= new Socket(fHost, fPort);
fWriter= new PrintWri... |
19,859 | Bug 19859 [JUnit] Socket connection error | I'll provide more specifics as I come across them. Sorry for the sparse detail. Sometimes (but not always) when I Run.. or Debug.. a JUnit launcher, I get the following exception: Console [<disconnected> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner at localHost:9613] Could not connect to: : 6293 java.net.Conn... | resolved fixed | bf3151a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:09:56Z | 2002-06-10T23:00:00Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/runner/RemoteTestRunner.java | private void shutDown() {
if (fWriter != null) {
fWriter.close();
fWriter= null;
}
try {
if (fReader != null) {
fReader.close();
fReader= null;
}
} catch(IOException e) {
if (fDebugMode)
e.printStackTrace();
}
try {
if (fClientSocket != null) {
fClientSocket.close();
... |
19,859 | Bug 19859 [JUnit] Socket connection error | I'll provide more specifics as I come across them. Sorry for the sparse detail. Sometimes (but not always) when I Run.. or Debug.. a JUnit launcher, I get the following exception: Console [<disconnected> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner at localHost:9613] Could not connect to: : 6293 java.net.Conn... | resolved fixed | bf3151a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:09:56Z | 2002-06-10T23:00:00Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/runner/RemoteTestRunner.java | }
private void notifyTestRunStarted(int testCount) {
sendMessage(MessageIds.TEST_RUN_START + testCount);
}
private void notifyTestRunEnded(long elapsedTime) {
sendMessage(MessageIds.TEST_RUN_END + elapsedTime);
fWriter.flush();
}
private void notifyTestRunStopped(long elapsedTime) {
sendMessage(MessageI... |
19,859 | Bug 19859 [JUnit] Socket connection error | I'll provide more specifics as I come across them. Sorry for the sparse detail. Sometimes (but not always) when I Run.. or Debug.. a JUnit launcher, I get the following exception: Console [<disconnected> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner at localHost:9613] Could not connect to: : 6293 java.net.Conn... | resolved fixed | bf3151a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:09:56Z | 2002-06-10T23:00:00Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/runner/RemoteTestRunner.java | }
private void notifyTestReran(TestResult result, String testClass, String testName) {
TestFailure failure= null;
if (result.errorCount() > 0) {
failure= (TestFailure)result.errors().nextElement();
}
if (result.failureCount() > 0) {
failure= (TestFailure)result.failures().nextElement();
}
if (failu... |
20,405 | Bug 20405 Stack overflow | Non repeatable GPF occurred after running Eclipse F3 for several hours. I selected all the projects in my workspace and chose 'Compute build path' (the PDE option). Just before it crashed it looked like Eclipse was getting sick. An error dialog appeared on the screen that said something like 'Couldn't find class file o... | resolved fixed | 92c549d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:29:23Z | 2002-06-14T21:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileDocumentProvider.java | package org.eclipse.jdt.internal.ui.javaeditor;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/ |
20,405 | Bug 20405 Stack overflow | Non repeatable GPF occurred after running Eclipse F3 for several hours. I selected all the projects in my workspace and chose 'Compute build path' (the PDE option). Just before it crashed it looked like Eclipse was getting sick. An error dialog appeared on the screen that said something like 'Couldn't find class file o... | resolved fixed | 92c549d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:29:23Z | 2002-06-14T21:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileDocumentProvider.java | import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.jface.text.IDocument;
import org.eclipse.jface.text.IDocumentPartitioner;
import ... |
20,405 | Bug 20405 Stack overflow | Non repeatable GPF occurred after running Eclipse F3 for several hours. I selected all the projects in my workspace and chose 'Compute build path' (the PDE option). Just before it crashed it looked like Eclipse was getting sick. An error dialog appeared on the screen that said something like 'Couldn't find class file o... | resolved fixed | 92c549d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:29:23Z | 2002-06-14T21:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileDocumentProvider.java | void inputChanged(IClassFileEditorInput input);
}
/**
* Synchronizes the document with external resource changes.
*/
protected class ClassFileSynchronizer implements IElementChangedListener {
protected IClassFileEditorInput fInput;
protected IPackageFragmentRoot fPackageFragmentRoot;
/**
* Def... |
20,405 | Bug 20405 Stack overflow | Non repeatable GPF occurred after running Eclipse F3 for several hours. I selected all the projects in my workspace and chose 'Compute build path' (the PDE option). Just before it crashed it looked like Eclipse was getting sick. An error dialog appeared on the screen that said something like 'Couldn't find class file o... | resolved fixed | 92c549d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:29:23Z | 2002-06-14T21:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileDocumentProvider.java | */
public void install() {
JavaCore.addElementChangedListener(this);
}
/**
* Uninstalls the synchronizer.
*/
public void uninstall() {
JavaCore.removeElementChangedListener(this);
}
/*
* @see IElementChangedListener#elementChanged
*/
public void elementChanged(ElementChangedEvent... |
20,405 | Bug 20405 Stack overflow | Non repeatable GPF occurred after running Eclipse F3 for several hours. I selected all the projects in my workspace and chose 'Compute build path' (the PDE option). Just before it crashed it looked like Eclipse was getting sick. An error dialog appeared on the screen that said something like 'Couldn't find class file o... | resolved fixed | 92c549d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:29:23Z | 2002-06-14T21:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileDocumentProvider.java | }
}
if (((delta.getFlags() & IJavaElementDelta.F_ARCHIVE_CONTENT_CHANGED) != 0) && input.equals(element)) {
handleDeleted(fInput);
return true;
}
if (((delta.getFlags() & IJavaElementDelta.F_REMOVED_FROM_CLASSPATH) != 0) && input.equals(element)) {
handleDeleted(fInput);
return true;
}... |
20,405 | Bug 20405 Stack overflow | Non repeatable GPF occurred after running Eclipse F3 for several hours. I selected all the projects in my workspace and chose 'Compute build path' (the PDE option). Just before it crashed it looked like Eclipse was getting sick. An error dialog appeared on the screen that said something like 'Couldn't find class file o... | resolved fixed | 92c549d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:29:23Z | 2002-06-14T21:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileDocumentProvider.java | public _FileSynchronizer(IFileEditorInput fileEditorInput) {
super(fileEditorInput);
}
};
/**
* Bundle of all required informations.
*/
protected class ClassFileInfo extends FileInfo {
ClassFileSynchronizer fClassFileSynchronizer= null;
ClassFileInfo(IDocument document, IAnnotationModel model, ... |
20,405 | Bug 20405 Stack overflow | Non repeatable GPF occurred after running Eclipse F3 for several hours. I selected all the projects in my workspace and chose 'Compute build path' (the PDE option). Just before it crashed it looked like Eclipse was getting sick. An error dialog appeared on the screen that said something like 'Couldn't find class file o... | resolved fixed | 92c549d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:29:23Z | 2002-06-14T21:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileDocumentProvider.java | fClassFileSynchronizer= classFileSynchronizer;
}
};
private List fInputListeners= new ArrayList();
/**
* Creates a new document provider.
*/
public ClassFileDocumentProvider() {
super();
}
/*
* @see StorageDocumentProvider#setDocumentContent(IDocument, IEditorInput)
*/
protected boolean setDo... |
20,405 | Bug 20405 Stack overflow | Non repeatable GPF occurred after running Eclipse F3 for several hours. I selected all the projects in my workspace and chose 'Compute build path' (the PDE option). Just before it crashed it looked like Eclipse was getting sick. An error dialog appeared on the screen that said something like 'Couldn't find class file o... | resolved fixed | 92c549d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:29:23Z | 2002-06-14T21:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileDocumentProvider.java | * @exception CoreException if the editor input could not be accessed
*/
protected IAnnotationModel createClassFileAnnotationModel(IClassFileEditorInput classFileEditorInput) throws CoreException {
IResource resource= null;
IClassFile classFile= classFileEditorInput.getClassFile();
IResourceLocator locator= ... |
20,405 | Bug 20405 Stack overflow | Non repeatable GPF occurred after running Eclipse F3 for several hours. I selected all the projects in my workspace and chose 'Compute build path' (the PDE option). Just before it crashed it looked like Eclipse was getting sick. An error dialog appeared on the screen that said something like 'Couldn't find class file o... | resolved fixed | 92c549d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:29:23Z | 2002-06-14T21:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileDocumentProvider.java | return document;
}
/*
* @see AbstractDocumentProvider#createElementInfo(Object)
*/
protected ElementInfo createElementInfo(Object element) throws CoreException {
if (element instanceof IClassFileEditorInput) {
IClassFileEditorInput input = (IClassFileEditorInput) element;
ExternalClassFileEditor... |
20,405 | Bug 20405 Stack overflow | Non repeatable GPF occurred after running Eclipse F3 for several hours. I selected all the projects in my workspace and chose 'Compute build path' (the PDE option). Just before it crashed it looked like Eclipse was getting sick. An error dialog appeared on the screen that said something like 'Couldn't find class file o... | resolved fixed | 92c549d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:29:23Z | 2002-06-14T21:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileDocumentProvider.java | return info;
} else if (input instanceof InternalClassFileEditorInput) {
ClassFileSynchronizer s= new ClassFileSynchronizer(input);
s.install();
return new ClassFileInfo(d, m, s);
}
}
return null;
}
/*
* @see FileDocumentProvider#disposeElementInfo(Object, ElementInfo)
*/
protected ... |
20,405 | Bug 20405 Stack overflow | Non repeatable GPF occurred after running Eclipse F3 for several hours. I selected all the projects in my workspace and chose 'Compute build path' (the PDE option). Just before it crashed it looked like Eclipse was getting sick. An error dialog appeared on the screen that said something like 'Couldn't find class file o... | resolved fixed | 92c549d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:29:23Z | 2002-06-14T21:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileDocumentProvider.java | /**
* Handles the deletion of the element underlying the given class file editor input.
* @param input the editor input
*/
protected void handleDeleted(IClassFileEditorInput input) {
fireElementDeleted(input);
}
/**
* Fires input changes to input change listeners.
*/
protected void fireInputChanged(IC... |
20,508 | Bug 20508 TVT2: hardcoded string in NewTestSuiteCreationWizardPage.java | Build F3 In NewTestSuiteCreationWizardPage.java there is a hardcoded string that shows up in the JUnit Test Suite creation page. I have attached a screenshot from a Japanese tester that shows where this appears. To replicate: From the resource perspective, project in the Navigator. Right click on it to bring up a conte... | resolved fixed | 690b9cf | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:32:25Z | 2002-06-17T18:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/NewTestSuiteCreationWizardPage.java | /*
* (c) Copyright IBM Corp. 2000, 2002.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.junit.wizards;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.r... |
20,508 | Bug 20508 TVT2: hardcoded string in NewTestSuiteCreationWizardPage.java | Build F3 In NewTestSuiteCreationWizardPage.java there is a hardcoded string that shows up in the JUnit Test Suite creation page. I have attached a screenshot from a Japanese tester that shows where this appears. To replicate: From the resource perspective, project in the Navigator. Right click on it to bring up a conte... | resolved fixed | 690b9cf | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:32:25Z | 2002-06-17T18:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/NewTestSuiteCreationWizardPage.java | import org.eclipse.jdt.internal.junit.util.SWTUtil;
import org.eclipse.jdt.internal.junit.util.TestSearchEngine;
import org.eclipse.jdt.ui.JavaElementLabelProvider;
import org.eclipse.jdt.ui.wizards.NewTypeWizardPage;
import org.eclipse.jface.dialogs.IDialogSettings;
import org.eclipse.jface.dialogs.MessageDialog;
impo... |
20,508 | Bug 20508 TVT2: hardcoded string in NewTestSuiteCreationWizardPage.java | Build F3 In NewTestSuiteCreationWizardPage.java there is a hardcoded string that shows up in the JUnit Test Suite creation page. I have attached a screenshot from a Japanese tester that shows where this appears. To replicate: From the resource perspective, project in the Navigator. Right click on it to bring up a conte... | resolved fixed | 690b9cf | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:32:25Z | 2002-06-17T18:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/NewTestSuiteCreationWizardPage.java | private final static String PAGE_NAME= "NewTestSuiteCreationWizardPage";
private final static String CLASSES_IN_SUITE= PAGE_NAME + ".classesinsuite";
private final static String SUITE_NAME= PAGE_NAME + ".suitename";
private final static String SELECTED_CLASSES_LABEL_TEXT_ONE= " class selected.";
private final s... |
20,508 | Bug 20508 TVT2: hardcoded string in NewTestSuiteCreationWizardPage.java | Build F3 In NewTestSuiteCreationWizardPage.java there is a hardcoded string that shows up in the JUnit Test Suite creation page. I have attached a screenshot from a Japanese tester that shows where this appears. To replicate: From the resource perspective, project in the Navigator. Right click on it to bring up a conte... | resolved fixed | 690b9cf | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:32:25Z | 2002-06-17T18:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/NewTestSuiteCreationWizardPage.java | super(true, PAGE_NAME);
fSuiteNameStatus= new JUnitStatus();
fSuiteNameTextInitialValue= "";
setTitle(WizardMessages.getString("NewTestSuiteWizPage.title"));
setDescription(WizardMessages.getString("NewTestSuiteWizPage.description"));
String[] buttonNames= new String[] {
"public static void main(Stri... |
20,508 | Bug 20508 TVT2: hardcoded string in NewTestSuiteCreationWizardPage.java | Build F3 In NewTestSuiteCreationWizardPage.java there is a hardcoded string that shows up in the JUnit Test Suite creation page. I have attached a screenshot from a Japanese tester that shows where this appears. To replicate: From the resource perspective, project in the Navigator. Right click on it to bring up a conte... | resolved fixed | 690b9cf | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:32:25Z | 2002-06-17T18:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/NewTestSuiteCreationWizardPage.java | createContainerControls(composite, nColumns);
createPackageControls(composite, nColumns);
createSeparator(composite, nColumns);
createSuiteNameControl(composite, nColumns);
setTypeName("AllTests", true);
createSeparator(composite, nColumns);
createClassesInSuiteControl(composite, nColumns);
createMetho... |
20,508 | Bug 20508 TVT2: hardcoded string in NewTestSuiteCreationWizardPage.java | Build F3 In NewTestSuiteCreationWizardPage.java there is a hardcoded string that shows up in the JUnit Test Suite creation page. I have attached a screenshot from a Japanese tester that shows where this appears. To replicate: From the resource perspective, project in the Navigator. Right click on it to bring up a conte... | resolved fixed | 690b9cf | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:32:25Z | 2002-06-17T18:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/NewTestSuiteCreationWizardPage.java | /**
* @see NewContainerWizardPage#handleFieldChanged
*/
protected void handleFieldChanged(String fieldName) {
super.handleFieldChanged(fieldName);
if (fieldName.equals(PACKAGE) || fieldName.equals(CONTAINER)) {
if (fieldName.equals(PACKAGE))
fPackageStatus= packageChanged();
updateClassesInSuiteTable... |
20,508 | Bug 20508 TVT2: hardcoded string in NewTestSuiteCreationWizardPage.java | Build F3 In NewTestSuiteCreationWizardPage.java there is a hardcoded string that shows up in the JUnit Test Suite creation page. I have attached a screenshot from a Japanese tester that shows where this appears. To replicate: From the resource perspective, project in the Navigator. Right click on it to bring up a conte... | resolved fixed | 690b9cf | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:32:25Z | 2002-06-17T18:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/NewTestSuiteCreationWizardPage.java | /**
* @see DialogPage#setVisible(boolean)
*/
public void setVisible(boolean visible) {
super.setVisible(visible);
if (visible) {
setFocus();
updateClassesInSuiteTable();
}
}
protected void updateClassesInSuiteTable() {
if (fClassesInSuiteTable != null) {
IPackageFragment pack= getPackageFragme... |
20,508 | Bug 20508 TVT2: hardcoded string in NewTestSuiteCreationWizardPage.java | Build F3 In NewTestSuiteCreationWizardPage.java there is a hardcoded string that shows up in the JUnit Test Suite creation page. I have attached a screenshot from a Japanese tester that shows where this appears. To replicate: From the resource perspective, project in the Navigator. Right click on it to bring up a conte... | resolved fixed | 690b9cf | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:32:25Z | 2002-06-17T18:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/NewTestSuiteCreationWizardPage.java | label.setText(WizardMessages.getString("NewTestSuiteWizPage.classes_in_suite.label"));
GridData gd= new GridData();
gd.horizontalAlignment = GridData.FILL;
gd.horizontalSpan= nColumns;
label.setLayoutData(gd);
fClassesInSuiteTable= CheckboxTableViewer.newCheckList(parent, SWT.BORDER);
gd= new GridDat... |
20,508 | Bug 20508 TVT2: hardcoded string in NewTestSuiteCreationWizardPage.java | Build F3 In NewTestSuiteCreationWizardPage.java there is a hardcoded string that shows up in the JUnit Test Suite creation page. I have attached a screenshot from a Japanese tester that shows where this appears. To replicate: From the resource perspective, project in the Navigator. Right click on it to bring up a conte... | resolved fixed | 690b9cf | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:32:25Z | 2002-06-17T18:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/NewTestSuiteCreationWizardPage.java | fSelectAllButton.setLayoutData(bgd);
fSelectAllButton.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
fClassesInSuiteTable.setAllChecked(true);
handleFieldChanged(CLASSES_IN_SUITE);
}
});
fDeselectAllButton= new Button(buttonContainer, SWT.PUSH);... |
20,508 | Bug 20508 TVT2: hardcoded string in NewTestSuiteCreationWizardPage.java | Build F3 In NewTestSuiteCreationWizardPage.java there is a hardcoded string that shows up in the JUnit Test Suite creation page. I have attached a screenshot from a Japanese tester that shows where this appears. To replicate: From the resource perspective, project in the Navigator. Right click on it to bring up a conte... | resolved fixed | 690b9cf | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:32:25Z | 2002-06-17T18:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/NewTestSuiteCreationWizardPage.java | private Object[] fTypes;
public ClassesInSuitContentProvider() {
super();
}
public Object[] getElements(Object parent) {
try {
if (parent instanceof IPackageFragment) {
IPackageFragment pack= (IPackageFragment) parent;
ICompilationUnit[] cuArray= pack.getCompilationUnits();
ArrayLi... |
20,508 | Bug 20508 TVT2: hardcoded string in NewTestSuiteCreationWizardPage.java | Build F3 In NewTestSuiteCreationWizardPage.java there is a hardcoded string that shows up in the JUnit Test Suite creation page. I have attached a screenshot from a Japanese tester that shows where this appears. To replicate: From the resource perspective, project in the Navigator. Right click on it to bring up a conte... | resolved fixed | 690b9cf | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:32:25Z | 2002-06-17T18:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/NewTestSuiteCreationWizardPage.java | }
public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
}
}
/*
* @see TypePage#evalMethods
*/
protected void createTypeMembers(IType type, ImportsManager imports, IProgressMonitor monitor) throws CoreException {
writeImports(imports);
if (fMethodStubsButtons.isEnabled() && fMetho... |
20,508 | Bug 20508 TVT2: hardcoded string in NewTestSuiteCreationWizardPage.java | Build F3 In NewTestSuiteCreationWizardPage.java there is a hardcoded string that shows up in the JUnit Test Suite creation page. I have attached a screenshot from a Japanese tester that shows where this appears. To replicate: From the resource perspective, project in the Navigator. Right click on it to bring up a conte... | resolved fixed | 690b9cf | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:32:25Z | 2002-06-17T18:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/NewTestSuiteCreationWizardPage.java | * Returns the new code to be included in a new suite() or which replaces old code in an existing suite().
*/
public static String getUpdatableString(Object[] selectedClasses) throws JavaModelException {
StringBuffer suite= new StringBuffer();
suite.append(START_MARKER+"\n");
for (int i= 0; i < selectedClasses... |
20,508 | Bug 20508 TVT2: hardcoded string in NewTestSuiteCreationWizardPage.java | Build F3 In NewTestSuiteCreationWizardPage.java there is a hardcoded string that shows up in the JUnit Test Suite creation page. I have attached a screenshot from a Japanese tester that shows where this appears. To replicate: From the resource perspective, project in the Navigator. Right click on it to bring up a conte... | resolved fixed | 690b9cf | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:32:25Z | 2002-06-17T18:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/NewTestSuiteCreationWizardPage.java | if (monitor == null) {
monitor= new NullProgressMonitor();
}
updateExistingClass(monitor);
} catch (CoreException e) {
throw new InvocationTargetException(e);
}
}
};
}
protected void updateExistingClass(IProgressMonitor monitor) throws CoreException, InterruptedException {
t... |
20,508 | Bug 20508 TVT2: hardcoded string in NewTestSuiteCreationWizardPage.java | Build F3 In NewTestSuiteCreationWizardPage.java there is a hardcoded string that shows up in the JUnit Test Suite creation page. I have attached a screenshot from a Japanese tester that shows where this appears. To replicate: From the resource perspective, project in the Navigator. Right click on it to bring up a conte... | resolved fixed | 690b9cf | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:32:25Z | 2002-06-17T18:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/NewTestSuiteCreationWizardPage.java | if (range != null) {
IBuffer buf= cu.getBuffer();
String originalContent= buf.getText(range.getOffset(), range.getLength());
StringBuffer source= new StringBuffer(originalContent);
int start= source.toString().indexOf(START_MARKER);
if (start > -1) {
int end= sou... |
20,508 | Bug 20508 TVT2: hardcoded string in NewTestSuiteCreationWizardPage.java | Build F3 In NewTestSuiteCreationWizardPage.java there is a hardcoded string that shows up in the JUnit Test Suite creation page. I have attached a screenshot from a Japanese tester that shows where this appears. To replicate: From the resource perspective, project in the Navigator. Right click on it to bring up a conte... | resolved fixed | 690b9cf | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:32:25Z | 2002-06-17T18:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/NewTestSuiteCreationWizardPage.java | }
} else {
MessageDialog.openError(getShell(), WizardMessages.getString("NewTestSuiteWizPage.createType.updateErrorDialog.title"), WizardMessages.getString("NewTestSuiteWizPage.createType.updateErrorDialog.message"));
}
} else {
suiteType.createMethod(getSuiteMethodString(), null, true, monitor);
... |
20,508 | Bug 20508 TVT2: hardcoded string in NewTestSuiteCreationWizardPage.java | Build F3 In NewTestSuiteCreationWizardPage.java there is a hardcoded string that shows up in the JUnit Test Suite creation page. I have attached a screenshot from a Japanese tester that shows where this appears. To replicate: From the resource perspective, project in the Navigator. Right click on it to bring up a conte... | resolved fixed | 690b9cf | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:32:25Z | 2002-06-17T18:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/NewTestSuiteCreationWizardPage.java | JUnitStatus status= new JUnitStatus();
if (fClassesInSuiteTable.getCheckedElements().length <= 0)
status.setWarning(WizardMessages.getString("NewTestSuiteWizPage.classes_in_suite.error.no_testclasses_selected"));
return status;
}
private void updateSelectedClassesLabel() {
int noOfClassesChecked= fClasses... |
20,508 | Bug 20508 TVT2: hardcoded string in NewTestSuiteCreationWizardPage.java | Build F3 In NewTestSuiteCreationWizardPage.java there is a hardcoded string that shows up in the JUnit Test Suite creation page. I have attached a screenshot from a Japanese tester that shows where this appears. To replicate: From the resource perspective, project in the Navigator. Right click on it to bring up a conte... | resolved fixed | 690b9cf | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:32:25Z | 2002-06-17T18:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/NewTestSuiteCreationWizardPage.java | fSuiteNameText.setLayoutData(gd);
Label space= new Label(composite, SWT.LEFT);
space.setText(" ");
gd= new GridData();
gd.horizontalSpan= 1;
space.setLayoutData(gd);
}
/**
* Gets the type name.
*/
public String getTypeName() {
return (fSuiteNameText==null)?fSuiteNameTextInitialValue:fSuiteNam... |
20,508 | Bug 20508 TVT2: hardcoded string in NewTestSuiteCreationWizardPage.java | Build F3 In NewTestSuiteCreationWizardPage.java there is a hardcoded string that shows up in the JUnit Test Suite creation page. I have attached a screenshot from a Japanese tester that shows where this appears. To replicate: From the resource perspective, project in the Navigator. Right click on it to bring up a conte... | resolved fixed | 690b9cf | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:32:25Z | 2002-06-17T18:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/NewTestSuiteCreationWizardPage.java | * The method validates the type name and returns the status of the validation.
* Can be extended to add more validation
*/
protected IStatus testSuiteChanged() {
JUnitStatus status= new JUnitStatus();
String typeName= getTypeName();
if (typeName.length() == 0) {
status.setError(WizardMessages.getString... |
20,508 | Bug 20508 TVT2: hardcoded string in NewTestSuiteCreationWizardPage.java | Build F3 In NewTestSuiteCreationWizardPage.java there is a hardcoded string that shows up in the JUnit Test Suite creation page. I have attached a screenshot from a Japanese tester that shows where this appears. To replicate: From the resource perspective, project in the Navigator. Right click on it to bring up a conte... | resolved fixed | 690b9cf | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:32:25Z | 2002-06-17T18:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/NewTestSuiteCreationWizardPage.java | }
}
fMethodStubsButtons.setEnabled(true);
return status;
}
/**
* Sets the focus.
*/
protected void setFocus() {
fSuiteNameText.setFocus();
}
/**
* Sets the classes in <code>elements</code> as checked.
*/
public void setCheckedElements(Object[] elements) {
fClassesInSuiteTable.setCheckedElemen... |
20,508 | Bug 20508 TVT2: hardcoded string in NewTestSuiteCreationWizardPage.java | Build F3 In NewTestSuiteCreationWizardPage.java there is a hardcoded string that shows up in the JUnit Test Suite creation page. I have attached a screenshot from a Japanese tester that shows where this appears. To replicate: From the resource perspective, project in the Navigator. Right click on it to bring up a conte... | resolved fixed | 690b9cf | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-20T09:32:25Z | 2002-06-17T18:53:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/NewTestSuiteCreationWizardPage.java | private void restoreWidgetValues() {
IDialogSettings settings= getDialogSettings();
if (settings != null) {
boolean generateMain= settings.getBoolean(STORE_GENERATE_MAIN);
fMethodStubsButtons.setSelection(0, generateMain);
fMethodStubsButtons.setEnabled(1, generateMain);
fMethodStubsButtons.setSelection... |
20,700 | Bug 20700 Code assist activates help UI | null | resolved fixed | cf9960f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-21T11:19:12Z | 2002-06-20T02:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | package org.eclipse.jdt.internal.ui.javaeditor;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.ScrolledComposite;
import org.eclipse.swt.custom.StackLayout;
impo... |
20,700 | Bug 20700 Code assist activates help UI | null | resolved fixed | cf9960f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-21T11:19:12Z | 2002-06-20T02:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.ScrollBar;
import org.eclipse.core.resources.IFi... |
20,700 | Bug 20700 Code assist activates help UI | null | resolved fixed | cf9960f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-21T11:19:12Z | 2002-06-20T02:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | import org.eclipse.jdt.core.IJavaModelStatusConstants;
import org.eclipse.jdt.core.IPackageFragmentRoot;
import org.eclipse.jdt.core.JavaCore;
import org.eclipse.jdt.core.JavaModelException;
import org.eclipse.jdt.core.ToolFactory;
import org.eclipse.jdt.core.util.IClassFileDisassembler;
import org.eclipse.jdt.core.uti... |
20,700 | Bug 20700 Code assist activates help UI | null | resolved fixed | cf9960f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-21T11:19:12Z | 2002-06-20T02:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | private List fHeaderLabels= new ArrayList();
private Font fFont;
/**
* Creates a source attachment form for a class file.
*/
public SourceAttachmentForm(IClassFile file) {
fFile= file;
}
/**
* Returns the package fragment root of this file.
*/
private IPackageFragmentRoot g... |
20,700 | Bug 20700 Code assist activates help UI | null | resolved fixed | cf9960f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-21T11:19:12Z | 2002-06-20T02:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | fSeparatorColor= new Color(display, 152, 170, 203);
JFaceResources.getFontRegistry().addListener(this);
fScrolledComposite= new ScrolledComposite(parent, SWT.H_SCROLL | SWT.V_SCROLL);
fScrolledComposite.setAlwaysShowScrollBars(false);
fScrolledComposite.setExpandHorizontal(true);
fScrolledComp... |
20,700 | Bug 20700 Code assist activates help UI | null | resolved fixed | cf9960f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-21T11:19:12Z | 2002-06-20T02:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | verticalBar.setPageIncrement(clientArea.height - verticalBar.getIncrement());
ScrollBar horizontalBar= fScrolledComposite.getHorizontalBar();
horizontalBar.setIncrement(HORIZONTAL_SCROLL_INCREMENT);
horizontalBar.setPageIncrement(clientArea.width - horizontalBar.getIncrement());
}
});
... |
20,700 | Bug 20700 Code assist activates help UI | null | resolved fixed | cf9960f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-21T11:19:12Z | 2002-06-20T02:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | } else if (entry != null && entry.getEntryKind() == IClasspathEntry.CPE_CONTAINER) {
IClasspathContainer container= JavaCore.getClasspathContainer(entry.getPath(), root.getJavaProject());
String containerName= container == null ? entry.getPath().toString() : container.getDescription();
crea... |
20,700 | Bug 20700 Code assist activates help UI | null | resolved fixed | cf9960f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-21T11:19:12Z | 2002-06-20T02:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | if (dialog.open() == SourceAttachmentDialog.OK)
verifyInput(getEditorInput());
} catch (CoreException e) {
String title= JavaEditorMessages.getString("SourceAttachmentForm.error.title");
String message= JavaEditorMessages.getString("SourceAttachmentForm.error.message");
... |
20,700 | Bug 20700 Code assist activates help UI | null | resolved fixed | cf9960f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-21T11:19:12Z | 2002-06-20T02:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | fScrolledComposite.setContent(composite);
fScrolledComposite.setMinSize(composite.computeSize(SWT.DEFAULT, SWT.DEFAULT));
return fScrolledComposite;
}
/*
* @see IPropertyChangeListener#propertyChange(PropertyChangeEvent)
*/
public void propertyChange(PropertyChangeEvent event) {
... |
20,700 | Bug 20700 Code assist activates help UI | null | resolved fixed | cf9960f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-21T11:19:12Z | 2002-06-20T02:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | private Composite createComposite(Composite parent) {
Composite composite = new Composite(parent, SWT.NONE);
composite.setBackground(fBackgroundColor);
return composite;
}
private Composite createCompositeSeparator(Composite parent) {
Composite composite = new Composite(parent, S... |
20,700 | Bug 20700 Code assist activates help UI | null | resolved fixed | cf9960f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-21T11:19:12Z | 2002-06-20T02:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | if (store != null) {
FontData data= null;
if (store.contains(PREFERENCE_FONT) && !store.isDefault(PREFERENCE_FONT))
data= PreferenceConverter.getFontData(store, PREFERENCE_FONT);
else
data= PreferenceConverter.getDefaultFontData(store, PREFERENCE_FONT);
if (data != null) {
... |
20,700 | Bug 20700 Code assist activates help UI | null | resolved fixed | cf9960f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-21T11:19:12Z | 2002-06-20T02:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | label.setText(text);
label.setBackground(fBackgroundColor);
label.setForeground(fForegroundColor);
label.setFont(JFaceResources.getHeaderFont());
fHeaderLabels.add(label);
return label;
}
private Label createHeadingLabel(Composite parent, String text) {
Label label = new Label(parent, S... |
20,700 | Bug 20700 Code assist activates help UI | null | resolved fixed | cf9960f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-21T11:19:12Z | 2002-06-20T02:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | String content= null;
int flags= IClassFileReader.FIELD_INFOS | IClassFileReader.METHOD_INFOS | IClassFileReader.SUPER_INTERFACES;
IClassFileReader classFileReader= ToolFactory.createDefaultClassFileReader(classFile, flags);
if (classFileReader != null) {
IClassFileDisassembler disassembler= ToolF... |
20,700 | Bug 20700 Code assist activates help UI | null | resolved fixed | cf9960f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-21T11:19:12Z | 2002-06-20T02:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | /*
* @see AbstractTextEditor#createActions()
*/
protected void createActions() {
super.createActions();
setAction(ITextEditorActionConstants.SAVE, null);
setAction(ITextEditorActionConstants.REVERT_TO_SAVED, null);
/*
* 1GF82PL: ITPJUI:ALL - Need to be able to add bookmark to classfile
*
* ... |
20,700 | Bug 20700 Code assist activates help UI | null | resolved fixed | cf9960f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-21T11:19:12Z | 2002-06-20T02:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | return input.getClassFile().getElementAt(offset);
} catch (JavaModelException x) {
}
}
return null;
}
/*
* @see JavaEditor#getCorrespondingElement(IJavaElement)
*/
protected IJavaElement getCorrespondingElement(IJavaElement element) {
if (getEditorInput() instanceof IClassFileEditorInput) {
ICla... |
20,700 | Bug 20700 Code assist activates help UI | null | resolved fixed | cf9960f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-21T11:19:12Z | 2002-06-20T02:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | if (page != null && input instanceof IClassFileEditorInput) {
IClassFileEditorInput cfi= (IClassFileEditorInput) input;
page.setInput(cfi.getClassFile());
}
}
/*
* 1GEPKT5: ITPJUI:Linux - Source in editor for external classes is editable
* Removed methods isSaveOnClosedNeeded and isDirty.
* Added meth... |
20,700 | Bug 20700 Code assist activates help UI | null | resolved fixed | cf9960f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-21T11:19:12Z | 2002-06-20T02:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | if (classFileInput.getClassFile() != null)
input= classFileInput;
}
return input;
}
/*
* @see AbstractTextEditor#doSetInput(IEditorInput)
*/
protected void doSetInput(IEditorInput input) throws CoreException {
input= transformEditorInput(input);
if (!(input instanceof IClassFileEditorInput))
... |
20,700 | Bug 20700 Code assist activates help UI | null | resolved fixed | cf9960f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-21T11:19:12Z | 2002-06-20T02:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | ((ClassFileDocumentProvider) documentProvider).addInputChangeListener(this);
verifyInput(getEditorInput());
}
/*
* @see IWorkbenchPart#createPartControl(Composite)
*/
public void createPartControl(Composite parent) {
fParent= new Composite(parent, SWT.NONE);
fStackLayout= new StackLayout();
fParent.setLa... |
20,700 | Bug 20700 Code assist activates help UI | null | resolved fixed | cf9960f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-21T11:19:12Z | 2002-06-20T02:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | element= element.getParent();
return (IPackageFragmentRoot) element;
}
private JavaModelException probeInputForSource(IEditorInput input) {
if (input == null)
return null;
IClassFileEditorInput classFileEditorInput= (IClassFileEditorInput) input;
IClassFile file= classFileEditorInput.getClassFile();
... |
20,700 | Bug 20700 Code assist activates help UI | null | resolved fixed | cf9960f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-21T11:19:12Z | 2002-06-20T02:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | SourceAttachmentForm form= new SourceAttachmentForm(file);
fSourceAttachmentForm= form.createControl(fParent);
fStackLayout.topControl= fSourceAttachmentForm;
fParent.layout();
} else {
if (fSourceAttachmentForm != null) {
fSourceAttachmentForm.dispose();
fSourceAttachmentForm= null;
fSt... |
20,700 | Bug 20700 Code assist activates help UI | null | resolved fixed | cf9960f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-21T11:19:12Z | 2002-06-20T02:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | }
}
}
/*
* @see JavaEditor#createJavaSourceViewer(Composite, IVerticalRuler, int)
*/
protected ISourceViewer createJavaSourceViewer(Composite parent, IVerticalRuler ruler, int styles) {
return new SourceViewer(parent, ruler, styles) {
public boolean requestWidgetToken(IWidgetTokenKeeper request... |
20,700 | Bug 20700 Code assist activates help UI | null | resolved fixed | cf9960f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-21T11:19:12Z | 2002-06-20T02:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | package org.eclipse.jdt.internal.ui.javaeditor;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.StyledText;
im... |
20,700 | Bug 20700 Code assist activates help UI | null | resolved fixed | cf9960f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-21T11:19:12Z | 2002-06-20T02:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Layout;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IMarker;
import org.eclipse.core.resources.IWorkspace;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.cor... |
20,700 | Bug 20700 Code assist activates help UI | null | resolved fixed | cf9960f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-21T11:19:12Z | 2002-06-20T02:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | import org.eclipse.jface.text.contentassist.ContentAssistant;
import org.eclipse.jface.text.contentassist.IContentAssistant;
import org.eclipse.jface.text.source.Annotation;
import org.eclipse.jface.text.source.IAnnotationModel;
import org.eclipse.jface.text.source.ISourceViewer;
import org.eclipse.jface.text.source.IV... |
20,700 | Bug 20700 Code assist activates help UI | null | resolved fixed | cf9960f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-21T11:19:12Z | 2002-06-20T02:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | import org.eclipse.jdt.core.IImportContainer;
import org.eclipse.jdt.core.IImportDeclaration;
import org.eclipse.jdt.core.IJavaElement;
import org.eclipse.jdt.core.ISourceRange;
import org.eclipse.jdt.core.ISourceReference;
import org.eclipse.jdt.core.JavaCore;
import org.eclipse.jdt.core.JavaModelException;
import org... |
20,700 | Bug 20700 Code assist activates help UI | null | resolved fixed | cf9960f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-21T11:19:12Z | 2002-06-20T02:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | interface ITextConverter {
void customizeDocumentCommand(IDocument document, DocumentCommand command);
};
class AdaptedRulerLayout extends Layout {
protected int fGap;
protected AdaptedSourceViewer fAdaptedSourceViewer;
protected AdaptedRulerLayout(int gap, AdaptedSourceViewer asv) {
fGap= gap... |
20,700 | Bug 20700 Code assist activates help UI | null | resolved fixed | cf9960f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-21T11:19:12Z | 2002-06-20T02:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | protected void layout(Composite composite, boolean flushCache) {
Rectangle clArea= composite.getClientArea();
if (fAdaptedSourceViewer.isVerticalRulerVisible()) {
StyledText textWidget= fAdaptedSourceViewer.getTextWidget();
Rectangle trim= textWidget.computeTrim(0, 0, 0, 0);
int scrollbarHeight= ... |
20,700 | Bug 20700 Code assist activates help UI | null | resolved fixed | cf9960f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-21T11:19:12Z | 2002-06-20T02:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | private List fTextConverters;
private OverviewRuler fOverviewRuler;
private boolean fIsOverviewRulerVisible;
private boolean fIgnoreTextConverters= false;
private IVerticalRuler fCachedVerticalRuler;
private boolean fCachedIsVerticalRulerVisible;
public AdaptedSourceViewer(Composite parent, IVertic... |
20,700 | Bug 20700 Code assist activates help UI | null | resolved fixed | cf9960f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-21T11:19:12Z | 2002-06-20T02:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | public void showAnnotations(boolean show) {
fCachedIsVerticalRulerVisible= (show && fCachedVerticalRuler != null);
super.showAnnotations(show);
}
public IContentAssistant getContentAssistant() {
return fContentAssistant;
}
/*
* @see ITextOperationTarget#doOperation(int)
*/
public void doO... |
20,700 | Bug 20700 Code assist activates help UI | null | resolved fixed | cf9960f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-21T11:19:12Z | 2002-06-20T02:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | super.doOperation(operation);
}
public void insertTextConverter(ITextConverter textConverter, int index) {
throw new UnsupportedOperationException();
}
public void addTextConverter(ITextConverter textConverter) {
if (fTextConverters == null) {
fTextConverters= new ArrayList(1);
fTextConverte... |
20,700 | Bug 20700 Code assist activates help UI | null | resolved fixed | cf9960f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-21T11:19:12Z | 2002-06-20T02:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | ((ITextConverter) e.next()).customizeDocumentCommand(getDocument(), command);
}
fIgnoreTextConverters= false;
}
public IVerticalRuler getVerticalRuler() {
return fCachedVerticalRuler;
}
public boolean isVerticalRulerVisible() {
return fCachedIsVerticalRulerVisible;
}
public OverviewRule... |
20,700 | Bug 20700 Code assist activates help UI | null | resolved fixed | cf9960f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-21T11:19:12Z | 2002-06-20T02:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | Composite composite= (Composite) control;
composite.setLayout(new AdaptedRulerLayout(GAP_SIZE, this));
fOverviewRuler.createControl(composite, this);
}
}
public void hideOverviewRuler() {
fIsOverviewRulerVisible= false;
Control control= getControl();
if (control instanceof Composite) {
Co... |
20,700 | Bug 20700 Code assist activates help UI | null | resolved fixed | cf9960f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-21T11:19:12Z | 2002-06-20T02:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | */
public void setDocument(IDocument document, IAnnotationModel annotationModel, int visibleRegionOffset, int visibleRegionLength) {
super.setDocument(document, annotationModel, visibleRegionOffset, visibleRegionLength);
fOverviewRuler.setModel(annotationModel);
}
public void updateIndentationPrefixes... |
20,700 | Bug 20700 Code assist activates help UI | null | resolved fixed | cf9960f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-21T11:19:12Z | 2002-06-20T02:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | private int fTabRatio;
private ILineTracker fLineTracker;
public TabConverter() {
}
public void setNumberOfSpacesPerTab(int ratio) {
fTabRatio= ratio;
}
public void setLineTracker(ILineTracker lineTracker) {
fLineTracker= lineTracker;
}
private int insertTabString(StringBuffer buffer,... |
20,700 | Bug 20700 Code assist activates help UI | null | resolved fixed | cf9960f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-21T11:19:12Z | 2002-06-20T02:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | return 0;
int remainder= offsetInLine % fTabRatio;
remainder= fTabRatio - remainder;
for (int i= 0; i < remainder; i++)
buffer.append(' ');
return remainder;
}
public void customizeDocumentCommand(IDocument document, DocumentCommand command) {
String text= command.text;
if (text == nul... |
20,700 | Bug 20700 Code assist activates help UI | null | resolved fixed | cf9960f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-21T11:19:12Z | 2002-06-20T02:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | int position= 0;
if (i == 0) {
IRegion firstLine= document.getLineInformationOfOffset(command.offset);
position= command.offset - firstLine.getOffset();
}
int length= line.length();
for (int j= 0; j < length; j++) {
char c= line.charAt(j);
if (c == '\... |
20,700 | Bug 20700 Code assist activates help UI | null | resolved fixed | cf9960f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-21T11:19:12Z | 2002-06-20T02:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | */
public void propertyChange(org.eclipse.core.runtime.Preferences.PropertyChangeEvent event) {
handlePreferencePropertyChanged(event);
}
}
private final static String CODE_FORMATTER_TAB_SIZE= JavaCore.FORMATTER_TAB_SIZE;
public final static String MATCHING_BRACKETS= "matchingBrackets";
public fina... |
20,700 | Bug 20700 Code assist activates help UI | null | resolved fixed | cf9960f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-21T11:19:12Z | 2002-06-20T02:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java | public final static String OVERVIEW_RULER= "overviewRuler";
protected ISelectionChangedListener fStatusLineClearer;
protected ISavePolicy fSavePolicy;
private JavaEditorErrorTickUpdater fJavaEditorErrorTickUpdater;
private PaintManager fPaintManager;
private BracketPainter fBracketPainter;
priv... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.