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
22,380
Bug 22380 "No Source" class file editor does not fetch keyboard focus
Build N20020813 Test Case: 1. From the package explorer open a class from a JAR without attached source 2. Activate the editor 3. Select something in another view (note: selection is blue) 4. Activate the class file editor by clicking on the tab ==> selection in other view remains blue but should be gray. Suggest to se...
resolved fixed
c6c96b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-20T12:52:48Z
2002-08-13T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java
fBackgroundColor= display.getSystemColor(SWT.COLOR_LIST_BACKGROUND); fForegroundColor= display.getSystemColor(SWT.COLOR_LIST_FOREGROUND); fSeparatorColor= new Color(display, 152, 170, 203); JFaceResources.getFontRegistry().addListener(this); fScrolledComposite= new ScrolledComposite(parent, SWT.H_...
22,380
Bug 22380 "No Source" class file editor does not fetch keyboard focus
Build N20020813 Test Case: 1. From the package explorer open a class from a JAR without attached source 2. Activate the editor 3. Select something in another view (note: selection is blue) 4. Activate the class file editor by clicking on the tab ==> selection in other view remains blue but should be gray. Suggest to se...
resolved fixed
c6c96b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-20T12:52:48Z
2002-08-13T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java
ScrollBar verticalBar= fScrolledComposite.getVerticalBar(); verticalBar.setIncrement(VERTICAL_SCROLL_INCREMENT); verticalBar.setPageIncrement(clientArea.height - verticalBar.getIncrement()); ScrollBar horizontalBar= fScrolledComposite.getHorizontalBar(); horizontalBar.setIncrement(HORIZONTAL_...
22,380
Bug 22380 "No Source" class file editor does not fetch keyboard focus
Build N20020813 Test Case: 1. From the package explorer open a class from a JAR without attached source 2. Activate the editor 3. Select something in another view (note: selection is blue) 4. Activate the class file editor by clicking on the tab ==> selection in other view remains blue but should be gray. Suggest to se...
resolved fixed
c6c96b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-20T12:52:48Z
2002-08-13T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java
if (!root.isArchive()) { createLabel(composite, JavaEditorMessages.getFormattedString("SourceAttachmentForm.message.noSource", fFile.getElementName())); } else if (entry != null && entry.getEntryKind() == IClasspathEntry.CPE_CONTAINER) { IClasspathContainer container= JavaCore.getClasspathCont...
22,380
Bug 22380 "No Source" class file editor does not fetch keyboard focus
Build N20020813 Test Case: 1. From the package explorer open a class from a JAR without attached source 2. Activate the editor 3. Select something in another view (note: selection is blue) 4. Activate the class file editor by clicking on the tab ==> selection in other view remains blue but should be gray. Suggest to se...
resolved fixed
c6c96b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-20T12:52:48Z
2002-08-13T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java
try { SourceAttachmentDialog dialog= new SourceAttachmentDialog(fScrolledComposite.getShell(), root); if (dialog.open() == SourceAttachmentDialog.OK) verifyInput(getEditorInput()); } catch (CoreException e) { String title= JavaEditorMessages.getString("SourceAttachme...
22,380
Bug 22380 "No Source" class file editor does not fetch keyboard focus
Build N20020813 Test Case: 1. From the package explorer open a class from a JAR without attached source 2. Activate the editor 3. Select something in another view (note: selection is blue) 4. Activate the class file editor by clicking on the tab ==> selection in other view remains blue but should be gray. Suggest to se...
resolved fixed
c6c96b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-20T12:52:48Z
2002-08-13T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java
updateCodeView(styledText, fFile); fScrolledComposite.setContent(composite); fScrolledComposite.setMinSize(composite.computeSize(SWT.DEFAULT, SWT.DEFAULT)); return fScrolledComposite; } /* * @see IPropertyChangeListener#propertyChange(PropertyChangeEvent) */ public void propert...
22,380
Bug 22380 "No Source" class file editor does not fetch keyboard focus
Build N20020813 Test Case: 1. From the package explorer open a class from a JAR without attached source 2. Activate the editor 3. Select something in another view (note: selection is blue) 4. Activate the class file editor by clicking on the tab ==> selection in other view remains blue but should be gray. Suggest to se...
resolved fixed
c6c96b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-20T12:52:48Z
2002-08-13T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java
private Composite createComposite(Composite parent) { Composite composite = new Composite(parent, SWT.NONE); composite.setBackground(fBackgroundColor); return composite; } private Composite createCompositeSeparator(Composite parent) { Composite composite = new Composite(parent, S...
22,380
Bug 22380 "No Source" class file editor does not fetch keyboard focus
Build N20020813 Test Case: 1. From the package explorer open a class from a JAR without attached source 2. Activate the editor 3. Select something in another view (note: selection is blue) 4. Activate the class file editor by clicking on the tab ==> selection in other view remains blue but should be gray. Suggest to se...
resolved fixed
c6c96b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-20T12:52:48Z
2002-08-13T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java
private void setFont(StyledText styledText) { IPreferenceStore store= getPreferenceStore(); if (store != null) { FontData data= null; if (store.contains(PREFERENCE_FONT) && !store.isDefault(PREFERENCE_FONT)) data= PreferenceConverter.getFontData(store, PREFERENCE_FONT); else dat...
22,380
Bug 22380 "No Source" class file editor does not fetch keyboard focus
Build N20020813 Test Case: 1. From the package explorer open a class from a JAR without attached source 2. Activate the editor 3. Select something in another view (note: selection is blue) 4. Activate the class file editor by clicking on the tab ==> selection in other view remains blue but should be gray. Suggest to se...
resolved fixed
c6c96b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-20T12:52:48Z
2002-08-13T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java
Label label = new Label(parent, SWT.NONE); if (text != null) label.setText(text); label.setBackground(fBackgroundColor); label.setForeground(fForegroundColor); label.setFont(JFaceResources.getHeaderFont()); fHeaderLabels.add(label); return label; } private Label createHeadingLabel(...
22,380
Bug 22380 "No Source" class file editor does not fetch keyboard focus
Build N20020813 Test Case: 1. From the package explorer open a class from a JAR without attached source 2. Activate the editor 3. Select something in another view (note: selection is blue) 4. Activate the class file editor by clicking on the tab ==> selection in other view remains blue but should be gray. Suggest to se...
resolved fixed
c6c96b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-20T12:52:48Z
2002-08-13T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java
private void updateCodeView(StyledText styledText, IClassFile classFile) { String content= null; int flags= IClassFileReader.FIELD_INFOS | IClassFileReader.METHOD_INFOS | IClassFileReader.SUPER_INTERFACES; IClassFileReader classFileReader= ToolFactory.createDefaultClassFileReader(classFile, flags); ...
22,380
Bug 22380 "No Source" class file editor does not fetch keyboard focus
Build N20020813 Test Case: 1. From the package explorer open a class from a JAR without attached source 2. Activate the editor 3. Select something in another view (note: selection is blue) 4. Activate the class file editor by clicking on the tab ==> selection in other view remains blue but should be gray. Suggest to se...
resolved fixed
c6c96b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-20T12:52:48Z
2002-08-13T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java
} /* * @see AbstractTextEditor#createActions() */ protected void createActions() { super.createActions(); setAction(ITextEditorActionConstants.SAVE, null); setAction(ITextEditorActionConstants.REVERT_TO_SAVED, null); /* * 1GF82PL: ITPJUI:ALL - Need to be able to add bookmark to classfile * ...
22,380
Bug 22380 "No Source" class file editor does not fetch keyboard focus
Build N20020813 Test Case: 1. From the package explorer open a class from a JAR without attached source 2. Activate the editor 3. Select something in another view (note: selection is blue) 4. Activate the class file editor by clicking on the tab ==> selection in other view remains blue but should be gray. Suggest to se...
resolved fixed
c6c96b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-20T12:52:48Z
2002-08-13T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java
try { IClassFileEditorInput input= (IClassFileEditorInput) getEditorInput(); return input.getClassFile().getElementAt(offset); } catch (JavaModelException x) { } } return null; } /* * @see JavaEditor#getCorrespondingElement(IJavaElement) */ protected IJavaElement getCorrespondingElement(IJava...
22,380
Bug 22380 "No Source" class file editor does not fetch keyboard focus
Build N20020813 Test Case: 1. From the package explorer open a class from a JAR without attached source 2. Activate the editor 3. Select something in another view (note: selection is blue) 4. Activate the class file editor by clicking on the tab ==> selection in other view remains blue but should be gray. Suggest to se...
resolved fixed
c6c96b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-20T12:52:48Z
2002-08-13T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java
*/ protected void setOutlinePageInput(JavaOutlinePage page, IEditorInput input) { if (page != null && input instanceof IClassFileEditorInput) { IClassFileEditorInput cfi= (IClassFileEditorInput) input; page.setInput(cfi.getClassFile()); } } /* * 1GEPKT5: ITPJUI:Linux - Source in editor for external cla...
22,380
Bug 22380 "No Source" class file editor does not fetch keyboard focus
Build N20020813 Test Case: 1. From the package explorer open a class from a JAR without attached source 2. Activate the editor 3. Select something in another view (note: selection is blue) 4. Activate the class file editor by clicking on the tab ==> selection in other view remains blue but should be gray. Suggest to se...
resolved fixed
c6c96b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-20T12:52:48Z
2002-08-13T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java
IFile file= ((IFileEditorInput) input).getFile(); IClassFileEditorInput classFileInput= new ExternalClassFileEditorInput(file); if (classFileInput.getClassFile() != null) input= classFileInput; } return input; } /* * @see AbstractTextEditor#doSetInput(IEditorInput) */ protected void doSetInput...
22,380
Bug 22380 "No Source" class file editor does not fetch keyboard focus
Build N20020813 Test Case: 1. From the package explorer open a class from a JAR without attached source 2. Activate the editor 3. Select something in another view (note: selection is blue) 4. Activate the class file editor by clicking on the tab ==> selection in other view remains blue but should be gray. Suggest to se...
resolved fixed
c6c96b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-20T12:52:48Z
2002-08-13T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java
documentProvider= getDocumentProvider(); if (documentProvider instanceof ClassFileDocumentProvider) ((ClassFileDocumentProvider) documentProvider).addInputChangeListener(this); verifyInput(getEditorInput()); } /* * @see IWorkbenchPart#createPartControl(Composite) */ public void createPartControl(Composite...
22,380
Bug 22380 "No Source" class file editor does not fetch keyboard focus
Build N20020813 Test Case: 1. From the package explorer open a class from a JAR without attached source 2. Activate the editor 3. Select something in another view (note: selection is blue) 4. Activate the class file editor by clicking on the tab ==> selection in other view remains blue but should be gray. Suggest to se...
resolved fixed
c6c96b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-20T12:52:48Z
2002-08-13T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java
IJavaElement element= file.getParent(); while (element != null && element.getElementType() != IJavaElement.PACKAGE_FRAGMENT_ROOT) element= element.getParent(); return (IPackageFragmentRoot) element; } private JavaModelException probeInputForSource(IEditorInput input) { if (input == null) return null; ...
22,380
Bug 22380 "No Source" class file editor does not fetch keyboard focus
Build N20020813 Test Case: 1. From the package explorer open a class from a JAR without attached source 2. Activate the editor 3. Select something in another view (note: selection is blue) 4. Activate the class file editor by clicking on the tab ==> selection in other view remains blue but should be gray. Suggest to se...
resolved fixed
c6c96b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-20T12:52:48Z
2002-08-13T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java
if (fSourceAttachmentForm != null) fSourceAttachmentForm.dispose(); SourceAttachmentForm form= new SourceAttachmentForm(file); fSourceAttachmentForm= form.createControl(fParent); fStackLayout.topControl= fSourceAttachmentForm; fParent.layout(); } else { if (fSourceAttachmentForm != null) { ...
22,380
Bug 22380 "No Source" class file editor does not fetch keyboard focus
Build N20020813 Test Case: 1. From the package explorer open a class from a JAR without attached source 2. Activate the editor 3. Select something in another view (note: selection is blue) 4. Activate the class file editor by clicking on the tab ==> selection in other view remains blue but should be gray. Suggest to se...
resolved fixed
c6c96b9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-20T12:52:48Z
2002-08-13T12:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java
}); } } } } /* * @see JavaEditor#createJavaSourceViewer(Composite, IVerticalRuler, int) */ protected ISourceViewer createJavaSourceViewer(Composite parent, IVerticalRuler ruler, int styles) { return new SourceViewer(parent, ruler, styles) { public boolean requestWidgetToken(IWidgetTokenKeep...
20,622
Bug 20622 resize bug in "Override Method" [code manipulation]
When there's lot of methods potentially overrideable and I enlarge the override method view, the inner subfields do not enlarge accordingly. I enclose a screenshot that will make clear what I mean.
resolved fixed
c9ca516
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-20T14:24:19Z
2002-06-19T07:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/CheckedTreeSelectionDialog.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.actions; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Status; import org.eclipse.swt.SWT; import org.eclipse.s...
20,622
Bug 20622 resize bug in "Override Method" [code manipulation]
When there's lot of methods potentially overrideable and I enlarge the override method view, the inner subfields do not enlarge accordingly. I enclose a screenshot that will make clear what I mean.
resolved fixed
c9ca516
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-20T14:24:19Z
2002-06-19T07:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/CheckedTreeSelectionDialog.java
import org.eclipse.swt.events.SelectionListener; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Button; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Control; import org.eclipse.swt.widgets.Label; import org.eclipse.swt.widgets...
20,622
Bug 20622 resize bug in "Override Method" [code manipulation]
When there's lot of methods potentially overrideable and I enlarge the override method view, the inner subfields do not enlarge accordingly. I enclose a screenshot that will make clear what I mean.
resolved fixed
c9ca516
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-20T14:24:19Z
2002-06-19T07:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/CheckedTreeSelectionDialog.java
private ILabelProvider fLabelProvider; private ITreeContentProvider fContentProvider; private ISelectionStatusValidator fValidator= null; private ViewerSorter fSorter; private String fEmptyListMessage= WorkbenchMessages.getString("CheckedTreeSelectionDialog.nothing_available"); private IStatus fCurrStatus= n...
20,622
Bug 20622 resize bug in "Override Method" [code manipulation]
When there's lot of methods potentially overrideable and I enlarge the override method view, the inner subfields do not enlarge accordingly. I enclose a screenshot that will make clear what I mean.
resolved fixed
c9ca516
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-20T14:24:19Z
2002-06-19T07:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/CheckedTreeSelectionDialog.java
setStatusLineAboveButtons(true); fContainerMode= false; fExpandedElements= null; int shellStyle= getShellStyle(); setShellStyle(shellStyle | SWT.MAX | SWT.RESIZE); } /** * If set, the checked /gray state of containers (inner nodes) is derived from the checked state of its * leaf nodes. * @p...
20,622
Bug 20622 resize bug in "Override Method" [code manipulation]
When there's lot of methods potentially overrideable and I enlarge the override method view, the inner subfields do not enlarge accordingly. I enclose a screenshot that will make clear what I mean.
resolved fixed
c9ca516
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-20T14:24:19Z
2002-06-19T07:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/CheckedTreeSelectionDialog.java
fEmptyListMessage= message; } /** * Sets the sorter used by the tree viewer. */ public void setSorter(ViewerSorter sorter) { fSorter= sorter; } /** * Adds a filter to the tree viewer. * @param filter a filter. */ public void addFilter(ViewerFilter filter) { if (fFilters == null) fFilters= ...
20,622
Bug 20622 resize bug in "Override Method" [code manipulation]
When there's lot of methods potentially overrideable and I enlarge the override method view, the inner subfields do not enlarge accordingly. I enclose a screenshot that will make clear what I mean.
resolved fixed
c9ca516
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-20T14:24:19Z
2002-06-19T07:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/CheckedTreeSelectionDialog.java
/** * Sets the tree input. * @param input the tree input. */ public void setInput(Object input) { fInput= input; } /** * Expands the tree */ public void setExpandedElements(Object[] elements) { fExpandedElements= elements; } /** * Sets the size of the tree in unit of characters. * @param widt...
20,622
Bug 20622 resize bug in "Override Method" [code manipulation]
When there's lot of methods potentially overrideable and I enlarge the override method view, the inner subfields do not enlarge accordingly. I enclose a screenshot that will make clear what I mean.
resolved fixed
c9ca516
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-20T14:24:19Z
2002-06-19T07:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/CheckedTreeSelectionDialog.java
} } else { fCurrStatus= new Status(IStatus.ERROR, PlatformUI.PLUGIN_ID, IStatus.OK, fEmptyListMessage, null); } updateStatus(fCurrStatus); } /* * @see Window#open() */ public int open() { fIsEmpty= evaluateIfTreeEmpty(fInput); BusyIndicator.showWhile(null, new Runnable() { public void run() {...
20,622
Bug 20622 resize bug in "Override Method" [code manipulation]
When there's lot of methods potentially overrideable and I enlarge the override method view, the inner subfields do not enlarge accordingly. I enclose a screenshot that will make clear what I mean.
resolved fixed
c9ca516
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-20T14:24:19Z
2002-06-19T07:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/CheckedTreeSelectionDialog.java
} /* * @see SelectionStatusDialog#computeResult() */ protected void computeResult() { setResult(Arrays.asList(fViewer.getCheckedElements())); } /* * @see Window#create() */ public void create() { super.create(); List initialSelections= getInitialSelections(); if (initialSelections != null)...
20,622
Bug 20622 resize bug in "Override Method" [code manipulation]
When there's lot of methods potentially overrideable and I enlarge the override method view, the inner subfields do not enlarge accordingly. I enclose a screenshot that will make clear what I mean.
resolved fixed
c9ca516
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-20T14:24:19Z
2002-06-19T07:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/CheckedTreeSelectionDialog.java
Label messageLabel= createMessageArea(composite); Control treeWidget= createTreeViewer(composite); Control buttonComposite= createSelectionButtons(composite); GridData data= new GridData(GridData.FILL_BOTH); data.widthHint= convertWidthInCharsToPixels(fWidth); data.heightHint= convertHeightInCharsToPixels(fHe...
20,622
Bug 20622 resize bug in "Override Method" [code manipulation]
When there's lot of methods potentially overrideable and I enlarge the override method view, the inner subfields do not enlarge accordingly. I enclose a screenshot that will make clear what I mean.
resolved fixed
c9ca516
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-20T14:24:19Z
2002-06-19T07:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/CheckedTreeSelectionDialog.java
}); fViewer.setSorter(fSorter); if (fFilters != null) { for (int i= 0; i != fFilters.size(); i++) fViewer.addFilter((ViewerFilter) fFilters.get(i)); } fViewer.setInput(fInput); return fViewer.getTree(); } /** * Add the selection and deselection buttons to the dialog. * @param compo...
20,622
Bug 20622 resize bug in "Override Method" [code manipulation]
When there's lot of methods potentially overrideable and I enlarge the override method view, the inner subfields do not enlarge accordingly. I enclose a screenshot that will make clear what I mean.
resolved fixed
c9ca516
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-20T14:24:19Z
2002-06-19T07:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/CheckedTreeSelectionDialog.java
} }; selectButton.addSelectionListener(listener); Button deselectButton= createButton(buttonComposite, IDialogConstants.DESELECT_ALL_ID, WorkbenchMessages.getString("CheckedTreeSelectionDialog.deselect_all"), false); listener= new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { fVie...
20,622
Bug 20622 resize bug in "Override Method" [code manipulation]
When there's lot of methods potentially overrideable and I enlarge the override method view, the inner subfields do not enlarge accordingly. I enclose a screenshot that will make clear what I mean.
resolved fixed
c9ca516
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-20T14:24:19Z
2002-06-19T07:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/OverrideMethodQuery.java
package org.eclipse.jdt.internal.ui.actions; import java.util.ArrayList; import java.util.HashSet; import org.eclipse.core.runtime.IStatus; import org.eclipse.swt.SWT; import org.eclipse.swt.events.SelectionEvent; import org.eclipse.swt.events.SelectionListener; import org.eclipse.swt.layout.GridData; import org.eclips...
20,622
Bug 20622 resize bug in "Override Method" [code manipulation]
When there's lot of methods potentially overrideable and I enlarge the override method view, the inner subfields do not enlarge accordingly. I enclose a screenshot that will make clear what I mean.
resolved fixed
c9ca516
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-20T14:24:19Z
2002-06-19T07:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/OverrideMethodQuery.java
private static class OverrideTreeSelectionDialog extends CheckedTreeSelectionDialog{ private OverrideMethodContentProvider fContentProvider; public OverrideTreeSelectionDialog(Shell parent, ILabelProvider labelProvider, OverrideMethodContentProvider contentProvider) { super(parent, labelProvider, contentProvider...
20,622
Bug 20622 resize bug in "Override Method" [code manipulation]
When there's lot of methods potentially overrideable and I enlarge the override method view, the inner subfields do not enlarge accordingly. I enclose a screenshot that will make clear what I mean.
resolved fixed
c9ca516
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-20T14:24:19Z
2002-06-19T07:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/OverrideMethodQuery.java
inner.setLayout(layout); Tree tree= super.createTreeViewer(inner); tree.setLayoutData(new GridData(GridData.FILL_BOTH)); Button flatListButton= new Button(inner, SWT.CHECK); flatListButton.setText(ActionMessages.getString("OverrideMethodQuery.groupMethodsByTypes")); flatListButton.setLayoutData(...
20,622
Bug 20622 resize bug in "Override Method" [code manipulation]
When there's lot of methods potentially overrideable and I enlarge the override method view, the inner subfields do not enlarge accordingly. I enclose a screenshot that will make clear what I mean.
resolved fixed
c9ca516
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-20T14:24:19Z
2002-06-19T07:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/OverrideMethodQuery.java
private final String SETTINGS_SECTION= "OverrideMethodDialog"; private final String SETTINGS_SHOWTYPES= "showtypes"; private Object[] fTypes; private IMethod[] fMethods; private final Object[] fEmpty= new Object[0]; private boolean fShowTypes; private Viewer fViewer; private IDialogSettings fSettings...
20,622
Bug 20622 resize bug in "Override Method" [code manipulation]
When there's lot of methods potentially overrideable and I enlarge the override method view, the inner subfields do not enlarge accordingly. I enclose a screenshot that will make clear what I mean.
resolved fixed
c9ca516
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-20T14:24:19Z
2002-06-19T07:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/OverrideMethodQuery.java
if (parentElement instanceof IType) { ArrayList result= new ArrayList(fMethods.length); for (int i= 0; i < fMethods.length; i++) { if (fMethods[i].getDeclaringType().equals(parentElement)) { result.add(fMethods[i]); } } return result.toArray(); } return fEmpty; } /* * @see I...
20,622
Bug 20622 resize bug in "Override Method" [code manipulation]
When there's lot of methods potentially overrideable and I enlarge the override method view, the inner subfields do not enlarge accordingly. I enclose a screenshot that will make clear what I mean.
resolved fixed
c9ca516
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-20T14:24:19Z
2002-06-19T07:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/OverrideMethodQuery.java
return fShowTypes ? fTypes : fMethods; } /* * @see IContentProvider#dispose() */ public void dispose() { } /* * @see IContentProvider#inputChanged(Viewer, Object, Object) */ public void inputChanged(Viewer viewer, Object oldInput, Object newInput) { fViewer= viewer; } public boolean...
20,622
Bug 20622 resize bug in "Override Method" [code manipulation]
When there's lot of methods potentially overrideable and I enlarge the override method view, the inner subfields do not enlarge accordingly. I enclose a screenshot that will make clear what I mean.
resolved fixed
c9ca516
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-20T14:24:19Z
2002-06-19T07:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/OverrideMethodQuery.java
private IType[] fAllTypes; public OverrideMethodSorter(ITypeHierarchy typeHierarchy) { IType curr= typeHierarchy.getType(); IType[] superTypes= typeHierarchy.getAllSupertypes(curr); fAllTypes= new IType[superTypes.length + 1]; fAllTypes[0]= curr; System.arraycopy(superTypes, 0, fAllTypes, 1, superTypes...
20,622
Bug 20622 resize bug in "Override Method" [code manipulation]
When there's lot of methods potentially overrideable and I enlarge the override method view, the inner subfields do not enlarge accordingly. I enclose a screenshot that will make clear what I mean.
resolved fixed
c9ca516
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-20T14:24:19Z
2002-06-19T07:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/OverrideMethodQuery.java
} } return 0; } else { return super.compare(viewer, e1, e2); } } } private class OverrideMethodValidator implements ISelectionStatusValidator { /* * @see ISelectionValidator#validate(Object[]) */ public IStatus validate(Object[] selection) { int count= 0; for (int i= 0; i <...
20,622
Bug 20622 resize bug in "Override Method" [code manipulation]
When there's lot of methods potentially overrideable and I enlarge the override method view, the inner subfields do not enlarge accordingly. I enclose a screenshot that will make clear what I mean.
resolved fixed
c9ca516
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-20T14:24:19Z
2002-06-19T07:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/OverrideMethodQuery.java
return new StatusInfo(IStatus.INFO, message); } } private boolean fEmptySelectionAllowed; private Shell fShell; public OverrideMethodQuery(Shell shell, boolean emptySelectionAllowed) { fShell= shell; fEmptySelectionAllowed= emptySelectionAllowed; } /* * @see IOverrideMethodQuery#select(IMethod[], IMet...
20,622
Bug 20622 resize bug in "Override Method" [code manipulation]
When there's lot of methods potentially overrideable and I enlarge the override method view, the inner subfields do not enlarge accordingly. I enclose a screenshot that will make clear what I mean.
resolved fixed
c9ca516
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-20T14:24:19Z
2002-06-19T07:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/OverrideMethodQuery.java
ILabelProvider lprovider= new JavaElementLabelProvider(JavaElementLabelProvider.SHOW_DEFAULT); OverrideMethodContentProvider contentProvider= new OverrideMethodContentProvider(methods, typesArrays); OverrideTreeSelectionDialog dialog= new OverrideTreeSelectionDialog(fShell, lprovider, contentProvider); dialog....
19,067
Bug 19067 Useless error message
F2 - create project Test with source folder src - create folder data - create Test.java in data - paste content class Test { public Object field; } class B extends Test { public Object field2; } - select field2 - select Refactor->Pullup... You get an error message saying: Pull up is not allowed on elements declared in ...
resolved fixed
18b4ef5
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-21T12:50:47Z
2002-06-04T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/PullUpAction.java
package org.eclipse.jdt.ui.actions; import java.util.Arrays; import java.util.HashSet; import java.util.Iterator; import java.util.Set; import org.eclipse.jface.dialogs.MessageDialog; import org.eclipse.jface.text.ITextSelection; import org.eclipse.jface.viewers.IStructuredSelection; import org.eclipse.jface.viewers.St...
19,067
Bug 19067 Useless error message
F2 - create project Test with source folder src - create folder data - create Test.java in data - paste content class Test { public Object field; } class B extends Test { public Object field2; } - select field2 - select Refactor->Pullup... You get an error message saying: Pull up is not allowed on elements declared in ...
resolved fixed
18b4ef5
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-21T12:50:47Z
2002-06-04T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/PullUpAction.java
import org.eclipse.jdt.core.IJavaElement; import org.eclipse.jdt.core.IMember; import org.eclipse.jdt.core.JavaModelException; import org.eclipse.jdt.internal.corext.Assert; import org.eclipse.jdt.internal.corext.refactoring.structure.PullUpRefactoring; import org.eclipse.jdt.internal.corext.util.JavaModelUtil; import ...
19,067
Bug 19067 Useless error message
F2 - create project Test with source folder src - create folder data - create Test.java in data - paste content class Test { public Object field; } class B extends Test { public Object field2; } - select field2 - select Refactor->Pullup... You get an error message saying: Pull up is not allowed on elements declared in ...
resolved fixed
18b4ef5
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-21T12:50:47Z
2002-06-04T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/PullUpAction.java
private PullUpRefactoring fRefactoring; private CompilationUnitEditor fEditor; /** * Creates a new <code>PullUpAction</code>. The action requires that the selection * provided by the site's selection provider is of type <code> * org.eclipse.jface.viewers.IStructuredSelection</code>. * * @param site the ...
19,067
Bug 19067 Useless error message
F2 - create project Test with source folder src - create folder data - create Test.java in data - paste content class Test { public Object field; } class B extends Test { public Object field2; } - select field2 - select Refactor->Pullup... You get an error message saying: Pull up is not allowed on elements declared in ...
resolved fixed
18b4ef5
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-21T12:50:47Z
2002-06-04T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/PullUpAction.java
*/ protected void selectionChanged(IStructuredSelection selection) { setEnabled(canEnable(selection)); } /* * @see org.eclipse.jdt.ui.actions.SelectionDispatchAction#selectionChanged(ITextSelection) */ protected void selectionChanged(ITextSelection selection) { } /* * @see SelectionDispatchAction#run(IS...
19,067
Bug 19067 Useless error message
F2 - create project Test with source folder src - create folder data - create Test.java in data - paste content class Test { public Object field; } class B extends Test { public Object field2; } - select field2 - select Refactor->Pullup... You get an error message saying: Pull up is not allowed on elements declared in ...
resolved fixed
18b4ef5
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-21T12:50:47Z
2002-06-04T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/PullUpAction.java
if (selection.isEmpty()) return false; for (Iterator iter= selection.iterator(); iter.hasNext(); ) { if (! (iter.next() instanceof IMember)) return false; } return shouldAcceptElements(selection.toArray()); } private boolean canRun(ITextSelection selection){ IJavaElement[] elements= resolveEl...
19,067
Bug 19067 Useless error message
F2 - create project Test with source folder src - create folder data - create Test.java in data - paste content class Test { public Object field; } class B extends Test { public Object field2; } - select field2 - select Refactor->Pullup... You get an error message saying: Pull up is not allowed on elements declared in ...
resolved fixed
18b4ef5
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-21T12:50:47Z
2002-06-04T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/PullUpAction.java
return false; } } private IJavaElement[] resolveElements() { return SelectionConverter.codeResolveHandled(fEditor, getShell(), RefactoringMessages.getString("OpenRefactoringWizardAction.refactoring")); } private RefactoringWizard createWizard(){ String title= RefactoringMessages.getString("RefactoringG...
12,261
Bug 12261 Eclipse dies after SWT error
build 20020321 Adding a method to a java file I get an SWT error and a dialog pops up asking if I want to exit Eclipse because of an Internal error. The log file is attached. I could not isolate the problem but I do have a workspace that reproduces it. If you need the workspace and the steps to reproduce, just let me k...
resolved fixed
6189678
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-22T14:33:30Z
2002-03-26T02:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/link/LinkedPositionUI.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.text.link; import java.lang.reflect.InvocationTargetException; import org.eclipse.core.runtime.CoreException; import org.eclipse.swt.SWT; import org.eclipse.swt.custom.StyledText; import org.eclipse.swt.custom.Veri...
12,261
Bug 12261 Eclipse dies after SWT error
build 20020321 Adding a method to a java file I get an SWT error and a dialog pops up asking if I want to exit Eclipse because of an Internal error. The log file is attached. I could not isolate the problem but I do have a workspace that reproduces it. If you need the workspace and the steps to reproduce, just let me k...
resolved fixed
6189678
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-22T14:33:30Z
2002-03-26T02:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/link/LinkedPositionUI.java
import org.eclipse.swt.graphics.Color; import org.eclipse.swt.graphics.GC; import org.eclipse.swt.graphics.Point; import org.eclipse.swt.graphics.RGB; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; import org.eclipse.jface.dialogs.MessageDialog; import org.eclipse.jface.preference.IPrefer...
12,261
Bug 12261 Eclipse dies after SWT error
build 20020321 Adding a method to a java file I get an SWT error and a dialog pops up asking if I want to exit Eclipse because of an Internal error. The log file is attached. I could not isolate the problem but I do have a workspace that reproduces it. If you need the workspace and the steps to reproduce, just let me k...
resolved fixed
6189678
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-22T14:33:30Z
2002-03-26T02:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/link/LinkedPositionUI.java
ITextInputListener, ModifyListener, VerifyListener, VerifyKeyListener, PaintListener, IPropertyChangeListener { /** * A listener for notification when the user cancelled the edit operation. */ public interface ExitListener { void exit(boolean accept); } private static final int UNINSTALL= 1; private s...
12,261
Bug 12261 Eclipse dies after SWT error
build 20020321 Adding a method to a java file I get an SWT error and a dialog pops up asking if I want to exit Eclipse because of an Internal error. The log file is attached. I could not isolate the problem but I do have a workspace that reproduces it. If you need the workspace and the steps to reproduce, just let me k...
resolved fixed
6189678
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-22T14:33:30Z
2002-03-26T02:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/link/LinkedPositionUI.java
private ExitListener fExitListener; /** * Creates a user interface for <code>LinkedPositionManager</code>. * * @param viewer the text viewer. * @param manager the <code>LinkedPositionManager</code> managing a <code>IDocument</code> of the <code>ITextViewer</code>. */ public LinkedPositionUI(ITextViewer ...
12,261
Bug 12261 Eclipse dies after SWT error
build 20020321 Adding a method to a java file I get an SWT error and a dialog pops up asking if I want to exit Eclipse because of an Internal error. The log file is attached. I could not isolate the problem but I do have a workspace that reproduces it. If you need the workspace and the steps to reproduce, just let me k...
resolved fixed
6189678
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-22T14:33:30Z
2002-03-26T02:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/link/LinkedPositionUI.java
fFrameColor.dispose(); StyledText text= viewer.getTextWidget(); if (text != null) { Display display= text.getDisplay(); fFrameColor= createColor(fgStore, CompilationUnitEditor.LINKED_POSITION_COLOR, display); } } /** * Creates a color from the information stored in the given preference store. * Return...
12,261
Bug 12261 Eclipse dies after SWT error
build 20020321 Adding a method to a java file I get an SWT error and a dialog pops up asking if I want to exit Eclipse because of an Internal error. The log file is attached. I could not isolate the problem but I do have a workspace that reproduces it. If you need the workspace and the steps to reproduce, just let me k...
resolved fixed
6189678
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-22T14:33:30Z
2002-03-26T02:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/link/LinkedPositionUI.java
* Sets the final position of the caret when the linked mode is exited * successfully by leaving the last linked position using TAB. */ public void setFinalCaretOffset(int offset) { fFinalCaretOffset= offset; } /** * Sets a <code>CancelListener</code> which is notified if the linked mode * is exited unsucc...
12,261
Bug 12261 Eclipse dies after SWT error
build 20020321 Adding a method to a java file I get an SWT error and a dialog pops up asking if I want to exit Eclipse because of an Internal error. The log file is attached. I could not isolate the problem but I do have a workspace that reproduces it. If you need the workspace and the steps to reproduce, just let me k...
resolved fixed
6189678
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-22T14:33:30Z
2002-03-26T02:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/link/LinkedPositionUI.java
IDocument document= fViewer.getDocument(); document.addPositionCategory(CARET_POSITION); document.addPositionUpdater(fgUpdater); try { if (fFinalCaretOffset != -1) document.addPosition(CARET_POSITION, new Position(fFinalCaretOffset)); } catch (BadLocationException e) { handleException(fViewer.getTextW...
12,261
Bug 12261 Eclipse dies after SWT error
build 20020321 Adding a method to a java file I get an SWT error and a dialog pops up asking if I want to exit Eclipse because of an Internal error. The log file is attached. I could not isolate the problem but I do have a workspace that reproduces it. If you need the workspace and the steps to reproduce, just let me k...
resolved fixed
6189678
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-22T14:33:30Z
2002-03-26T02:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/link/LinkedPositionUI.java
public void exit(boolean success) { leave((success ? COMMIT : 0) | UPDATE_CARET); } /** * Returns the cursor selection, after having entered the linked mode. * <code>enter()</code> must be called prior to a call to this method. */ public IRegion getSelectedRegion() { if (fFramePosition == null) retur...
12,261
Bug 12261 Eclipse dies after SWT error
build 20020321 Adding a method to a java file I get an SWT error and a dialog pops up asking if I want to exit Eclipse because of an Internal error. The log file is attached. I could not isolate the problem but I do have a workspace that reproduces it. If you need the workspace and the steps to reproduce, just let me k...
resolved fixed
6189678
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-22T14:33:30Z
2002-03-26T02:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/link/LinkedPositionUI.java
extension.removeVerifyKeyListener(this); fViewer.removeTextInputListener(this); try { IRegion region= fViewer.getVisibleRegion(); IDocument document= fViewer.getDocument(); if (((flags & COMMIT) != 0) && ((flags & DOCUMENT_CHANGED) == 0) && ((flags & UPDATE_CARET) != 0)) { Position[] posi...
12,261
Bug 12261 Eclipse dies after SWT error
build 20020321 Adding a method to a java file I get an SWT error and a dialog pops up asking if I want to exit Eclipse because of an Internal error. The log file is attached. I could not isolate the problem but I do have a workspace that reproduces it. If you need the workspace and the steps to reproduce, just let me k...
resolved fixed
6189678
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-22T14:33:30Z
2002-03-26T02:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/link/LinkedPositionUI.java
} private void next() { redrawRegion(); fFramePosition= fManager.getNextPosition(fFramePosition.getOffset()); if (fFramePosition == null) { leave(UNINSTALL | COMMIT | UPDATE_CARET); } else { selectRegion(); redrawRegion(); } } private void previous() { redrawRegion(); Position position...
12,261
Bug 12261 Eclipse dies after SWT error
build 20020321 Adding a method to a java file I get an SWT error and a dialog pops up asking if I want to exit Eclipse because of an Internal error. The log file is attached. I could not isolate the problem but I do have a workspace that reproduces it. If you need the workspace and the steps to reproduce, just let me k...
resolved fixed
6189678
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-22T14:33:30Z
2002-03-26T02:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/link/LinkedPositionUI.java
case 0x09: { Point selection= fViewer.getTextWidget().getSelection(); IRegion region= fViewer.getVisibleRegion(); int offset= selection.x + region.getOffset(); int length= selection.y - selection.x; if (!LinkedPositionManager.includes(fFramePosition, offset, length)) { leave(UNINST...
12,261
Bug 12261 Eclipse dies after SWT error
build 20020321 Adding a method to a java file I get an SWT error and a dialog pops up asking if I want to exit Eclipse because of an Internal error. The log file is attached. I could not isolate the problem but I do have a workspace that reproduces it. If you need the workspace and the steps to reproduce, just let me k...
resolved fixed
6189678
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-22T14:33:30Z
2002-03-26T02:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/link/LinkedPositionUI.java
event.doit= false; break; } } /* * @see VerifyListener#verifyText(VerifyEvent) */ public void verifyText(VerifyEvent event) { if (!event.doit) return; IRegion region= fViewer.getVisibleRegion(); int offset= event.start + region.getOffset(); int length= event.end - event.start; if (!fManager....
12,261
Bug 12261 Eclipse dies after SWT error
build 20020321 Adding a method to a java file I get an SWT error and a dialog pops up asking if I want to exit Eclipse because of an Internal error. The log file is attached. I could not isolate the problem but I do have a workspace that reproduces it. If you need the workspace and the steps to reproduce, just let me k...
resolved fixed
6189678
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-22T14:33:30Z
2002-03-26T02:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/link/LinkedPositionUI.java
int offset= fFramePosition.getOffset() - region.getOffset(); int length= fFramePosition.getLength(); StyledText text= fViewer.getTextWidget(); Point minLocation= getMinimumLocation(text, offset, length); Point maxLocation= getMaximumLocation(text, offset, length); int x1= minLocation.x; int x2= m...
12,261
Bug 12261 Eclipse dies after SWT error
build 20020321 Adding a method to a java file I get an SWT error and a dialog pops up asking if I want to exit Eclipse because of an Internal error. The log file is attached. I could not isolate the problem but I do have a workspace that reproduces it. If you need the workspace and the steps to reproduce, just let me k...
resolved fixed
6189678
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-22T14:33:30Z
2002-03-26T02:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/link/LinkedPositionUI.java
private static Point getMaximumLocation(StyledText text, int offset, int length) { Point maxLocation= new Point(Integer.MIN_VALUE, Integer.MIN_VALUE); for (int i= 0; i <= length; i++) { Point location= text.getLocationAtOffset(offset + i); if (location.x > maxLocation.x) maxLocation.x= location.x; ...
12,261
Bug 12261 Eclipse dies after SWT error
build 20020321 Adding a method to a java file I get an SWT error and a dialog pops up asking if I want to exit Eclipse because of an Internal error. The log file is attached. I could not isolate the problem but I do have a workspace that reproduces it. If you need the workspace and the steps to reproduce, just let me k...
resolved fixed
6189678
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-22T14:33:30Z
2002-03-26T02:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/link/LinkedPositionUI.java
return; } int start= fFramePosition.getOffset() - region.getOffset(); int end= fFramePosition.getLength() + start; StyledText text= fViewer.getTextWidget(); if (text != null && !text.isDisposed()) text.setSelection(start, end); } private void updateCaret() { IRegion region= fViewer.getVisibleRegion...
12,261
Bug 12261 Eclipse dies after SWT error
build 20020321 Adding a method to a java file I get an SWT error and a dialog pops up asking if I want to exit Eclipse because of an Internal error. The log file is attached. I could not isolate the problem but I do have a workspace that reproduces it. If you need the workspace and the steps to reproduce, just let me k...
resolved fixed
6189678
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-22T14:33:30Z
2002-03-26T02:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/link/LinkedPositionUI.java
private static void handleException(Shell shell, Exception e) { String title= LinkedPositionMessages.getString("LinkedPositionUI.error.title"); if (e instanceof CoreException) ExceptionHandler.handle((CoreException)e, shell, title, null); else if (e instanceof InvocationTargetException) ExceptionHandler.ha...
22,329
Bug 22329 Incorrect icon shown for jar entries [package explorer] [browsing]
The icon displayed for jar file entries is not always correct. I am supplying the following to demonstrate the problem: 1. test.plugin.zip - This is a plugin that defines several default text editors with unique icons for particular file names. Extract it into the eclipse/plugins directory. 2. IconJarTest.zip - This is...
resolved fixed
52e543c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-23T15:11:05Z
2002-08-09T21:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/StorageLabelProvider.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.viewsupport; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import org.eclipse.core.resources.IStorage; import org.eclipse.swt.graphics.Image; import org.eclipse.jface.resource.ImageDesc...
22,329
Bug 22329 Incorrect icon shown for jar entries [package explorer] [browsing]
The icon displayed for jar file entries is not always correct. I am supplying the following to demonstrate the problem: 1. test.plugin.zip - This is a plugin that defines several default text editors with unique icons for particular file names. Extract it into the eclipse/plugins directory. 2. IconJarTest.zip - This is...
resolved fixed
52e543c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-23T15:11:05Z
2002-08-09T21:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/StorageLabelProvider.java
private Map fJarImageMap= new HashMap(10); /* (non-Javadoc) * @see ILabelProvider#getImage */ public Image getImage(Object element) { if (element instanceof IStorage) return getImageForJarEntry((IStorage)element); return super.getImage(element); } /* (non-Javadoc) * @see ILabelProvider#getText */ p...
22,329
Bug 22329 Incorrect icon shown for jar entries [package explorer] [browsing]
The icon displayed for jar file entries is not always correct. I am supplying the following to demonstrate the problem: 1. test.plugin.zip - This is a plugin that defines several default text editors with unique icons for particular file names. Extract it into the eclipse/plugins directory. 2. IconJarTest.zip - This is...
resolved fixed
52e543c
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-23T15:11:05Z
2002-08-09T21:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/StorageLabelProvider.java
if (fJarImageMap != null) { Iterator each= fJarImageMap.values().iterator(); while (each.hasNext()) { Image image= (Image)each.next(); image.dispose(); } fJarImageMap= null; } } /* * Gets and caches an image for a JarEntryFile. * The image for a JarEntryFile is retrieved from the EditorReg...
12,802
Bug 12802 modify parameters: should be enabled if a parameter is selected in the editor [refactoring]
currently, you have to select a method
resolved fixed
56cdb5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-26T13:38:20Z
2002-04-04T17:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ModifyParametersAction.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...
12,802
Bug 12802 modify parameters: should be enabled if a parameter is selected in the editor [refactoring]
currently, you have to select a method
resolved fixed
56cdb5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-26T13:38:20Z
2002-04-04T17:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ModifyParametersAction.java
import org.eclipse.jdt.core.IMethod; import org.eclipse.jdt.core.JavaModelException; import org.eclipse.jdt.internal.corext.refactoring.Assert; import org.eclipse.jdt.internal.corext.refactoring.structure.ModifyParametersRefactoring; import org.eclipse.jdt.internal.corext.util.JavaModelUtil; import org.eclipse.jdt.inte...
12,802
Bug 12802 modify parameters: should be enabled if a parameter is selected in the editor [refactoring]
currently, you have to select a method
resolved fixed
56cdb5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-26T13:38:20Z
2002-04-04T17:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ModifyParametersAction.java
private ModifyParametersRefactoring fRefactoring; private CompilationUnitEditor fEditor; /** * Note: This constructor is for internal use only. Clients should not call this constructor. */ public ModifyParametersAction(CompilationUnitEditor editor) { this(editor.getEditorSite()); fEditor= editor; setEnab...
12,802
Bug 12802 modify parameters: should be enabled if a parameter is selected in the editor [refactoring]
currently, you have to select a method
resolved fixed
56cdb5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-26T13:38:20Z
2002-04-04T17:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ModifyParametersAction.java
} /* * @see SelectionDispatchAction#selectionChanged(IStructuredSelection) */ protected void selectionChanged(IStructuredSelection selection) { setEnabled(canEnable(selection)); } /* * @see SelectionDispatchAction#selectionChanged(ITextSelection) */ protected void selectionChanged(ITextSelecti...
12,802
Bug 12802 modify parameters: should be enabled if a parameter is selected in the editor [refactoring]
currently, you have to select a method
resolved fixed
56cdb5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-26T13:38:20Z
2002-04-04T17:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ModifyParametersAction.java
startRefactoring(); } private boolean canEnable(IStructuredSelection selection){ if (selection.isEmpty() || selection.size() != 1) return false; Object first= selection.getFirstElement(); return (first instanceof IMethod) && shouldAcceptElement((IMethod)first); } private boolean canRun(ITextSele...
12,802
Bug 12802 modify parameters: should be enabled if a parameter is selected in the editor [refactoring]
currently, you have to select a method
resolved fixed
56cdb5a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-08-26T13:38:20Z
2002-04-04T17:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ModifyParametersAction.java
return SelectionConverter.codeResolveHandled(fEditor, getShell(), RefactoringMessages.getString("OpenRefactoringWizardAction.refactoring")); } private RefactoringWizard createWizard(){ String title= RefactoringMessages.getString("RefactoringGroup.modify_method_parameters"); String helpId= IJavaHelpContextIds....
17,402
Bug 17402 Search should use the package compression... [search]
Enable package compression in the Java preferences and change the Search sort order to be 'Parent Name'... it would be nice if the package names were compressed using the same compression as the packages view.
resolved fixed
65c76fe
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-02T10:55:06Z
2002-05-23T16:06:40Z
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...
17,402
Bug 17402 Search should use the package compression... [search]
Enable package compression in the Java preferences and change the Search sort order to be 'Parent Name'... it would be nice if the package names were compressed using the same compression as the packages view.
resolved fixed
65c76fe
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-02T10:55:06Z
2002-05-23T16:06:40Z
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...
17,402
Bug 17402 Search should use the package compression... [search]
Enable package compression in the Java preferences and change the Search sort order to be 'Parent Name'... it would be nice if the package names were compressed using the same compression as the packages view.
resolved fixed
65c76fe
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-02T10:55:06Z
2002-05-23T16:06:40Z
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...
17,402
Bug 17402 Search should use the package compression... [search]
Enable package compression in the Java preferences and change the Search sort order to be 'Parent Name'... it would be nice if the package names were compressed using the same compression as the packages view.
resolved fixed
65c76fe
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-02T10:55:06Z
2002-05-23T16:06:40Z
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; if (orderFlag == SHOW_ELEMENT_CONTAINER) flags |= JavaElementLabels.F_POST_QUALIFIED | JavaElementLabels.M_POST_QUALIFIED | JavaElementLabels.I_POST_QUALIFIED | JavaElem...
17,402
Bug 17402 Search should use the package compression... [search]
Enable package compression in the Java preferences and change the Search sort order to be 'Parent Name'... it would be nice if the package names were compressed using the same compression as the packages view.
resolved fixed
65c76fe
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-02T10:55:06Z
2002-05-23T16:06:40Z
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,079
Bug 23079 JavaElementLabels does not honor P_COMPRESSED for types and members
Build 20020903 The label provider has an option to compress the package name (P_COMPRESSED). This option is not applied to types and members. Test Case: 1. Enable package fragment name compression 2. Search for declarations of a type or method which is not in the default package ==> the Search view should honor the pac...
resolved fixed
f655a9a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-02T14:40:38Z
2002-09-02T09:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java
package org.eclipse.jdt.internal.ui.viewsupport; import org.eclipse.core.runtime.IAdaptable; import org.eclipse.ui.model.IWorkbenchAdapter; import org.eclipse.jdt.core.IClassFile; import org.eclipse.jdt.core.IClasspathEntry; import org.eclipse.jdt.core.ICompilationUnit; import org.eclipse.jdt.core.IField; import org.ec...
23,079
Bug 23079 JavaElementLabels does not honor P_COMPRESSED for types and members
Build 20020903 The label provider has an option to compress the package name (P_COMPRESSED). This option is not applied to types and members. Test Case: 1. Enable package fragment name compression 2. Search for declarations of a type or method which is not in the default package ==> the Search view should honor the pac...
resolved fixed
f655a9a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-02T14:40:38Z
2002-09-02T09:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java
/** * Method names contain parameter types. * e.g. <code>foo(int)</code> */ public final static int M_PARAMETER_TYPES= 1 << 0; /** * Method names contain parameter names. * e.g. <code>foo(index)</code> */ public final static int M_PARAMETER_NAMES= 1 << 1; /** * Method names contain thrown excepti...
23,079
Bug 23079 JavaElementLabels does not honor P_COMPRESSED for types and members
Build 20020903 The label provider has an option to compress the package name (P_COMPRESSED). This option is not applied to types and members. Test Case: 1. Enable package fragment name compression 2. Search for declarations of a type or method which is not in the default package ==> the Search view should honor the pac...
resolved fixed
f655a9a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-02T14:40:38Z
2002-09-02T09:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java
/** * Method names contain return type (appended) * e.g. <code>int foo</code> */ public final static int M_PRE_RETURNTYPE= 1 << 4; /** * Method names are fully qualified. * e.g. <code>java.util.Vector.size</code> */ public final static int M_FULLY_QUALIFIED= 1 << 5; /** * Method names are post qual...
23,079
Bug 23079 JavaElementLabels does not honor P_COMPRESSED for types and members
Build 20020903 The label provider has an option to compress the package name (P_COMPRESSED). This option is not applied to types and members. Test Case: 1. Enable package fragment name compression 2. Search for declarations of a type or method which is not in the default package ==> the Search view should honor the pac...
resolved fixed
f655a9a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-02T14:40:38Z
2002-09-02T09:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java
* Field names contain the declared type (appended) * e.g. <code>int fHello</code> */ public final static int F_APP_TYPE_SIGNATURE= 1 << 9; /** * Field names contain the declared type (prepended) * e.g. <code>fHello : int</code> */ public final static int F_PRE_TYPE_SIGNATURE= 1 << 10; /** * Fields na...
23,079
Bug 23079 JavaElementLabels does not honor P_COMPRESSED for types and members
Build 20020903 The label provider has an option to compress the package name (P_COMPRESSED). This option is not applied to types and members. Test Case: 1. Enable package fragment name compression 2. Search for declarations of a type or method which is not in the default package ==> the Search view should honor the pac...
resolved fixed
f655a9a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-02T14:40:38Z
2002-09-02T09:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java
* e.g. <code>Map.MapEntry</code> */ public final static int T_CONTAINER_QUALIFIED= 1 << 14; /** * Type names are post qualified. * e.g. <code>MapEntry - java.util.Map</code> */ public final static int T_POST_QUALIFIED= 1 << 15; /** * Declarations (import container / declarartion, package declarartion)...
23,079
Bug 23079 JavaElementLabels does not honor P_COMPRESSED for types and members
Build 20020903 The label provider has an option to compress the package name (P_COMPRESSED). This option is not applied to types and members. Test Case: 1. Enable package fragment name compression 2. Search for declarations of a type or method which is not in the default package ==> the Search view should honor the pac...
resolved fixed
f655a9a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-02T14:40:38Z
2002-09-02T09:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java
*/ public final static int CF_POST_QUALIFIED= 1 << 19; /** * Compilation unit names are fully qualified. * e.g. <code>java.util.Vector.java</code> */ public final static int CU_QUALIFIED= 1 << 20; /** * Compilation unit names are post qualified. * e.g. <code>Vector.java - java.util</code> */ pu...
23,079
Bug 23079 JavaElementLabels does not honor P_COMPRESSED for types and members
Build 20020903 The label provider has an option to compress the package name (P_COMPRESSED). This option is not applied to types and members. Test Case: 1. Enable package fragment name compression 2. Search for declarations of a type or method which is not in the default package ==> the Search view should honor the pac...
resolved fixed
f655a9a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-02T14:40:38Z
2002-09-02T09:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java
/** * Package Fragment Roots contain the project name if not an archive (prepended). * e.g. <code>MyProject/src</code> */ public final static int ROOT_QUALIFIED= 1 << 25; /** * Package Fragment Roots contain the project name if not an archive (appended). * e.g. <code>src - MyProject</code> */ public fi...
23,079
Bug 23079 JavaElementLabels does not honor P_COMPRESSED for types and members
Build 20020903 The label provider has an option to compress the package name (P_COMPRESSED). This option is not applied to types and members. Test Case: 1. Enable package fragment name compression 2. Search for declarations of a type or method which is not in the default package ==> the Search view should honor the pac...
resolved fixed
f655a9a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-02T14:40:38Z
2002-09-02T09:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java
/** * Qualify all elements */ public final static int ALL_FULLY_QUALIFIED= F_FULLY_QUALIFIED | M_FULLY_QUALIFIED | I_FULLY_QUALIFIED | T_FULLY_QUALIFIED | D_QUALIFIED | CF_QUALIFIED | CU_QUALIFIED | P_QUALIFIED | ROOT_QUALIFIED; /** * Post qualify all elements */ public final static int ALL_POST_QUALIFIED= F...
23,079
Bug 23079 JavaElementLabels does not honor P_COMPRESSED for types and members
Build 20020903 The label provider has an option to compress the package name (P_COMPRESSED). This option is not applied to types and members. Test Case: 1. Enable package fragment name compression 2. Search for declarations of a type or method which is not in the default package ==> the Search view should honor the pac...
resolved fixed
f655a9a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-02T14:40:38Z
2002-09-02T09:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java
private static int fgPkgNameChars; private static int fgPkgNameLength; private JavaElementLabels() { } private static boolean getFlag(int flags, int flag) { return (flags & flag) != 0; } public static String getTextLabel(Object obj, int flags) { if (obj instanceof IJavaElement) { return getElementLabel((...
23,079
Bug 23079 JavaElementLabels does not honor P_COMPRESSED for types and members
Build 20020903 The label provider has an option to compress the package name (P_COMPRESSED). This option is not applied to types and members. Test Case: 1. Enable package fragment name compression 2. Search for declarations of a type or method which is not in the default package ==> the Search view should honor the pac...
resolved fixed
f655a9a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-02T14:40:38Z
2002-09-02T09:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java
*/ public static void getElementLabel(IJavaElement element, int flags, StringBuffer buf) { int type= element.getElementType(); IPackageFragmentRoot root= null; if (type != IJavaElement.JAVA_MODEL && type != IJavaElement.JAVA_PROJECT && type != IJavaElement.PACKAGE_FRAGMENT_ROOT) root= JavaModelUtil.getPack...
23,079
Bug 23079 JavaElementLabels does not honor P_COMPRESSED for types and members
Build 20020903 The label provider has an option to compress the package name (P_COMPRESSED). This option is not applied to types and members. Test Case: 1. Enable package fragment name compression 2. Search for declarations of a type or method which is not in the default package ==> the Search view should honor the pac...
resolved fixed
f655a9a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-02T14:40:38Z
2002-09-02T09:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java
break; case IJavaElement.PACKAGE_FRAGMENT: getPackageFragmentLabel((IPackageFragment) element, flags, buf); break; case IJavaElement.PACKAGE_FRAGMENT_ROOT: getPackageFragmentRootLabel((IPackageFragmentRoot) element, flags, buf); break; case IJavaElement.IMPORT_CONTAINER: case IJavaElement...
23,079
Bug 23079 JavaElementLabels does not honor P_COMPRESSED for types and members
Build 20020903 The label provider has an option to compress the package name (P_COMPRESSED). This option is not applied to types and members. Test Case: 1. Enable package fragment name compression 2. Search for declarations of a type or method which is not in the default package ==> the Search view should honor the pac...
resolved fixed
f655a9a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-02T14:40:38Z
2002-09-02T09:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java
if (getFlag(flags, M_PRE_RETURNTYPE) && method.exists() && !method.isConstructor()) { buf.append(Signature.getSimpleName(Signature.toString(method.getReturnType()))); buf.append(' '); } if (getFlag(flags, M_FULLY_QUALIFIED)) { getTypeLabel(method.getDeclaringType(), T_FULLY_QUALIFIED, buf); ...
23,079
Bug 23079 JavaElementLabels does not honor P_COMPRESSED for types and members
Build 20020903 The label provider has an option to compress the package name (P_COMPRESSED). This option is not applied to types and members. Test Case: 1. Enable package fragment name compression 2. Search for declarations of a type or method which is not in the default package ==> the Search view should honor the pac...
resolved fixed
f655a9a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-02T14:40:38Z
2002-09-02T09:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java
if (types != null) { buf.append(' '); } buf.append(names[i]); } } buf.append(')'); } if (getFlag(flags, M_EXCEPTIONS) && method.exists()) { String[] types= method.getExceptionTypes(); if (types.length > 0) { buf.append(" throws "); for (int i= 0; i < types....
23,079
Bug 23079 JavaElementLabels does not honor P_COMPRESSED for types and members
Build 20020903 The label provider has an option to compress the package name (P_COMPRESSED). This option is not applied to types and members. Test Case: 1. Enable package fragment name compression 2. Search for declarations of a type or method which is not in the default package ==> the Search view should honor the pac...
resolved fixed
f655a9a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-02T14:40:38Z
2002-09-02T09:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java
getTypeLabel(method.getDeclaringType(), T_FULLY_QUALIFIED, buf); } } catch (JavaModelException e) { JavaPlugin.log(e); } } /** * Appends the label for a field to a StringBuffer. Considers the F_* flags. */ public static void getFieldLabel(IField field, int flags, StringBuffer buf) { try { ...
23,079
Bug 23079 JavaElementLabels does not honor P_COMPRESSED for types and members
Build 20020903 The label provider has an option to compress the package name (P_COMPRESSED). This option is not applied to types and members. Test Case: 1. Enable package fragment name compression 2. Search for declarations of a type or method which is not in the default package ==> the Search view should honor the pac...
resolved fixed
f655a9a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-02T14:40:38Z
2002-09-02T09:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java
if (getFlag(flags, F_POST_QUALIFIED)) { buf.append(CONCAT_STRING); getTypeLabel(field.getDeclaringType(), T_FULLY_QUALIFIED, buf); } } catch (JavaModelException e) { JavaPlugin.log(e); } } /** * Appends the label for a initializer to a StringBuffer. Considers the I_* flags. */ public s...
23,079
Bug 23079 JavaElementLabels does not honor P_COMPRESSED for types and members
Build 20020903 The label provider has an option to compress the package name (P_COMPRESSED). This option is not applied to types and members. Test Case: 1. Enable package fragment name compression 2. Search for declarations of a type or method which is not in the default package ==> the Search view should honor the pac...
resolved fixed
f655a9a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-02T14:40:38Z
2002-09-02T09:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java
if (getFlag(flags, T_FULLY_QUALIFIED)) { buf.append(JavaModelUtil.getFullyQualifiedName(type)); } else if (getFlag(flags, T_CONTAINER_QUALIFIED)) { buf.append(JavaModelUtil.getTypeQualifiedName(type)); } else { buf.append(type.getElementName()); } if (getFlag(flags, T_POST_QUALIFIED)) { buf.appen...
23,079
Bug 23079 JavaElementLabels does not honor P_COMPRESSED for types and members
Build 20020903 The label provider has an option to compress the package name (P_COMPRESSED). This option is not applied to types and members. Test Case: 1. Enable package fragment name compression 2. Search for declarations of a type or method which is not in the default package ==> the Search view should honor the pac...
resolved fixed
f655a9a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-02T14:40:38Z
2002-09-02T09:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java
buf.append(JavaUIMessages.getString("JavaElementLabels.import_container")); } else { buf.append(declaration.getElementName()); } if (getFlag(flags, D_POST_QUALIFIED)) { IJavaElement openable= (IJavaElement) declaration.getOpenable(); if (openable != null) { buf.append(CONCAT_STRING); buf.appe...
23,079
Bug 23079 JavaElementLabels does not honor P_COMPRESSED for types and members
Build 20020903 The label provider has an option to compress the package name (P_COMPRESSED). This option is not applied to types and members. Test Case: 1. Enable package fragment name compression 2. Search for declarations of a type or method which is not in the default package ==> the Search view should honor the pac...
resolved fixed
f655a9a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-02T14:40:38Z
2002-09-02T09:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java
} } /** * Appends the label for a compilation unit to a StringBuffer. Considers the CU_* flags. */ public static void getCompilationUnitLabel(ICompilationUnit cu, int flags, StringBuffer buf) { if (getFlag(flags, CU_QUALIFIED)) { IPackageFragment pack= (IPackageFragment) cu.getParent(); if (!pack.isDefau...
23,079
Bug 23079 JavaElementLabels does not honor P_COMPRESSED for types and members
Build 20020903 The label provider has an option to compress the package name (P_COMPRESSED). This option is not applied to types and members. Test Case: 1. Enable package fragment name compression 2. Search for declarations of a type or method which is not in the default package ==> the Search view should honor the pac...
resolved fixed
f655a9a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-02T14:40:38Z
2002-09-02T09:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java
buf.append(JavaUIMessages.getString("JavaElementLabels.default_package")); } else if (getFlag(flags, P_COMPRESSED) && fgPkgNameLength >= 0) { String name= pack.getElementName(); int start= 0; int dot= name.indexOf('.', start); while (dot > 0) { if (dot - start > fgPkgNameLength-1) { buf.ap...
23,079
Bug 23079 JavaElementLabels does not honor P_COMPRESSED for types and members
Build 20020903 The label provider has an option to compress the package name (P_COMPRESSED). This option is not applied to types and members. Test Case: 1. Enable package fragment name compression 2. Search for declarations of a type or method which is not in the default package ==> the Search view should honor the pac...
resolved fixed
f655a9a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-02T14:40:38Z
2002-09-02T09:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java
try { IClasspathEntry rawEntry= root.getRawClasspathEntry(); if (rawEntry != null) { if (rawEntry.getEntryKind() == IClasspathEntry.CPE_VARIABLE) { buf.append(rawEntry.getPath().makeRelative()); buf.append(CONCAT_STRING); } } } catch (JavaModelException e) { JavaPlugin.log(e); ...
23,079
Bug 23079 JavaElementLabels does not honor P_COMPRESSED for types and members
Build 20020903 The label provider has an option to compress the package name (P_COMPRESSED). This option is not applied to types and members. Test Case: 1. Enable package fragment name compression 2. Search for declarations of a type or method which is not in the default package ==> the Search view should honor the pac...
resolved fixed
f655a9a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-09-02T14:40:38Z
2002-09-02T09:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java
if (pattern.equals(fgPkgNamePattern)) return; else if (pattern.equals("")) { fgPkgNamePattern= ""; fgPkgNameLength= -1; return; } fgPkgNamePattern= pattern; int i= 0; fgPkgNameChars= 0; fgPkgNamePrefix= ""; fgPkgNamePostfix= ""; while (i < pattern.length()) { char ch= pattern.charAt(i...
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
package org.eclipse.jdt.internal.ui.javadocexport; import java.io.File; import java.net.URL; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.StringTokenizer; import org.eclipse.core.resources.IProject; import org.eclipse.core...
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
import org.eclipse.jface.viewers.StructuredSelection; import org.eclipse.ui.help.WorkbenchHelp; import org.eclipse.jdt.core.IClasspathEntry; import org.eclipse.jdt.core.IJavaElement; import org.eclipse.jdt.core.IJavaProject; import org.eclipse.jdt.core.IPackageFragmentRoot; import org.eclipse.jdt.core.JavaCore; import ...
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 Text fTitleText; protected Text fStyleSheetText; protected FlaggedButton fDeprecatedList; protected FlaggedButton fAuthorCheck; protected FlaggedButton fVersionCheck; protected FlaggedButton fDeprecatedCheck; protected FlaggedButton fHierarchyCheck; protected FlaggedButton fNavigatorCheck; protected Fla...
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
*/ public void createControl(Composite parent) { initializeDialogUnits(parent); lastProject= null; fWizard= (JavadocWizard)this.getWizard(); fUpperComposite= new Composite(parent, SWT.NONE); fUpperComposite.setLayoutData(createGridData(GridData.FILL_VERTICAL | GridData.FILL_HORIZONTAL, 1, 0)); Grid...
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
} else fTitleText.setEnabled(false); fBasicOptionsGroup= new Group(composite, SWT.SHADOW_ETCHED_IN); fBasicOptionsGroup.setLayout(createGridLayout(1)); fBasicOptionsGroup.setLayoutData(createGridData(GridData.FILL_HORIZONTAL | GridData.FILL_VERTICAL, 2, 0)); fBasicOptionsGroup.setText(JavadocExportMessages.g...