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
21,583
Bug 21583 Generate Javadoc won't link prereqed projects
In the export wizard for generating javadoc, there is no easy way to link the javadoc from a prereqed project. The wizard has a screen for linking in javadoc from libraries included in the classpath, but projects in the classpath do not show up. I got a temporary workaround from the news group. Just add a "-link URL_TO...
resolved fixed
7e648ba
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-02T17:14:43Z
2002-07-15T16:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocStandardWizardPage.java
fDeprecatedList= new FlaggedButton(fTagsGroup, JavadocExportMessages.getString("JavadcoStandardWizardPage.deprecatedlistbutton.label"), createGridData(GridData.FILL_HORIZONTAL, 1, convertWidthInCharsToPixels(3)), fStore.NODEPRECATEDLIST, false); fDeprecatedList.getButton().setEnabled(fDeprecatedCheck.getButton().get...
21,583
Bug 21583 Generate Javadoc won't link prereqed projects
In the export wizard for generating javadoc, there is no easy way to link the javadoc from a prereqed project. The wizard has a screen for linking in javadoc from libraries included in the classpath, but projects in the classpath do not show up. I got a temporary workaround from the news group. Just add a "-link URL_TO...
resolved fixed
7e648ba
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-02T17:14:43Z
2002-07-15T16:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocStandardWizardPage.java
doValidation(STYLESHEETSTATUS); } }); fStyleSheetText.addModifyListener(new ModifyListener() { public void modifyText(ModifyEvent e) { doValidation(STYLESHEETSTATUS); } }); fStyleSheetBrowseButton.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent event) { ...
21,583
Bug 21583 Generate Javadoc won't link prereqed projects
In the export wizard for generating javadoc, there is no easy way to link the javadoc from a prereqed project. The wizard has a screen for linking in javadoc from libraries included in the classpath, but projects in the classpath do not show up. I got a temporary workaround from the news group. Just add a "-link URL_TO...
resolved fixed
7e648ba
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-02T17:14:43Z
2002-07-15T16:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocStandardWizardPage.java
LayoutUtil.setHorizontalGrabbing(fListDialogField.getListControl(null)); fListDialogField.enableButton(2, false); fTempLinks= createTempLinksStore(); UpdateCheckedListGroup(); } private Map createTempLinksStore() { Map temp= new HashMap(); IProject[] projects= fStore.getRoot().getProjects(); for ...
21,583
Bug 21583 Generate Javadoc won't link prereqed projects
In the export wizard for generating javadoc, there is no easy way to link the javadoc from a prereqed project. The wizard has a screen for linking in javadoc from libraries included in the classpath, but projects in the classpath do not show up. I got a temporary workaround from the news group. Just add a "-link URL_TO...
resolved fixed
7e648ba
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-02T17:14:43Z
2002-07-15T16:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocStandardWizardPage.java
IJavaElement element = (IJavaElement) iterator.next(); try { url= JavaDocLocations.getJavadocBaseLocation(element); } catch(JavaModelException e) { JavaPlugin.log(e); continue; } StringTokenizer tokenizer = new StringTokenizer(hrefs, ";"); while(tokenizer.hasMoreElements()) { S...
21,583
Bug 21583 Generate Javadoc won't link prereqed projects
In the export wizard for generating javadoc, there is no easy way to link the javadoc from a prereqed project. The wizard has a screen for linking in javadoc from libraries included in the classpath, but projects in the classpath do not show up. I got a temporary workaround from the news group. Just add a "-link URL_TO...
resolved fixed
7e648ba
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-02T17:14:43Z
2002-07-15T16:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocStandardWizardPage.java
for (int i= 0; i < entries.length; i++) { IClasspathEntry curr= entries[i]; switch (curr.getEntryKind()) { case IClasspathEntry.CPE_LIBRARY: IPackageFragmentRoot el = jproject.getPackageFragmentRoot(curr.getPath().toOSString()); if(el != null) { if (!referencedClasses.contains(el)) { r...
21,583
Bug 21583 Generate Javadoc won't link prereqed projects
In the export wizard for generating javadoc, there is no easy way to link the javadoc from a prereqed project. The wizard has a screen for linking in javadoc from libraries included in the classpath, but projects in the classpath do not show up. I got a temporary workaround from the news group. Just add a "-link URL_TO...
resolved fixed
7e648ba
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-02T17:14:43Z
2002-07-15T16:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocStandardWizardPage.java
} sourceFolderFound= true; } break; } } } private void doValidation(int VALIDATE) { File file= null; String ext= null; Path path= null; switch (VALIDATE) { case STYLESHEETSTATUS : fStyleSheetStatus = new StatusInfo(); if (fStyleSheetButton.getSelection()) { pa...
21,583
Bug 21583 Generate Javadoc won't link prereqed projects
In the export wizard for generating javadoc, there is no easy way to link the javadoc from a prereqed project. The wizard has a screen for linking in javadoc from libraries included in the classpath, but projects in the classpath do not show up. I got a temporary workaround from the news group. Just add a "-link URL_TO...
resolved fixed
7e648ba
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-02T17:14:43Z
2002-07-15T16:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocStandardWizardPage.java
private IStatus findMostSevereStatus() { return StatusUtil.getMostSevere(new IStatus[] { fStyleSheetStatus}); } protected void finish() { if (fTitleButton.getSelection()) fStore.setTitle(fTitleText.getText()); else fStore.setTitle(""); if (true) { Object[] buttons = fButtonsList.toAr...
21,583
Bug 21583 Generate Javadoc won't link prereqed projects
In the export wizard for generating javadoc, there is no easy way to link the javadoc from a prereqed project. The wizard has a screen for linking in javadoc from libraries included in the classpath, but projects in the classpath do not show up. I got a temporary workaround from the news group. Just add a "-link URL_TO...
resolved fixed
7e648ba
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-02T17:14:43Z
2002-07-15T16:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocStandardWizardPage.java
} protected String makeHrefString() { boolean firstTime= true; StringBuffer buf= new StringBuffer(); List els = fListDialogField.getCheckedElements(); URL url = null; for (Iterator iterator = els.iterator(); iterator.hasNext();) { try { IJavaElement element = (IJavaElement) iterator.next(); url = ...
21,583
Bug 21583 Generate Javadoc won't link prereqed projects
In the export wizard for generating javadoc, there is no easy way to link the javadoc from a prereqed project. The wizard has a screen for linking in javadoc from libraries included in the classpath, but projects in the classpath do not show up. I got a temporary workaround from the news group. Just add a "-link URL_TO...
resolved fixed
7e648ba
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-02T17:14:43Z
2002-07-15T16:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocStandardWizardPage.java
UpdateCheckedListGroup(); } else { String hrefs= makeHrefString(); fTempLinks.put(fWizard.getProject(), hrefs); } } public void UpdateCheckedListGroup() { List referencedClasses = new ArrayList(); List visited = new ArrayList(); try { IJavaProject currProject = fWizard.getProject(); if (lastP...
21,583
Bug 21583 Generate Javadoc won't link prereqed projects
In the export wizard for generating javadoc, there is no easy way to link the javadoc from a prereqed project. The wizard has a screen for linking in javadoc from libraries included in the classpath, but projects in the classpath do not show up. I got a temporary workaround from the news group. Just add a "-link URL_TO...
resolved fixed
7e648ba
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-02T17:14:43Z
2002-07-15T16:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocStandardWizardPage.java
private Button fButton; private String fFlag; private boolean fShowFlag; public FlaggedButton(Composite composite, String message, GridData gridData, String flag, boolean show) { fFlag= flag; fShowFlag= show; fButton= createButton(composite, SWT.CHECK, message, gridData); fButtonsList.add(this); se...
21,583
Bug 21583 Generate Javadoc won't link prereqed projects
In the export wizard for generating javadoc, there is no easy way to link the javadoc from a prereqed project. The wizard has a screen for linking in javadoc from libraries included in the classpath, but projects in the classpath do not show up. I got a temporary workaround from the news group. Just add a "-link URL_TO...
resolved fixed
7e648ba
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-02T17:14:43Z
2002-07-15T16:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocStandardWizardPage.java
/** * @see IListAdapter#customButtonPressed(DialogField, int) */ public void customButtonPressed(DialogField field, int index) { if(index == 2) doEditButtonPressed(); } /** * @see IListAdapter#selectionChanged(DialogField) */ public void selectionChanged(DialogField field) { List selecti...
21,583
Bug 21583 Generate Javadoc won't link prereqed projects
In the export wizard for generating javadoc, there is no easy way to link the javadoc from a prereqed project. The wizard has a screen for linking in javadoc from libraries included in the classpath, but projects in the classpath do not show up. I got a temporary workaround from the news group. Just add a "-link URL_TO...
resolved fixed
7e648ba
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-02T17:14:43Z
2002-07-15T16:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocStandardWizardPage.java
} } /** * Method doEditButtonPressed. */ private void doEditButtonPressed() { StructuredSelection selection = (StructuredSelection) fListDialogField.getTableViewer().getSelection(); Iterator iter = selection.iterator(); Object obj = selection.getFirstElement(); if (obj instanceof IAdaptable) { IJ...
21,583
Bug 21583 Generate Javadoc won't link prereqed projects
In the export wizard for generating javadoc, there is no easy way to link the javadoc from a prereqed project. The wizard has a screen for linking in javadoc from libraries included in the classpath, but projects in the classpath do not show up. I got a temporary workaround from the news group. Just add a "-link URL_TO...
resolved fixed
7e648ba
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-02T17:14:43Z
2002-07-15T16:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocStandardWizardPage.java
Composite composite= (Composite)super.createDialogArea(parent); Control inner= fJavadocConfigurationBlock.createContents(composite); inner.setLayoutData(new GridData(GridData.FILL_BOTH)); return composite; } public void statusChanged(IStatus status) { updateStatus(status); } /** * @...
9,598
Bug 9598 Self encapsulate field: Renamed method might shadow existing method in base class [refactoring]
20020212 1. field: private IType fClass; 2. encapsulate field, choose setter name getClass 3. compile error in the created class private IType getClass() { return fClassC; } 'Return type is not compatible with java.lang.Object.getClass()'
resolved fixed
e2f86ca
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-04T16:20:28Z
2002-02-13T14:20:00Z
org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/wiki_out/A_test2001.java
package wiki_out; public class A_test2001 { int field= 0; void fun() { int i; extracted(); } protected void extracted() { int i; i= 0; System.out.println("i, field == " + i++ +", " + field); } }
9,598
Bug 9598 Self encapsulate field: Renamed method might shadow existing method in base class [refactoring]
20020212 1. field: private IType fClass; 2. encapsulate field, choose setter name getClass 3. compile error in the created class private IType getClass() { return fClassC; } 'Return type is not compatible with java.lang.Object.getClass()'
resolved fixed
e2f86ca
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-04T16:20:28Z
2002-02-13T14:20:00Z
org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/wiki_out/A_test2002.java
package wiki_out; public class A_test2002 { int field= 0; void fun() { int i= 0; i = extracted(i); System.out.println("i == " + i); } protected int extracted(int i) { System.out.println("i, field == " + i++ +", " + field); return i; } }
9,598
Bug 9598 Self encapsulate field: Renamed method might shadow existing method in base class [refactoring]
20020212 1. field: private IType fClass; 2. encapsulate field, choose setter name getClass 3. compile error in the created class private IType getClass() { return fClassC; } 'Return type is not compatible with java.lang.Object.getClass()'
resolved fixed
e2f86ca
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-04T16:20:28Z
2002-02-13T14:20:00Z
org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/wiki_out/A_test2003.java
package wiki_out; public class A_test2003 { int field= 0; void fun() { int i= 0; extracted(i); } protected void extracted(int i) { if (field == 1) { i= 1; System.out.println("i, field == " + i + ", " + field); } else { System.out.println("i, field == " + i + ", " + field); } } }
9,598
Bug 9598 Self encapsulate field: Renamed method might shadow existing method in base class [refactoring]
20020212 1. field: private IType fClass; 2. encapsulate field, choose setter name getClass 3. compile error in the created class private IType getClass() { return fClassC; } 'Return type is not compatible with java.lang.Object.getClass()'
resolved fixed
e2f86ca
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-04T16:20:28Z
2002-02-13T14:20:00Z
org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/wiki_out/A_test2004.java
package wiki_out; public class A_test2004 { int field= 0; void fun() { int i= 0; while (field < 2) { field++; i = extracted(i); } } protected int extracted(int i) { System.out.println("i, field == " + i++ +", " + field); return i; } }
9,598
Bug 9598 Self encapsulate field: Renamed method might shadow existing method in base class [refactoring]
20020212 1. field: private IType fClass; 2. encapsulate field, choose setter name getClass 3. compile error in the created class private IType getClass() { return fClassC; } 'Return type is not compatible with java.lang.Object.getClass()'
resolved fixed
e2f86ca
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-04T16:20:28Z
2002-02-13T14:20:00Z
org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/wiki_out/A_test2005.java
package wiki_out; import java.io.IOException; public class A_test2005 { static void fun() throws IOException { } public static void main(String args[]) { try { extracted(); } catch (Exception e) { } } protected static void extracted() throws IOException { fun(); } }
9,598
Bug 9598 Self encapsulate field: Renamed method might shadow existing method in base class [refactoring]
20020212 1. field: private IType fClass; 2. encapsulate field, choose setter name getClass 3. compile error in the created class private IType getClass() { return fClassC; } 'Return type is not compatible with java.lang.Object.getClass()'
resolved fixed
e2f86ca
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-04T16:20:28Z
2002-02-13T14:20:00Z
org.eclipse.jdt.ui.tests.refactoring/resources/SefWorkSpace/SefTests/A.java
public class A { static int sField; int field; public void foo() { field= 10; this.field= 10; A.sField= 10; new A().field= 30; } }
23,188
Bug 23188 Open Type dialog needs real RE support
I cannot ask the Open Type dialog for types ending in "X" with the RE "*X". I get lower case "x"s AND types that do not end in "X" or "x". Very annoying to have to sift through hundreds of classes to find the one I want when I do not want to type the whole thing or I am not sure which one I really want until I see a sh...
resolved fixed
0a12950
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-05T09:12:18Z
2002-09-04T22:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeSelectionDialog.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.dialogs; import java.lang.reflect.InvocationTargetException; import java.util.ArrayList; import java.util.Comparator; import java.util.Iterator; import java.util.List; import org.eclipse.core.runtime.IProgressMonit...
23,188
Bug 23188 Open Type dialog needs real RE support
I cannot ask the Open Type dialog for types ending in "X" with the RE "*X". I get lower case "x"s AND types that do not end in "X" or "x". Very annoying to have to sift through hundreds of classes to find the one I want when I do not want to type the whole thing or I am not sure which one I really want until I see a sh...
resolved fixed
0a12950
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-05T09:12:18Z
2002-09-04T22:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeSelectionDialog.java
import org.eclipse.jdt.internal.corext.util.TypeInfo; import org.eclipse.jdt.internal.ui.JavaUIMessages; import org.eclipse.jdt.internal.ui.util.ExceptionHandler; import org.eclipse.jdt.internal.ui.util.StringMatcher; import org.eclipse.jdt.internal.ui.util.TypeInfoLabelProvider; /** * A dialog to select a type from a...
23,188
Bug 23188 Open Type dialog needs real RE support
I cannot ask the Open Type dialog for types ending in "X" with the RE "*X". I get lower case "x"s AND types that do not end in "X" or "x". Very annoying to have to sift through hundreds of classes to find the one I want when I do not want to type the whole thing or I am not sure which one I really want until I see a sh...
resolved fixed
0a12950
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-05T09:12:18Z
2002-09-04T22:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeSelectionDialog.java
* @see FilteredList.FilterMatcher#match(Object) */ public boolean match(Object element) { if (!(element instanceof TypeInfo)) return false; TypeInfo type= (TypeInfo) element; if (!fMatcher.match(type.getTypeName())) return false; if (fQualifierMatcher == null) return true; return fQualif...
23,188
Bug 23188 Open Type dialog needs real RE support
I cannot ask the Open Type dialog for types ending in "X" with the RE "*X". I get lower case "x"s AND types that do not end in "X" or "x". Very annoying to have to sift through hundreds of classes to find the one I want when I do not want to type the whole thing or I am not sure which one I really want until I see a sh...
resolved fixed
0a12950
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-05T09:12:18Z
2002-09-04T22:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeSelectionDialog.java
int result= leftString.compareToIgnoreCase(rightString); if (result == 0) result= leftString.compareTo(rightString); return result; } } private IRunnableContext fRunnableContext; private IJavaSearchScope fScope; private int fElementKinds; /** * Constructs a type selection dialog. * @param p...
23,188
Bug 23188 Open Type dialog needs real RE support
I cannot ask the Open Type dialog for types ending in "X" with the RE "*X". I get lower case "x"s AND types that do not end in "X" or "x". Very annoying to have to sift through hundreds of classes to find the one I want when I do not want to type the whole thing or I am not sure which one I really want until I see a sh...
resolved fixed
0a12950
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-05T09:12:18Z
2002-09-04T22:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeSelectionDialog.java
/* * @see AbstractElementListSelectionDialog#createFilteredList(Composite) */ protected FilteredList createFilteredList(Composite parent) { FilteredList list= super.createFilteredList(parent); fFilteredList.setFilterMatcher(new TypeFilterMatcher()); fFilteredList.setComparator(new StringComparator()); ...
23,188
Bug 23188 Open Type dialog needs real RE support
I cannot ask the Open Type dialog for types ending in "X" with the RE "*X". I get lower case "x"s AND types that do not end in "X" or "x". Very annoying to have to sift through hundreds of classes to find the one I want when I do not want to type the whole thing or I am not sure which one I really want until I see a sh...
resolved fixed
0a12950
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-05T09:12:18Z
2002-09-04T22:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeSelectionDialog.java
} catch (JavaModelException e) { throw new InvocationTargetException(e); } if (monitor.isCanceled()) { throw new InterruptedException(); } } }; try { fRunnableContext.run(true, true, runnable); } catch (InvocationTargetException e) { ExceptionHandler.handle(e, JavaUIMessa...
23,188
Bug 23188 Open Type dialog needs real RE support
I cannot ask the Open Type dialog for types ending in "X" with the RE "*X". I get lower case "x"s AND types that do not end in "X" or "x". Very annoying to have to sift through hundreds of classes to find the one I want when I do not want to type the whole thing or I am not sure which one I really want until I see a sh...
resolved fixed
0a12950
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-05T09:12:18Z
2002-09-04T22:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeSelectionDialog.java
/** * @see SelectionStatusDialog#computeResult() */ protected void computeResult() { TypeInfo ref= (TypeInfo) getLowerSelectedElement(); if (ref == null) return; try { IType type= ref.resolveType(fScope); if (type == null) { String title= JavaUIMessages.getString("TypeSelectionDialog.err...
21,808
Bug 21808 delete confirmation prompts inconsistent with Navigator view [ccp]
Select a .java file in the Package Explorer and then Delete from its context menu. A Confirm Delete windows appears saying, "Are you sure you want to delete the selected element(s)? Yes or No. If you try the same thing from the Navigator view, a Confirm Resource Delete window appears saying, "Are you sure you want to d...
resolved fixed
ea8a1fa
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-05T13:57:40Z
2002-07-23T16:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/DeleteResourcesAction.java
package org.eclipse.jdt.internal.ui.reorg; import java.util.Iterator; import org.eclipse.core.resources.IFolder; import org.eclipse.core.resources.IResource; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.MultiStatus; import org.eclipse.jface.dialogs.ErrorDialog; import org.eclipse.jface...
21,808
Bug 21808 delete confirmation prompts inconsistent with Navigator view [ccp]
Select a .java file in the Package Explorer and then Delete from its context menu. A Confirm Delete windows appears saying, "Are you sure you want to delete the selected element(s)? Yes or No. If you try the same thing from the Navigator view, a Confirm Resource Delete window appears saying, "Are you sure you want to d...
resolved fixed
ea8a1fa
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-05T13:57:40Z
2002-07-23T16:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/DeleteResourcesAction.java
protected DeleteResourcesAction(IWorkbenchSite site) { super(site); } /* * @see SelectionDispatchAction#run(IStructuredSelection) */ protected void run(IStructuredSelection selection) { if (ClipboardActionUtil.hasOnlyProjects(selection)){ deleteProjects(selection); return; } DeleteRefactoring refa...
21,808
Bug 21808 delete confirmation prompts inconsistent with Navigator view [ccp]
Select a .java file in the Package Explorer and then Delete from its context menu. A Confirm Delete windows appears saying, "Are you sure you want to delete the selected element(s)? Yes or No. If you try the same thing from the Navigator view, a Confirm Resource Delete window appears saying, "Are you sure you want to d...
resolved fixed
ea8a1fa
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-05T13:57:40Z
2002-07-23T16:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/DeleteResourcesAction.java
if (!confirmDelete(selection)) return; if (hasReadOnlyResources(selection) && !isOkToDeleteReadOnly()) return; try{ if (! confirmDeleteSourceFolderAsSubresource(selection)) return; MultiStatus status= ClipboardActionUtil.perform(refactoring); if (!status.isOK()) { JavaPlugin.log(status)...
21,808
Bug 21808 delete confirmation prompts inconsistent with Navigator view [ccp]
Select a .java file in the Package Explorer and then Delete from its context menu. A Confirm Delete windows appears saying, "Are you sure you want to delete the selected element(s)? Yes or No. If you try the same thing from the Navigator view, a Confirm Resource Delete window appears saying, "Are you sure you want to d...
resolved fixed
ea8a1fa
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-05T13:57:40Z
2002-07-23T16:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/DeleteResourcesAction.java
msg); } private boolean hasReadOnlyResources(IStructuredSelection selection){ for (Iterator iter= selection.iterator(); iter.hasNext();){ if (ReorgUtils.shouldConfirmReadOnly(iter.next())) return true; } return false; } private static boolean confirmDeleteSourceFolderAsSubresource(IStructuredSelec...
21,808
Bug 21808 delete confirmation prompts inconsistent with Navigator view [ccp]
Select a .java file in the Package Explorer and then Delete from its context menu. A Confirm Delete windows appears saying, "Are you sure you want to delete the selected element(s)? Yes or No. If you try the same thing from the Navigator view, a Confirm Resource Delete window appears saying, "Are you sure you want to d...
resolved fixed
ea8a1fa
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-05T13:57:40Z
2002-07-23T16:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/DeleteResourcesAction.java
for (int i = 0; i < subFolders.length; i++) { if (! (subFolders[i] instanceof IFolder)) continue; IJavaElement element= JavaCore.create((IFolder)folder); if (element instanceof IPackageFragmentRoot) return true; if (element instanceof IPackageFragment) continue; if (containsSourceFolder((IF...
21,808
Bug 21808 delete confirmation prompts inconsistent with Navigator view [ccp]
Select a .java file in the Package Explorer and then Delete from its context menu. A Confirm Delete windows appears saying, "Are you sure you want to delete the selected element(s)? Yes or No. If you try the same thing from the Navigator view, a Confirm Resource Delete window appears saying, "Are you sure you want to d...
resolved fixed
ea8a1fa
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-05T13:57:40Z
2002-07-23T16:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/DeleteSourceReferencesAction.java
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.Map; import java.util.Set; import org.eclipse.core.resources.IFile; import org....
21,808
Bug 21808 delete confirmation prompts inconsistent with Navigator view [ccp]
Select a .java file in the Package Explorer and then Delete from its context menu. A Confirm Delete windows appears saying, "Are you sure you want to delete the selected element(s)? Yes or No. If you try the same thing from the Navigator view, a Confirm Resource Delete window appears saying, "Are you sure you want to d...
resolved fixed
ea8a1fa
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-05T13:57:40Z
2002-07-23T16:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/DeleteSourceReferencesAction.java
import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.core.runtime.OperationCanceledException; import org.eclipse.core.runtime.SubProgressMonitor; import org.eclipse.swt.widgets.Shell; import org.eclipse.jface.dialogs.MessageDialog; import org.eclipse.jface.dialogs.ProgressMonitorDialog; import org.eclip...
21,808
Bug 21808 delete confirmation prompts inconsistent with Navigator view [ccp]
Select a .java file in the Package Explorer and then Delete from its context menu. A Confirm Delete windows appears saying, "Are you sure you want to delete the selected element(s)? Yes or No. If you try the same thing from the Navigator view, a Confirm Resource Delete window appears saying, "Are you sure you want to d...
resolved fixed
ea8a1fa
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-05T13:57:40Z
2002-07-23T16:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/DeleteSourceReferencesAction.java
private boolean fCanDeleteGetterSetter; private boolean fAskForDeleteConfirmation; public DeleteSourceReferencesAction(IWorkbenchSite site) { super(site); fCanDeleteGetterSetter= true; fAskForDeleteConfirmation= true; } public void setCanDeleteGetterSetter(boolean canDelete){ fCanDeleteGetterSetter= canDe...
21,808
Bug 21808 delete confirmation prompts inconsistent with Navigator view [ccp]
Select a .java file in the Package Explorer and then Delete from its context menu. A Confirm Delete windows appears saying, "Are you sure you want to delete the selected element(s)? Yes or No. If you try the same thing from the Navigator view, a Confirm Resource Delete window appears saying, "Are you sure you want to d...
resolved fixed
ea8a1fa
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-05T13:57:40Z
2002-07-23T16:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/DeleteSourceReferencesAction.java
} } private IRunnableWithProgress createDeleteOperation(final IStructuredSelection selection){ return new IRunnableWithProgress(){ public void run(IProgressMonitor pm) throws InvocationTargetException, InterruptedException { try { performDeletion(selection, pm); ...
21,808
Bug 21808 delete confirmation prompts inconsistent with Navigator view [ccp]
Select a .java file in the Package Explorer and then Delete from its context menu. A Confirm Delete windows appears saying, "Are you sure you want to delete the selected element(s)? Yes or No. If you try the same thing from the Navigator view, a Confirm Resource Delete window appears saying, "Are you sure you want to d...
resolved fixed
ea8a1fa
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-05T13:57:40Z
2002-07-23T16:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/DeleteSourceReferencesAction.java
IFile file= (IFile)iter.next(); if (emptyCuList.contains(JavaCore.create(file))) continue; if (isReadOnly(file)) continue; deleteAll(mapping, file, new SubProgressMonitor(pm, 1)); } ICompilationUnit[] notDeleted= deleteEmptyCus(mapping, new SubProgressMonitor(pm, size)); for (int i= 0; i < no...
21,808
Bug 21808 delete confirmation prompts inconsistent with Navigator view [ccp]
Select a .java file in the Package Explorer and then Delete from its context menu. A Confirm Delete windows appears saying, "Are you sure you want to delete the selected element(s)? Yes or No. If you try the same thing from the Navigator view, a Confirm Resource Delete window appears saying, "Are you sure you want to d...
resolved fixed
ea8a1fa
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-05T13:57:40Z
2002-07-23T16:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/DeleteSourceReferencesAction.java
} private static void deleteAll(Map mapping, IFile file, IProgressMonitor pm) throws CoreException { List l= (List)mapping.get(file); ISourceReference[] refs= (ISourceReference[]) l.toArray(new ISourceReference[l.size()]); pm.beginTask("", refs.length); ISourceReference[] nonFields= getNonFields(refs); ...
21,808
Bug 21808 delete confirmation prompts inconsistent with Navigator view [ccp]
Select a .java file in the Package Explorer and then Delete from its context menu. A Confirm Delete windows appears saying, "Are you sure you want to delete the selected element(s)? Yes or No. If you try the same thing from the Navigator view, a Confirm Resource Delete window appears saying, "Are you sure you want to d...
resolved fixed
ea8a1fa
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-05T13:57:40Z
2002-07-23T16:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/DeleteSourceReferencesAction.java
TextBuffer.release(tb); } } private static void delete(IField[] fields, IProgressMonitor pm) throws JavaModelException{ pm.beginTask("", fields.length); for (int i= 0; i < fields.length; i++) { fields[i].delete(false, new SubProgressMonitor(pm, 1)); if (pm.isCanceled()) throw new OperationCanceled...
21,808
Bug 21808 delete confirmation prompts inconsistent with Navigator view [ccp]
Select a .java file in the Package Explorer and then Delete from its context menu. A Confirm Delete windows appears saying, "Are you sure you want to delete the selected element(s)? Yes or No. If you try the same thing from the Navigator view, a Confirm Resource Delete window appears saying, "Are you sure you want to d...
resolved fixed
ea8a1fa
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-05T13:57:40Z
2002-07-23T16:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/DeleteSourceReferencesAction.java
List notDeletedCus= new ArrayList(); notDeletedCus.addAll(Arrays.asList(cusToDelete)); pm.beginTask("", cusToDelete.length); for (int i= 0; i < cusToDelete.length; i++) { if (isReadOnly(cusToDelete[i]) && (! isOkToDeleteReadOnly(cusToDelete[i]))) continue; cusToDelete[i].delete(false, new Sub...
21,808
Bug 21808 delete confirmation prompts inconsistent with Navigator view [ccp]
Select a .java file in the Package Explorer and then Delete from its context menu. A Confirm Delete windows appears saying, "Are you sure you want to delete the selected element(s)? Yes or No. If you try the same thing from the Navigator view, a Confirm Resource Delete window appears saying, "Are you sure you want to d...
resolved fixed
ea8a1fa
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-05T13:57:40Z
2002-07-23T16:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/DeleteSourceReferencesAction.java
for (Iterator iter= mapping.keySet().iterator(); iter.hasNext();) { IFile file= (IFile) iter.next(); IJavaElement el= JavaCore.create(file); if (el == null || el.getElementType() != IJavaElement.COMPILATION_UNIT) continue; ICompilationUnit cu= (ICompilationUnit)el; List sourceReferences= (List)mappin...
21,808
Bug 21808 delete confirmation prompts inconsistent with Navigator view [ccp]
Select a .java file in the Package Explorer and then Delete from its context menu. A Confirm Delete windows appears saying, "Are you sure you want to delete the selected element(s)? Yes or No. If you try the same thing from the Navigator view, a Confirm Resource Delete window appears saying, "Are you sure you want to d...
resolved fixed
ea8a1fa
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-05T13:57:40Z
2002-07-23T16:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/DeleteSourceReferencesAction.java
IMethod[] gettersSetters= getGettersSettersForFields(fields); if (gettersSetters.length == 0) return elements; Set getterSetterSet= new HashSet(Arrays.asList(gettersSetters)); getterSetterSet.removeAll(Arrays.asList(elements)); if (getterSetterSet.isEmpty()) return elements; if (! confirmGetterSetterD...
21,808
Bug 21808 delete confirmation prompts inconsistent with Navigator view [ccp]
Select a .java file in the Package Explorer and then Delete from its context menu. A Confirm Delete windows appears saying, "Are you sure you want to delete the selected element(s)? Yes or No. If you try the same thing from the Navigator view, a Confirm Resource Delete window appears saying, "Are you sure you want to d...
resolved fixed
ea8a1fa
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-05T13:57:40Z
2002-07-23T16:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/DeleteSourceReferencesAction.java
} private static IMethod[] getGettersSettersForFields(IField[] fields) { try { String[] namePrefixes= CodeGenerationPreferencePage.getGetterStetterPrefixes(); String[] nameSuffixes= CodeGenerationPreferencePage.getGetterStetterSuffixes(); List gettersSetters= new ArrayList(); for (int i= 0; i < fie...
21,808
Bug 21808 delete confirmation prompts inconsistent with Navigator view [ccp]
Select a .java file in the Package Explorer and then Delete from its context menu. A Confirm Delete windows appears saying, "Are you sure you want to delete the selected element(s)? Yes or No. If you try the same thing from the Navigator view, a Confirm Resource Delete window appears saying, "Are you sure you want to d...
resolved fixed
ea8a1fa
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-05T13:57:40Z
2002-07-23T16:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/DeleteSourceReferencesAction.java
protected boolean confirmCusDelete(ICompilationUnit[] cusToDelete) { String message; if (cusToDelete.length == 1){ message= ReorgMessages.getFormattedString("DeleteSourceReferencesAction.cu_empty", cusToDelete[0].getElementName()); } else { message= ReorgMessages.getFormattedString("DeleteSourceReferencesA...
20,151
Bug 20151 Copy/Paste inserts two new lines [ccp]
F3 - select a method in ouliner - copy - select CU - paste observe: method has two trailing newlines. There should be only one. May be this is a regression of the CodeFormatter fix
resolved fixed
d83a297
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-06T16:28:11Z
2002-06-13T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/PasteSourceReferencesFromClipboardAction.java
package org.eclipse.jdt.internal.ui.reorg; import org.eclipse.core.resources.IFile; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.NullProgressMonitor; import org.eclipse.swt.custom.BusyIndicator; import org.eclipse.swt.dnd.Clipboard; import org.eclipse.jface.viewers.IStructuredSelection...
20,151
Bug 20151 Copy/Paste inserts two new lines [ccp]
F3 - select a method in ouliner - copy - select CU - paste observe: method has two trailing newlines. There should be only one. May be this is a regression of the CodeFormatter fix
resolved fixed
d83a297
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-06T16:28:11Z
2002-06-13T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/PasteSourceReferencesFromClipboardAction.java
import org.eclipse.jdt.core.IPackageDeclaration; import org.eclipse.jdt.core.ISourceReference; import org.eclipse.jdt.core.IType; import org.eclipse.jdt.core.JavaModelException; import org.eclipse.jdt.ui.actions.SelectionDispatchAction; import org.eclipse.jdt.internal.corext.codemanipulation.MemberEdit; import org.ecli...
20,151
Bug 20151 Copy/Paste inserts two new lines [ccp]
F3 - select a method in ouliner - copy - select CU - paste observe: method has two trailing newlines. There should be only one. May be this is a regression of the CodeFormatter fix
resolved fixed
d83a297
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-06T16:28:11Z
2002-06-13T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/PasteSourceReferencesFromClipboardAction.java
if (selection.size() != 1) return false; Object selected= selection.getFirstElement(); if (selected instanceof IClassFile) return false; if (! (selected instanceof ISourceReference)) return false; if (! (selected instanceof IJavaElement)) return false; if (((IJavaEleme...
20,151
Bug 20151 Copy/Paste inserts two new lines [ccp]
F3 - select a method in ouliner - copy - select CU - paste observe: method has two trailing newlines. There should be only one. May be this is a regression of the CodeFormatter fix
resolved fixed
d83a297
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-06T16:28:11Z
2002-06-13T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/PasteSourceReferencesFromClipboardAction.java
if (workingCopyEl == null || ! ((IJavaElement)workingCopyEl).exists()) return false; return canPaste((ISourceReference)selected, getContentsToPaste()); } catch (JavaModelException e) { if (JavaModelUtil.filterNotPresentException(e)) JavaPlugin.log(e); return false; } } private boolean...
20,151
Bug 20151 Copy/Paste inserts two new lines [ccp]
F3 - select a method in ouliner - copy - select CU - paste observe: method has two trailing newlines. There should be only one. May be this is a regression of the CodeFormatter fix
resolved fixed
d83a297
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-06T16:28:11Z
2002-06-13T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/PasteSourceReferencesFromClipboardAction.java
protected TypedSource[] getContentsToPaste(){ if (fClipboard == null) return new TypedSource[0]; else return (TypedSource[])fClipboard.getContents(TypedSourceTransfer.getInstance()); } private boolean canPaste(ISourceReference ref, TypedSource[] elements){ return (canPasteIn(ref, elements) || canPaste...
20,151
Bug 20151 Copy/Paste inserts two new lines [ccp]
F3 - select a method in ouliner - copy - select CU - paste observe: method has two trailing newlines. There should be only one. May be this is a regression of the CodeFormatter fix
resolved fixed
d83a297
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-06T16:28:11Z
2002-06-13T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/PasteSourceReferencesFromClipboardAction.java
void perform(ISourceReference selected) throws CoreException{ ISourceReference selectedWorkingCopyElement= getWorkingCopyElement(selected); if (selectedWorkingCopyElement == null || ! ((IJavaElement)selectedWorkingCopyElement).exists()) return; if (canPasteIn(selectedWorkingCopyElement, getContentsToPaste()...
20,151
Bug 20151 Copy/Paste inserts two new lines [ccp]
F3 - select a method in ouliner - copy - select CU - paste observe: method has two trailing newlines. There should be only one. May be this is a regression of the CodeFormatter fix
resolved fixed
d83a297
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-06T16:28:11Z
2002-06-13T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/PasteSourceReferencesFromClipboardAction.java
String[] source= Strings.convertIntoLines(elems[i].getSource()); MemberEdit edit= new MemberEdit(element, style, source, tabWidth); tbe.add(edit); } if (! tbe.canPerformEdits()) return; tbe.performEdits(new NullProgressMonitor()); TextBuffer.commitChanges(tb, false, new NullProgressMonitor());...
20,151
Bug 20151 Copy/Paste inserts two new lines [ccp]
F3 - select a method in ouliner - copy - select CU - paste observe: method has two trailing newlines. There should be only one. May be this is a regression of the CodeFormatter fix
resolved fixed
d83a297
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-06T16:28:11Z
2002-06-13T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/PasteSourceReferencesFromClipboardAction.java
} } private boolean canPasteAfter(ISourceReference ref, TypedSource[] elements){ if (ref instanceof ICompilationUnit) return false; if (ref instanceof IImportContainer) return canPasteAtTopLevel(elements); if (ref instanceof IImportDeclaration) return canPasteAtTopLevel(elements); if (ref instanc...
20,151
Bug 20151 Copy/Paste inserts two new lines [ccp]
F3 - select a method in ouliner - copy - select CU - paste observe: method has two trailing newlines. There should be only one. May be this is a regression of the CodeFormatter fix
resolved fixed
d83a297
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-06T16:28:11Z
2002-06-13T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/PasteSourceReferencesFromClipboardAction.java
return true; } private int getElementType(ISourceReference ref){ return ((IJavaElement)ref).getElementType(); } private boolean canPasteAfterImportContainerOrDeclaration(int type){ if (type == IJavaElement.IMPORT_CONTAINER) return true; if (type == IJavaElement.IMPORT_DECLARATION) return true; ...
20,151
Bug 20151 Copy/Paste inserts two new lines [ccp]
F3 - select a method in ouliner - copy - select CU - paste observe: method has two trailing newlines. There should be only one. May be this is a regression of the CodeFormatter fix
resolved fixed
d83a297
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-06T16:28:11Z
2002-06-13T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/PasteSourceReferencesFromClipboardAction.java
private boolean canPasteInImportContainer(TypedSource[] elements){ return false; } private boolean canPasteInType(TypedSource[] elements){ return areAllMembers(elements); } private boolean canPasteInCompilationUnit(TypedSource[] elements){ for (int i= 0; i < elements.length; i++) { if (! canPast...
20,151
Bug 20151 Copy/Paste inserts two new lines [ccp]
F3 - select a method in ouliner - copy - select CU - paste observe: method has two trailing newlines. There should be only one. May be this is a regression of the CodeFormatter fix
resolved fixed
d83a297
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-06T16:28:11Z
2002-06-13T12:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/PasteSourceReferencesFromClipboardAction.java
private boolean areAllValuesOfType(TypedSource[] elements, int type){ for (int i= 0; i < elements.length; i++) { if (elements[i].getType() != type) return false; } return true; } private boolean areAllMembers(TypedSource[] elements){ for (int i= 0; i < elements.length; i++) { if (! isMember(elem...
4,263
Bug 4263 Error ticks should also cover search results (1GKPVSU) [search]
Search matches do not get decorated with red Xs, though it could be interesting to show. Indeed when dealing with a large set of errors, one way to navigate is through search operations. NOTES:
resolved fixed
697fa51
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-10T07:46:03Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResultLabelProvider.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.search; import org.eclipse.core.resources.IMarker; import org.eclipse.swt.graphics.Image; import org.eclipse.jface.viewers.ILabelDecorator; import org.eclipse.jface.viewers.ILabelProviderListener; import org.eclips...
4,263
Bug 4263 Error ticks should also cover search results (1GKPVSU) [search]
Search matches do not get decorated with red Xs, though it could be interesting to show. Indeed when dealing with a large set of errors, one way to navigate is through search operations. NOTES:
resolved fixed
697fa51
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-10T07:46:03Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResultLabelProvider.java
public static final int SHOW_ELEMENT_CONTAINER= 1; public static final int SHOW_CONTAINER_ELEMENT= 2; public static final int SHOW_PATH= 3; public static final String POTENTIAL_MATCH= SearchMessages.getString("JavaSearchResultLabelProvider.potentialMatch"); private AppearanceAwareLabelProvider fLabelProvider; pr...
4,263
Bug 4263 Error ticks should also cover search results (1GKPVSU) [search]
Search matches do not get decorated with red Xs, though it could be interesting to show. Indeed when dealing with a large set of errors, one way to navigate is through search operations. NOTES:
resolved fixed
697fa51
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-10T07:46:03Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResultLabelProvider.java
if (isPotentialMatch) return super.getText(fLastMarker.getResource()) + POTENTIAL_MATCH; else return super.getText(fLastMarker.getResource()); } else return ""; } if (javaElement instanceof IImportDeclaration) javaElement= ((IImportDeclaration)javaElement).getParent().getParent(); Str...
4,263
Bug 4263 Error ticks should also cover search results (1GKPVSU) [search]
Search matches do not get decorated with red Xs, though it could be interesting to show. Indeed when dealing with a large set of errors, one way to navigate is through search operations. NOTES:
resolved fixed
697fa51
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-10T07:46:03Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResultLabelProvider.java
return decoratedImage; } return image; } public void setOrder(int orderFlag) { int flags= AppearanceAwareLabelProvider.DEFAULT_TEXTFLAGS | JavaElementLabels.P_COMPRESSED; if (orderFlag == SHOW_ELEMENT_CONTAINER) flags |= JavaElementLabels.F_POST_QUALIFIED | JavaElementLabels.M_POST_QUALIFIED | JavaElementL...
4,263
Bug 4263 Error ticks should also cover search results (1GKPVSU) [search]
Search matches do not get decorated with red Xs, though it could be interesting to show. Indeed when dealing with a large set of errors, one way to navigate is through search operations. NOTES:
resolved fixed
697fa51
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-10T07:46:03Z
2001-10-11T03:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResultLabelProvider.java
protected IMarker getMarker(Object o) { if (!(o instanceof ISearchResultViewEntry)) return null; return ((ISearchResultViewEntry)o).getSelectedMarker(); } private IJavaElement getJavaElement(IMarker marker) { if (fLastMarker != marker) { fLastJavaElement= SearchUtil.getJavaElement(marker); fLastMarke...
23,320
Bug 23320 Incomplete classpath and circular classpath options should be surfaced
null
resolved fixed
58d7dfc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-10T10:21:22Z
2002-09-09T11:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.preferences; import java.lang.reflect.InvocationTargetException; import java.util.ArrayList; import java.util.Arrays; import java.util.Hashtable; import java.util.StringTokenizer; import org.eclipse.core.resources....
23,320
Bug 23320 Incomplete classpath and circular classpath options should be surfaced
null
resolved fixed
58d7dfc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-10T10:21:22Z
2002-09-09T11:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Control; import org.eclipse.swt.widgets.Label; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.TabFolder; import org.eclipse.swt.widgets.TabItem; import org.eclipse.swt.widgets.Text; import org.eclipse.swt.widgets.Widget; impo...
23,320
Bug 23320 Incomplete classpath and circular classpath options should be surfaced
null
resolved fixed
58d7dfc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-10T10:21:22Z
2002-09-09T11:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
private static final String PREF_LOCAL_VARIABLE_ATTR= JavaCore.COMPILER_LOCAL_VARIABLE_ATTR; private static final String PREF_LINE_NUMBER_ATTR= JavaCore.COMPILER_LINE_NUMBER_ATTR; private static final String PREF_SOURCE_FILE_ATTR= JavaCore.COMPILER_SOURCE_FILE_ATTR; private static final String PREF_CODEGEN_UNUSED_L...
23,320
Bug 23320 Incomplete classpath and circular classpath options should be surfaced
null
resolved fixed
58d7dfc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-10T10:21:22Z
2002-09-09T11:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
private static final String OPTIMIZE_OUT= JavaCore.OPTIMIZE_OUT; private static final String VERSION_1_1= JavaCore.VERSION_1_1; private static final String VERSION_1_2= JavaCore.VERSION_1_2; private static final String VERSION_1_3= JavaCore.VERSION_1_3; private static final String VERSION_1_4= JavaCore.VERSION_1_...
23,320
Bug 23320 Incomplete classpath and circular classpath options should be surfaced
null
resolved fixed
58d7dfc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-10T10:21:22Z
2002-09-09T11:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
private String fKey; private String[] fValues; public ControlData(String key, String[] values) { fKey= key; fValues= values; } public String getKey() { return fKey; } public String getValue(boolean selection) { int index= selection ? 0 : 1; return fValues[index]; } public Stri...
23,320
Bug 23320 Incomplete classpath and circular classpath options should be surfaced
null
resolved fixed
58d7dfc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-10T10:21:22Z
2002-09-09T11:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
private Hashtable fWorkingValues; private ArrayList fCheckBoxes; private ArrayList fComboBoxes; private ArrayList fTextBoxes; private SelectionListener fSelectionListener; private ModifyListener fTextModifyListener; private ArrayList fComplianceControls; public CompilerPreferencePage() { setPreferenceStore...
23,320
Bug 23320 Incomplete classpath and circular classpath options should be surfaced
null
resolved fixed
58d7dfc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-10T10:21:22Z
2002-09-09T11:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
fTextModifyListener= new ModifyListener() { public void modifyText(ModifyEvent e) { textChanged((Text) e.widget); } }; } /** * @see IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench) */ public void init(IWorkbench workbench) { } /** * @see PreferencePage#createControl(Composite) */ pu...
23,320
Bug 23320 Incomplete classpath and circular classpath options should be surfaced
null
resolved fixed
58d7dfc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-10T10:21:22Z
2002-09-09T11:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
Composite warningsComposite= createWarningsTabContent(folder); Composite codeGenComposite= createCodeGenTabContent(folder); Composite complianceComposite= createComplianceTabContent(folder); Composite othersComposite= createOthersTabContent(folder); TabItem item= new TabItem(folder, SWT.NONE); item.setText(Ja...
23,320
Bug 23320 Incomplete classpath and circular classpath options should be surfaced
null
resolved fixed
58d7dfc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-10T10:21:22Z
2002-09-09T11:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
Label description= new Label(othersComposite, SWT.WRAP); description.setText(JavaUIMessages.getString("CompilerPreferencePage.resource_filter.description")); GridData gd= new GridData(GridData.FILL); gd.horizontalSpan= 2; gd.widthHint= convertWidthInCharsToPixels(60); description.setLayoutData(gd); Stri...
23,320
Bug 23320 Incomplete classpath and circular classpath options should be surfaced
null
resolved fixed
58d7dfc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-10T10:21:22Z
2002-09-09T11:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
layout.verticalSpacing= 2; Composite warningsComposite= new Composite(folder, SWT.NULL); warningsComposite.setLayout(layout); Label description= new Label(warningsComposite, SWT.WRAP); description.setText(JavaUIMessages.getString("CompilerPreferencePage.warnings.description")); GridData gd= new GridData(); ...
23,320
Bug 23320 Incomplete classpath and circular classpath options should be surfaced
null
resolved fixed
58d7dfc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-10T10:21:22Z
2002-09-09T11:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
addComboBox(warningsComposite, label, PREF_PB_UNUSED_PARAMETER, errorWarningIgnore, errorWarningIgnoreLabels, 0); label= JavaUIMessages.getString("CompilerPreferencePage.pb_static_access_receiver.label"); addComboBox(warningsComposite, label, PREF_PB_STATIC_ACCESS_RECEIVER, errorWarningIgnore, errorWarningIgnoreLa...
23,320
Bug 23320 Incomplete classpath and circular classpath options should be surfaced
null
resolved fixed
58d7dfc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-10T10:21:22Z
2002-09-09T11:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
return codeGenComposite; } private Composite createComplianceTabContent(Composite folder) { GridLayout layout= new GridLayout(); layout.numColumns= 2; Composite complianceComposite= new Composite(folder, SWT.NULL); complianceComposite.setLayout(layout); String[] values34= new String[] { VERSION_1_3, VERSI...
23,320
Bug 23320 Incomplete classpath and circular classpath options should be surfaced
null
resolved fixed
58d7dfc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-10T10:21:22Z
2002-09-09T11:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
label= JavaUIMessages.getString("CompilerPreferencePage.codegen_targetplatform.label"); addComboBox(complianceComposite, label, PREF_CODEGEN_TARGET_PLATFORM, values14, values14Labels, indent); label= JavaUIMessages.getString("CompilerPreferencePage.source_compatibility.label"); addComboBox(complianceComposite,...
23,320
Bug 23320 Incomplete classpath and circular classpath options should be surfaced
null
resolved fixed
58d7dfc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-10T10:21:22Z
2002-09-09T11:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
checkBox.setLayoutData(gd); checkBox.addSelectionListener(fSelectionListener); String currValue= (String)fWorkingValues.get(key); checkBox.setSelection(data.getSelection(currValue) == 0); fCheckBoxes.add(checkBox); } private void addComboBox(Composite parent, String label, String key, String[] values...
23,320
Bug 23320 Incomplete classpath and circular classpath options should be surfaced
null
resolved fixed
58d7dfc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-10T10:21:22Z
2002-09-09T11:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
private Text addTextField(Composite parent, String label, String key) { Label labelControl= new Label(parent, SWT.NONE); labelControl.setText(label); labelControl.setLayoutData(new GridData()); Text textBox= new Text(parent, SWT.BORDER | SWT.SINGLE); textBox.setData(key); textBox.setLayoutData(new Gri...
23,320
Bug 23320 Incomplete classpath and circular classpath options should be surfaced
null
resolved fixed
58d7dfc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-10T10:21:22Z
2002-09-09T11:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
validateSettings(data.getKey(), newValue); } private void textChanged(Text textControl) { String key= (String) textControl.getData(); String number= textControl.getText(); fWorkingValues.put(key, number); validateSettings(key, number); } private boolean checkValue(String key, String value) { return val...
23,320
Bug 23320 Incomplete classpath and circular classpath options should be surfaced
null
resolved fixed
58d7dfc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-10T10:21:22Z
2002-09-09T11:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
!PREF_PB_ASSERT_AS_IDENTIFIER.equals(changedKey) && !PREF_RESOURCE_FILTER.equals(changedKey) && !PREF_PB_MAX_PER_UNIT.equals(changedKey)) { return; } } else { updateComplianceEnableState(); } IStatus status= StatusUtil.getMostSevere(new IStatus[] { validateCompliance(), validateMaxNumberPro...
23,320
Bug 23320 Incomplete classpath and circular classpath options should be surfaced
null
resolved fixed
58d7dfc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-10T10:21:22Z
2002-09-09T11:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
if (checkValue(PREF_SOURCE_COMPATIBILITY, VERSION_1_4)) { if (!checkValue(PREF_CODEGEN_TARGET_PLATFORM, VERSION_1_4)) { status.setError(JavaUIMessages.getString("CompilerPreferencePage.src14tgt14.error")); return status; } } return status; } private IStatus validateMaxNumberProblems() { String ...
23,320
Bug 23320 Incomplete classpath and circular classpath options should be surfaced
null
resolved fixed
58d7dfc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-10T10:21:22Z
2002-09-09T11:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
IWorkspace workspace= ResourcesPlugin.getWorkspace(); String[] filters= getFilters(text); for (int i= 0; i < filters.length; i++) { String fileName= filters[i].replace('*', 'x'); int resourceType= IResource.FILE; int lastCharacter= fileName.length() - 1; if (lastCharacter >= 0 && fileName.charAt(lastCha...
23,320
Bug 23320 Incomplete classpath and circular classpath options should be surfaced
null
resolved fixed
58d7dfc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-10T10:21:22Z
2002-09-09T11:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
*/ private void updateComplianceEnableState() { boolean enabled= checkValue(INTR_DEFAULT_COMPLIANCE, USER); for (int i= fComplianceControls.size() - 1; i >= 0; i--) { Control curr= (Control) fComplianceControls.get(i); curr.setEnabled(enabled); } } /* * Set the default compliance values derived from ...
23,320
Bug 23320 Incomplete classpath and circular classpath options should be surfaced
null
resolved fixed
58d7dfc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-10T10:21:22Z
2002-09-09T11:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
if ((VERSION_1_3.equals(complianceLevel) && checkValue(PREF_PB_ASSERT_AS_IDENTIFIER, IGNORE) && checkValue(PREF_SOURCE_COMPATIBILITY, VERSION_1_3) && checkValue(PREF_CODEGEN_TARGET_PLATFORM, VERSION_1_1)) || (VERSION_1_4.equals(complianceLevel) && checkValue(PREF_PB_ASSERT_AS_IDENTIFIER, ERROR) &...
23,320
Bug 23320 Incomplete classpath and circular classpath options should be surfaced
null
resolved fixed
58d7dfc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-10T10:21:22Z
2002-09-09T11:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
} if (hasChanges) { String title= JavaUIMessages.getString("CompilerPreferencePage.needsbuild.title"); String message= JavaUIMessages.getString("CompilerPreferencePage.needsbuild.message"); MessageDialog dialog= new MessageDialog(getShell(), title, null, message, MessageDialog.QUESTION, new Strin...
23,320
Bug 23320 Incomplete classpath and circular classpath options should be surfaced
null
resolved fixed
58d7dfc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-10T10:21:22Z
2002-09-09T11:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
try { dialog.run(true, true, new IRunnableWithProgress() { public void run(IProgressMonitor monitor) throws InvocationTargetException { try { JavaPlugin.getWorkspace().build(IncrementalProjectBuilder.FULL_BUILD, monitor); } catch (CoreException e) { throw new InvocationTargetException(e); ...
23,320
Bug 23320 Incomplete classpath and circular classpath options should be surfaced
null
resolved fixed
58d7dfc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-10T10:21:22Z
2002-09-09T11:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
private void updateControls() { for (int i= fCheckBoxes.size() - 1; i >= 0; i--) { Button curr= (Button) fCheckBoxes.get(i); ControlData data= (ControlData) curr.getData(); String currValue= (String) fWorkingValues.get(data.getKey()); curr.setSelection(data.getSelection(currValue) == 0); } ...
23,069
Bug 23069 Class wizard fails with file/typecomment enabled [regression] build I0827
When creating a new class or interface with the wizards, the evaluation of the file/typecomment templates fails, generation the following error log: *** Error Log: !SESSION Aug 31, 2002 08:36:29.537 --------------------------------------------- java.version=1.4.1-rc java.vendor=Sun Microsystems Inc. BootLoader constant...
verified fixed
5962c4d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-10T15:17:27Z
2002-08-31T13:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/template/TemplateEngine.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.text.template; import java.util.ArrayList; import org.eclipse.swt.graphics.Point; import org.eclipse.jface.text.IDocument; import org.eclipse.jface.text.IRegion; import org.eclipse.jface.text.ITextViewer; import or...
23,069
Bug 23069 Class wizard fails with file/typecomment enabled [regression] build I0827
When creating a new class or interface with the wizards, the evaluation of the file/typecomment templates fails, generation the following error log: *** Error Log: !SESSION Aug 31, 2002 08:36:29.537 --------------------------------------------- java.version=1.4.1-rc java.vendor=Sun Microsystems Inc. BootLoader constant...
verified fixed
5962c4d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-10T15:17:27Z
2002-08-31T13:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/template/TemplateEngine.java
private ContextType fContextType; private ArrayList fProposals= new ArrayList(); /** * Creates the template engine for a particular context type. * See <code>TemplateContext</code> for supported context types. */ public TemplateEngine(ContextType contextType) {
23,069
Bug 23069 Class wizard fails with file/typecomment enabled [regression] build I0827
When creating a new class or interface with the wizards, the evaluation of the file/typecomment templates fails, generation the following error log: *** Error Log: !SESSION Aug 31, 2002 08:36:29.537 --------------------------------------------- java.version=1.4.1-rc java.vendor=Sun Microsystems Inc. BootLoader constant...
verified fixed
5962c4d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-10T15:17:27Z
2002-08-31T13:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/template/TemplateEngine.java
Assert.isNotNull(contextType); fContextType= contextType; } /** * Empties the collector. * * @param viewer the text viewer * @param unit the compilation unit (may be <code>null</code>) */ public void reset() { fProposals.clear(); } /** * Returns the array of matching templates. */ public IJ...
23,069
Bug 23069 Class wizard fails with file/typecomment enabled [regression] build I0827
When creating a new class or interface with the wizards, the evaluation of the file/typecomment templates fails, generation the following error log: *** Error Log: !SESSION Aug 31, 2002 08:36:29.537 --------------------------------------------- java.version=1.4.1-rc java.vendor=Sun Microsystems Inc. BootLoader constant...
verified fixed
5962c4d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-10T15:17:27Z
2002-08-31T13:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/template/TemplateEngine.java
if (LinkedPositionManager.hasActiveManager(document)) return; if (!(fContextType instanceof CompilationUnitContextType)) return; Point selection= viewer.getSelectedRange(); ((CompilationUnitContextType) fContextType).setContextParameters(document, completionPosition, selection.y, compilationUnit); Comp...
23,316
Bug 23316 preference to turn off automagic-closing-brackets
there should be a way to turn it off - i'm not used to it and it gets in my way a bit
resolved fixed
14e32bc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-11T13:11:22Z
2002-09-09T08:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
package org.eclipse.jdt.internal.ui.javaeditor; /* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ import java.lang.reflect.InvocationTargetException; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.eclipse.swt.SWT; import org.eclipse.swt.custom.StyledText; im...
23,316
Bug 23316 preference to turn off automagic-closing-brackets
there should be a way to turn it off - i'm not used to it and it gets in my way a bit
resolved fixed
14e32bc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-11T13:11:22Z
2002-09-09T08:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
import org.eclipse.swt.widgets.Control; import org.eclipse.swt.widgets.Layout; import org.eclipse.swt.widgets.Shell; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IMarker; import org.eclipse.core.resources.IWorkspace; import org.eclipse.core.resources.ResourcesPlugin; import org.eclipse.cor...
23,316
Bug 23316 preference to turn off automagic-closing-brackets
there should be a way to turn it off - i'm not used to it and it gets in my way a bit
resolved fixed
14e32bc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-11T13:11:22Z
2002-09-09T08:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
import org.eclipse.jface.text.contentassist.ContentAssistant; import org.eclipse.jface.text.contentassist.IContentAssistant; import org.eclipse.jface.text.source.Annotation; import org.eclipse.jface.text.source.IAnnotationModel; import org.eclipse.jface.text.source.ISourceViewer; import org.eclipse.jface.text.source.IV...
23,316
Bug 23316 preference to turn off automagic-closing-brackets
there should be a way to turn it off - i'm not used to it and it gets in my way a bit
resolved fixed
14e32bc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-11T13:11:22Z
2002-09-09T08:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
import org.eclipse.jdt.core.IImportDeclaration; import org.eclipse.jdt.core.IJavaElement; import org.eclipse.jdt.core.ISourceRange; import org.eclipse.jdt.core.ISourceReference; import org.eclipse.jdt.core.JavaCore; import org.eclipse.jdt.core.JavaModelException; import org.eclipse.jdt.ui.IWorkingCopyManager; import or...
23,316
Bug 23316 preference to turn off automagic-closing-brackets
there should be a way to turn it off - i'm not used to it and it gets in my way a bit
resolved fixed
14e32bc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-11T13:11:22Z
2002-09-09T08:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
interface ITextConverter { void customizeDocumentCommand(IDocument document, DocumentCommand command); }; class AdaptedRulerLayout extends Layout { protected int fGap; protected AdaptedSourceViewer fAdaptedSourceViewer; protected AdaptedRulerLayout(int gap, AdaptedSourceViewer asv) { fGap= gap...
23,316
Bug 23316 preference to turn off automagic-closing-brackets
there should be a way to turn it off - i'm not used to it and it gets in my way a bit
resolved fixed
14e32bc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-11T13:11:22Z
2002-09-09T08:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
protected void layout(Composite composite, boolean flushCache) { Rectangle clArea= composite.getClientArea(); if (fAdaptedSourceViewer.isVerticalRulerVisible()) { StyledText textWidget= fAdaptedSourceViewer.getTextWidget(); Rectangle trim= textWidget.computeTrim(0, 0, 0, 0); int scrollbarHeight= ...
23,316
Bug 23316 preference to turn off automagic-closing-brackets
there should be a way to turn it off - i'm not used to it and it gets in my way a bit
resolved fixed
14e32bc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-11T13:11:22Z
2002-09-09T08:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
private List fTextConverters; private OverviewRuler fOverviewRuler; private boolean fIsOverviewRulerVisible; private boolean fIgnoreTextConverters= false; private IVerticalRuler fCachedVerticalRuler; private boolean fCachedIsVerticalRulerVisible; public AdaptedSourceViewer(Composite parent, IVertic...
23,316
Bug 23316 preference to turn off automagic-closing-brackets
there should be a way to turn it off - i'm not used to it and it gets in my way a bit
resolved fixed
14e32bc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-11T13:11:22Z
2002-09-09T08:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
* @see ISourceViewer#showAnnotations(boolean) */ public void showAnnotations(boolean show) { fCachedIsVerticalRulerVisible= (show && fCachedVerticalRuler != null); super.showAnnotations(show); } public IContentAssistant getContentAssistant() { return fContentAssistant; } /* * @see ITextOp...
23,316
Bug 23316 preference to turn off automagic-closing-brackets
there should be a way to turn it off - i'm not used to it and it gets in my way a bit
resolved fixed
14e32bc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-11T13:11:22Z
2002-09-09T08:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
} super.doOperation(operation); } public void insertTextConverter(ITextConverter textConverter, int index) { throw new UnsupportedOperationException(); } public void addTextConverter(ITextConverter textConverter) { if (fTextConverters == null) { fTextConverters= new ArrayList(1); fTex...
23,316
Bug 23316 preference to turn off automagic-closing-brackets
there should be a way to turn it off - i'm not used to it and it gets in my way a bit
resolved fixed
14e32bc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-11T13:11:22Z
2002-09-09T08:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
if (!fIgnoreTextConverters && fTextConverters != null) { for (Iterator e = fTextConverters.iterator(); e.hasNext();) ((ITextConverter) e.next()).customizeDocumentCommand(getDocument(), command); } fIgnoreTextConverters= false; } public IVerticalRuler getVerticalRuler() { return fCachedVerticalR...
23,316
Bug 23316 preference to turn off automagic-closing-brackets
there should be a way to turn it off - i'm not used to it and it gets in my way a bit
resolved fixed
14e32bc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-11T13:11:22Z
2002-09-09T08:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
Control control= getControl(); if (control instanceof Composite) { Composite composite= (Composite) control; composite.setLayout(new AdaptedRulerLayout(GAP_SIZE, this)); fOverviewRuler.createControl(composite, this); } } public void hideOverviewRuler() { fIsOverviewRulerVisible= false; Co...
23,316
Bug 23316 preference to turn off automagic-closing-brackets
there should be a way to turn it off - i'm not used to it and it gets in my way a bit
resolved fixed
14e32bc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-11T13:11:22Z
2002-09-09T08:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
/* * @see ISourceViewer#setDocument(IDocument, IAnnotationModel, int, int) */ public void setDocument(IDocument document, IAnnotationModel annotationModel, int visibleRegionOffset, int visibleRegionLength) { super.setDocument(document, annotationModel, visibleRegionOffset, visibleRegionLength); fOverviewR...
23,316
Bug 23316 preference to turn off automagic-closing-brackets
there should be a way to turn it off - i'm not used to it and it gets in my way a bit
resolved fixed
14e32bc
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-11T13:11:22Z
2002-09-09T08:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
private int fTabRatio; private ILineTracker fLineTracker; public TabConverter() { } public void setNumberOfSpacesPerTab(int ratio) { fTabRatio= ratio; } public void setLineTracker(ILineTracker lineTracker) { fLineTracker= lineTracker; } private int insertTabString(StringBuffer buffer,...