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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
12,188 | Bug 12188 Wrong Stylesheet Flag for Javadoc + impossible to deaktivate selection | javadoc: invalid flag: -stylsheet shouldbe: javadoc -stylesheetfile And it's im possible to deactivate the selecting of using the external Stylesheet. | resolved fixed | 7944787 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T14:01:18Z | 2002-03-23T19:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocOptionsManager.java | fNotree= loadbutton(element.getAttribute(NOTREE));
fSplitindex= loadbutton(element.getAttribute(SPLITINDEX));
}
public StatusInfo getWizardStatus() {
return fWizardStatus;
}
public List getPackagenames() {
return fPackages;
}
public String getAccess() {
return fAccess;
}
public String getAntpath() {
... |
12,188 | Bug 12188 Wrong Stylesheet Flag for Javadoc + impossible to deaktivate selection | javadoc: invalid flag: -stylsheet shouldbe: javadoc -stylesheetfile And it's im possible to deactivate the selecting of using the external Stylesheet. | resolved fixed | 7944787 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T14:01:18Z | 2002-03-23T19:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocOptionsManager.java | }
public String getOverview() {
return fOverview;
}
public String getAdditionalParams() {
return fAdditionalParams;
}
public String getClasspath() {
return fClasspath;
}
public String getSourcepath() {
return fSourcepath;
}
public IWorkspaceRoot getRoot() {
return fRoot;
}
public IJavaProject getJa... |
12,188 | Bug 12188 Wrong Stylesheet Flag for Javadoc + impossible to deaktivate selection | javadoc: invalid flag: -stylsheet shouldbe: javadoc -stylesheetfile And it's im possible to deactivate the selecting of using the external Stylesheet. | resolved fixed | 7944787 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T14:01:18Z | 2002-03-23T19:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocOptionsManager.java | else if (flag.equals(NODEPRECATEDLIST))
return fNoDeprecatedlist;
else if (flag.equals(NOINDEX))
return fNoindex;
else if (flag.equals(NOTREE))
return fNotree;
else if (flag.equals(SPLITINDEX))
return fSplitindex;
else if (flag.equals(NONAVBAR))
return fNonavbar;
else
return false;
}
priva... |
12,188 | Bug 12188 Wrong Stylesheet Flag for Javadoc + impossible to deaktivate selection | javadoc: invalid flag: -stylsheet shouldbe: javadoc -stylesheetfile And it's im possible to deactivate the selecting of using the external Stylesheet. | resolved fixed | 7944787 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T14:01:18Z | 2002-03-23T19:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocOptionsManager.java | if (!fAdditionalParams.equals("")) {
ExecutionArguments tokens= new ExecutionArguments("", fAdditionalParams);
String[] argsArray= tokens.getProgramArgumentsArray();
for (int i= 0; i < argsArray.length; i++) {
args.add(argsArray[i]);
}
}
args.add("-doclet");
args.add(fDocletname);
args.... |
12,188 | Bug 12188 Wrong Stylesheet Flag for Javadoc + impossible to deaktivate selection | javadoc: invalid flag: -stylsheet shouldbe: javadoc -stylesheetfile And it's im possible to deactivate the selecting of using the external Stylesheet. | resolved fixed | 7944787 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T14:01:18Z | 2002-03-23T19:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocOptionsManager.java | if (fNoDeprecatedlist)
args.add("-nodeprecatedlist");
if (fSplitindex)
args.add("-splitindex");
if(!fTitle.equals("")) {
args.add("-doctitle");
args.add(fTitle);
}
if (!fStylesheet.equals("")) {
args.add("-stylsheet");
args.add(fStylesheet);
}
if (fFromStandard) {
if (!fAdd... |
12,188 | Bug 12188 Wrong Stylesheet Flag for Javadoc + impossible to deaktivate selection | javadoc: invalid flag: -stylsheet shouldbe: javadoc -stylesheetfile And it's im possible to deactivate the selecting of using the external Stylesheet. | resolved fixed | 7944787 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T14:01:18Z | 2002-03-23T19:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocOptionsManager.java | }
return (String[]) args.toArray(new String[args.size()]);
}
public void createXML() {
FileOutputStream objectStreamOutput= null;
try {
if (!fAntpath.equals("")) {
File file= new File(fAntpath);
IPath path= new Path(fAntpath);
path= path.removeLastSegments(1);
path.toFile().mkdirs();
obje... |
12,188 | Bug 12188 Wrong Stylesheet Flag for Javadoc + impossible to deaktivate selection | javadoc: invalid flag: -stylsheet shouldbe: javadoc -stylesheetfile And it's im possible to deactivate the selecting of using the external Stylesheet. | resolved fixed | 7944787 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T14:01:18Z | 2002-03-23T19:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocOptionsManager.java | settings.put(DESTINATION, fDestination);
settings.put(VISIBILITY, fAccess);
settings.put(AUTHOR, fAuthor);
settings.put(VERSION, fVersion);
settings.put(NODEPRECATED, fNodeprecated);
settings.put(NODEPRECATEDLIST, fNoDeprecatedlist);
settings.put(SPLITINDEX, fSplitindex);
settings.put(NOINDEX, fNoindex);
... |
12,188 | Bug 12188 Wrong Stylesheet Flag for Javadoc + impossible to deaktivate selection | javadoc: invalid flag: -stylsheet shouldbe: javadoc -stylesheetfile And it's im possible to deactivate the selecting of using the external Stylesheet. | resolved fixed | 7944787 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T14:01:18Z | 2002-03-23T19:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocOptionsManager.java | this.fDocletname= docletname;
}
public void setStyleSheet(String stylesheet) {
this.fStylesheet= stylesheet;
}
public void setOverview(String overview) {
this.fOverview= overview;
}
public void setAdditionalParams(String params) {
fAdditionalParams= params;
}
public void setAntpath(String antpath) {
thi... |
12,188 | Bug 12188 Wrong Stylesheet Flag for Javadoc + impossible to deaktivate selection | javadoc: invalid flag: -stylsheet shouldbe: javadoc -stylesheetfile And it's im possible to deactivate the selecting of using the external Stylesheet. | resolved fixed | 7944787 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T14:01:18Z | 2002-03-23T19:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocOptionsManager.java | this.fFromStandard= fromStandard;
}
public void setTitle(String title) {
this.fTitle= title;
}
public void setBoolean(String flag, boolean value) {
if (flag.equals(AUTHOR))
this.fAuthor= value;
else if (flag.equals(VERSION))
this.fVersion= value;
else if (flag.equals(NODEPRECATED))
this.fNodeprec... |
12,188 | Bug 12188 Wrong Stylesheet Flag for Javadoc + impossible to deaktivate selection | javadoc: invalid flag: -stylsheet shouldbe: javadoc -stylesheetfile And it's im possible to deactivate the selecting of using the external Stylesheet. | resolved fixed | 7944787 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T14:01:18Z | 2002-03-23T19:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocOptionsManager.java | structuredSelection= (IStructuredSelection) currentSelection;
}
List selectedElements= new ArrayList(structuredSelection.size());
Iterator iter= structuredSelection.iterator();
getProject(selectedElements, iter);
if (!selectedElements.isEmpty()) {
return new StructuredSelection(selectedElemen... |
12,188 | Bug 12188 Wrong Stylesheet Flag for Javadoc + impossible to deaktivate selection | javadoc: invalid flag: -stylsheet shouldbe: javadoc -stylesheetfile And it's im possible to deactivate the selecting of using the external Stylesheet. | resolved fixed | 7944787 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T14:01:18Z | 2002-03-23T19:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocOptionsManager.java | Object[] roots= fRoot.getProjects();
for (int i= 0; i < roots.length; i++) {
IProject p= (IProject) roots[i];
IJavaProject iJavaProject= JavaCore.create(p);
if (getValidProject(iJavaProject)) {
fProject= iJavaProject;
break;
}
}
}
}
private IJavaElement getSelectableJavaElement(Objec... |
12,188 | Bug 12188 Wrong Stylesheet Flag for Javadoc + impossible to deaktivate selection | javadoc: invalid flag: -stylsheet shouldbe: javadoc -stylesheetfile And it's im possible to deactivate the selecting of using the external Stylesheet. | resolved fixed | 7944787 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T14:01:18Z | 2002-03-23T19:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocOptionsManager.java | case IJavaElement.PACKAGE_FRAGMENT :
if (containsCompilationUnits((IPackageFragment) je)) {
return je;
}
break;
default :
ICompilationUnit cu= (ICompilationUnit) JavaModelUtil.findElementOfKind(je, IJavaElement.COMPILATION_UNIT);
if (cu != null) {
if (cu.isWorkingCopy()) {
... |
12,188 | Bug 12188 Wrong Stylesheet Flag for Javadoc + impossible to deaktivate selection | javadoc: invalid flag: -stylsheet shouldbe: javadoc -stylesheetfile And it's im possible to deactivate the selecting of using the external Stylesheet. | resolved fixed | 7944787 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T14:01:18Z | 2002-03-23T19:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocOptionsManager.java | for (int i= 0; i < roots.length; i++) {
if (containsCompilationUnits(roots[i])) {
return true;
}
}
} catch (JavaModelException e) {
JavaPlugin.log(e);
}
}
return false;
}
private boolean containsCompilationUnits(IPackageFragmentRoot root) throws JavaModelException {
if (root.getKin... |
9,258 | Bug 9258 Failed to execute runnable - NullPointerException | Had just typed in java code: "Response answer = message." Didn't even press Crtl-space Dialog popped up with "An internal error has occurred. Failed to execute runnable (java.lang.NullPointerException)" All the java code is OK, and this happens if I go back and delete the "age." and type it in again. Sorry this is not ... | resolved fixed | be729b5 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T14:49:32Z | 2002-02-07T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.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.Arrays;
import java.util.Comparator;
import org.eclipse.core.resources.IMarker;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.graphics.Poin... |
9,258 | Bug 9258 Failed to execute runnable - NullPointerException | Had just typed in java code: "Response answer = message." Didn't even press Crtl-space Dialog popped up with "An internal error has occurred. Failed to execute runnable (java.lang.NullPointerException)" All the java code is OK, and this happens if I go back and delete the "age." and type it in again. Sorry this is not ... | resolved fixed | be729b5 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T14:49:32Z | 2002-02-07T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java | private class ProposalComparator implements Comparator {
public int compare(Object o1, Object o2) {
ICompletionProposal c1= (ICompletionProposal) o1;
ICompletionProposal c2= (ICompletionProposal) o2;
return c1.getDisplayString().compareToIgnoreCase(c2.getDisplayString());
}
};
private final static char[]... |
9,258 | Bug 9258 Failed to execute runnable - NullPointerException | Had just typed in java code: "Response answer = message." Didn't even press Crtl-space Dialog popped up with "An internal error has occurred. Failed to execute runnable (java.lang.NullPointerException)" All the java code is OK, and this happens if I go back and delete the "age." and type it in again. Sorry this is not ... | resolved fixed | be729b5 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T14:49:32Z | 2002-02-07T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java | private ArrayList fFields= new ArrayList(), fKeywords= new ArrayList(),
fLabels= new ArrayList(), fMethods= new ArrayList(),
fModifiers= new ArrayList(), fPackages= new ArrayList(),
fTypes= new ArrayList(), fVariables= new ArrayList();
private IProblem fLastProblem;
private IJavaProject fJavaProj... |
9,258 | Bug 9258 Failed to execute runnable - NullPointerException | Had just typed in java code: "Response answer = message." Didn't even press Crtl-space Dialog popped up with "An internal error has occurred. Failed to execute runnable (java.lang.NullPointerException)" All the java code is OK, and this happens if I go back and delete the "age." and type it in again. Sorry this is not ... | resolved fixed | be729b5 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T14:49:32Z | 2002-02-07T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java | ProposalInfo info= new ProposalInfo(fJavaProject, packageName, typeName);
fTypes.add(createTypeCompletion(start, end, new String(completionName), descriptor, new String(typeName), new String(packageName), info));
}
/*
* @see ICompletionRequestor#acceptError(IProblem)
*/
public void acceptError(IProblem error... |
9,258 | Bug 9258 Failed to execute runnable - NullPointerException | Had just typed in java code: "Response answer = message." Didn't even press Crtl-space Dialog popped up with "An internal error has occurred. Failed to execute runnable (java.lang.NullPointerException)" All the java code is OK, and this happens if I go back and delete the "age." and type it in again. Sorry this is not ... | resolved fixed | be729b5 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T14:49:32Z | 2002-02-07T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java | nameBuffer.append(declaringTypeName);
}
JavaCompletionProposal proposal= createCompletion(start, end, new String(completionName), descriptor, nameBuffer.toString());
proposal.setProposalInfo(new ProposalInfo(fJavaProject, declaringTypePackageName, declaringTypeName, name));
proposal.setTriggerCharacters(VAR... |
9,258 | Bug 9258 Failed to execute runnable - NullPointerException | Had just typed in java code: "Response answer = message." Didn't even press Crtl-space Dialog popped up with "An internal error has occurred. Failed to execute runnable (java.lang.NullPointerException)" All the java code is OK, and this happens if I go back and delete the "age." and type it in again. Sorry this is not ... | resolved fixed | be729b5 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T14:49:32Z | 2002-02-07T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java | /*
* @see ICompletionRequestor#acceptKeyword
*/
public void acceptKeyword(char[] keyword, int start, int end) {
String kw= new String(keyword);
fKeywords.add(createCompletion(start, end, kw, null, kw));
}
/*
* @see ICompletionRequestor#acceptLabel
*/
public void acceptLabel(char[] labelName, int sta... |
9,258 | Bug 9258 Failed to execute runnable - NullPointerException | Had just typed in java code: "Response answer = message." Didn't even press Crtl-space Dialog popped up with "An internal error has occurred. Failed to execute runnable (java.lang.NullPointerException)" All the java code is OK, and this happens if I go back and delete the "age." and type it in again. Sorry this is not ... | resolved fixed | be729b5 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T14:49:32Z | 2002-02-07T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java | }
private String getParameterSignature(char[][] parameterTypeNames, char[][] parameterNames) {
StringBuffer buf = new StringBuffer();
if (parameterTypeNames != null) {
for (int i = 0; i < parameterTypeNames.length; i++) {
if (i > 0) {
buf.append(',');
buf.append(' ');
}
buf.append(parame... |
9,258 | Bug 9258 Failed to execute runnable - NullPointerException | Had just typed in java code: "Response answer = message." Didn't even press Crtl-space Dialog popped up with "An internal error has occurred. Failed to execute runnable (java.lang.NullPointerException)" All the java code is OK, and this happens if I go back and delete the "age." and type it in again. Sorry this is not ... | resolved fixed | be729b5 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T14:49:32Z | 2002-02-07T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java | boolean hasOpeningBracket= completionName.length == 0 || (completionName.length > 0 && completionName[completionName.length - 1] == ')');
ProposalContextInformation contextInformation= null;
if (hasOpeningBracket && parameterTypeNames.length > 0) {
contextInformation= new ProposalContextInformation();
conte... |
9,258 | Bug 9258 Failed to execute runnable - NullPointerException | Had just typed in java code: "Response answer = message." Didn't even press Crtl-space Dialog popped up with "An internal error has occurred. Failed to execute runnable (java.lang.NullPointerException)" All the java code is OK, and this happens if I go back and delete the "age." and type it in again. Sorry this is not ... | resolved fixed | be729b5 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T14:49:32Z | 2002-02-07T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java | /*
* @see ICompletionRequestor#acceptPackage
*/
public void acceptPackage(char[] packageName, char[] completionName, int start, int end) {
fPackages.add(createCompletion(start, end, new String(completionName), JavaPluginImages.DESC_OBJS_PACKAGE, new String(packageName)));
}
/*
* @see ICompletionRequestor#... |
9,258 | Bug 9258 Failed to execute runnable - NullPointerException | Had just typed in java code: "Response answer = message." Didn't even press Crtl-space Dialog popped up with "An internal error has occurred. Failed to execute runnable (java.lang.NullPointerException)" All the java code is OK, and this happens if I go back and delete the "age." and type it in again. Sorry this is not ... | resolved fixed | be729b5 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T14:49:32Z | 2002-02-07T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java | StringBuffer buf= new StringBuffer();
buf.append(name);
if (typeName != null && typeName.length > 0) {
buf.append(" - ");
buf.append(typeName);
}
JavaCompletionProposal proposal= createCompletion(start, end, new String(completionName), null, buf.toString());
proposal.setTriggerCharacters(VAR_TRIGGER);
... |
9,258 | Bug 9258 Failed to execute runnable - NullPointerException | Had just typed in java code: "Response answer = message." Didn't even press Crtl-space Dialog popped up with "An internal error has occurred. Failed to execute runnable (java.lang.NullPointerException)" All the java code is OK, and this happens if I go back and delete the "age." and type it in again. Sorry this is not ... | resolved fixed | be729b5 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T14:49:32Z | 2002-02-07T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java | }
}
return (JavaCompletionProposal[]) result.toArray(new JavaCompletionProposal[result.size()]);
}
private JavaCompletionProposal createMethodCompletion(char[] declaringTypeName, char[] name, char[][] parameterTypeNames, char[][] parameterNames, char[] returnTypeName, char[] completionName, int modifiers, int s... |
9,258 | Bug 9258 Failed to execute runnable - NullPointerException | Had just typed in java code: "Response answer = message." Didn't even press Crtl-space Dialog popped up with "An internal error has occurred. Failed to execute runnable (java.lang.NullPointerException)" All the java code is OK, and this happens if I go back and delete the "age." and type it in again. Sorry this is not ... | resolved fixed | be729b5 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T14:49:32Z | 2002-02-07T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java | }
protected JavaCompletionProposal createAnonymousTypeCompletion(char[] declaringTypePackageName, char[] declaringTypeName, char[][] parameterTypeNames, char[][] parameterNames, char[] completionName, int start, int end) {
StringBuffer declTypeBuf= new StringBuffer();
if (declaringTypePackageName.length > 0) {
... |
9,258 | Bug 9258 Failed to execute runnable - NullPointerException | Had just typed in java code: "Response answer = message." Didn't even press Crtl-space Dialog popped up with "An internal error has occurred. Failed to execute runnable (java.lang.NullPointerException)" All the java code is OK, and this happens if I go back and delete the "age." and type it in again. Sorry this is not ... | resolved fixed | be729b5 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T14:49:32Z | 2002-02-07T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java | }
}
StringBuffer buf= new StringBuffer(typeName);
if (containerName != null) {
buf.append(" - ");
if (containerName.length() > 0) {
buf.append(containerName);
} else {
buf.append(JavaTextMessages.getString("ResultCollector.default_package"));
}
}
String name= buf.toString();
JavaComp... |
9,258 | Bug 9258 Failed to execute runnable - NullPointerException | Had just typed in java code: "Response answer = message." Didn't even press Crtl-space Dialog popped up with "An internal error has occurred. Failed to execute runnable (java.lang.NullPointerException)" All the java code is OK, and this happens if I go back and delete the "age." and type it in again. Sorry this is not ... | resolved fixed | be729b5 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T14:49:32Z | 2002-02-07T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java | protected ImageDescriptor getDeprecatedDescriptor(ImageDescriptor descriptor) {
Point size= new Point(16, 16);
return new JavaElementImageDescriptor(descriptor, JavaElementImageDescriptor.WARNING, size);
}
protected JavaCompletionProposal createCompletion(int start, int end, String completion, ImageDescrip... |
9,258 | Bug 9258 Failed to execute runnable - NullPointerException | Had just typed in java code: "Response answer = message." Didn't even press Crtl-space Dialog popped up with "An internal error has occurred. Failed to execute runnable (java.lang.NullPointerException)" All the java code is OK, and this happens if I go back and delete the "age." and type it in again. Sorry this is not ... | resolved fixed | be729b5 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T14:49:32Z | 2002-02-07T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java | public void reset(int codeAssistOffset, IJavaProject jproject, ICompilationUnit cu) {
fJavaProject= jproject;
fCompilationUnit= cu;
fCodeAssistOffset= codeAssistOffset;
fUserReplacementLength= -1;
fLastProblem= null;
for (int i= 0; i < fResults.length; i++)
fResults[i].clear();
}
/**
* If ... |
8,808 | Bug 8808 Class folder: Must use create to add an existing folder | Build I20020129 "Add Folders..." does not show the project itself. I have to do the following trick to add an existing folder as class folder: Press "Create folder" Enter the name of the existing folder (hopfully it's in the project root :-) Voila BTW: I can't do this a second time - the UI tells me it already exists -... | resolved fixed | cccdf8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T17:38:47Z | 2002-01-31T09:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.wizards.buildpaths;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.core.resources.IContainer;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.I... |
8,808 | Bug 8808 Class folder: Must use create to add an existing folder | Build I20020129 "Add Folders..." does not show the project itself. I have to do the following trick to add an existing folder as class folder: Press "Create folder" Enter the name of the existing folder (hopfully it's in the project root :-) Voila BTW: I can't do this a second time - the UI tells me it already exists -... | resolved fixed | cccdf8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T17:38:47Z | 2002-01-31T09:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java | import org.eclipse.jface.dialogs.IDialogSettings;
import org.eclipse.jface.viewers.ILabelProvider;
import org.eclipse.jface.viewers.ITreeContentProvider;
import org.eclipse.jface.viewers.StructuredSelection;
import org.eclipse.jface.viewers.ViewerFilter;
import org.eclipse.ui.help.WorkbenchHelp;
import org.eclipse.ui.m... |
8,808 | Bug 8808 Class folder: Must use create to add an existing folder | Build I20020129 "Add Folders..." does not show the project itself. I have to do the following trick to add an existing folder as class folder: Press "Create folder" Enter the name of the existing folder (hopfully it's in the project root :-) Voila BTW: I can't do this a second time - the UI tells me it already exists -... | resolved fixed | cccdf8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T17:38:47Z | 2002-01-31T09:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java | private ListDialogField fClassPathList;
private IJavaProject fCurrJProject;
private ListDialogField fLibrariesList;
private IWorkspaceRoot fWorkspaceRoot;
private IDialogSettings fDialogSettings;
private Control fSWTControl;
public LibrariesWorkbookPage(IWorkspaceRoot root, ListDialogField classPathList)... |
8,808 | Bug 8808 Class folder: Must use create to add an existing folder | Build I20020129 "Add Folders..." does not show the project itself. I have to do the following trick to add an existing folder as class folder: Press "Create folder" Enter the name of the existing folder (hopfully it's in the project root :-) Voila BTW: I can't do this a second time - the UI tells me it already exists -... | resolved fixed | cccdf8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T17:38:47Z | 2002-01-31T09:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java | NewWizardMessages.getString("LibrariesWorkbookPage.libraries.remove.button")
};
LibrariesAdapter adapter= new LibrariesAdapter();
fLibrariesList= new ListDialogField(adapter, buttonLabels, new CPListLabelProvider());
fLibrariesList.setDialogFieldListener(adapter);
fLibrariesList.setLabelText(NewW... |
8,808 | Bug 8808 Class folder: Must use create to add an existing folder | Build I20020129 "Add Folders..." does not show the project itself. I have to do the following trick to add an existing folder as class folder: Press "Create folder" Enter the name of the existing folder (hopfully it's in the project root :-) Voila BTW: I can't do this a second time - the UI tells me it already exists -... | resolved fixed | cccdf8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T17:38:47Z | 2002-01-31T09:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java | }
}
fLibrariesList.setElements(libelements);
}
public Control getControl(Composite parent) {
PixelConverter converter= new PixelConverter(parent);
Composite composite= new Composite(parent, SWT.NONE);
LayoutUtil.doDefaultLayout(composite, new DialogField[] { fLibrariesList }, true, SWT.DEFAU... |
8,808 | Bug 8808 Class folder: Must use create to add an existing folder | Build I20020129 "Add Folders..." does not show the project itself. I have to do the following trick to add an existing folder as class folder: Press "Create folder" Enter the name of the existing folder (hopfully it's in the project root :-) Voila BTW: I can't do this a second time - the UI tells me it already exists -... | resolved fixed | cccdf8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T17:38:47Z | 2002-01-31T09:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java | }
private class LibrariesAdapter implements IDialogFieldListener, IListAdapter {
public void customButtonPressed(DialogField field, int index) {
libaryPageCustomButtonPressed(field, index);
}
public void selectionChanged(DialogField field) {
libaryPageSelectionChanged(field);
}
pu... |
8,808 | Bug 8808 Class folder: Must use create to add an existing folder | Build I20020129 "Add Folders..." does not show the project itself. I have to do the following trick to add an existing folder as class folder: Press "Create folder" Enter the name of the existing folder (hopfully it's in the project root :-) Voila BTW: I can't do this a second time - the UI tells me it already exists -... | resolved fixed | cccdf8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T17:38:47Z | 2002-01-31T09:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java | case 2:
libentries= chooseJarFiles();
break;
case 3:
libentries= chooseExtJarFiles();
break;
case 4:
libentries= chooseVariableEntries();
break;
case 6:
List selElements= fLibrariesList.getSelectedElements();
CPListElement selElement= (CPListElement) selElements.get(0);
Sour... |
8,808 | Bug 8808 Class folder: Must use create to add an existing folder | Build I20020129 "Add Folders..." does not show the project itself. I have to do the following trick to add an existing folder as class folder: Press "Create folder" Enter the name of the existing folder (hopfully it's in the project root :-) Voila BTW: I can't do this a second time - the UI tells me it already exists -... | resolved fixed | cccdf8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T17:38:47Z | 2002-01-31T09:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java | elementsToAdd.add(curr);
addAttachmentsFromExistingLibs(curr);
}
}
fLibrariesList.addElements(elementsToAdd);
fLibrariesList.postSetSelection(new StructuredSelection(libentries));
}
}
private void libaryPageSelectionChanged(DialogField field) {
List selElements= fLibrariesList.getSelectedEleme... |
8,808 | Bug 8808 Class folder: Must use create to add an existing folder | Build I20020129 "Add Folders..." does not show the project itself. I have to do the following trick to add an existing folder as class folder: Press "Create folder" Enter the name of the existing folder (hopfully it's in the project root :-) Voila BTW: I can't do this a second time - the UI tells me it already exists -... | resolved fixed | cccdf8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T17:38:47Z | 2002-01-31T09:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java | List projelements= fLibrariesList.getElements();
boolean remove= false;
List cpelements= fClassPathList.getElements();
for (int i= cpelements.size() - 1; i >= 0; i--) {
CPListElement cpe= (CPListElement)cpelements.get(i);
int kind= cpe.getEntryKind();
if (kind == IClasspathEntry.CPE_LIBRARY || kind... |
8,808 | Bug 8808 Class folder: Must use create to add an existing folder | Build I20020129 "Add Folders..." does not show the project itself. I have to do the following trick to add an existing folder as class folder: Press "Create folder" Enter the name of the existing folder (hopfully it's in the project root :-) Voila BTW: I can't do this a second time - the UI tells me it already exists -... | resolved fixed | cccdf8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T17:38:47Z | 2002-01-31T09:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java | dialog.setMessage(NewWizardMessages.getFormattedString("LibrariesWorkbookPage.NewClassFolderDialog.description", projpath.toString()));
int ret= dialog.open();
if (ret == dialog.OK) {
IFolder folder= dialog.getFolder();
return new CPListElement[] { newCPLibraryElement(folder) };
}
return null;
}
... |
8,808 | Bug 8808 Class folder: Must use create to add an existing folder | Build I20020129 "Add Folders..." does not show the project itself. I have to do the following trick to add an existing folder as class folder: Press "Create folder" Enter the name of the existing folder (hopfully it's in the project root :-) Voila BTW: I can't do this a second time - the UI tells me it already exists -... | resolved fixed | cccdf8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T17:38:47Z | 2002-01-31T09:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java | for (int i= 0; i < res.length; i++) {
IResource elem= (IResource) elements[i];
res[i]= newCPLibraryElement(elem);
}
return res;
}
return null;
}
private CPListElement[] chooseJarFiles() {
Class[] acceptedClasses= new Class[] { IFile.class };
ISelectionValidator validator= new TypedElementSel... |
8,808 | Bug 8808 Class folder: Must use create to add an existing folder | Build I20020129 "Add Folders..." does not show the project itself. I have to do the following trick to add an existing folder as class folder: Press "Create folder" Enter the name of the existing folder (hopfully it's in the project root :-) Voila BTW: I can't do this a second time - the UI tells me it already exists -... | resolved fixed | cccdf8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T17:38:47Z | 2002-01-31T09:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java | return res;
}
return null;
}
private IContainer[] getUsedContainers() {
ArrayList res= new ArrayList();
if (fCurrJProject.exists()) {
try {
IPath outputLocation= fCurrJProject.getOutputLocation();
if (outputLocation != null) {
IResource resource= fWorkspaceRoot.findMember(outputLocation);
... |
8,808 | Bug 8808 Class folder: Must use create to add an existing folder | Build I20020129 "Add Folders..." does not show the project itself. I have to do the following trick to add an existing folder as class folder: Press "Create folder" Enter the name of the existing folder (hopfully it's in the project root :-) Voila BTW: I can't do this a second time - the UI tells me it already exists -... | resolved fixed | cccdf8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T17:38:47Z | 2002-01-31T09:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java | return (IContainer[]) res.toArray(new IContainer[res.size()]);
}
private IFile[] getUsedJARFiles() {
List res= new ArrayList();
List cplist= fLibrariesList.getElements();
for (int i= 0; i < cplist.size(); i++) {
CPListElement elem= (CPListElement)cplist.get(i);
IResource resource= elem.getResource();
... |
8,808 | Bug 8808 Class folder: Must use create to add an existing folder | Build I20020129 "Add Folders..." does not show the project itself. I have to do the following trick to add an existing folder as class folder: Press "Create folder" Enter the name of the existing folder (hopfully it's in the project root :-) Voila BTW: I can't do this a second time - the UI tells me it already exists -... | resolved fixed | cccdf8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T17:38:47Z | 2002-01-31T09:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java | if (res == null) {
return null;
}
String[] fileNames= dialog.getFileNames();
int nChosen= fileNames.length;
IPath filterPath= new Path(dialog.getFilterPath());
CPListElement[] elems= new CPListElement[nChosen];
for (int i= 0; i < nChosen; i++) {
IPath path= filterPath.append(fileNames[i]).makeAbso... |
8,808 | Bug 8808 Class folder: Must use create to add an existing folder | Build I20020129 "Add Folders..." does not show the project itself. I have to do the following trick to add an existing folder as class folder: Press "Create folder" Enter the name of the existing folder (hopfully it's in the project root :-) Voila BTW: I can't do this a second time - the UI tells me it already exists -... | resolved fixed | cccdf8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T17:38:47Z | 2002-01-31T09:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java | elem.setIsMissing((resolvedPath == null) || !resolvedPath.toFile().isFile());
return new CPListElement[] { elem };
}
return null;
}
private void addAttachmentsFromExistingLibs(CPListElement elem) {
try {
IJavaModel jmodel= fCurrJProject.getJavaModel();
IJavaProject[] jprojects= jmodel.getJavaProjec... |
8,808 | Bug 8808 Class folder: Must use create to add an existing folder | Build I20020129 "Add Folders..." does not show the project itself. I have to do the following trick to add an existing folder as class folder: Press "Create folder" Enter the name of the existing folder (hopfully it's in the project root :-) Voila BTW: I can't do this a second time - the UI tells me it already exists -... | resolved fixed | cccdf8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T17:38:47Z | 2002-01-31T09:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java | }
}
private class VariableSelectionDialog extends StatusDialog implements IStatusChangeListener {
private VariableSelectionBlock fVariableSelectionBlock;
public VariableSelectionDialog(Shell parent, List existingPaths) {
super(parent);
setTitle(NewWizardMessages.getString("LibrariesWorkbookPage.... |
8,808 | Bug 8808 Class folder: Must use create to add an existing folder | Build I20020129 "Add Folders..." does not show the project itself. I have to do the following trick to add an existing folder as class folder: Press "Create folder" Enter the name of the existing folder (hopfully it's in the project root :-) Voila BTW: I can't do this a second time - the UI tells me it already exists -... | resolved fixed | cccdf8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T17:38:47Z | 2002-01-31T09:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java | Control inner= fVariableSelectionBlock.createControl(composite);
inner.setLayoutData(new GridData(GridData.FILL_BOTH));
return composite;
}
/*
* @see Dialog#okPressed()
*/
protected void okPressed() {
fDialogSettings.put(IUIConstants.DIALOGSTORE_LASTVARIABLE, getVariable().segment(0));
super.... |
8,808 | Bug 8808 Class folder: Must use create to add an existing folder | Build I20020129 "Add Folders..." does not show the project itself. I have to do the following trick to add an existing folder as class folder: Press "Create folder" Enter the name of the existing folder (hopfully it's in the project root :-) Voila BTW: I can't do this a second time - the UI tells me it already exists -... | resolved fixed | cccdf8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T17:38:47Z | 2002-01-31T09:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java | public SourceAttachmentDialog(Shell parent, IClasspathEntry entry) {
super(parent);
setTitle(NewWizardMessages.getFormattedString("LibrariesWorkbookPage.SourceAttachmentDialog.title", entry.getPath().toString()));
fSourceAttachmentBlock= new SourceAttachmentBlock(fWorkspaceRoot, this, entry);
}
/*
*... |
8,808 | Bug 8808 Class folder: Must use create to add an existing folder | Build I20020129 "Add Folders..." does not show the project itself. I have to do the following trick to add an existing folder as class folder: Press "Create folder" Enter the name of the existing folder (hopfully it's in the project root :-) Voila BTW: I can't do this a second time - the UI tells me it already exists -... | resolved fixed | cccdf8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-01T17:38:47Z | 2002-01-31T09:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java | public IPath getSourceAttachmentRootPath() {
return fSourceAttachmentBlock.getSourceAttachmentRootPath();
}
public URL getJavadocLocation() {
return fSourceAttachmentBlock.getJavadocLocation();
}
}
/*
* @see BuildPathBasePage#getSelection
*/
public List getSelection() {
return fLibrariesLi... |
9,601 | Bug 9601 Open external JavaDoc does not work correctly with Netscape 4.76 | Test Case: 0) Have Netscape 4.76 registered as system default browser. 1) Have JRE_LIB of 20020212-I in workspace 2) Context Menu -> Properties: Attach documentation location: 'M:\java\jdk1.2\docs\api\' 3) Verify that Netscape is not running. 4) Context Menu -> Open External Javadoc 5) Observer the error dialog: Cannot... | resolved fixed | 9911c44 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T09:36:17Z | 2002-02-13T14:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/OpenExternalJavadocAction.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.actions;
import java.io.File;
import java.net.URL;
import java.text.MessageFormat;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell; |
9,601 | Bug 9601 Open external JavaDoc does not work correctly with Netscape 4.76 | Test Case: 0) Have Netscape 4.76 registered as system default browser. 1) Have JRE_LIB of 20020212-I in workspace 2) Context Menu -> Properties: Attach documentation location: 'M:\java\jdk1.2\docs\api\' 3) Verify that Netscape is not running. 4) Context Menu -> Open External Javadoc 5) Observer the error dialog: Cannot... | resolved fixed | 9911c44 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T09:36:17Z | 2002-02-13T14:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/OpenExternalJavadocAction.java | import org.eclipse.jface.action.Action;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.ui.IObjectActionDelegate;
import org.eclipse.ui.IWorkbenchPart;
import o... |
9,601 | Bug 9601 Open external JavaDoc does not work correctly with Netscape 4.76 | Test Case: 0) Have Netscape 4.76 registered as system default browser. 1) Have JRE_LIB of 20020212-I in workspace 2) Context Menu -> Properties: Attach documentation location: 'M:\java\jdk1.2\docs\api\' 3) Verify that Netscape is not running. 4) Context Menu -> Open External Javadoc 5) Observer the error dialog: Cannot... | resolved fixed | 9911c44 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T09:36:17Z | 2002-02-13T14:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/OpenExternalJavadocAction.java | super();
setText("Open E&xternal Javadoc@Shift+F2");
setDescription("Opens the Javadoc of the selected element in an external browser");
setToolTipText("Opens the Javadoc of the selected element in an external browser");
fSelectionProvider= provider;
}
public void update() {
setEnabled(canOperateOn());
}... |
9,601 | Bug 9601 Open external JavaDoc does not work correctly with Netscape 4.76 | Test Case: 0) Have Netscape 4.76 registered as system default browser. 1) Have JRE_LIB of 20020212-I in workspace 2) Context Menu -> Properties: Attach documentation location: 'M:\java\jdk1.2\docs\api\' 3) Verify that Netscape is not running. 4) Context Menu -> Open External Javadoc 5) Observer the error dialog: Cannot... | resolved fixed | 9911c44 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T09:36:17Z | 2002-02-13T14:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/OpenExternalJavadocAction.java | public void run() {
Object selected= getSelectedElement();
if (!(selected instanceof IJavaElement)) {
return;
}
IJavaElement jelem= (IJavaElement) selected;
Shell shell= JavaPlugin.getActiveWorkbenchShell();
try {
String labelName= JavaElementLabels.getElementLabel(jelem, JavaElementLabels.M_PARAME... |
9,601 | Bug 9601 Open external JavaDoc does not work correctly with Netscape 4.76 | Test Case: 0) Have Netscape 4.76 registered as system default browser. 1) Have JRE_LIB of 20020212-I in workspace 2) Context Menu -> Properties: Attach documentation location: 'M:\java\jdk1.2\docs\api\' 3) Verify that Netscape is not running. 4) Context Menu -> Open External Javadoc 5) Observer the error dialog: Cannot... | resolved fixed | 9911c44 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T09:36:17Z | 2002-02-13T14:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/OpenExternalJavadocAction.java | return;
}
}
URL url= JavaDocLocations.getJavaDocLocation(jelem, true);
if (url != null) {
openInBrowser(url, shell);
}
} catch (CoreException e) {
JavaPlugin.log(e);
showError(shell, "Opening Javadoc failed. See log for details.");
}
}
/*
* @see IActionDelegate#run(IAction)
*... |
9,601 | Bug 9601 Open external JavaDoc does not work correctly with Netscape 4.76 | Test Case: 0) Have Netscape 4.76 registered as system default browser. 1) Have JRE_LIB of 20020212-I in workspace 2) Context Menu -> Properties: Attach documentation location: 'M:\java\jdk1.2\docs\api\' 3) Verify that Netscape is not running. 4) Context Menu -> Open External Javadoc 5) Observer the error dialog: Cannot... | resolved fixed | 9911c44 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T09:36:17Z | 2002-02-13T14:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/OpenExternalJavadocAction.java | }
private static boolean webBrowserOpened = false;
/**
* Copied from AboutPluginsDialog.openMoreInfo
*/
public static void openInBrowser(final URL url, final Shell shell) {
IHelpResource helpResource= new IHelpResource() {
public String getHref() {
return url.toExternalForm();
}
public Str... |
11,306 | Bug 11306 New class wizard launches simple project wizard | 1. In a new workspace, press the "New Class" button in the Java perspective. 2. Since there are no existing projects, the dialog prompts the user to create a new project. This is very handy. However, if the user answers yes, the resulting dialog is the first page of the generic new project wizard. The Java Class wizard... | resolved fixed | 46595e4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T10:02:32Z | 2002-03-13T22:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/AbstractOpenWizardAction.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.wizards;
import java.util.Iterator;
import org.eclipse.core.resources.IWorkspace;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.jface.action.Action;
imp... |
11,306 | Bug 11306 New class wizard launches simple project wizard | 1. In a new workspace, press the "New Class" button in the Java perspective. 2. Since there are no existing projects, the dialog prompts the user to create a new project. This is very handy. However, if the user answers yes, the resulting dialog is the first page of the generic new project wizard. The Java Class wizard... | resolved fixed | 46595e4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T10:02:32Z | 2002-03-13T22:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/AbstractOpenWizardAction.java | private Class[] fActivatedOnTypes;
private boolean fAcceptEmptySelection;
private boolean fNoChecking;
/**
* Creates a AbstractOpenWizardAction.
* @param label The label of the action
* @param acceptEmptySelection Specifies if the action allows an empty selection
*/
public AbstractOpenWizardAction(String ... |
11,306 | Bug 11306 New class wizard launches simple project wizard | 1. In a new workspace, press the "New Class" button in the Java perspective. 2. Since there are no existing projects, the dialog prompts the user to create a new project. This is very handy. However, if the user answers yes, the resulting dialog is the first page of the generic new project wizard. The Java Class wizard... | resolved fixed | 46595e4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T10:02:32Z | 2002-03-13T22:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/AbstractOpenWizardAction.java | * Creates a AbstractOpenWizardAction.
* @param label The label of the action
* @param activatedOnTypes The action is only enabled when all objects in the selection
* are of the given types. <code>null</code> will allow all types.
* @param acceptEmptySelection Specifies if the action allo... |
11,306 | Bug 11306 New class wizard launches simple project wizard | 1. In a new workspace, press the "New Class" button in the Java perspective. 2. Since there are no existing projects, the dialog prompts the user to create a new project. This is very handy. However, if the user answers yes, the resulting dialog is the first page of the generic new project wizard. The Java Class wizard... | resolved fixed | 46595e4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T10:02:32Z | 2002-03-13T22:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/AbstractOpenWizardAction.java | return true;
}
}
return false;
}
return true;
}
private boolean isEnabled(IStructuredSelection selection) {
Iterator iter= selection.iterator();
while (iter.hasNext()) {
Object obj= iter.next();
if (!isOfAcceptedType(obj) || !shouldAcceptElement(obj)) {
return false;
}
}
return ... |
11,306 | Bug 11306 New class wizard launches simple project wizard | 1. In a new workspace, press the "New Class" button in the Java perspective. 2. Since there are no existing projects, the dialog prompts the user to create a new project. This is very handy. However, if the user answers yes, the resulting dialog is the first page of the generic new project wizard. The Java Class wizard... | resolved fixed | 46595e4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T10:02:32Z | 2002-03-13T22:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/AbstractOpenWizardAction.java | * (to be implemented by a subclass)
*/
abstract protected Wizard createWizard();
protected IStructuredSelection getCurrentSelection() {
IWorkbenchWindow window= JavaPlugin.getActiveWorkbenchWindow();
if (window != null) {
ISelection selection= window.getSelectionService().getSelection();
if (selection ins... |
11,306 | Bug 11306 New class wizard launches simple project wizard | 1. In a new workspace, press the "New Class" button in the Java perspective. 2. Since there are no existing projects, the dialog prompts the user to create a new project. This is very handy. However, if the user answers yes, the resulting dialog is the first page of the generic new project wizard. The Java Class wizard... | resolved fixed | 46595e4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T10:02:32Z | 2002-03-13T22:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/AbstractOpenWizardAction.java | WizardDialog dialog= new WizardDialog(JavaPlugin.getActiveWorkbenchShell(), wizard);
PixelConverter converter= new PixelConverter(JavaPlugin.getActiveWorkbenchShell());
dialog.setMinimumPageSize(converter.convertWidthInCharsToPixels(70), converter.convertHeightInCharsToPixels(20));
dialog.create();
dialog.ge... |
11,306 | Bug 11306 New class wizard launches simple project wizard | 1. In a new workspace, press the "New Class" button in the Java perspective. 2. Since there are no existing projects, the dialog prompts the user to create a new project. This is very handy. However, if the user answers yes, the resulting dialog is the first page of the generic new project wizard. The Java Class wizard... | resolved fixed | 46595e4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T10:02:32Z | 2002-03-13T22:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/AbstractOpenWizardAction.java | /*
* @see IWorkbenchWindowActionDelegate#init(IWorkbenchWindow)
*/
public void init(IWorkbenchWindow window) {
}
/*
* @see IActionDelegate#selectionChanged(IAction, ISelection)
*/
public void selectionChanged(IAction action, ISelection selection) {
}
protected boolean checkWorkspaceNotEmpty() {
IWo... |
11,442 | Bug 11442 Labels of CheckedTreeSelectionDialog aren't localized | The button labels of the CheckedTreeSelectionDialog aren't localized. (See createSelectionButtons()). The class SelectionDialog (which is one of its superclasses) already provides localized labels I think. So you might want to replace the hard coded names with SelectionDialog.SELECT_ALL_TITLE and SelectionDialog.DESELE... | resolved fixed | ab5b2ac | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T10:26:00Z | 2002-03-15T11:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/CheckedTreeSelectionDialog.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.dialogs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List; |
11,442 | Bug 11442 Labels of CheckedTreeSelectionDialog aren't localized | The button labels of the CheckedTreeSelectionDialog aren't localized. (See createSelectionButtons()). The class SelectionDialog (which is one of its superclasses) already provides localized labels I think. So you might want to replace the hard coded names with SelectionDialog.SELECT_ALL_TITLE and SelectionDialog.DESELE... | resolved fixed | ab5b2ac | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T10:26:00Z | 2002-03-15T11:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/CheckedTreeSelectionDialog.java | import org.eclipse.core.runtime.IStatus;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.BusyIndicator;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.SelectionListener;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.... |
11,442 | Bug 11442 Labels of CheckedTreeSelectionDialog aren't localized | The button labels of the CheckedTreeSelectionDialog aren't localized. (See createSelectionButtons()). The class SelectionDialog (which is one of its superclasses) already provides localized labels I think. So you might want to replace the hard coded names with SelectionDialog.SELECT_ALL_TITLE and SelectionDialog.DESELE... | resolved fixed | ab5b2ac | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T10:26:00Z | 2002-03-15T11:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/CheckedTreeSelectionDialog.java | private ILabelProvider fLabelProvider;
private ITreeContentProvider fContentProvider;
private ISelectionValidator fValidator= null;
private ViewerSorter fSorter;
private String fEmptyListMessage= JavaUIMessages.getString("ElementTreeSelectionDialog.nothing_available");
private IStatus fCurrStatus= new Status... |
11,442 | Bug 11442 Labels of CheckedTreeSelectionDialog aren't localized | The button labels of the CheckedTreeSelectionDialog aren't localized. (See createSelectionButtons()). The class SelectionDialog (which is one of its superclasses) already provides localized labels I think. So you might want to replace the hard coded names with SelectionDialog.SELECT_ALL_TITLE and SelectionDialog.DESELE... | resolved fixed | ab5b2ac | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T10:26:00Z | 2002-03-15T11:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/CheckedTreeSelectionDialog.java | setStatusLineAboveButtons(true);
fContainerMode= false;
fExpandedElements= null;
int shellStyle= getShellStyle();
setShellStyle(shellStyle | SWT.MAX | SWT.RESIZE);
}
/**
* If set, the checked /gray state of containers (inner nodes) is derived from the checked state of its
* leaf nodes.
* @p... |
11,442 | Bug 11442 Labels of CheckedTreeSelectionDialog aren't localized | The button labels of the CheckedTreeSelectionDialog aren't localized. (See createSelectionButtons()). The class SelectionDialog (which is one of its superclasses) already provides localized labels I think. So you might want to replace the hard coded names with SelectionDialog.SELECT_ALL_TITLE and SelectionDialog.DESELE... | resolved fixed | ab5b2ac | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T10:26:00Z | 2002-03-15T11:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/CheckedTreeSelectionDialog.java | fEmptyListMessage= message;
}
/**
* Sets the sorter used by the tree viewer.
*/
public void setSorter(ViewerSorter sorter) {
fSorter= sorter;
}
/**
* Adds a filter to the tree viewer.
* @param filter a filter.
*/
public void addFilter(ViewerFilter filter) {
if (fFilters == null)
fFilters= ... |
11,442 | Bug 11442 Labels of CheckedTreeSelectionDialog aren't localized | The button labels of the CheckedTreeSelectionDialog aren't localized. (See createSelectionButtons()). The class SelectionDialog (which is one of its superclasses) already provides localized labels I think. So you might want to replace the hard coded names with SelectionDialog.SELECT_ALL_TITLE and SelectionDialog.DESELE... | resolved fixed | ab5b2ac | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T10:26:00Z | 2002-03-15T11:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/CheckedTreeSelectionDialog.java | /**
* Sets the tree input.
* @param input the tree input.
*/
public void setInput(Object input) {
fInput= input;
}
/**
* Expands the tree
*/
public void setExpandedElements(Object[] elements) {
fExpandedElements= elements;
}
/**
* Sets the size of the tree in unit of characters.
* @param widt... |
11,442 | Bug 11442 Labels of CheckedTreeSelectionDialog aren't localized | The button labels of the CheckedTreeSelectionDialog aren't localized. (See createSelectionButtons()). The class SelectionDialog (which is one of its superclasses) already provides localized labels I think. So you might want to replace the hard coded names with SelectionDialog.SELECT_ALL_TITLE and SelectionDialog.DESELE... | resolved fixed | ab5b2ac | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T10:26:00Z | 2002-03-15T11:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/CheckedTreeSelectionDialog.java | }
} else {
fCurrStatus= new StatusInfo(IStatus.ERROR, fEmptyListMessage);
}
updateStatus(fCurrStatus);
}
/*
* @see Window#open()
*/
public int open() {
fIsEmpty= evaluateIfTreeEmpty(fInput);
BusyIndicator.showWhile(null, new Runnable() {
public void run() {
access$superOpen();
}
});
... |
11,442 | Bug 11442 Labels of CheckedTreeSelectionDialog aren't localized | The button labels of the CheckedTreeSelectionDialog aren't localized. (See createSelectionButtons()). The class SelectionDialog (which is one of its superclasses) already provides localized labels I think. So you might want to replace the hard coded names with SelectionDialog.SELECT_ALL_TITLE and SelectionDialog.DESELE... | resolved fixed | ab5b2ac | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T10:26:00Z | 2002-03-15T11:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/CheckedTreeSelectionDialog.java | }
/*
* @see SelectionStatusDialog#computeResult()
*/
protected void computeResult() {
setResult(Arrays.asList(fViewer.getCheckedElements()));
}
/*
* @see Window#create()
*/
public void create() {
super.create();
List initialSelections= getInitialSelections();
if (initialSelections != null)... |
11,442 | Bug 11442 Labels of CheckedTreeSelectionDialog aren't localized | The button labels of the CheckedTreeSelectionDialog aren't localized. (See createSelectionButtons()). The class SelectionDialog (which is one of its superclasses) already provides localized labels I think. So you might want to replace the hard coded names with SelectionDialog.SELECT_ALL_TITLE and SelectionDialog.DESELE... | resolved fixed | ab5b2ac | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T10:26:00Z | 2002-03-15T11:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/CheckedTreeSelectionDialog.java | Label messageLabel= createMessageArea(composite);
Control treeWidget= createTreeViewer(composite);
Control buttonComposite= createSelectionButtons(composite);
GridData data= new GridData(GridData.FILL_BOTH);
data.widthHint= convertWidthInCharsToPixels(fWidth);
data.heightHint= convertHeightInCharsToPixels(fHe... |
11,442 | Bug 11442 Labels of CheckedTreeSelectionDialog aren't localized | The button labels of the CheckedTreeSelectionDialog aren't localized. (See createSelectionButtons()). The class SelectionDialog (which is one of its superclasses) already provides localized labels I think. So you might want to replace the hard coded names with SelectionDialog.SELECT_ALL_TITLE and SelectionDialog.DESELE... | resolved fixed | ab5b2ac | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T10:26:00Z | 2002-03-15T11:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/CheckedTreeSelectionDialog.java | });
fViewer.setSorter(fSorter);
if (fFilters != null) {
for (int i= 0; i != fFilters.size(); i++)
fViewer.addFilter((ViewerFilter) fFilters.get(i));
}
fViewer.setInput(fInput);
return fViewer.getTree();
}
/**
* Add the selection and deselection buttons to the dialog.
* @param compo... |
11,442 | Bug 11442 Labels of CheckedTreeSelectionDialog aren't localized | The button labels of the CheckedTreeSelectionDialog aren't localized. (See createSelectionButtons()). The class SelectionDialog (which is one of its superclasses) already provides localized labels I think. So you might want to replace the hard coded names with SelectionDialog.SELECT_ALL_TITLE and SelectionDialog.DESELE... | resolved fixed | ab5b2ac | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T10:26:00Z | 2002-03-15T11:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/CheckedTreeSelectionDialog.java | }
};
selectButton.addSelectionListener(listener);
Button deselectButton= createButton(buttonComposite, IDialogConstants.DESELECT_ALL_ID, "&Deselect All", false);
listener= new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
fViewer.setCheckedElements(new Object[0]);
updateOKStatus... |
10,158 | Bug 10158 [hovering] Report protection in hover-help | 1. Hover the mouse over a method call in the JavaEditor 2. When the hover-help pops up note that it contains the method signature and JavaDoc, but not the method's protection The protection information is also useful to potential callers of that method and should be reported with the signature. | resolved fixed | 37d8aaa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T11:16:29Z | 2002-02-25T15:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditorMessages.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.javaeditor;
import java.text.MessageFormat;
import java.util.MissingResourceException;
import java.util.ResourceBundle;
public class JavaEditorMessages { |
10,158 | Bug 10158 [hovering] Report protection in hover-help | 1. Hover the mouse over a method call in the JavaEditor 2. When the hover-help pops up note that it contains the method signature and JavaDoc, but not the method's protection The protection information is also useful to potential callers of that method and should be reported with the signature. | resolved fixed | 37d8aaa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T11:16:29Z | 2002-02-25T15:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditorMessages.java | private static final String RESOURCE_BUNDLE= "org.eclipse.jdt.internal.ui.javaeditor.JavaEditorMessages";
private static ResourceBundle fgResourceBundle= ResourceBundle.getBundle(RESOURCE_BUNDLE);
private JavaEditorMessages() {
}
public static String getString(String key) {
try {
return fgResourceBundle.getStr... |
10,158 | Bug 10158 [hovering] Report protection in hover-help | 1. Hover the mouse over a method call in the JavaEditor 2. When the hover-help pops up note that it contains the method signature and JavaDoc, but not the method's protection The protection information is also useful to potential callers of that method and should be reported with the signature. | resolved fixed | 37d8aaa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T11:16:29Z | 2002-02-25T15:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/OrganizeImportsAction.java | package org.eclipse.jdt.internal.ui.javaeditor;
/* |
10,158 | Bug 10158 [hovering] Report protection in hover-help | 1. Hover the mouse over a method call in the JavaEditor 2. When the hover-help pops up note that it contains the method signature and JavaDoc, but not the method's protection The protection information is also useful to potential callers of that method and should be reported with the signature. | resolved fixed | 37d8aaa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T11:16:29Z | 2002-02-25T15:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/OrganizeImportsAction.java | * (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
import java.lang.reflect.InvocationTargetException;
import java.util.List;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.text.ITextSelection;
import org.eclipse.jface.viewers.ILabelProvid... |
10,158 | Bug 10158 [hovering] Report protection in hover-help | 1. Hover the mouse over a method call in the JavaEditor 2. When the hover-help pops up note that it contains the method signature and JavaDoc, but not the method's protection The protection information is also useful to potential callers of that method and should be reported with the signature. | resolved fixed | 37d8aaa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T11:16:29Z | 2002-02-25T15:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/OrganizeImportsAction.java | private ITextEditor fEditor;
public OrganizeImportsAction() {
this(null);
}
public OrganizeImportsAction(ITextEditor editor) {
super(JavaEditorMessages.getString("OrganizeImportsAction.label"));
setToolTipText(JavaEditorMessages.getString("OrganizeImportsAction.tooltip"));
setDescription(JavaEditorMess... |
10,158 | Bug 10158 [hovering] Report protection in hover-help | 1. Hover the mouse over a method call in the JavaEditor 2. When the hover-help pops up note that it contains the method signature and JavaDoc, but not the method's protection The protection information is also useful to potential callers of that method and should be reported with the signature. | resolved fixed | 37d8aaa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T11:16:29Z | 2002-02-25T15:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/OrganizeImportsAction.java | ICompilationUnit cu= manager.getWorkingCopy(fEditor.getEditorInput());
if (cu != null) {
String[] prefOrder= ImportOrganizePreferencePage.getImportOrderPreference();
int threshold= ImportOrganizePreferencePage.getImportNumberThreshold();
boolean ignoreLowerCaseNames= ImportOrganizePreferencePage.doIgnoreLowe... |
10,158 | Bug 10158 [hovering] Report protection in hover-help | 1. Hover the mouse over a method call in the JavaEditor 2. When the hover-help pops up note that it contains the method signature and JavaDoc, but not the method's protection The protection information is also useful to potential callers of that method and should be reported with the signature. | resolved fixed | 37d8aaa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T11:16:29Z | 2002-02-25T15:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/OrganizeImportsAction.java | public TypeInfo[] chooseImports(TypeInfo[][] openChoices, ISourceRange[] ranges) {
return doChooseImports(openChoices, ranges);
}
};
}
private TypeInfo[] doChooseImports(TypeInfo[][] openChoices, final ISourceRange[] ranges) {
ISelection sel= fEditor.getSelectionProvider().getSelection();
TypeInfo[]... |
10,158 | Bug 10158 [hovering] Report protection in hover-help | 1. Hover the mouse over a method call in the JavaEditor 2. When the hover-help pops up note that it contains the method signature and JavaDoc, but not the method's protection The protection information is also useful to potential callers of that method and should be reported with the signature. | resolved fixed | 37d8aaa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T11:16:29Z | 2002-02-25T15:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/OrganizeImportsAction.java | }
if (sel instanceof ITextSelection) {
ITextSelection textSelection= (ITextSelection) sel;
fEditor.selectAndReveal(textSelection.getOffset(), textSelection.getLength());
}
return result;
}
private void doListSelectionChanged(int page, ISourceRange[] ranges) {
if (page >= 0 && page < ranges.length) ... |
12,596 | Bug 12596 exception on saving dirty editors | 20020328 Log: Tue Apr 02 14:42:49 GMT+02:00 2002 4 org.eclipse.jdt.ui 1 Internal Error java.lang.reflect.InvocationTargetException: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.RangeCheck(ArrayList.java(Compiled Code)) at java.util.ArrayList.get(ArrayList.java(Compiled Code)) at org.ecl... | resolved fixed | a7cff8c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T14:10:42Z | 2002-04-02T12:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/ReorgDestinationAction.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.reorg;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
impo... |
12,596 | Bug 12596 exception on saving dirty editors | 20020328 Log: Tue Apr 02 14:42:49 GMT+02:00 2002 4 org.eclipse.jdt.ui 1 Internal Error java.lang.reflect.InvocationTargetException: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.RangeCheck(ArrayList.java(Compiled Code)) at java.util.ArrayList.get(ArrayList.java(Compiled Code)) at org.ecl... | resolved fixed | a7cff8c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T14:10:42Z | 2002-04-02T12:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/ReorgDestinationAction.java | import org.eclipse.jface.operation.IRunnableWithProgress;
import org.eclipse.jface.viewers.ILabelProvider;
import org.eclipse.jface.viewers.ISelectionProvider;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.viewers.Viewer;
import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.IEdito... |
12,596 | Bug 12596 exception on saving dirty editors | 20020328 Log: Tue Apr 02 14:42:49 GMT+02:00 2002 4 org.eclipse.jdt.ui 1 Internal Error java.lang.reflect.InvocationTargetException: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.RangeCheck(ArrayList.java(Compiled Code)) at java.util.ArrayList.get(ArrayList.java(Compiled Code)) at org.ecl... | resolved fixed | a7cff8c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T14:10:42Z | 2002-04-02T12:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/ReorgDestinationAction.java | public ReorgDestinationAction(String name, ISelectionProvider provider) {
super(name, provider);
}
public ReorgDestinationAction(String name, StructuredSelectionProvider provider) {
super(name, provider);
}
/*
* @see Action#run()
*/
public void run() {
List elements= getStructuredSelection().toList();
... |
12,596 | Bug 12596 exception on saving dirty editors | 20020328 Log: Tue Apr 02 14:42:49 GMT+02:00 2002 4 org.eclipse.jdt.ui 1 Internal Error java.lang.reflect.InvocationTargetException: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.RangeCheck(ArrayList.java(Compiled Code)) at java.util.ArrayList.get(ArrayList.java(Compiled Code)) at org.ecl... | resolved fixed | a7cff8c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T14:10:42Z | 2002-04-02T12:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/ReorgDestinationAction.java | }
refactoring.setDestination(destination);
Set excluded= getExcluded(refactoring);
if (excluded == null)
return;
if (excluded.size() == elements.size())
return;
refactoring.setExcludedElements(excluded);
if (! isOkToProceed(refactoring))
return;
doReorg(refactoring);
} ... |
12,596 | Bug 12596 exception on saving dirty editors | 20020328 Log: Tue Apr 02 14:42:49 GMT+02:00 2002 4 org.eclipse.jdt.ui 1 Internal Error java.lang.reflect.InvocationTargetException: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.RangeCheck(ArrayList.java(Compiled Code)) at java.util.ArrayList.get(ArrayList.java(Compiled Code)) at org.ecl... | resolved fixed | a7cff8c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T14:10:42Z | 2002-04-02T12:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/ReorgDestinationAction.java | return last;
last= names[i];
}
return null;
}
abstract String getActionName();
abstract String getDestinationDialogMessage();
abstract ReorgRefactoring createRefactoring(List elements);
Set getExcluded(ReorgRefactoring refactoring) throws JavaModelException{
return new HashSet(0);
}
protect... |
12,596 | Bug 12596 exception on saving dirty editors | 20020328 Log: Tue Apr 02 14:42:49 GMT+02:00 2002 4 org.eclipse.jdt.ui 1 Internal Error java.lang.reflect.InvocationTargetException: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.RangeCheck(ArrayList.java(Compiled Code)) at java.util.ArrayList.get(ArrayList.java(Compiled Code)) at org.ecl... | resolved fixed | a7cff8c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T14:10:42Z | 2002-04-02T12:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/ReorgDestinationAction.java | List unsavedEditors= new ArrayList();
List unsavedElements= new ArrayList();
collectUnsavedEditors(elements, unsavedEditors, unsavedElements);
if (unsavedEditors.isEmpty())
return true;
ListSelectionDialog dialog = createUnsavedEditorDialog(unsavedElements);
if (dialog.open() != dialog.OK)
ret... |
12,596 | Bug 12596 exception on saving dirty editors | 20020328 Log: Tue Apr 02 14:42:49 GMT+02:00 2002 4 org.eclipse.jdt.ui 1 Internal Error java.lang.reflect.InvocationTargetException: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.RangeCheck(ArrayList.java(Compiled Code)) at java.util.ArrayList.get(ArrayList.java(Compiled Code)) at org.ecl... | resolved fixed | a7cff8c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T14:10:42Z | 2002-04-02T12:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/ReorgDestinationAction.java | for (Iterator iter= editorParts.iterator(); iter.hasNext(); ){
IEditorPart each= (IEditorPart)iter.next();
IEditorInput input= each.getEditorInput();
if (input instanceof IFileEditorInput)
result.add(((IFileEditorInput)input).getFile());
}
return (IFile[]) result.toArray(new IFile[result.size()]);
}
... |
12,596 | Bug 12596 exception on saving dirty editors | 20020328 Log: Tue Apr 02 14:42:49 GMT+02:00 2002 4 org.eclipse.jdt.ui 1 Internal Error java.lang.reflect.InvocationTargetException: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.RangeCheck(ArrayList.java(Compiled Code)) at java.util.ArrayList.get(ArrayList.java(Compiled Code)) at org.ecl... | resolved fixed | a7cff8c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T14:10:42Z | 2002-04-02T12:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/ReorgDestinationAction.java | private static void collectUnsavedEditors(List elements, List unsavedEditors, List unsavedElements) {
IEditorPart[] editors= JavaPlugin.getDirtyEditors();
for (int i= 0; i < editors.length; i++) {
for (Iterator iter= elements.iterator(); iter.hasNext(); ){
Object element= iter.next();
if (EditorUtility.i... |
12,596 | Bug 12596 exception on saving dirty editors | 20020328 Log: Tue Apr 02 14:42:49 GMT+02:00 2002 4 org.eclipse.jdt.ui 1 Internal Error java.lang.reflect.InvocationTargetException: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.RangeCheck(ArrayList.java(Compiled Code)) at java.util.ArrayList.get(ArrayList.java(Compiled Code)) at org.ecl... | resolved fixed | a7cff8c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T14:10:42Z | 2002-04-02T12:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/ReorgDestinationAction.java | };
ElementTreeSelectionDialog dialog= createDestinationSelectionDialog(JavaPlugin.getActiveWorkbenchShell(),
new DestinationRenderer(JavaElementLabelProvider.SHOW_SMALL_ICONS ),
cp,
refactoring);
dialog.setTitle(g... |
12,596 | Bug 12596 exception on saving dirty editors | 20020328 Log: Tue Apr 02 14:42:49 GMT+02:00 2002 4 org.eclipse.jdt.ui 1 Internal Error java.lang.reflect.InvocationTargetException: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.RangeCheck(ArrayList.java(Compiled Code)) at java.util.ArrayList.get(ArrayList.java(Compiled Code)) at org.ecl... | resolved fixed | a7cff8c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T14:10:42Z | 2002-04-02T12:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/ReorgDestinationAction.java | IResource parentRes= getResource(parent);
IJavaElement parentElement= JavaCore.create(parentRes);
if (parentElement != null)
return parentElement;
return getResource(parent);
}
private static Object computeCommonParent(Object e1, Object e2){
IResource r1= getResource(e1);
IResource r2= getResource(e2)... |
12,596 | Bug 12596 exception on saving dirty editors | 20020328 Log: Tue Apr 02 14:42:49 GMT+02:00 2002 4 org.eclipse.jdt.ui 1 Internal Error java.lang.reflect.InvocationTargetException: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.RangeCheck(ArrayList.java(Compiled Code)) at java.util.ArrayList.get(ArrayList.java(Compiled Code)) at org.ecl... | resolved fixed | a7cff8c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T14:10:42Z | 2002-04-02T12:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/ReorgDestinationAction.java | if (p1.segment(i).equals(p2.segment(i)))
commonPath= commonPath.append(p1.segment(i));
else
break;
}
return ResourcesPlugin.getWorkspace().getRoot().findMember(commonPath);
}
private static IResource getResource(Object o) {
try{
if (o instanceof IResource)
return (IResource)o;
else if (o... |
12,596 | Bug 12596 exception on saving dirty editors | 20020328 Log: Tue Apr 02 14:42:49 GMT+02:00 2002 4 org.eclipse.jdt.ui 1 Internal Error java.lang.reflect.InvocationTargetException: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.RangeCheck(ArrayList.java(Compiled Code)) at java.util.ArrayList.get(ArrayList.java(Compiled Code)) at org.ecl... | resolved fixed | a7cff8c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T14:10:42Z | 2002-04-02T12:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/ReorgDestinationAction.java | private ReorgRefactoring fRefactoring;
ContainerFilter(ReorgRefactoring refactoring) {
Assert.isNotNull(refactoring);
fRefactoring= refactoring;
}
public boolean select(Viewer viewer, Object parent, Object o) {
if (fRefactoring.getElementsToReorg().contains(o))
return false;
return fRefactorin... |
12,596 | Bug 12596 exception on saving dirty editors | 20020328 Log: Tue Apr 02 14:42:49 GMT+02:00 2002 4 org.eclipse.jdt.ui 1 Internal Error java.lang.reflect.InvocationTargetException: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.RangeCheck(ArrayList.java(Compiled Code)) at java.util.ArrayList.get(ArrayList.java(Compiled Code)) at org.ecl... | resolved fixed | a7cff8c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T14:10:42Z | 2002-04-02T12:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/ReorgDestinationAction.java | public DestinationRenderer(int flags) {
super(flags);
}
public String getText(Object element) {
try {
if (element instanceof IPackageFragmentRoot) {
IPackageFragmentRoot root= (IPackageFragmentRoot)element;
if (root.getUnderlyingResource() instanceof IProject)
return ReorgMessages.getStr... |
12,596 | Bug 12596 exception on saving dirty editors | 20020328 Log: Tue Apr 02 14:42:49 GMT+02:00 2002 4 org.eclipse.jdt.ui 1 Internal Error java.lang.reflect.InvocationTargetException: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.RangeCheck(ArrayList.java(Compiled Code)) at java.util.ArrayList.get(ArrayList.java(Compiled Code)) at org.ecl... | resolved fixed | a7cff8c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T14:10:42Z | 2002-04-02T12:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/ReorgDestinationAction.java | private ReorgRefactoring fRefactoring;
public ReorgSelectionValidator(ReorgRefactoring refactoring) {
Assert.isNotNull(refactoring);
fRefactoring= refactoring;
}
public IStatus validate(Object[] selection) {
if (selection.length != 1)
return new StatusInfo(IStatus.ERROR, "");
try{
if (... |
10,758 | Bug 10758 utilize classpath variable initializers | From JCORE: "the CLASSPATH VARIABLE INITIALIZE should be leveraged by the orgg.eclipse.jdt.launching plugin to initialize JRELIB, JRESRC etc." CLASSPATH VARIABLE INITIALIZER============================== Added extension point to jdtcore so as to allow client plugins to register classpath variable initializers. Extensio... | verified fixed | c544852 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T22:59:09Z | 2002-03-05T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPlugin.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.eclipse.core.resources.IMarker;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.re... |
10,758 | Bug 10758 utilize classpath variable initializers | From JCORE: "the CLASSPATH VARIABLE INITIALIZE should be leveraged by the orgg.eclipse.jdt.launching plugin to initialize JRELIB, JRESRC etc." CLASSPATH VARIABLE INITIALIZER============================== Added extension point to jdtcore so as to allow client plugins to register classpath variable initializers. Extensio... | verified fixed | c544852 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T22:59:09Z | 2002-03-05T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPlugin.java | import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.MultiStatus;
import org.eclipse.core.runtime.Path;
import org.eclipse.core.runtime.Platform;
import org.eclipse.core.runtime.Status;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.jface.action.GroupMarker;
import org.eclipse.jface.action... |
10,758 | Bug 10758 utilize classpath variable initializers | From JCORE: "the CLASSPATH VARIABLE INITIALIZE should be leveraged by the orgg.eclipse.jdt.launching plugin to initialize JRELIB, JRESRC etc." CLASSPATH VARIABLE INITIALIZER============================== Added extension point to jdtcore so as to allow client plugins to register classpath variable initializers. Extensio... | verified fixed | c544852 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T22:59:09Z | 2002-03-05T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPlugin.java | import org.eclipse.jdt.internal.ui.preferences.CodeFormatterPreferencePage;
import org.eclipse.jdt.internal.ui.preferences.CodeGenerationPreferencePage;
import org.eclipse.jdt.internal.ui.preferences.CompilerPreferencePage;
import org.eclipse.jdt.internal.ui.preferences.ImportOrganizePreferencePage;
import org.eclipse.... |
10,758 | Bug 10758 utilize classpath variable initializers | From JCORE: "the CLASSPATH VARIABLE INITIALIZE should be leveraged by the orgg.eclipse.jdt.launching plugin to initialize JRELIB, JRESRC etc." CLASSPATH VARIABLE INITIALIZER============================== Added extension point to jdtcore so as to allow client plugins to register classpath variable initializers. Extensio... | verified fixed | c544852 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T22:59:09Z | 2002-03-05T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPlugin.java | private CompilationUnitDocumentProvider fCompilationUnitDocumentProvider;
private ClassFileDocumentProvider fClassFileDocumentProvider;
private JavaTextTools fJavaTextTools;
private ProblemMarkerManager fProblemMarkerManager;
private ImageDescriptorRegistry fImageDescriptorRegistry;
public static JavaPlugin ge... |
10,758 | Bug 10758 utilize classpath variable initializers | From JCORE: "the CLASSPATH VARIABLE INITIALIZE should be leveraged by the orgg.eclipse.jdt.launching plugin to initialize JRELIB, JRESRC etc." CLASSPATH VARIABLE INITIALIZER============================== Added extension point to jdtcore so as to allow client plugins to register classpath variable initializers. Extensio... | verified fixed | c544852 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T22:59:09Z | 2002-03-05T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPlugin.java | *
* @return an array of all dirty editor parts.
*/
public static IEditorPart[] getDirtyEditors() {
Set inputs= new HashSet(7);
List result= new ArrayList(0);
IWorkbench workbench= getDefault().getWorkbench();
IWorkbenchWindow[] windows= workbench.getWorkbenchWindows();
for (int i= 0; i < windows.length;... |
10,758 | Bug 10758 utilize classpath variable initializers | From JCORE: "the CLASSPATH VARIABLE INITIALIZE should be leveraged by the orgg.eclipse.jdt.launching plugin to initialize JRELIB, JRESRC etc." CLASSPATH VARIABLE INITIALIZER============================== Added extension point to jdtcore so as to allow client plugins to register classpath variable initializers. Extensio... | verified fixed | c544852 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T22:59:09Z | 2002-03-05T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPlugin.java | }
public static void logErrorMessage(String message) {
log(new Status(IStatus.ERROR, getPluginId(), JavaStatusConstants.INTERNAL_ERROR, message, null));
}
public static void logErrorStatus(String message, IStatus status) {
if (status == null) {
logErrorMessage(message);
return;
}
MultiStatus multi= n... |
10,758 | Bug 10758 utilize classpath variable initializers | From JCORE: "the CLASSPATH VARIABLE INITIALIZE should be leveraged by the orgg.eclipse.jdt.launching plugin to initialize JRELIB, JRESRC etc." CLASSPATH VARIABLE INITIALIZER============================== Added extension point to jdtcore so as to allow client plugins to register classpath variable initializers. Extensio... | verified fixed | c544852 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-04-02T22:59:09Z | 2002-03-05T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPlugin.java | public JavaPlugin(IPluginDescriptor descriptor) {
super(descriptor);
fgJavaPlugin= this;
}
/* (non - Javadoc)
* Method declared in Plugin
*/
public void startup() {
IAdapterManager manager= Platform.getAdapterManager();
manager.registerAdapters(new JavaElementAdapterFactory(), IJavaElement.class);
ma... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.