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
23,447
Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation]
From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java...
resolved fixed
02d77b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T08:45:37Z
2002-09-12T08:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
} fAccMdfButtons.setEnabled(canBeModified); fOtherMdfButtons.setEnabled(canBeModified); } /** * Returns the content of the superclass input field. * * @return the superclass name */ public String getSuperClass() { return fSuperClassDialogField.getText(); } /** * Sets the super class name. ...
23,447
Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation]
From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java...
resolved fixed
02d77b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T08:45:37Z
2002-09-12T08:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
* are of type <code>String</code> */ public List getSuperInterfaces() { return fSuperInterfacesDialogField.getElements(); } /** * Sets the super interfaces. * * @param interfacesNames a list of super interface. The method requires that * the list's elements are of type <code>String</code> * @param can...
23,447
Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation]
From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java...
resolved fixed
02d77b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T08:45:37Z
2002-09-12T08:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
protected IStatus packageChanged() { StatusInfo status= new StatusInfo(); fPackageDialogField.enableButton(getPackageFragmentRoot() != null); String packName= getPackageText(); if (packName.length() > 0) { IStatus val= JavaConventions.validatePackageName(packName); if (val.getSeverity() == IStatus.ERRO...
23,447
Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation]
From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java...
resolved fixed
02d77b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T08:45:37Z
2002-09-12T08:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
} } catch (JavaModelException e) { JavaPlugin.log(e); } } fCurrPackage= root.getPackageFragment(packName); } else { status.setError(""); } return status; } /* * Updates the 'default' label next to the package field. */ private void updatePackageStatusLabel() { String ...
23,447
Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation]
From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java...
resolved fixed
02d77b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T08:45:37Z
2002-09-12T08:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
boolean enclosing= isEnclosingTypeSelected(); fPackageDialogField.setEnabled(fCanModifyPackage && !enclosing); fEnclosingTypeDialogField.setEnabled(fCanModifyEnclosingType && enclosing); } /** * Hook method that gets called when the enclosing type name has changed. The method * validates the enclosing type ...
23,447
Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation]
From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java...
resolved fixed
02d77b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T08:45:37Z
2002-09-12T08:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
} try { IType type= root.getJavaProject().findType(enclName); if (type == null) { status.setError(NewWizardMessages.getString("NewTypeWizardPage.error.EnclosingTypeNotExists")); return status; } if (type.getCompilationUnit() == null) { status.setError(NewWizardMessages.getString("NewTypeWizar...
23,447
Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation]
From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java...
resolved fixed
02d77b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T08:45:37Z
2002-09-12T08:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
* Hook method that gets called when the type name has changed. The method validates the * type name and returns the status of the validation. * <p> * Subclasses may extend this method to perform their own validation. * </p> * * @return the status of the validation */ protected IStatus typeNameChanged()...
23,447
Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation]
From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java...
resolved fixed
02d77b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T08:45:37Z
2002-09-12T08:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
IPackageFragment pack= getPackageFragment(); if (pack != null) { ICompilationUnit cu= pack.getCompilationUnit(typeName + ".java"); if (cu.exists()) { status.setError(NewWizardMessages.getString("NewTypeWizardPage.error.TypeNameExists")); return status; } } } else { IType type= getEncl...
23,447
Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation]
From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java...
resolved fixed
02d77b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T08:45:37Z
2002-09-12T08:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
protected IStatus superClassChanged() { StatusInfo status= new StatusInfo(); IPackageFragmentRoot root= getPackageFragmentRoot(); fSuperClassDialogField.enableButton(root != null); fSuperClass= null; String sclassName= getSuperClass(); if (sclassName.length() == 0) { return status; } IStatu...
23,447
Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation]
From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java...
resolved fixed
02d77b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T08:45:37Z
2002-09-12T08:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
status.setWarning(NewWizardMessages.getFormattedString("NewTypeWizardPage.warning.SuperClassIsFinal", sclassName)); return status; } else if (!JavaModelUtil.isVisible(type, getPackageFragment())) { status.setWarning(NewWizardMessages.getFormattedString("NewTypeWizardPage.warning.SuperClassIsNotVisible...
23,447
Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation]
From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java...
resolved fixed
02d77b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T08:45:37Z
2002-09-12T08:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
} else { IPackageFragment currPack= getPackageFragment(); if (type == null && currPack != null) { String packName= currPack.getElementName(); if (!currPack.isDefaultPackage()) { type= jproject.findType(packName, sclassName); } if (type == null && !"java.lang".equals(packName)) { ...
23,447
Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation]
From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java...
resolved fixed
02d77b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T08:45:37Z
2002-09-12T08:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
protected IStatus superInterfacesChanged() { StatusInfo status= new StatusInfo(); IPackageFragmentRoot root= getPackageFragmentRoot(); fSuperInterfacesDialogField.enableButton(0, root != null); if (root != null) { List elements= fSuperInterfacesDialogField.getElements(); int nElements= elements....
23,447
Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation]
From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java...
resolved fixed
02d77b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T08:45:37Z
2002-09-12T08:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
} } return status; } /** * Hook method that gets called when the modifiers have changed. The method validates * the modifiers and returns the status of the validation. * <p> * Subclasses may extend this method to perform their own validation. * </p> * * @return the status of the validation *...
23,447
Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation]
From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java...
resolved fixed
02d77b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T08:45:37Z
2002-09-12T08:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
} } catch (JavaModelException e) { JavaPlugin.log(e); } if (packages == null) { packages= new IJavaElement[0]; } ElementListSelectionDialog dialog= new ElementListSelectionDialog(getShell(), new JavaElementLabelProvider(JavaElementLabelProvider.SHOW_DEFAULT)); dialog.setIgnoreCase(false); dialog....
23,447
Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation]
From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java...
resolved fixed
02d77b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T08:45:37Z
2002-09-12T08:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
TypeSelectionDialog dialog= new TypeSelectionDialog(getShell(), getWizard().getContainer(), IJavaSearchConstants.TYPE, scope); dialog.setTitle(NewWizardMessages.getString("NewTypeWizardPage.ChooseEnclosingTypeDialog.title")); dialog.setMessage(NewWizardMessages.getString("NewTypeWizardPage.ChooseEnclosingTypeDialo...
23,447
Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation]
From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java...
resolved fixed
02d77b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T08:45:37Z
2002-09-12T08:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
} return null; } private void chooseSuperInterfaces() { IPackageFragmentRoot root= getPackageFragmentRoot(); if (root == null) { return; } IJavaProject project= root.getJavaProject(); SuperInterfaceSelectionDialog dialog= new SuperInterfaceSelectionDialog(getShell(), getWizard().getContainer(), fSup...
23,447
Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation]
From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java...
resolved fixed
02d77b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T08:45:37Z
2002-09-12T08:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
IPackageFragment pack= getPackageFragment(); if (pack == null) { pack= root.getPackageFragment(""); } if (!pack.exists()) { String packName= pack.getElementName(); pack= root.createPackageFragment(packName, true, null); } monitor.worked(1); String clName= getTypeName(); boolean isI...
23,447
Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation]
From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java...
resolved fixed
02d77b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T08:45:37Z
2002-09-12T08:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
imports.addImport(pack.getElementName(), getTypeName()); String content= constructTypeStub(new ImportsManager(imports), lineDelimiter, parentCU); createdType= parentCU.createType(content, null, false, new SubProgressMonitor(monitor, 3)); } else { IType enclosingType= getEnclosingType(); IT...
23,447
Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation]
From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java...
resolved fixed
02d77b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T08:45:37Z
2002-09-12T08:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
imports.create(!isInnerClass, new SubProgressMonitor(monitor, 1)); createTypeMembers(createdType, new ImportsManager(imports), new SubProgressMonitor(monitor, 1)); imports.create(!isInnerClass, new SubProgressMonitor(monitor, 1)); ICompilationUnit cu= createdType.getCompilationUnit(); ISourceRange ran...
23,447
Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation]
From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java...
resolved fixed
02d77b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T08:45:37Z
2002-09-12T08:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
monitor.worked(1); } fCreatedType= createdType; monitor.done(); } /** * Returns the created type. The method only returns a valid type * after <code>createType</code> has been called. * * @return the created type * @see #createType(IProgressMonitor) */ public IType getCreatedType() { return...
23,447
Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation]
From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java...
resolved fixed
02d77b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T08:45:37Z
2002-09-12T08:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
int last= interfaces.size() - 1; if (last >= 0) { if (fIsClass) { buf.append(" implements "); } else { buf.append(" extends "); } for (int i= 0; i <= last; i++) { String typename= (String) interfaces.get(i); buf.append(imports.addImport(typename)); if (i < last) { buf.append(','...
23,447
Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation]
From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java...
resolved fixed
02d77b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T08:45:37Z
2002-09-12T08:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
buf.append(' '); } buf.append(fIsClass ? "class " : "interface "); buf.append(getTypeName()); writeSuperClass(buf, imports); writeSuperInterfaces(buf, imports); buf.append('{'); buf.append(lineDelimiter); buf.append(lineDelimiter); buf.append('}'); buf.append(lineDelimiter); return buf.toString(...
23,447
Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation]
From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java...
resolved fixed
02d77b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T08:45:37Z
2002-09-12T08:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
* import manager. * </p> * * @param newType the new type created via <code>createType</code> * @param imports an import manager which can be used to add new imports * @param monitor a progress monitor to report progress. Must not be <code>null</code> * * @see #createType(IProgressMonitor) */ protec...
23,447
Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation]
From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java...
resolved fixed
02d77b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T08:45:37Z
2002-09-12T08:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
if (CodeGenerationPreferencePage.doFileComments()) { return getTemplate("filecomment", parentCU, 0); } return null; } /** * Hook method that gets called from <code>createType</code> to retrieve * a type comment. This default implementation returns the content of the * 'typecomment' template. * ...
23,447
Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation]
From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java...
resolved fixed
02d77b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T08:45:37Z
2002-09-12T08:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
* the context of the given compilation unit. * * @param name the template to be evaluated * @param parentCU the templates evaluation context * @param pos a source offset into the parent compilation unit. The * template is evalutated at the given source offset */ protected String getTemplate(String name, I...
23,447
Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation]
From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java...
resolved fixed
02d77b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T08:45:37Z
2002-09-12T08:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
* @param type the type for which the new methods and constructor are to be created * @param doConstructors if <code>true</code> unimplemented constructors are created * @param doUnimplementedMethods if <code>true</code> unimplemented methods are created * @param imports an import manager to add all neded import s...
23,447
Bug 23447 Java super-class name does not carry on to dialogue box [code manipulation]
From WSAD Customer: When creating a new Java Class, when an incomplete super-classname is entered in the dialogue box and then the Browse button is clicked, nothing that appears in the Choose a type field. Ideally, it should have the incomplete name typed in the previous super-class field. How to recreate : In the Java...
resolved fixed
02d77b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T08:45:37Z
2002-09-12T08:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
IMethod[] createdMethods= new IMethod[newMethods.size()]; for (int i= 0; i < newMethods.size(); i++) { String content= (String) newMethods.get(i) + '\n'; createdMethods[i]= type.createMethod(content, null, false, null); } return createdMethods; } /** * Returns the runnable that creates the type usi...
23,348
Bug 23348 Quickfix ignores read-only state [quick fix]
Build: 20020903 1. Create a new Java project. 2. Create a new Java file, A.java public class A { public void foo() { ba(); } public void bar() { } } 3. Save the file. 4. Mark it read-only. 5. Right click the error in the task list and select "Quick- fix..." 6. Select either of the options, the edits are made (in a read...
resolved fixed
3fdca60
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T08:55:22Z
2002-09-09T22:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/CorrectionMarkerResolutionGenerator.java
package org.eclipse.jdt.internal.ui.text.correction; import java.util.ArrayList; import java.util.Iterator; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IMarker; import org.eclipse.core.resources.IResource; import org.eclipse.jface.text.IDocument; import org.eclipse.jface.text.Position; im...
23,348
Bug 23348 Quickfix ignores read-only state [quick fix]
Build: 20020903 1. Create a new Java project. 2. Create a new Java file, A.java public class A { public void foo() { ba(); } public void bar() { } } 3. Save the file. 4. Mark it read-only. 5. Right click the error in the task list and select "Quick- fix..." 6. Select either of the options, the edits are made (in a read...
resolved fixed
3fdca60
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T08:55:22Z
2002-09-09T22:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/CorrectionMarkerResolutionGenerator.java
public static class CorrectionMarkerResolution implements IMarkerResolution { private IEditorInput fEditorInput; private ChangeCorrectionProposal fProposal; /** * Constructor for CorrectionMarkerResolution. */ public CorrectionMarkerResolution(IEditorInput editorInput, ChangeCorrectionProposal proposa...
23,348
Bug 23348 Quickfix ignores read-only state [quick fix]
Build: 20020903 1. Create a new Java project. 2. Create a new Java file, A.java public class A { public void foo() { ba(); } public void bar() { } } 3. Save the file. 4. Mark it read-only. 5. Right click the error in the task list and select "Quick- fix..." 6. Select either of the options, the edits are made (in a read...
resolved fixed
3fdca60
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T08:55:22Z
2002-09-09T22:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/CorrectionMarkerResolutionGenerator.java
fProposal= proposal; } /* (non-Javadoc) * @see IMarkerResolution#getLabel() */ public String getLabel() { return fProposal.getDisplayString(); } /* (non-Javadoc) * @see IMarkerResolution#run(IMarker) */ public void run(IMarker marker) { IDocument doc= JavaPlugin.getDefault().getCompila...
23,348
Bug 23348 Quickfix ignores read-only state [quick fix]
Build: 20020903 1. Create a new Java project. 2. Create a new Java file, A.java public class A { public void foo() { ba(); } public void bar() { } } 3. Save the file. 4. Mark it read-only. 5. Right click the error in the task list and select "Quick- fix..." 6. Select either of the options, the edits are made (in a read...
resolved fixed
3fdca60
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T08:55:22Z
2002-09-09T22:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/CorrectionMarkerResolutionGenerator.java
public IMarkerResolution[] getResolutions(IMarker marker) { int id= marker.getAttribute(IJavaModelMarker.ID, -1); if (!JavaCorrectionProcessor.hasCorrections(id)) { return new IMarkerResolution[0]; } try { ICompilationUnit cu= getCompilationUnit(marker); if (cu != null) { IEditorInput input= Ed...
23,348
Bug 23348 Quickfix ignores read-only state [quick fix]
Build: 20020903 1. Create a new Java project. 2. Create a new Java file, A.java public class A { public void foo() { ba(); } public void bar() { } } 3. Save the file. 4. Mark it read-only. 5. Right click the error in the task list and select "Quick- fix..." 6. Select either of the options, the edits are made (in a read...
resolved fixed
3fdca60
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T08:55:22Z
2002-09-09T22:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/CorrectionMarkerResolutionGenerator.java
IResource res= marker.getResource(); if (res instanceof IFile && res.isAccessible()) { return JavaCore.createCompilationUnitFrom((IFile) res); } return null; } private ProblemPosition findProblemPosition(IEditorInput input, IMarker marker) throws JavaModelException { IAnnotationModel model= JavaPlugin.ge...
22,994
Bug 22994 Choose Package subdialog of New Class dialog crashes if source dir is not on java build path [dialogs]
There is no code for checking whether given IPackageFragmentRoot exists. Simmilar problem is in Choose Source Dir dialog - it allows you to select project even if it is not a source folder.
resolved fixed
f30cca5
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T09:10:53Z
2002-08-29T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewContainerWizardPage.java
/******************************************************************************* * Copyright (c) 2000, 2002 International Business Machines Corp. and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Public License v1.0 * which accompanie...
22,994
Bug 22994 Choose Package subdialog of New Class dialog crashes if source dir is not on java build path [dialogs]
There is no code for checking whether given IPackageFragmentRoot exists. Simmilar problem is in Choose Source Dir dialog - it allows you to select project even if it is not a source folder.
resolved fixed
f30cca5
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T09:10:53Z
2002-08-29T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewContainerWizardPage.java
import org.eclipse.ui.views.contentoutline.ContentOutline; import org.eclipse.jdt.core.IJavaElement; import org.eclipse.jdt.core.IJavaModel; import org.eclipse.jdt.core.IJavaProject; import org.eclipse.jdt.core.IPackageFragmentRoot; import org.eclipse.jdt.core.JavaCore; import org.eclipse.jdt.core.JavaModelException; i...
22,994
Bug 22994 Choose Package subdialog of New Class dialog crashes if source dir is not on java build path [dialogs]
There is no code for checking whether given IPackageFragmentRoot exists. Simmilar problem is in Choose Source Dir dialog - it allows you to select project even if it is not a source folder.
resolved fixed
f30cca5
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T09:10:53Z
2002-08-29T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewContainerWizardPage.java
protected static final String CONTAINER= "NewContainerWizardPage.container"; protected IStatus fContainerStatus; private StringButtonDialogField fContainerDialogField; /* * package fragment root corresponding to the input type (can be null) */ private IPackageFragmentRoot fCurrRoot; private IWorkspaceR...
22,994
Bug 22994 Choose Package subdialog of New Class dialog crashes if source dir is not on java build path [dialogs]
There is no code for checking whether given IPackageFragmentRoot exists. Simmilar problem is in Choose Source Dir dialog - it allows you to select project even if it is not a source folder.
resolved fixed
f30cca5
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T09:10:53Z
2002-08-29T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewContainerWizardPage.java
/** * Create a new <code>NewContainerWizardPage</code> * * @param name the wizard page's name */ public NewContainerWizardPage(String name) { super(name); fWorkspaceRoot= ResourcesPlugin.getWorkspace().getRoot(); ContainerFieldAdapter adapter= new ContainerFieldAdapter(); fContainerDialogField= ne...
22,994
Bug 22994 Choose Package subdialog of New Class dialog crashes if source dir is not on java build path [dialogs]
There is no code for checking whether given IPackageFragmentRoot exists. Simmilar problem is in Choose Source Dir dialog - it allows you to select project even if it is not a source folder.
resolved fixed
f30cca5
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T09:10:53Z
2002-08-29T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewContainerWizardPage.java
if (initRoot == null || initRoot.isArchive()) { IJavaProject jproject= elem.getJavaProject(); if (jproject != null) { try { initRoot= null; IPackageFragmentRoot[] roots= jproject.getPackageFragmentRoots(); for (int i= 0; i < roots.length; i++) { if (roots[i].getKind() == IPackageFr...
22,994
Bug 22994 Choose Package subdialog of New Class dialog crashes if source dir is not on java build path [dialogs]
There is no code for checking whether given IPackageFragmentRoot exists. Simmilar problem is in Choose Source Dir dialog - it allows you to select project even if it is not a source folder.
resolved fixed
f30cca5
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T09:10:53Z
2002-08-29T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewContainerWizardPage.java
*/ protected IJavaElement getInitialJavaElement(IStructuredSelection selection) { IJavaElement jelem= null; if (selection != null && !selection.isEmpty()) { Object selectedElement= selection.getFirstElement(); if (selectedElement instanceof IAdaptable) { IAdaptable adaptable= (IAdaptable) selectedElement...
22,994
Bug 22994 Choose Package subdialog of New Class dialog crashes if source dir is not on java build path [dialogs]
There is no code for checking whether given IPackageFragmentRoot exists. Simmilar problem is in Choose Source Dir dialog - it allows you to select project even if it is not a source folder.
resolved fixed
f30cca5
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T09:10:53Z
2002-08-29T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewContainerWizardPage.java
Object elem= ((IViewPartInputProvider)part).getViewPartInput(); if (elem instanceof IJavaElement) { jelem= (IJavaElement) elem; } } } if (jelem == null || jelem.getElementType() == IJavaElement.JAVA_MODEL) { IProject[] projects= getWorkspaceRoot().getProjects(); if (projects.length > 0) { ...
22,994
Bug 22994 Choose Package subdialog of New Class dialog crashes if source dir is not on java build path [dialogs]
There is no code for checking whether given IPackageFragmentRoot exists. Simmilar problem is in Choose Source Dir dialog - it allows you to select project even if it is not a source folder.
resolved fixed
f30cca5
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T09:10:53Z
2002-08-29T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewContainerWizardPage.java
* the source folder location. The method expects that the parent composite * uses a <code>GridLayout</code> as its layout manager and that the * grid layout has at least 3 columns. * * @param parent the parent composite * @param nColumns the number of columns to span. This number must be * greater or equa...
22,994
Bug 22994 Choose Package subdialog of New Class dialog crashes if source dir is not on java build path [dialogs]
There is no code for checking whether given IPackageFragmentRoot exists. Simmilar problem is in Choose Source Dir dialog - it allows you to select project even if it is not a source folder.
resolved fixed
f30cca5
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T09:10:53Z
2002-08-29T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewContainerWizardPage.java
private void containerChangeControlPressed(DialogField field) { IPackageFragmentRoot root= getPackageFragmentRoot(); root= chooseSourceContainer(root); if (root != null) { setPackageFragmentRoot(root, true); } } private void containerDialogFieldChanged(DialogField field) { if (field == fContainerDia...
22,994
Bug 22994 Choose Package subdialog of New Class dialog crashes if source dir is not on java build path [dialogs]
There is no code for checking whether given IPackageFragmentRoot exists. Simmilar problem is in Choose Source Dir dialog - it allows you to select project even if it is not a source folder.
resolved fixed
f30cca5
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T09:10:53Z
2002-08-29T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewContainerWizardPage.java
fCurrRoot= null; String str= getPackageFragmentRootText(); if (str.length() == 0) { status.setError(NewWizardMessages.getString("NewContainerWizardPage.error.EnterContainerName")); return status; } IPath path= new Path(str); IResource res= fWorkspaceRoot.findMember(path); if (res != null) { int re...
22,994
Bug 22994 Choose Package subdialog of New Class dialog crashes if source dir is not on java build path [dialogs]
There is no code for checking whether given IPackageFragmentRoot exists. Simmilar problem is in Choose Source Dir dialog - it allows you to select project even if it is not a source folder.
resolved fixed
f30cca5
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T09:10:53Z
2002-08-29T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewContainerWizardPage.java
status.setWarning(NewWizardMessages.getString("NewContainerWizardPage.warning.NotAJavaProject")); } try { if (!jproject.isOnClasspath(fCurrRoot)) { status.setWarning(NewWizardMessages.getFormattedString("NewContainerWizardPage.warning.NotOnClassPath", str)); } } catch (JavaModelExc...
22,994
Bug 22994 Choose Package subdialog of New Class dialog crashes if source dir is not on java build path [dialogs]
There is no code for checking whether given IPackageFragmentRoot exists. Simmilar problem is in Choose Source Dir dialog - it allows you to select project even if it is not a source folder.
resolved fixed
f30cca5
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T09:10:53Z
2002-08-29T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewContainerWizardPage.java
* <p> * Every sub type is responsible to call this method when a field on its page has changed. * Subtypes override (extend) the method to add verification when a own field has a * dependency to an other field. For example the class name input must be verified * again when the package field changes (check for d...
22,994
Bug 22994 Choose Package subdialog of New Class dialog crashes if source dir is not on java build path [dialogs]
There is no code for checking whether given IPackageFragmentRoot exists. Simmilar problem is in Choose Source Dir dialog - it allows you to select project even if it is not a source folder.
resolved fixed
f30cca5
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T09:10:53Z
2002-08-29T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewContainerWizardPage.java
* */ public IPackageFragmentRoot getPackageFragmentRoot() { return fCurrRoot; } /** * Returns the current text of source folder text field. * * @return the text of the source folder text field */ public String getPackageFragmentRootText() { return fContainerDialogField.getText(); } /** * ...
22,994
Bug 22994 Choose Package subdialog of New Class dialog crashes if source dir is not on java build path [dialogs]
There is no code for checking whether given IPackageFragmentRoot exists. Simmilar problem is in Choose Source Dir dialog - it allows you to select project even if it is not a source folder.
resolved fixed
f30cca5
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T09:10:53Z
2002-08-29T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewContainerWizardPage.java
private IPackageFragmentRoot chooseSourceContainer(IJavaElement initElement) { Class[] acceptedClasses= new Class[] { IPackageFragmentRoot.class, IJavaProject.class }; TypedElementSelectionValidator validator= new TypedElementSelectionValidator(acceptedClasses, false) { public boolean isSelectedValid(Object elem...
22,994
Bug 22994 Choose Package subdialog of New Class dialog crashes if source dir is not on java build path [dialogs]
There is no code for checking whether given IPackageFragmentRoot exists. Simmilar problem is in Choose Source Dir dialog - it allows you to select project even if it is not a source folder.
resolved fixed
f30cca5
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T09:10:53Z
2002-08-29T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewContainerWizardPage.java
} } return super.select(viewer, parent, element); } }; StandardJavaElementContentProvider provider= new StandardJavaElementContentProvider(); ILabelProvider labelProvider= new JavaElementLabelProvider(JavaElementLabelProvider.SHOW_DEFAULT); ElementTreeSelectionDialog dialog= new ElementTreeSelecti...
19,864
Bug 19864 Code completion does not filter fully qualified class names
Steps to reproduce: - Type: java.io. - Press CTRL+SPACE to make the Auto completion box appear. - Type: O The auto completion box then disapears. It should instead filter out those classes that do not begin with O. I'm using build 20020607.
resolved fixed
ff5b486
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T13:23:43Z
2002-06-11T01:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProposal.java
package org.eclipse.jdt.internal.ui.text.java; /* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ import org.eclipse.swt.graphics.Image; import org.eclipse.swt.graphics.Point; import org.eclipse.jface.text.BadLocationException; import org.eclipse.jface.text.IDocument; import org.eclipse.jface.text....
19,864
Bug 19864 Code completion does not filter fully qualified class names
Steps to reproduce: - Type: java.io. - Press CTRL+SPACE to make the Auto completion box appear. - Type: O The auto completion box then disapears. It should instead filter out those classes that do not begin with O. I'm using build 20020607.
resolved fixed
ff5b486
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T13:23:43Z
2002-06-11T01:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProposal.java
private String fDisplayString; private String fReplacementString; private int fReplacementOffset; private int fReplacementLength; private int fCursorPosition; private Image fImage; private IContextInformation fContextInformation; private int fContextInformationPosition; private ProposalInfo fProposalInfo; priv...
19,864
Bug 19864 Code completion does not filter fully qualified class names
Steps to reproduce: - Type: java.io. - Press CTRL+SPACE to make the Auto completion box appear. - Type: O The auto completion box then disapears. It should instead filter out those classes that do not begin with O. I'm using build 20020607.
resolved fixed
ff5b486
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T13:23:43Z
2002-06-11T01:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProposal.java
* @param replacementLength the length of the text to be replaced * @param image the image to display for this proposal * @param displayString the string to be displayed for the proposal * If set to <code>null</code>, the replacement string will be taken as display string. */ public JavaCompletionProposal(Strin...
19,864
Bug 19864 Code completion does not filter fully qualified class names
Steps to reproduce: - Type: java.io. - Press CTRL+SPACE to make the Auto completion box appear. - Type: O The auto completion box then disapears. It should instead filter out those classes that do not begin with O. I'm using build 20020607.
resolved fixed
ff5b486
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T13:23:43Z
2002-06-11T01:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProposal.java
fContextInformationPosition= (fContextInformation != null ? fCursorPosition : -1); } /** * Sets the trigger characters. * @param triggerCharacters The set of characters which can trigger the application of this completion proposal */ public void setTriggerCharacters(char[] triggerCharacters) { fTriggerChar...
19,864
Bug 19864 Code completion does not filter fully qualified class names
Steps to reproduce: - Type: java.io. - Press CTRL+SPACE to make the Auto completion box appear. - Type: O The auto completion box then disapears. It should instead filter out those classes that do not begin with O. I'm using build 20020607.
resolved fixed
ff5b486
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T13:23:43Z
2002-06-11T01:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProposal.java
/* * @see ICompletionProposalExtension#apply(IDocument, char, int) */ public void apply(IDocument document, char trigger, int offset) { try { int delta= offset - (fReplacementOffset + fReplacementLength); if (delta > 0) fReplacementLength += delta; if (trigger == (char) 0) { replace(docu...
19,864
Bug 19864 Code completion does not filter fully qualified class names
Steps to reproduce: - Type: java.io. - Press CTRL+SPACE to make the Auto completion box appear. - Type: O The auto completion box then disapears. It should instead filter out those classes that do not begin with O. I'm using build 20020607.
resolved fixed
ff5b486
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T13:23:43Z
2002-06-11T01:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProposal.java
document.replace(offset, length, string); } /* * @see ICompletionProposal#apply */ public void apply(IDocument document) { apply(document, (char) 0, fReplacementOffset + fReplacementLength); } /* * @see ICompletionProposal#getSelection */ public Point getSelection(IDocument document) { return new Po...
19,864
Bug 19864 Code completion does not filter fully qualified class names
Steps to reproduce: - Type: java.io. - Press CTRL+SPACE to make the Auto completion box appear. - Type: O The auto completion box then disapears. It should instead filter out those classes that do not begin with O. I'm using build 20020607.
resolved fixed
ff5b486
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T13:23:43Z
2002-06-11T01:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProposal.java
public String getDisplayString() { return fDisplayString; } /* * @see ICompletionProposal#getAdditionalProposalInfo() */ public String getAdditionalProposalInfo() { if (fProposalInfo != null) { return fProposalInfo.getInfo(); } return null; } /* * @see ICompletionProposalExtension#getTriggerChar...
19,864
Bug 19864 Code completion does not filter fully qualified class names
Steps to reproduce: - Type: java.io. - Press CTRL+SPACE to make the Auto completion box appear. - Type: O The auto completion box then disapears. It should instead filter out those classes that do not begin with O. I'm using build 20020607.
resolved fixed
ff5b486
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T13:23:43Z
2002-06-11T01:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProposal.java
public int getReplacementOffset() { return fReplacementOffset; } /** * Sets the replacement offset. * @param replacementOffset The replacement offset to set */ public void setReplacementOffset(int replacementOffset) { Assert.isTrue(replacementOffset >= 0); fReplacementOffset= replacementOffset; } /** ...
19,864
Bug 19864 Code completion does not filter fully qualified class names
Steps to reproduce: - Type: java.io. - Press CTRL+SPACE to make the Auto completion box appear. - Type: O The auto completion box then disapears. It should instead filter out those classes that do not begin with O. I'm using build 20020607.
resolved fixed
ff5b486
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T13:23:43Z
2002-06-11T01:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProposal.java
public String getReplacementString() { return fReplacementString; } /** * Sets the replacement string. * @param replacementString The replacement string to set */ public void setReplacementString(String replacementString) { fReplacementString= replacementString; } /** * Sets the image. * @param image...
19,864
Bug 19864 Code completion does not filter fully qualified class names
Steps to reproduce: - Type: java.io. - Press CTRL+SPACE to make the Auto completion box appear. - Type: O The auto completion box then disapears. It should instead filter out those classes that do not begin with O. I'm using build 20020607.
resolved fixed
ff5b486
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T13:23:43Z
2002-06-11T01:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProposal.java
int wordLength= word == null ? 0 : word.length(); if (offset > fReplacementOffset + wordLength) return false; try { int length= offset - fReplacementOffset; String start= document.get(fReplacementOffset, length); return word.substring(0, length).equalsIgnoreCase(start); } catch (BadLocationExcepti...
19,864
Bug 19864 Code completion does not filter fully qualified class names
Steps to reproduce: - Type: java.io. - Press CTRL+SPACE to make the Auto completion box appear. - Type: O The auto completion box then disapears. It should instead filter out those classes that do not begin with O. I'm using build 20020607.
resolved fixed
ff5b486
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T13:23:43Z
2002-06-11T01:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaTypeCompletionProposal.java
/******************************************************************************* * Copyright (c) 2002 International Business Machines Corp. and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Public License v0.5 * which accompanies this...
19,864
Bug 19864 Code completion does not filter fully qualified class names
Steps to reproduce: - Type: java.io. - Press CTRL+SPACE to make the Auto completion box appear. - Type: O The auto completion box then disapears. It should instead filter out those classes that do not begin with O. I'm using build 20020607.
resolved fixed
ff5b486
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T13:23:43Z
2002-06-11T01:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaTypeCompletionProposal.java
private ICompilationUnit fCompilationUnit; public JavaTypeCompletionProposal(String replacementString, ICompilationUnit cu, int replacementOffset, int replacementLength, Image image, String displayString, int relevance) { super(replacementString, replacementOffset, replacementLength, image, displayString, relevance...
19,864
Bug 19864 Code completion does not filter fully qualified class names
Steps to reproduce: - Type: java.io. - Press CTRL+SPACE to make the Auto completion box appear. - Type: O The auto completion box then disapears. It should instead filter out those classes that do not begin with O. I'm using build 20020607.
resolved fixed
ff5b486
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T13:23:43Z
2002-06-11T01:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaTypeCompletionProposal.java
try { ImportsStructure impStructure= null; if (fCompilationUnit != null) { String[] prefOrder= ImportOrganizePreferencePage.getImportOrderPreference(); int threshold= ImportOrganizePreferencePage.getImportNumberThreshold(); impStructure= new ImportsStructure(fCompilationUnit, prefOrder, thres...
19,864
Bug 19864 Code completion does not filter fully qualified class names
Steps to reproduce: - Type: java.io. - Press CTRL+SPACE to make the Auto completion box appear. - Type: O The auto completion box then disapears. It should instead filter out those classes that do not begin with O. I'm using build 20020607.
resolved fixed
ff5b486
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T13:23:43Z
2002-06-11T01:46:40Z
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 org.eclipse.swt.graphics.Image; import org.eclipse.swt.graphics.Point; import org.eclipse.jface.resource.ImageDescriptor; import org.eclipse.jdt.core.CompletionReque...
19,864
Bug 19864 Code completion does not filter fully qualified class names
Steps to reproduce: - Type: java.io. - Press CTRL+SPACE to make the Auto completion box appear. - Type: O The auto completion box then disapears. It should instead filter out those classes that do not begin with O. I'm using build 20020607.
resolved fixed
ff5b486
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T13:23:43Z
2002-06-11T01:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
private final static char[] METHOD_WITH_ARGUMENTS_TRIGGERS= new char[] { '(', '-', ' ' }; private final static char[] METHOD_TRIGGERS= new char[] { ';', ',', '.', '\t', '[', ' ' }; private final static char[] TYPE_TRIGGERS= new char[] { '.', '\t', '[', '(', ' ' }; private final static char[] VAR_TRIGGER= new char[] ...
19,864
Bug 19864 Code completion does not filter fully qualified class names
Steps to reproduce: - Type: java.io. - Press CTRL+SPACE to make the Auto completion box appear. - Type: O The auto completion box then disapears. It should instead filter out those classes that do not begin with O. I'm using build 20020607.
resolved fixed
ff5b486
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T13:23:43Z
2002-06-11T01:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
private IProblem fLastProblem; private ImageDescriptorRegistry fRegistry= JavaPlugin.getImageDescriptorRegistry(); private ArrayList[] fResults = new ArrayList[] { fPackages, fLabels, fModifiers, fKeywords, fTypes, fMethods, fFields, fVariables }; private int fUserReplacementLength; /* * Is eating code as...
19,864
Bug 19864 Code completion does not filter fully qualified class names
Steps to reproduce: - Type: java.io. - Press CTRL+SPACE to make the Auto completion box appear. - Type: O The auto completion box then disapears. It should instead filter out those classes that do not begin with O. I'm using build 20020607.
resolved fixed
ff5b486
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T13:23:43Z
2002-06-11T01:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
} /* * @see ICompletionRequestor#acceptField */ public void acceptField( char[] declaringTypePackageName, char[] declaringTypeName, char[] name, char[] typePackageName, char[] typeName, char[] completionName, int modifiers, int start, int end, int relevance) { ImageDescriptor descriptor= getFieldDescr...
19,864
Bug 19864 Code completion does not filter fully qualified class names
Steps to reproduce: - Type: java.io. - Press CTRL+SPACE to make the Auto completion box appear. - Type: O The auto completion box then disapears. It should instead filter out those classes that do not begin with O. I'm using build 20020607.
resolved fixed
ff5b486
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T13:23:43Z
2002-06-11T01:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
* @see ICompletionRequestor#acceptInterface */ public void acceptInterface(char[] packageName, char[] typeName, char[] completionName, int modifiers, int start, int end, int relevance) { ImageDescriptor descriptor= JavaElementImageProvider.getTypeImageDescriptor(true, false, modifiers); if (Flags.isDeprecated(m...
19,864
Bug 19864 Code completion does not filter fully qualified class names
Steps to reproduce: - Type: java.io. - Press CTRL+SPACE to make the Auto completion box appear. - Type: O The auto completion box then disapears. It should instead filter out those classes that do not begin with O. I'm using build 20020607.
resolved fixed
ff5b486
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T13:23:43Z
2002-06-11T01:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
*/ public void acceptLabel(char[] labelName, int start, int end, int relevance) { String ln= new String(labelName); fLabels.add(createCompletion(start, end, ln, null, ln, relevance)); } /* * @see ICompletionRequestor#acceptLocalVariable */ public void acceptLocalVariable(char[] name, char[] typePackageN...
19,864
Bug 19864 Code completion does not filter fully qualified class names
Steps to reproduce: - Type: java.io. - Press CTRL+SPACE to make the Auto completion box appear. - Type: O The auto completion box then disapears. It should instead filter out those classes that do not begin with O. I'm using build 20020607.
resolved fixed
ff5b486
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T13:23:43Z
2002-06-11T01:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
if (parameterNames != null && parameterNames[i] != null) { buf.append(' '); buf.append(parameterNames[i]); } } } return buf.toString(); } /* * @see ICompletionRequestor#acceptMethod */ public void acceptMethod(char[] declaringTypePackageName, char[] declaringTypeName, char[] name, char[]...
19,864
Bug 19864 Code completion does not filter fully qualified class names
Steps to reproduce: - Type: java.io. - Press CTRL+SPACE to make the Auto completion box appear. - Type: O The auto completion box then disapears. It should instead filter out those classes that do not begin with O. I'm using build 20020607.
resolved fixed
ff5b486
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T13:23:43Z
2002-06-11T01:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
contextInformation.setImage(proposal.getImage()); int position= (completionName.length == 0) ? fContextOffset : -1; contextInformation.setContextInformationPosition(position); proposal.setContextInformation(contextInformation); } boolean userMustCompleteParameters= (contextInformation != null && completi...
19,864
Bug 19864 Code completion does not filter fully qualified class names
Steps to reproduce: - Type: java.io. - Press CTRL+SPACE to make the Auto completion box appear. - Type: O The auto completion box then disapears. It should instead filter out those classes that do not begin with O. I'm using build 20020607.
resolved fixed
ff5b486
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T13:23:43Z
2002-06-11T01:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
fPackages.add(createCompletion(start, end, new String(completionName), JavaPluginImages.DESC_OBJS_PACKAGE, new String(packageName), relevance)); } /* * @see ICompletionRequestor#acceptType */ public void acceptType(char[] packageName, char[] typeName, char[] completionName, int start, int end, int relevance) ...
19,864
Bug 19864 Code completion does not filter fully qualified class names
Steps to reproduce: - Type: java.io. - Press CTRL+SPACE to make the Auto completion box appear. - Type: O The auto completion box then disapears. It should instead filter out those classes that do not begin with O. I'm using build 20020607.
resolved fixed
ff5b486
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T13:23:43Z
2002-06-11T01:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
proposal.setProposalInfo(new ProposalInfo(fJavaProject, declaringTypePackageName, declaringTypeName, name, parameterPackageNames, parameterTypeNames, returnTypeName.length == 0)); proposal.setRelevance(relevance); fMethods.add(proposal); } /* * @see ICodeCompletionRequestor#acceptVariableName */ public voi...
19,864
Bug 19864 Code completion does not filter fully qualified class names
Steps to reproduce: - Type: java.io. - Press CTRL+SPACE to make the Auto completion box appear. - Type: O The auto completion box then disapears. It should instead filter out those classes that do not begin with O. I'm using build 20020607.
resolved fixed
ff5b486
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T13:23:43Z
2002-06-11T01:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
totLen += fResults[i].size(); } JavaCompletionProposal[] result= new JavaCompletionProposal[totLen]; int k= 0; for (int i= 0; i < fResults.length; i++) { ArrayList curr= fResults[i]; int currLen= curr.size(); for (int j= 0; j < currLen; j++) { JavaCompletionProposal proposal= (JavaCompletionProposa...
19,864
Bug 19864 Code completion does not filter fully qualified class names
Steps to reproduce: - Type: java.io. - Press CTRL+SPACE to make the Auto completion box appear. - Type: O The auto completion box then disapears. It should instead filter out those classes that do not begin with O. I'm using build 20020607.
resolved fixed
ff5b486
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T13:23:43Z
2002-06-11T01:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
nameBuffer.append(declaringTypeName); } return nameBuffer; } protected JavaCompletionProposal createMethodCallCompletion(char[] declaringTypeName, char[] name, char[][] parameterTypePackageNames, char[][] parameterTypeNames, char[][] parameterNames, char[] returnTypeName, char[] completionName, int modifiers, int...
19,864
Bug 19864 Code completion does not filter fully qualified class names
Steps to reproduce: - Type: java.io. - Press CTRL+SPACE to make the Auto completion box appear. - Type: O The auto completion box then disapears. It should instead filter out those classes that do not begin with O. I'm using build 20020607.
resolved fixed
ff5b486
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T13:23:43Z
2002-06-11T01:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
} protected JavaCompletionProposal createTypeCompletion(int start, int end, String completion, ImageDescriptor descriptor, String typeName, String containerName, ProposalInfo proposalInfo, int relevance) { StringBuffer buf= new StringBuffer(typeName); if (containerName != null) { buf.append(" - "); if (co...
19,864
Bug 19864 Code completion does not filter fully qualified class names
Steps to reproduce: - Type: java.io. - Press CTRL+SPACE to make the Auto completion box appear. - Type: O The auto completion box then disapears. It should instead filter out those classes that do not begin with O. I'm using build 20020607.
resolved fixed
ff5b486
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T13:23:43Z
2002-06-11T01:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
return desc; } protected ImageDescriptor getFieldDescriptor(int modifiers) { ImageDescriptor desc= JavaElementImageProvider.getFieldImageDescriptor(false, modifiers); if (Flags.isDeprecated(modifiers)) return getDeprecatedDescriptor(desc); return desc; } protected ImageDescriptor getDeprecatedDesc...
19,864
Bug 19864 Code completion does not filter fully qualified class names
Steps to reproduce: - Type: java.io. - Press CTRL+SPACE to make the Auto completion box appear. - Type: O The auto completion box then disapears. It should instead filter out those classes that do not begin with O. I'm using build 20020607.
resolved fixed
ff5b486
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T13:23:43Z
2002-06-11T01:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
return length; } private Image getImage(ImageDescriptor descriptor) { return (descriptor == null) ? null : fRegistry.get(descriptor); } /** * Specifies the context of the code assist operation. * @param codeAssistOffset The Offset at which the code assist will be called. * Used to modify the offsets of ...
19,864
Bug 19864 Code completion does not filter fully qualified class names
Steps to reproduce: - Type: java.io. - Press CTRL+SPACE to make the Auto completion box appear. - Type: O The auto completion box then disapears. It should instead filter out those classes that do not begin with O. I'm using build 20020607.
resolved fixed
ff5b486
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-17T13:23:43Z
2002-06-11T01:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
/** * Specifies the context of the code assist operation. * @param codeAssistOffset The Offset on which the code assist will be called. * Used to modify the offsets of the created proposals. ('Non Eating') * @param jproject The Java project to which the underlying source belongs. * Needed to find types referr...
23,838
Bug 23838 Error ticks don't show up in Types view
20020917 The error icons don't show up in types view if they are inside a class. They only appear if they are above the first type.
resolved fixed
ecaa749
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-19T14:25:11Z
2002-09-19T15:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/TopLevelTypeProblemsLabelDecorator.java
/******************************************************************************* * Copyright (c) 2002 International Business Machines Corp. and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Public License v0.5 * which accompanies this...
23,838
Bug 23838 Error ticks don't show up in Types view
20020917 The error icons don't show up in types view if they are inside a class. They only appear if they are above the first type.
resolved fixed
ecaa749
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-19T14:25:11Z
2002-09-19T15:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/TopLevelTypeProblemsLabelDecorator.java
public TopLevelTypeProblemsLabelDecorator(ImageDescriptorRegistry registry) { super(registry); } /* (non-Javadoc) * @see org.eclipse.jdt.ui.ProblemsLabelDecorator#isInside(int, ISourceReference) */ protected boolean isInside(int pos, ISourceReference sourceElement) throws CoreException { if (!(sourceElement ...
20,213
Bug 20213 Code assist could show static methods|fields with different icons
It would be good if one could distinguish between static methods and normal methods within the code assist. Eg. Thread.sleep(xxx) is static, but if you use Thread t=Thread.current(); t.sleep(xxx); you could think is local method.
resolved fixed
7eefb0c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-20T10:44:04Z
2002-06-13T14:53:20Z
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 org.eclipse.swt.graphics.Image; import org.eclipse.swt.graphics.Point; import org.eclipse.jface.resource.ImageDescriptor; import org.eclipse.jdt.core.CompletionReque...
20,213
Bug 20213 Code assist could show static methods|fields with different icons
It would be good if one could distinguish between static methods and normal methods within the code assist. Eg. Thread.sleep(xxx) is static, but if you use Thread t=Thread.current(); t.sleep(xxx); you could think is local method.
resolved fixed
7eefb0c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-20T10:44:04Z
2002-06-13T14:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
private final static char[] METHOD_WITH_ARGUMENTS_TRIGGERS= new char[] { '(', '-', ' ' }; private final static char[] METHOD_TRIGGERS= new char[] { ';', ',', '.', '\t', '[', ' ' }; private final static char[] TYPE_TRIGGERS= new char[] { '.', '\t', '[', '(', ' ' }; private final static char[] VAR_TRIGGER= new char[] ...
20,213
Bug 20213 Code assist could show static methods|fields with different icons
It would be good if one could distinguish between static methods and normal methods within the code assist. Eg. Thread.sleep(xxx) is static, but if you use Thread t=Thread.current(); t.sleep(xxx); you could think is local method.
resolved fixed
7eefb0c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-20T10:44:04Z
2002-06-13T14:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
private IProblem fLastProblem; private ImageDescriptorRegistry fRegistry= JavaPlugin.getImageDescriptorRegistry(); private ArrayList[] fResults = new ArrayList[] { fPackages, fLabels, fModifiers, fKeywords, fTypes, fMethods, fFields, fVariables }; private int fUserReplacementLength; /* * Is eating code as...
20,213
Bug 20213 Code assist could show static methods|fields with different icons
It would be good if one could distinguish between static methods and normal methods within the code assist. Eg. Thread.sleep(xxx) is static, but if you use Thread t=Thread.current(); t.sleep(xxx); you could think is local method.
resolved fixed
7eefb0c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-20T10:44:04Z
2002-06-13T14:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
} /* * @see ICompletionRequestor#acceptField */ public void acceptField( char[] declaringTypePackageName, char[] declaringTypeName, char[] name, char[] typePackageName, char[] typeName, char[] completionName, int modifiers, int start, int end, int relevance) { ImageDescriptor descriptor= getFieldDescr...
20,213
Bug 20213 Code assist could show static methods|fields with different icons
It would be good if one could distinguish between static methods and normal methods within the code assist. Eg. Thread.sleep(xxx) is static, but if you use Thread t=Thread.current(); t.sleep(xxx); you could think is local method.
resolved fixed
7eefb0c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-20T10:44:04Z
2002-06-13T14:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
* @see ICompletionRequestor#acceptInterface */ public void acceptInterface(char[] packageName, char[] typeName, char[] completionName, int modifiers, int start, int end, int relevance) { ImageDescriptor descriptor= JavaElementImageProvider.getTypeImageDescriptor(true, false, modifiers); if (Flags.isDeprecated(m...
20,213
Bug 20213 Code assist could show static methods|fields with different icons
It would be good if one could distinguish between static methods and normal methods within the code assist. Eg. Thread.sleep(xxx) is static, but if you use Thread t=Thread.current(); t.sleep(xxx); you could think is local method.
resolved fixed
7eefb0c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-20T10:44:04Z
2002-06-13T14:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
*/ public void acceptLabel(char[] labelName, int start, int end, int relevance) { String ln= new String(labelName); fLabels.add(createCompletion(start, end, ln, null, ln, relevance)); } /* * @see ICompletionRequestor#acceptLocalVariable */ public void acceptLocalVariable(char[] name, char[] typePackageN...
20,213
Bug 20213 Code assist could show static methods|fields with different icons
It would be good if one could distinguish between static methods and normal methods within the code assist. Eg. Thread.sleep(xxx) is static, but if you use Thread t=Thread.current(); t.sleep(xxx); you could think is local method.
resolved fixed
7eefb0c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-20T10:44:04Z
2002-06-13T14:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
if (parameterNames != null && parameterNames[i] != null) { buf.append(' '); buf.append(parameterNames[i]); } } } return buf.toString(); } /* * @see ICompletionRequestor#acceptMethod */ public void acceptMethod(char[] declaringTypePackageName, char[] declaringTypeName, char[] name, char[]...
20,213
Bug 20213 Code assist could show static methods|fields with different icons
It would be good if one could distinguish between static methods and normal methods within the code assist. Eg. Thread.sleep(xxx) is static, but if you use Thread t=Thread.current(); t.sleep(xxx); you could think is local method.
resolved fixed
7eefb0c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-20T10:44:04Z
2002-06-13T14:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
contextInformation.setImage(proposal.getImage()); int position= (completionName.length == 0) ? fContextOffset : -1; contextInformation.setContextInformationPosition(position); proposal.setContextInformation(contextInformation); } boolean userMustCompleteParameters= (contextInformation != null && completi...
20,213
Bug 20213 Code assist could show static methods|fields with different icons
It would be good if one could distinguish between static methods and normal methods within the code assist. Eg. Thread.sleep(xxx) is static, but if you use Thread t=Thread.current(); t.sleep(xxx); you could think is local method.
resolved fixed
7eefb0c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-20T10:44:04Z
2002-06-13T14:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
fPackages.add(createCompletion(start, end, new String(completionName), JavaPluginImages.DESC_OBJS_PACKAGE, new String(packageName), relevance)); } /* * @see ICompletionRequestor#acceptType */ public void acceptType(char[] packageName, char[] typeName, char[] completionName, int start, int end, int relevance) ...
20,213
Bug 20213 Code assist could show static methods|fields with different icons
It would be good if one could distinguish between static methods and normal methods within the code assist. Eg. Thread.sleep(xxx) is static, but if you use Thread t=Thread.current(); t.sleep(xxx); you could think is local method.
resolved fixed
7eefb0c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-20T10:44:04Z
2002-06-13T14:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
proposal.setProposalInfo(new ProposalInfo(fJavaProject, declaringTypePackageName, declaringTypeName, name, parameterPackageNames, parameterTypeNames, returnTypeName.length == 0)); proposal.setRelevance(relevance); fMethods.add(proposal); } /* * @see ICodeCompletionRequestor#acceptVariableName */ public voi...
20,213
Bug 20213 Code assist could show static methods|fields with different icons
It would be good if one could distinguish between static methods and normal methods within the code assist. Eg. Thread.sleep(xxx) is static, but if you use Thread t=Thread.current(); t.sleep(xxx); you could think is local method.
resolved fixed
7eefb0c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-20T10:44:04Z
2002-06-13T14:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
totLen += fResults[i].size(); } JavaCompletionProposal[] result= new JavaCompletionProposal[totLen]; int k= 0; for (int i= 0; i < fResults.length; i++) { ArrayList curr= fResults[i]; int currLen= curr.size(); for (int j= 0; j < currLen; j++) { JavaCompletionProposal proposal= (JavaCompletionProposa...
20,213
Bug 20213 Code assist could show static methods|fields with different icons
It would be good if one could distinguish between static methods and normal methods within the code assist. Eg. Thread.sleep(xxx) is static, but if you use Thread t=Thread.current(); t.sleep(xxx); you could think is local method.
resolved fixed
7eefb0c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-20T10:44:04Z
2002-06-13T14:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
nameBuffer.append(declaringTypeName); } return nameBuffer; } protected JavaCompletionProposal createMethodCallCompletion(char[] declaringTypeName, char[] name, char[][] parameterTypePackageNames, char[][] parameterTypeNames, char[][] parameterNames, char[] returnTypeName, char[] completionName, int modifiers, int...
20,213
Bug 20213 Code assist could show static methods|fields with different icons
It would be good if one could distinguish between static methods and normal methods within the code assist. Eg. Thread.sleep(xxx) is static, but if you use Thread t=Thread.current(); t.sleep(xxx); you could think is local method.
resolved fixed
7eefb0c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-20T10:44:04Z
2002-06-13T14:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
} protected JavaCompletionProposal createTypeCompletion(int start, int end, String completion, ImageDescriptor descriptor, String typeName, String containerName, ProposalInfo proposalInfo, int relevance) { StringBuffer buf= new StringBuffer(typeName); if (containerName != null) { buf.append(" - "); if (co...
20,213
Bug 20213 Code assist could show static methods|fields with different icons
It would be good if one could distinguish between static methods and normal methods within the code assist. Eg. Thread.sleep(xxx) is static, but if you use Thread t=Thread.current(); t.sleep(xxx); you could think is local method.
resolved fixed
7eefb0c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-20T10:44:04Z
2002-06-13T14:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
return desc; } protected ImageDescriptor getFieldDescriptor(int modifiers) { ImageDescriptor desc= JavaElementImageProvider.getFieldImageDescriptor(false, modifiers); if (Flags.isDeprecated(modifiers)) return getDeprecatedDescriptor(desc); return desc; } protected ImageDescriptor getDeprecatedDesc...
20,213
Bug 20213 Code assist could show static methods|fields with different icons
It would be good if one could distinguish between static methods and normal methods within the code assist. Eg. Thread.sleep(xxx) is static, but if you use Thread t=Thread.current(); t.sleep(xxx); you could think is local method.
resolved fixed
7eefb0c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-20T10:44:04Z
2002-06-13T14:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
return length; } private Image getImage(ImageDescriptor descriptor) { return (descriptor == null) ? null : fRegistry.get(descriptor); } /** * Specifies the context of the code assist operation. * @param codeAssistOffset The Offset at which the code assist will be called. * Used to modify the offsets of ...
20,213
Bug 20213 Code assist could show static methods|fields with different icons
It would be good if one could distinguish between static methods and normal methods within the code assist. Eg. Thread.sleep(xxx) is static, but if you use Thread t=Thread.current(); t.sleep(xxx); you could think is local method.
resolved fixed
7eefb0c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-20T10:44:04Z
2002-06-13T14:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
/** * Specifies the context of the code assist operation. * @param codeAssistOffset The Offset on which the code assist will be called. * Used to modify the offsets of the created proposals. ('Non Eating') * @param jproject The Java project to which the underlying source belongs. * Needed to find types referr...
20,474
Bug 20474 [Dialogs] SelectionDialog should not return an initial selection of null
F3 The JavaDoc for SelectionDialog.getInitialSelection does not state that null is a valid return value. If we think that clients are acutally using the null case to avoid performing some real work then we should fix the javadoc. Otherwise we should an empty list.
closed fixed
448a64f
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-20T12:07:58Z
2002-06-17T16:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/MultiElementListSelectionDialog.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.dialogs; import java.text.MessageFormat; import java.util.ArrayList; import java.util.List; import org.eclipse.core.runtime.IStatus; import org.eclipse.swt.SWT; import org.eclipse.swt.layout.GridData; import org.ec...
20,474
Bug 20474 [Dialogs] SelectionDialog should not return an initial selection of null
F3 The JavaDoc for SelectionDialog.getInitialSelection does not state that null is a valid return value. If we think that clients are acutally using the null case to avoid performing some real work then we should fix the javadoc. Otherwise we should an empty list.
closed fixed
448a64f
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-20T12:07:58Z
2002-06-17T16:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/MultiElementListSelectionDialog.java
private static class Page { public Object[] elements; public String filter; public boolean okState= false; public Page(Object[] elements) { this.elements= elements; }
20,474
Bug 20474 [Dialogs] SelectionDialog should not return an initial selection of null
F3 The JavaDoc for SelectionDialog.getInitialSelection does not state that null is a valid return value. If we think that clients are acutally using the null case to avoid performing some real work then we should fix the javadoc. Otherwise we should an empty list.
closed fixed
448a64f
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-20T12:07:58Z
2002-06-17T16:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/MultiElementListSelectionDialog.java
}; private Page[] fPages; private int fCurrentPage; private int fNumberOfPages; private Button fFinishButton; private Button fBackButton; private Button fNextButton; private Label fPageInfoLabel; private String fPageInfoMessage= JavaUIMessages.getString("MultiElementListSelectionDialog.pageInfoMessage")...
20,474
Bug 20474 [Dialogs] SelectionDialog should not return an initial selection of null
F3 The JavaDoc for SelectionDialog.getInitialSelection does not state that null is a valid return value. If we think that clients are acutally using the null case to avoid performing some real work then we should fix the javadoc. Otherwise we should an empty list.
closed fixed
448a64f
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-20T12:07:58Z
2002-06-17T16:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/MultiElementListSelectionDialog.java
} /** * Sets the elements to be displayed in the dialog. * @param elements an array of pages holding arrays of elements */ public void setElements(Object[][] elements) { fNumberOfPages= elements.length; fPages= new Page[fNumberOfPages]; for (int i= 0; i != fNumberOfPages; i++) fPages[i]= new Page(...
20,474
Bug 20474 [Dialogs] SelectionDialog should not return an initial selection of null
F3 The JavaDoc for SelectionDialog.getInitialSelection does not state that null is a valid return value. If we think that clients are acutally using the null case to avoid performing some real work then we should fix the javadoc. Otherwise we should an empty list.
closed fixed
448a64f
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-20T12:07:58Z
2002-06-17T16:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/MultiElementListSelectionDialog.java
* @see Dialog#createDialogArea(Composite) */ protected Control createDialogArea(Composite parent) { Composite contents= (Composite) super.createDialogArea(parent); createMessageArea(contents); createFilterText(contents); createFilteredList(contents); fCurrentPage= 0; setPageData(); return contents;...
20,474
Bug 20474 [Dialogs] SelectionDialog should not return an initial selection of null
F3 The JavaDoc for SelectionDialog.getInitialSelection does not state that null is a valid return value. If we think that clients are acutally using the null case to avoid performing some real work then we should fix the javadoc. Otherwise we should an empty list.
closed fixed
448a64f
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-20T12:07:58Z
2002-06-17T16:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/MultiElementListSelectionDialog.java
layout.horizontalSpacing= 5; layout.numColumns= 2; composite.setLayout(layout); GridData data= new GridData(GridData.HORIZONTAL_ALIGN_FILL); composite.setLayoutData(data); Label messageLabel= super.createMessageArea(composite); fPageInfoLabel= new Label(composite, SWT.NULL); fPageInfoLabel.setTex...