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
18,622
Bug 18622 20020601build. Search dialog does not close after file or help search.
F2 build. Search dialog does not close after file or help search. The results are displayed, but one must press cancel to close the dialog From the java search page it works O.K. - dialog closes after doing search.
verified fixed
81daea6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-06T10:35:33Z
2002-06-01T19:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/SearchUtil.java
if (firstFound) result= SearchMessages.getFormattedString("SearchUtil.workingSetConcatenation", new String[] {result, workingSetName}); else { result= workingSetName; firstFound= true; } } } return result; } /** * Updates the LRU list of working sets. * * @param workingSets the...
18,622
Bug 18622 20020601build. Search dialog does not close after file or help search.
F2 build. Search dialog does not close after file or help search. The results are displayed, but one must press cancel to close the dialog From the java search page it works O.K. - dialog closes after doing search.
verified fixed
81daea6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-06T10:35:33Z
2002-06-01T19:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/SearchUtil.java
for (int j= 0; j < workingSets.length; j++) names[j]= workingSets[j].getName(); fgSettingsStore.put(STORE_LRU_WORKING_SET_NAMES + i, names); i++; } } public static LRUWorkingSetsList getLRUWorkingSets() { if (fgLRUWorkingSets == null) { restoreState(); } return fgLRUWorkingSets; } static void r...
18,622
Bug 18622 20020601build. Search dialog does not close after file or help search.
F2 build. Search dialog does not close after file or help search. The results are displayed, but one must press cancel to close the dialog From the java search page it works O.K. - dialog closes after doing search.
verified fixed
81daea6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-06T10:35:33Z
2002-06-01T19:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/SearchUtil.java
if (!workingSets.isEmpty()) fgLRUWorkingSets.add((IWorkingSet[])workingSets.toArray(new IWorkingSet[workingSets.size()])); } } if (!foundLRU) restoreFromOldFormat(); } private static void restoreFromOldFormat() { fgLRUWorkingSets= new LRUWorkingSetsList(LRU_WORKINGSET_LIST_SIZE); fgSettingsStor...
18,637
Bug 18637 Templates preferences: table layout problem
In Preferences>Java>Templates the table comes up with an incorrect initial layout (columns are not wide enough around 100 pixels). workaround adjust manually fix candidate for F3
verified fixed
3390805
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-06T10:50:29Z
2002-06-01T22:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
package org.eclipse.jdt.internal.ui.preferences; import java.io.File; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.eclipse.swt.SWT;
18,637
Bug 18637 Templates preferences: table layout problem
In Preferences>Java>Templates the table comes up with an incorrect initial layout (columns are not wide enough around 100 pixels). workaround adjust manually fix candidate for F3
verified fixed
3390805
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-06T10:50:29Z
2002-06-01T22:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
import org.eclipse.swt.graphics.Font; 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.Event; import org.eclipse.swt.widgets.FileDialog...
18,637
Bug 18637 Templates preferences: table layout problem
In Preferences>Java>Templates the table comes up with an incorrect initial layout (columns are not wide enough around 100 pixels). workaround adjust manually fix candidate for F3
verified fixed
3390805
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-06T10:50:29Z
2002-06-01T22:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
import org.eclipse.jface.viewers.SelectionChangedEvent; import org.eclipse.jface.viewers.StructuredSelection; import org.eclipse.jface.viewers.TableLayout; import org.eclipse.jface.viewers.Viewer; import org.eclipse.jface.viewers.ViewerSorter; import org.eclipse.ui.IWorkbench; import org.eclipse.ui.IWorkbenchPreference...
18,637
Bug 18637 Templates preferences: table layout problem
In Preferences>Java>Templates the table comes up with an incorrect initial layout (columns are not wide enough around 100 pixels). workaround adjust manually fix candidate for F3
verified fixed
3390805
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-06T10:50:29Z
2002-06-01T22:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
private Button fEditButton; private Button fImportButton; private Button fExportButton; private Button fExportAllButton; private Button fRemoveButton; private Button fEnableAllButton; private Button fDisableAllButton; private SourceViewer fPatternViewer; private Button fFormatButton; public TemplatePreferenc...
18,637
Bug 18637 Templates preferences: table layout problem
In Preferences>Java>Templates the table comes up with an incorrect initial layout (columns are not wide enough around 100 pixels). workaround adjust manually fix candidate for F3
verified fixed
3390805
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-06T10:50:29Z
2002-06-01T22:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
data.widthHint= convertWidthInCharsToPixels(3); int width= data.widthHint; data.heightHint= convertHeightInCharsToPixels(10); table.setLayoutData(data); table.setHeaderVisible(true); table.setLinesVisible(true); TableLayout tableLayout= new TableLayout(); table.setLayout(tableLayout); TableColumn...
18,637
Bug 18637 Templates preferences: table layout problem
In Preferences>Java>Templates the table comes up with an incorrect initial layout (columns are not wide enough around 100 pixels). workaround adjust manually fix candidate for F3
verified fixed
3390805
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-06T10:50:29Z
2002-06-01T22:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
return result; return left.getDescription().compareToIgnoreCase(right.getDescription()); } return super.compare(viewer, object1, object2); } public boolean isSorterProperty(Object element, String property) { return true; } }); fTableViewer.addDoubleClickListener(new IDoubleClickList...
18,637
Bug 18637 Templates preferences: table layout problem
In Preferences>Java>Templates the table comes up with an incorrect initial layout (columns are not wide enough around 100 pixels). workaround adjust manually fix candidate for F3
verified fixed
3390805
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-06T10:50:29Z
2002-06-01T22:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
layout= new GridLayout(); layout.marginHeight= 0; layout.marginWidth= 0; buttons.setLayout(layout); fAddButton= new Button(buttons, SWT.PUSH); fAddButton.setLayoutData(getButtonGridData(fAddButton)); fAddButton.setText(TemplateMessages.getString("TemplatePreferencePage.new")); fAddButton.addListener(S...
18,637
Bug 18637 Templates preferences: table layout problem
In Preferences>Java>Templates the table comes up with an incorrect initial layout (columns are not wide enough around 100 pixels). workaround adjust manually fix candidate for F3
verified fixed
3390805
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-06T10:50:29Z
2002-06-01T22:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
createSpacer(buttons); fImportButton= new Button(buttons, SWT.PUSH); fImportButton.setLayoutData(getButtonGridData(fImportButton)); fImportButton.setText(TemplateMessages.getString("TemplatePreferencePage.import")); fImportButton.addListener(SWT.Selection, new Listener() { public void handleEvent(Event e) {...
18,637
Bug 18637 Templates preferences: table layout problem
In Preferences>Java>Templates the table comes up with an incorrect initial layout (columns are not wide enough around 100 pixels). workaround adjust manually fix candidate for F3
verified fixed
3390805
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-06T10:50:29Z
2002-06-01T22:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
fEnableAllButton.addListener(SWT.Selection, new Listener() { public void handleEvent(Event e) { enableAll(true); } }); fDisableAllButton= new Button(buttons, SWT.PUSH); fDisableAllButton.setLayoutData(getButtonGridData(fDisableAllButton)); fDisableAllButton.setText(TemplateMessages.getString("Template...
18,637
Bug 18637 Templates preferences: table layout problem
In Preferences>Java>Templates the table comes up with an incorrect initial layout (columns are not wide enough around 100 pixels). workaround adjust manually fix candidate for F3
verified fixed
3390805
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-06T10:50:29Z
2002-06-01T22:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
Template[] templates= fTemplates.getTemplates(); List list= new ArrayList(templates.length); for (int i= 0; i != templates.length; i++) if (templates[i].isEnabled()) list.add(templates[i]); return (Template[]) list.toArray(new Template[list.size()]); } private SourceViewer createViewer(Compo...
18,637
Bug 18637 Templates preferences: table layout problem
In Preferences>Java>Templates the table comes up with an incorrect initial layout (columns are not wide enough around 100 pixels). workaround adjust manually fix candidate for F3
verified fixed
3390805
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-06T10:50:29Z
2002-06-01T22:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
viewer.getTextWidget().setFont(font); Control control= viewer.getControl(); data= new GridData(GridData.FILL_BOTH); data.heightHint= convertHeightInCharsToPixels(5); control.setLayoutData(data); return viewer; } public void createSpacer(Composite parent) { Label spacer= new Label(parent, SWT.NONE)...
18,637
Bug 18637 Templates preferences: table layout problem
In Preferences>Java>Templates the table comes up with an incorrect initial layout (columns are not wide enough around 100 pixels). workaround adjust manually fix candidate for F3
verified fixed
3390805
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-06T10:50:29Z
2002-06-01T22:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
Template template= (Template) selection.getFirstElement(); fPatternViewer.getTextWidget().setText(template.getPattern()); } else { fPatternViewer.getTextWidget().setText(""); } updateButtons(); } private void updateButtons() { int selectionCount= ((IStructuredSelection) fTableViewer.getSelection...
18,637
Bug 18637 Templates preferences: table layout problem
In Preferences>Java>Templates the table comes up with an incorrect initial layout (columns are not wide enough around 100 pixels). workaround adjust manually fix candidate for F3
verified fixed
3390805
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-06T10:50:29Z
2002-06-01T22:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
Iterator iterator= registry.iterator(); contextTypeName= (String) iterator.next(); } template.setContext(contextTypeName); EditTemplateDialog dialog= new EditTemplateDialog(getShell(), template, false); if (dialog.open() == dialog.OK) { fTemplates.add(template); fTableViewer.refresh(); fTableVie...
18,637
Bug 18637 Templates preferences: table layout problem
In Preferences>Java>Templates the table comes up with an incorrect initial layout (columns are not wide enough around 100 pixels). workaround adjust manually fix candidate for F3
verified fixed
3390805
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-06T10:50:29Z
2002-06-01T22:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
{ template= newTemplate; fTemplates.add(template); fTableViewer.refresh(); } else { template.setName(newTemplate.getName()); template.setDescription(newTemplate.getDescription()); template.setContext(newTemplate.getContextTypeName()); template.setPattern(newTemplate.getPattern()); fTa...
18,637
Bug 18637 Templates preferences: table layout problem
In Preferences>Java>Templates the table comes up with an incorrect initial layout (columns are not wide enough around 100 pixels). workaround adjust manually fix candidate for F3
verified fixed
3390805
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-06T10:50:29Z
2002-06-01T22:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
fTableViewer.setCheckedElements(getEnabledTemplates()); } catch (CoreException e) { openReadErrorDialog(e); } } private void exportAll() { export(fTemplates); } private void export() { IStructuredSelection selection= (IStructuredSelection) fTableViewer.getSelection(); Object[] templates= selectio...
18,637
Bug 18637 Templates preferences: table layout problem
In Preferences>Java>Templates the table comes up with an incorrect initial layout (columns are not wide enough around 100 pixels). workaround adjust manually fix candidate for F3
verified fixed
3390805
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-06T10:50:29Z
2002-06-01T22:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
File file= new File(path); if (!file.exists() || confirmOverwrite(file)) { try { templateSet.saveToFile(file); } catch (CoreException e) { JavaPlugin.log(e); openWriteErrorDialog(e); } } } private boolean confirmOverwrite(File file) { return MessageDialog.openQuestion(getShell(), ...
18,637
Bug 18637 Templates preferences: table layout problem
In Preferences>Java>Templates the table comes up with an incorrect initial layout (columns are not wide enough around 100 pixels). workaround adjust manually fix candidate for F3
verified fixed
3390805
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-06T10:50:29Z
2002-06-01T22:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
fTableViewer.setAllChecked(enable); } /* * @see IWorkbenchPreferencePage#init(IWorkbench) */ public void init(IWorkbench workbench) {} /* * @see Control#setVisible(boolean) */ public void setVisible(boolean visible) { super.setVisible(visible); if (visible) setTitle(TemplateMessages.getString("Tem...
18,637
Bug 18637 Templates preferences: table layout problem
In Preferences>Java>Templates the table comes up with an incorrect initial layout (columns are not wide enough around 100 pixels). workaround adjust manually fix candidate for F3
verified fixed
3390805
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-06T10:50:29Z
2002-06-01T22:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
fTableViewer.refresh(); fTableViewer.setAllChecked(false); fTableViewer.setCheckedElements(getEnabledTemplates()); } /* * @see PreferencePage#performOk() */ public boolean performOk() { IPreferenceStore prefs= JavaPlugin.getDefault().getPreferenceStore(); prefs.setValue(PREF_FORMAT_TEMPLATES, fFormatB...
18,637
Bug 18637 Templates preferences: table layout problem
In Preferences>Java>Templates the table comes up with an incorrect initial layout (columns are not wide enough around 100 pixels). workaround adjust manually fix candidate for F3
verified fixed
3390805
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-06T10:50:29Z
2002-06-01T22:20:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
openReadErrorDialog(e); } return super.performCancel(); } /** * Initializes the default values of this page in the preference bundle. * Will be called on startup of the JavaPlugin */ public static void initDefaults(IPreferenceStore prefs) { prefs.setDefault(PREF_FORMAT_TEMPLATES, true); } public stat...
19,275
Bug 19275 editor: context menu slow on large files
F2 it's slow, but only the first time after a change. then it's fast afain you make another change - it's slow again
verified fixed
14e8f8b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-06T15:01:39Z
2002-06-05T09:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaHistoryAction.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.compare; import java.io.*; import org.eclipse.swt.graphics.Image; import org.eclipse.jface.action.*; import org.eclipse.jface.util.Assert; import org.eclipse.jface.viewers.*; import org.eclipse.ui.IActionDelegate; ...
19,275
Bug 19275 editor: context menu slow on large files
F2 it's slow, but only the first time after a change. then it's fast afain you make another change - it's slow again
verified fixed
14e8f8b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-06T15:01:39Z
2002-06-05T09:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaHistoryAction.java
/** * Implements the IStreamContentAccessor and ITypedElement protocols * for a TextBuffer. */ class JavaTextBufferNode implements ITypedElement, IStreamContentAccessor { private TextBuffer fBuffer;
19,275
Bug 19275 editor: context menu slow on large files
F2 it's slow, but only the first time after a change. then it's fast afain you make another change - it's slow again
verified fixed
14e8f8b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-06T15:01:39Z
2002-06-05T09:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaHistoryAction.java
private boolean fInEditor; JavaTextBufferNode(TextBuffer buffer, boolean inEditor) { fBuffer= buffer; fInEditor= inEditor; } public String getName() { if (fInEditor) return CompareMessages.getString("Editor_Buffer"); return CompareMessages.getString("Workspace_File"); } public Strin...
19,275
Bug 19275 editor: context menu slow on large files
F2 it's slow, but only the first time after a change. then it's fast afain you make another change - it's slow again
verified fixed
14e8f8b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-06T15:01:39Z
2002-06-05T09:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaHistoryAction.java
ISelection getSelection() { return fSelection; } protected IFile getFile(Object input) { ICompilationUnit cu= null; if (input instanceof ICompilationUnit) cu= (ICompilationUnit) input; else if (input instanceof IMember) cu= ((IMember)input).getCompilationUnit(); if (cu == null || !cu.exists(...
19,275
Bug 19275 editor: context menu slow on large files
F2 it's slow, but only the first time after a change. then it's fast afain you make another change - it's slow again
verified fixed
14e8f8b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-06T15:01:39Z
2002-06-05T09:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaHistoryAction.java
return null; } protected ITypedElement[] buildEditions(ITypedElement target, IFile file) { IFileState[] states= null; try { states= file.getHistory(null); } catch (CoreException ex) { JavaPlugin.log(ex); } int count= 1; if (states != null) count+= states.length; ITypedElement[] edi...
19,275
Bug 19275 editor: context menu slow on large files
F2 it's slow, but only the first time after a change. then it's fast afain you make another change - it's slow again
verified fixed
14e8f8b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-06T15:01:39Z
2002-06-05T09:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaHistoryAction.java
} catch (JavaModelException ex) { } return null; } /** * Returns true if the given file is open in an editor. */ boolean beingEdited(IFile file) { CompilationUnitDocumentProvider dp= JavaPlugin.getDefault().getCompilationUnitDocumentProvider(); FileEditorInput input= new FileEditorInput(file); retur...
19,275
Bug 19275 editor: context menu slow on large files
F2 it's slow, but only the first time after a change. then it's fast afain you make another change - it's slow again
verified fixed
14e8f8b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-06T15:01:39Z
2002-06-05T09:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaHistoryAction.java
} protected boolean isEnabled(ISelection selection) { IMember m= getEditionElement(selection); if (m == null) return false; IFile file= getFile(m); if (fModifiesFile && file != null && file.isReadOnly()) return false; if (file != null && beingEdited(file)) return getWorkingCopy(m) != null; ret...
19,275
Bug 19275 editor: context menu slow on large files
F2 it's slow, but only the first time after a change. then it's fast afain you make another change - it's slow again
verified fixed
14e8f8b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-06T15:01:39Z
2002-06-05T09:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaHistoryEditorAction.java
/******************************************************************************* * Copyright (c) 2002 International Business Machines Corp. and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Public License v0.5 * which accompanies this...
19,275
Bug 19275 editor: context menu slow on large files
F2 it's slow, but only the first time after a change. then it's fast afain you make another change - it's slow again
verified fixed
14e8f8b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-06T15:01:39Z
2002-06-05T09:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaHistoryEditorAction.java
private JavaEditor fEditor; private IActionDelegate fAction; public JavaHistoryEditorAction(JavaEditor editor, IActionDelegate action, String text) { Assert.isNotNull(editor); Assert.isNotNull(action); fEditor= editor; fAction= action; setText(text); } public void run() { fAction.run(this); } publ...
19,275
Bug 19275 editor: context menu slow on large files
F2 it's slow, but only the first time after a change. then it's fast afain you make another change - it's slow again
verified fixed
14e8f8b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-06T15:01:39Z
2002-06-05T09:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/LocalHistoryActionGroup.java
/******************************************************************************* * Copyright (c) 2002 International Business Machines Corp. and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Public License v0.5 * which accompanies this...
19,275
Bug 19275 editor: context menu slow on large files
F2 it's slow, but only the first time after a change. then it's fast afain you make another change - it's slow again
verified fixed
14e8f8b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-06T15:01:39Z
2002-06-05T09:40:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/LocalHistoryActionGroup.java
Assert.isNotNull(groupName); fGroupName= groupName; fCompareWith= new JavaHistoryEditorAction(editor, new JavaCompareWithEditionAction(), CompareMessages.getString("LocalHistoryActionGroup.action.compare_with")); fReplaceWithPrevious= new JavaHistoryEditorAction(editor, new JavaReplaceWithPreviousEditionAction()...
18,764
Bug 18764 JDT Welcome page: should not open in new window
The JDT Welcome page opens the Java perspective in a new window. Need to check whether the OpenJavaPerspectiveAction opens the page with the same input as the workbench opens the first window.
verified fixed
0a6365d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-06T16:06:33Z
2002-06-03T16:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenJavaPerspectiveAction.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...
18,764
Bug 18764 JDT Welcome page: should not open in new window
The JDT Welcome page opens the Java perspective in a new window. Need to check whether the OpenJavaPerspectiveAction opens the page with the same input as the workbench opens the first window.
verified fixed
0a6365d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-06T16:06:33Z
2002-06-03T16:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenJavaPerspectiveAction.java
/** * Create a new <code></code>. */ public OpenJavaPerspectiveAction() { } public void run() { IWorkbenchWindow window= JavaPlugin.getActiveWorkbenchWindow(); try { window.openPage(JavaUI.ID_PERSPECTIVE, JavaCore.create(ResourcesPlugin.getWorkspace().getRoot())); } catch (WorkbenchException e) { Exc...
19,043
Bug 19043 Config dialog in Generate J Doc Wizard look bad
Build F2 1. Open the Javadoc wizard (export Javadoc) 2. Press Next 3. Select the JRE and press "Configure" The dialog looks ugly especially the entry field is way too small. See attached pic of the dialog.
verified fixed
7930557
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T08:45:19Z
2002-06-04T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavadocConfigurationBlock.java
package org.eclipse.jdt.internal.ui.preferences; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.net.MalformedURLException; import java.net.URL; import java.net.URLConnection; import org.eclipse.core.runtime.IPath; import org.eclipse.core.runtime.IStatus; import org.eclipse.core...
19,043
Bug 19043 Config dialog in Generate J Doc Wizard look bad
Build F2 1. Open the Javadoc wizard (export Javadoc) 2. Press Next 3. Select the JRE and press "Configure" The dialog looks ugly especially the entry field is way too small. See attached pic of the dialog.
verified fixed
7930557
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T08:45:19Z
2002-06-04T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavadocConfigurationBlock.java
import org.eclipse.swt.custom.BusyIndicator; import org.eclipse.swt.events.SelectionAdapter; import org.eclipse.swt.events.SelectionEvent; 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...
19,043
Bug 19043 Config dialog in Generate J Doc Wizard look bad
Build F2 1. Open the Javadoc wizard (export Javadoc) 2. Press Next 3. Select the JRE and press "Configure" The dialog looks ugly especially the entry field is way too small. See attached pic of the dialog.
verified fixed
7930557
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T08:45:19Z
2002-06-04T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavadocConfigurationBlock.java
private Button fValidateButton; private IJavaElement fElem; private Shell fShell; private IStatusChangeListener fContext; private URL fJavaDocLocation; public JavadocConfigurationBlock(IJavaElement element, Shell shell, IStatusChangeListener context) { fShell= shell; fElem= element; fContext= context; ...
19,043
Bug 19043 Config dialog in Generate J Doc Wizard look bad
Build F2 1. Open the Javadoc wizard (export Javadoc) 2. Press Next 3. Select the JRE and press "Configure" The dialog looks ugly especially the entry field is way too small. See attached pic of the dialog.
verified fixed
7930557
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T08:45:19Z
2002-06-04T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavadocConfigurationBlock.java
LayoutUtil.setHorizontalGrabbing(fJavaDocField.getTextControl(null)); fValidateButton= new Button(topComp, SWT.PUSH); fValidateButton.setText(JavaUIMessages.getString("JavadocConfigurationBlock.ValidateButton.label")); fValidateButton.setLayoutData(new GridData()); SWTUtil.setButtonDimensionHint(fValidat...
19,043
Bug 19043 Config dialog in Generate J Doc Wizard look bad
Build F2 1. Open the Javadoc wizard (export Javadoc) 2. Press Next 3. Select the JRE and press "Configure" The dialog looks ugly especially the entry field is way too small. See attached pic of the dialog.
verified fixed
7930557
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T08:45:19Z
2002-06-04T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavadocConfigurationBlock.java
} catch (JavaModelException e) { JavaPlugin.log(e); } } fJavaDocField.setText(initialValue); } public void setFocus() { fJavaDocField.postSetFocusOnDialogField(fShell.getDisplay()); } public void performDefaults() { setValues(); } public boolean performOk() { if (fElem != null) { IPath ...
19,043
Bug 19043 Config dialog in Generate J Doc Wizard look bad
Build F2 1. Open the Javadoc wizard (export Javadoc) 2. Press Next 3. Select the JRE and press "Configure" The dialog looks ugly especially the entry field is way too small. See attached pic of the dialog.
verified fixed
7930557
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T08:45:19Z
2002-06-04T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavadocConfigurationBlock.java
private String fInvalidMessage= JavaUIMessages.getString("JavadocConfigurationBlock.InvalidLocation.message"); private String fValidMessage= JavaUIMessages.getString("JavadocConfigurationBlock.ValidLocation.message"); private String fTitle= JavaUIMessages.getString("JavadocConfigurationBlock.MessageDialog.title"...
19,043
Bug 19043 Config dialog in Generate J Doc Wizard look bad
Build F2 1. Open the Javadoc wizard (export Javadoc) 2. Press Next 3. Select the JRE and press "Configure" The dialog looks ugly especially the entry field is way too small. See attached pic of the dialog.
verified fixed
7930557
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T08:45:19Z
2002-06-04T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavadocConfigurationBlock.java
if (packaglistFile.exists()) { if (MessageDialog.openConfirm(fShell, fTitle, fValidMessage)) { spawnInBrowser(indexURL); } return; } } MessageDialog.openInformation(fShell, fTitle, fInvalidMessage); } public void spawnInBrowser(URL url) { OpenBrowserUtil.open(url, fShell, fTitl...
19,043
Bug 19043 Config dialog in Generate J Doc Wizard look bad
Build F2 1. Open the Javadoc wizard (export Javadoc) 2. Press Next 3. Select the JRE and press "Configure" The dialog looks ugly especially the entry field is way too small. See attached pic of the dialog.
verified fixed
7930557
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T08:45:19Z
2002-06-04T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavadocConfigurationBlock.java
public void changeControlPressed(DialogField field) { jdocChangeControlPressed(field); } public void dialogFieldChanged(DialogField field) { jdocDialogFieldChanged(field); } } private void jdocChangeControlPressed(DialogField field) { if (field == fJavaDocField) { URL jdocURL= chooseJavaDocLoca...
19,043
Bug 19043 Config dialog in Generate J Doc Wizard look bad
Build F2 1. Open the Javadoc wizard (export Javadoc) 2. Press Next 3. Select the JRE and press "Configure" The dialog looks ugly especially the entry field is way too small. See attached pic of the dialog.
verified fixed
7930557
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T08:45:19Z
2002-06-04T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavadocConfigurationBlock.java
if (field == fJavaDocField) { IStatus status= updateJavaDocLocationStatus(); fValidateButton.setEnabled(!status.matches(IStatus.ERROR) && fJavaDocField.getText().length() > 0); fContext.statusChanged(status); } } private URL chooseJavaDocLocation() { String initPath= ""; if (fJavaDocLocation != null &...
19,043
Bug 19043 Config dialog in Generate J Doc Wizard look bad
Build F2 1. Open the Javadoc wizard (export Javadoc) 2. Press Next 3. Select the JRE and press "Configure" The dialog looks ugly especially the entry field is way too small. See attached pic of the dialog.
verified fixed
7930557
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T08:45:19Z
2002-06-04T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavadocConfigurationBlock.java
if (jdocLocation.length() > 0) { try { URL url= new URL(jdocLocation); if ("file".equals(url.getProtocol())) { if (url.getFile() == null) { status.setError(JavaUIMessages.getString("JavadocConfigurationBlock.error.notafolder")); return status; } else { File dir= new File(url.get...
19,431
Bug 19431 Selection of new elements in packages view is annoying
from jdt-dev However, I do see that adding an import will expand the compilation unit in the Java Packages view and even expand the import declarations section in order to select the newly added import. I find this very annoying. I don't mind the option to generally "Link Packages view selection to active editor" so lo...
verified fixed
aa3824e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T11:03:23Z
2002-06-05T20:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerContentProvider.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.packageview; import org.eclipse.core.resources.*; import org.eclipse.jdt.core.*; import org.eclipse.jdt.internal.ui.*; import org.eclipse.jdt.internal.ui.viewsupport.*; import org.eclipse.jdt.ui.StandardJavaElement...
19,431
Bug 19431 Selection of new elements in packages view is annoying
from jdt-dev However, I do see that adding an import will expand the compilation unit in the Java Packages view and even expand the import declarations section in order to select the newly added import. I find this very annoying. I don't mind the option to generally "Link Packages view selection to active editor" so lo...
verified fixed
aa3824e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T11:03:23Z
2002-06-05T20:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerContentProvider.java
protected TreeViewer fViewer; protected Object fInput; /* (non-Javadoc) * Method declared on IContentProvider. */ public void dispose() { super.dispose(); JavaCore.removeElementChangedListener(this); } /* (non-Javadoc) * Method declared on IContentProvider. */ public void inputChanged(Viewer viewer,...
19,431
Bug 19431 Selection of new elements in packages view is annoying
from jdt-dev However, I do see that adding an import will expand the compilation unit in the Java Packages view and even expand the import declarations section in order to select the newly added import. I find this very annoying. I don't mind the option to generally "Link Packages view selection to active editor" so lo...
verified fixed
aa3824e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T11:03:23Z
2002-06-05T20:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerContentProvider.java
public PackageExplorerContentProvider() { } /** * Creates a new content provider for Java elements. */ public PackageExplorerContentProvider(boolean provideMembers, boolean provideWorkingCopy) { super(provideMembers, provideWorkingCopy); } /* (non-Javadoc) * Method declared on IElementChangedListener. ...
19,431
Bug 19431 Selection of new elements in packages view is annoying
from jdt-dev However, I do see that adding an import will expand the compilation unit in the Java Packages view and even expand the import declarations section in order to select the newly added import. I find this very annoying. I don't mind the option to generally "Link Packages view selection to active editor" so lo...
verified fixed
aa3824e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T11:03:23Z
2002-06-05T20:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerContentProvider.java
return; if (element != null && element.getElementType() == IJavaElement.COMPILATION_UNIT && !element.getJavaProject().isOnClasspath(element)) return; if (((flags & IJavaElementDelta.F_CLOSED) != 0) || ((flags & IJavaElementDelta.F_OPENED) != 0)) { postRefresh(element); return; } if (kind ==...
19,431
Bug 19431 Selection of new elements in packages view is annoying
from jdt-dev However, I do see that adding an import will expand the compilation unit in the Java Packages view and even expand the import declarations section in order to select the newly added import. I find this very annoying. I don't mind the option to generally "Link Packages view selection to active editor" so lo...
verified fixed
aa3824e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T11:03:23Z
2002-06-05T20:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerContentProvider.java
if (isWorkingCopy(element)) { refreshWorkingCopy((IWorkingCopy)element); return; } Object parent= internalGetParent(element); if (parent instanceof IPackageFragment) { Object grandparent= internalGetParent(parent); if (parent.equals(fInput)) { postRefresh(parent); } ...
19,431
Bug 19431 Selection of new elements in packages view is annoying
from jdt-dev However, I do see that adding an import will expand the compilation unit in the Java Packages view and even expand the import declarations section in order to select the newly added import. I find this very annoying. I don't mind the option to generally "Link Packages view selection to active editor" so lo...
verified fixed
aa3824e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T11:03:23Z
2002-06-05T20:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerContentProvider.java
element= original; } if (kind == IJavaElementDelta.CHANGED) { postRefresh(element); updateSelection(delta); return; } } if ((element instanceof ICompilationUnit) || (element instanceof IClassFile)) return; if (element instanceof IPackageFragmentRoot && ((flags & IJavaElementDelta...
19,431
Bug 19431 Selection of new elements in packages view is annoying
from jdt-dev However, I do see that adding an import will expand the compilation unit in the Java Packages view and even expand the import declarations section in order to select the newly added import. I find this very annoying. I don't mind the option to generally "Link Packages view selection to active editor" so lo...
verified fixed
aa3824e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T11:03:23Z
2002-06-05T20:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerContentProvider.java
if (element instanceof IPackageFragment) { IJavaElement parent= (IJavaElement)internalGetParent(element); if (element.equals(fInput)) { postRefresh(element); } else { postRefresh(parent); } return; } if (element instanceof IPackageFragmentRoot) postRefresh(skipProje...
19,431
Bug 19431 Selection of new elements in packages view is annoying
from jdt-dev However, I do see that adding an import will expand the compilation unit in the Java Packages view and even expand the import declarations section in order to select the newly added import. I find this very annoying. I don't mind the option to generally "Link Packages view selection to active editor" so lo...
verified fixed
aa3824e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T11:03:23Z
2002-06-05T20:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerContentProvider.java
final StructuredSelection selection= new StructuredSelection(addedElement); postRunnable(new Runnable() { public void run() { Control ctrl= fViewer.getControl(); if (ctrl != null && !ctrl.isDisposed()) fViewer.setSelection(selection); } }); } } private IJavaElement findAddedElement(...
19,431
Bug 19431 Selection of new elements in packages view is annoying
from jdt-dev However, I do see that adding an import will expand the compilation unit in the Java Packages view and even expand the import declarations section in order to select the newly added import. I find this very annoying. I don't mind the option to generally "Link Packages view selection to active editor" so lo...
verified fixed
aa3824e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T11:03:23Z
2002-06-05T20:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerContentProvider.java
return (element instanceof IWorkingCopy) && ((IWorkingCopy)element).isWorkingCopy(); } /** * Updates the package icon */ private void updatePackageIcon(final IJavaElement element) { postRunnable(new Runnable() { public void run() { Control ctrl= fViewer.getControl(); if (ctrl != null && !ct...
19,431
Bug 19431 Selection of new elements in packages view is annoying
from jdt-dev However, I do see that adding an import will expand the compilation unit in the Java Packages view and even expand the import declarations section in order to select the newly added import. I find this very annoying. I don't mind the option to generally "Link Packages view selection to active editor" so lo...
verified fixed
aa3824e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T11:03:23Z
2002-06-05T20:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerContentProvider.java
postRefresh(internalGetParent(parent)); else postRemove(resource); } if ((status & IResourceDelta.ADDED) != 0) { if (parent instanceof IPackageFragment) postRefresh(internalGetParent(parent)); else postAdd(parent, resource); } IResourceDelta[] affectedChildren= delta.getAffectedChild...
19,431
Bug 19431 Selection of new elements in packages view is annoying
from jdt-dev However, I do see that adding an import will expand the compilation unit in the Java Packages view and even expand the import declarations section in order to select the newly added import. I find this very annoying. I don't mind the option to generally "Link Packages view selection to active editor" so lo...
verified fixed
aa3824e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T11:03:23Z
2002-06-05T20:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerContentProvider.java
}); } private void postAdd(final Object parent, final Object element) { postRunnable(new Runnable() { public void run() { Control ctrl= fViewer.getControl(); if (ctrl != null && !ctrl.isDisposed()) fViewer.add(parent, element); } }); } private void postRemove(final Object element) { ...
17,913
Bug 17913 Fail to show source of selected element only in single-click mode
Build 20020521 1. Start new workspace 2. Open Java perspective 3. Create Java project Test 4. Create cu X.java in default package: public class X { public void foo() { } } 5. Select 'source of selected element only' 5. Close X.java 6. Change preferences to open perspective in new window and use single-click to open edi...
verified fixed
8db43d2
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T11:44:45Z
2002-05-27T11:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/EditorUtility.java
package org.eclipse.jdt.internal.ui.javaeditor; /* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IResource; import org.eclipse.core.resources.IStorage; import org.eclipse.core.runtime.CoreException; import org.eclipse.debug....
17,913
Bug 17913 Fail to show source of selected element only in single-click mode
Build 20020521 1. Start new workspace 2. Open Java perspective 3. Create Java project Test 4. Create cu X.java in default package: public class X { public void foo() { } } 5. Select 'source of selected element only' 5. Close X.java 6. Change preferences to open perspective in new window and use single-click to open edi...
verified fixed
8db43d2
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T11:44:45Z
2002-05-27T11:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/EditorUtility.java
import org.eclipse.debug.core.model.IBreakpoint; import org.eclipse.jdt.core.IClassFile; import org.eclipse.jdt.core.ICompilationUnit; import org.eclipse.jdt.core.IJavaElement; import org.eclipse.jdt.core.IMember; import org.eclipse.jdt.core.ISourceReference; import org.eclipse.jdt.core.IType; import org.eclipse.jdt.co...
17,913
Bug 17913 Fail to show source of selected element only in single-click mode
Build 20020521 1. Start new workspace 2. Open Java perspective 3. Create Java project Test 4. Create cu X.java in default package: public class X { public void foo() { } } 5. Select 'source of selected element only' 5. Close X.java 6. Change preferences to open perspective in new window and use single-click to open edi...
verified fixed
8db43d2
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T11:44:45Z
2002-05-27T11:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/EditorUtility.java
public static boolean isEditorInput(Object element, IEditorPart editor) { if (editor != null) { try { return editor.getEditorInput().equals(getEditorInput(element)); } catch (JavaModelException x) { JavaPlugin.log(x.getStatus()); } } return false; } /** * Tests if a cu is currently shown i...
17,913
Bug 17913 Fail to show source of selected element only in single-click mode
Build 20020521 1. Start new workspace 2. Open Java perspective 3. Create Java project Test 4. Create cu X.java in default package: public class X { public void foo() { } } 5. Select 'source of selected element only' 5. Close X.java 6. Change preferences to open perspective in new window and use single-click to open edi...
verified fixed
8db43d2
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T11:44:45Z
2002-05-27T11:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/EditorUtility.java
} } return null; } /** * Opens a Java editor for an element (IJavaElement, IFile, IStorage...) * The editor is activated by default * @return the IEditorPart or null if wrong element type or opening failed */ public static IEditorPart openInEditor(Object inputElement) throws JavaModelException, Part...
17,913
Bug 17913 Fail to show source of selected element only in single-click mode
Build 20020521 1. Start new workspace 2. Open Java perspective 3. Create Java project Test 4. Create cu X.java in default package: public class X { public void foo() { } } 5. Select 'source of selected element only' 5. Close X.java 6. Change preferences to open perspective in new window and use single-click to open edi...
verified fixed
8db43d2
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T11:44:45Z
2002-05-27T11:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/EditorUtility.java
if (input != null) return openInEditor(input, getEditorID(input, inputElement), activate); return null; } /** * Selects a Java Element in an editor */ public static void revealInEditor(IEditorPart part, IJavaElement element) { if (element != null && part instanceof JavaEditor) { ((JavaEditor) p...
17,913
Bug 17913 Fail to show source of selected element only in single-click mode
Build 20020521 1. Start new workspace 2. Open Java perspective 3. Create Java project Test 4. Create cu X.java in default package: public class X { public void foo() { } } 5. Select 'source of selected element only' 5. Close X.java 6. Change preferences to open perspective in new window and use single-click to open edi...
verified fixed
8db43d2
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T11:44:45Z
2002-05-27T11:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/EditorUtility.java
return p.openEditor(input, editorID, activate); } return null; } /** *@deprecated Made it public again for java debugger UI. */ public static String getEditorID(IEditorInput input, Object inputObject) { IEditorRegistry registry= PlatformUI.getWorkbench().getEditorRegistry(); IEditorDescriptor descripto...
17,913
Bug 17913 Fail to show source of selected element only in single-click mode
Build 20020521 1. Start new workspace 2. Open Java perspective 3. Create Java project Test 4. Create cu X.java in default package: public class X { public void foo() { } } 5. Select 'source of selected element only' 5. Close X.java 6. Change preferences to open perspective in new window and use single-click to open edi...
verified fixed
8db43d2
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T11:44:45Z
2002-05-27T11:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/EditorUtility.java
element= element.getParent(); } return null; } public static IEditorInput getEditorInput(Object input) throws JavaModelException { if (input instanceof IJavaElement) return getEditorInput((IJavaElement) input); if (input instanceof IFile) return new FileEditorInput((IFile) input); if (inpu...
17,913
Bug 17913 Fail to show source of selected element only in single-click mode
Build 20020521 1. Start new workspace 2. Open Java perspective 3. Create Java project Test 4. Create cu X.java in default package: public class X { public void foo() { } } 5. Select 'source of selected element only' 5. Close X.java 6. Change preferences to open perspective in new window and use single-click to open edi...
verified fixed
8db43d2
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T11:44:45Z
2002-05-27T11:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/EditorUtility.java
return (IJavaElement)editorInput.getAdapter(IJavaElement.class); } } } return null; } /** * Gets the working copy of an compilation unit opened in an editor * @param part the editor part * @param cu the original compilation unit (or another working copy) * @return the working copy of the compil...
17,913
Bug 17913 Fail to show source of selected element only in single-click mode
Build 20020521 1. Start new workspace 2. Open Java perspective 3. Create Java project Test 4. Create cu X.java in default package: public class X { public void foo() { } } 5. Select 'source of selected element only' 5. Close X.java 6. Change preferences to open perspective in new window and use single-click to open edi...
verified fixed
8db43d2
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T11:44:45Z
2002-05-27T11:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/EditorUtility.java
if (cu != null) { ICompilationUnit workingCopy= getWorkingCopy(cu); if (workingCopy != null) { return JavaModelUtil.findMemberInCompilationUnit(workingCopy, member); } } return null; } /** * Returns the compilation unit for the given java element. * @param element the java element whose compila...
17,913
Bug 17913 Fail to show source of selected element only in single-click mode
Build 20020521 1. Start new workspace 2. Open Java perspective 3. Create Java project Test 4. Create cu X.java in default package: public class X { public void foo() { } } 5. Select 'source of selected element only' 5. Close X.java 6. Change preferences to open perspective in new window and use single-click to open edi...
verified fixed
8db43d2
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T11:44:45Z
2002-05-27T11:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/EditorUtility.java
/** * Returns the working copy of the given java element. * @param javaElement the javaElement for which the working copyshould be found * @param reconcile indicates whether the working copy must be reconcile prior to searching it * @return the working copy of the given element or <code>null</code> if none *...
15,730
Bug 15730 Java compare doesn't copy deleted methods properly
Here are the steps to reproduce: 1. Load a java project from CVS 2. Delete a method from a java file 3. Sync 4. Select the changed file 5. In the Java Structure compare, select the deleted method 6. Choose "copy from right to left" 7. The deleted method is inserted at the top of the java file
resolved fixed
052a99b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T21:35:00Z
2002-05-10T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaMergeViewer.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.compare; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.events.DisposeEvent; import org.eclipse.swt.graphics.RGB; import org.eclipse.jface.preference.IPreferenceStore; import org.eclipse.jface.uti...
15,730
Bug 15730 Java compare doesn't copy deleted methods properly
Here are the steps to reproduce: 1. Load a java project from CVS 2. Delete a method from a java file 3. Sync 4. Select the changed file 5. In the Java Structure compare, select the deleted method 6. Choose "copy from right to left" 7. The deleted method is inserted at the top of the java file
resolved fixed
052a99b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T21:35:00Z
2002-05-10T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaMergeViewer.java
private IPropertyChangeListener fPreferenceChangeListener; private IPreferenceStore fPreferenceStore; private boolean fUseSystemColors; public JavaMergeViewer(Composite parent, int styles, CompareConfiguration mp) { super(parent, styles, mp); fPreferenceStore= JavaPlugin.getDefault().getPreferenceStore(...
15,730
Bug 15730 Java compare doesn't copy deleted methods properly
Here are the steps to reproduce: 1. Load a java project from CVS 2. Delete a method from a java file 3. Sync 4. Select the changed file 5. In the Java Structure compare, select the deleted method 6. Choose "copy from right to left" 7. The deleted method is inserted at the top of the java file
resolved fixed
052a99b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T21:35:00Z
2002-05-10T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaMergeViewer.java
fUseSystemColors= fPreferenceStore.getBoolean(AbstractTextEditor.PREFERENCE_COLOR_BACKGROUND_SYSTEM_DEFAULT); if (! fUseSystemColors) { RGB bg= createColor(fPreferenceStore, AbstractTextEditor.PREFERENCE_COLOR_BACKGROUND); setBackgroundColor(bg); RGB fg= createColor(fPreferenceStore, IJavaColorConstants.JAVA...
15,730
Bug 15730 Java compare doesn't copy deleted methods properly
Here are the steps to reproduce: 1. Load a java project from CVS 2. Delete a method from a java file 3. Sync 4. Select the changed file 5. In the Java Structure compare, select the deleted method 6. Choose "copy from right to left" 7. The deleted method is inserted at the top of the java file
resolved fixed
052a99b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T21:35:00Z
2002-05-10T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaMergeViewer.java
if (fUseSystemColors) { setBackgroundColor(null); setForegroundColor(null); } else { RGB bg= createColor(fPreferenceStore, AbstractTextEditor.PREFERENCE_COLOR_BACKGROUND); setBackgroundColor(bg); RGB fg= createColor(fPreferenceStore, IJavaColorConstants.JAVA_DEFAULT); setForegroundColor(fg); ...
15,730
Bug 15730 Java compare doesn't copy deleted methods properly
Here are the steps to reproduce: 1. Load a java project from CVS 2. Delete a method from a java file 3. Sync 4. Select the changed file 5. In the Java Structure compare, select the deleted method 6. Choose "copy from right to left" 7. The deleted method is inserted at the top of the java file
resolved fixed
052a99b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T21:35:00Z
2002-05-10T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaMergeViewer.java
return PreferenceConverter.getColor(store, key); } public String getTitle() { return CompareMessages.getString("JavaMergeViewer.title"); } protected ITokenComparator createTokenComparator(String s) { return new JavaTokenComparator(s, true); } protected IDocumentPartitioner getDocumentPartitioner() { re...
15,730
Bug 15730 Java compare doesn't copy deleted methods properly
Here are the steps to reproduce: 1. Load a java project from CVS 2. Delete a method from a java file 3. Sync 4. Select the changed file 5. In the Java Structure compare, select the deleted method 6. Choose "copy from right to left" 7. The deleted method is inserted at the top of the java file
resolved fixed
052a99b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T21:35:00Z
2002-05-10T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaMergeViewer.java
case 'L': otherElement= input.getRight(); break; case 'R': otherElement= input.getLeft(); break; } if (otherElement instanceof JavaNode) otherJavaElement= (JavaNode) otherElement; // find the parent of the deleted elements JavaNode javaContainer= null; IDiffElement diffElement=...
15,730
Bug 15730 Java compare doesn't copy deleted methods properly
Here are the steps to reproduce: 1. Load a java project from CVS 2. Delete a method from a java file 3. Sync 4. Select the changed file 5. In the Java Structure compare, select the deleted method 6. Choose "copy from right to left" 7. The deleted method is inserted at the top of the java file
resolved fixed
052a99b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T21:35:00Z
2002-05-10T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaMergeViewer.java
} if (otherJavaElement != null && javaContainer != null) { Object[] children; Position p; switch (otherJavaElement.getTypeCode()) { case JavaNode.PACKAGE: return 0; case JavaNode.IMPORT_CONTAINER: // we have to find the place after the package declaration childre...
15,730
Bug 15730 Java compare doesn't copy deleted methods properly
Here are the steps to reproduce: 1. Load a java project from CVS 2. Delete a method from a java file 3. Sync 4. Select the changed file 5. In the Java Structure compare, select the deleted method 6. Choose "copy from right to left" 7. The deleted method is inserted at the top of the java file
resolved fixed
052a99b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T21:35:00Z
2002-05-10T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaMergeViewer.java
} return javaContainer.getRange().getOffset(); case JavaNode.IMPORT: // append after last import p= javaContainer.getRange(); return p.getOffset() + p.getLength(); case JavaNode.CLASS: // append after last class children= javaContainer.getChildren(); if (children.len...
15,730
Bug 15730 Java compare doesn't copy deleted methods properly
Here are the steps to reproduce: 1. Load a java project from CVS 2. Delete a method from a java file 3. Sync 4. Select the changed file 5. In the Java Structure compare, select the deleted method 6. Choose "copy from right to left" 7. The deleted method is inserted at the top of the java file
resolved fixed
052a99b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-07T21:35:00Z
2002-05-10T14:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaMergeViewer.java
case JavaNode.FIELD: // append after last field children= javaContainer.getChildren(); if (children.length > 0) { JavaNode method= null; for (int i= children.length-1; i >= 0; i--) { JavaNode child= (JavaNode) children[i]; switch (child.getTypeCode()) { case JavaNode.METH...
19,365
Bug 19365 ArrayIndexOutOfBounds: editing Build Path .jar
F2 - File -> New -> Project... - Plug-in Development - Plug-in Project -> Next - set name="asd", Next - Next - select Hello World wizard, Next - Finish -> creates new Project "asd" - select it in the Packages view, right-click -> Properties... - go to Java Build Path page - go to contained Libraries tab - select any of...
verified fixed
51089bb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-08T09:10:02Z
2002-06-05T15:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.wizards.buildpaths; import java.util.ArrayList; import java.util.List; import org.eclipse.core.resources.IContainer; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IFolder; import org.ec...
19,365
Bug 19365 ArrayIndexOutOfBounds: editing Build Path .jar
F2 - File -> New -> Project... - Plug-in Development - Plug-in Project -> Next - set name="asd", Next - Next - select Hello World wizard, Next - Finish -> creates new Project "asd" - select it in the Packages view, right-click -> Properties... - go to Java Build Path page - go to contained Libraries tab - select any of...
verified fixed
51089bb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-08T09:10:02Z
2002-06-05T15:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java
import org.eclipse.jface.viewers.ITreeContentProvider; import org.eclipse.jface.viewers.StructuredSelection; import org.eclipse.jface.viewers.ViewerFilter; import org.eclipse.jface.wizard.WizardDialog; import org.eclipse.ui.dialogs.ElementTreeSelectionDialog; import org.eclipse.ui.help.WorkbenchHelp; import org.eclipse...
19,365
Bug 19365 ArrayIndexOutOfBounds: editing Build Path .jar
F2 - File -> New -> Project... - Plug-in Development - Plug-in Project -> Next - set name="asd", Next - Next - select Hello World wizard, Next - Finish -> creates new Project "asd" - select it in the Packages view, right-click -> Properties... - go to Java Build Path page - go to contained Libraries tab - select any of...
verified fixed
51089bb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-08T09:10:02Z
2002-06-05T15:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java
private ListDialogField fClassPathList; private IJavaProject fCurrJProject; private ListDialogField fLibrariesList; private IWorkspaceRoot fWorkspaceRoot; private IDialogSettings fDialogSettings; private Control fSWTControl; private final int IDX_ADDJAR= 0; private final int IDX_ADDEXT= 1; private final...
19,365
Bug 19365 ArrayIndexOutOfBounds: editing Build Path .jar
F2 - File -> New -> Project... - Plug-in Development - Plug-in Project -> Next - set name="asd", Next - Next - select Hello World wizard, Next - Finish -> creates new Project "asd" - select it in the Packages view, right-click -> Properties... - go to Java Build Path page - go to contained Libraries tab - select any of...
verified fixed
51089bb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-08T09:10:02Z
2002-06-05T15:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java
fSWTControl= null; fDialogSettings= JavaPlugin.getDefault().getDialogSettings(); String[] buttonLabels= new String[] { NewWizardMessages.getString("LibrariesWorkbookPage.libraries.addjar.button"), NewWizardMessages.getString("LibrariesWorkbookPage.libraries.addextjar.button"), NewWizardMessages...
19,365
Bug 19365 ArrayIndexOutOfBounds: editing Build Path .jar
F2 - File -> New -> Project... - Plug-in Development - Plug-in Project -> Next - set name="asd", Next - Next - select Hello World wizard, Next - Finish -> creates new Project "asd" - select it in the Packages view, right-click -> Properties... - go to Java Build Path page - go to contained Libraries tab - select any of...
verified fixed
51089bb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-08T09:10:02Z
2002-06-05T15:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java
fCurrJProject= jproject; updateLibrariesList(); } private boolean isLibraryKind(int kind) { return kind == IClasspathEntry.CPE_LIBRARY || kind == IClasspathEntry.CPE_VARIABLE || kind == IClasspathEntry.CPE_CONTAINER; } private void updateLibrariesList() { List cpelements= fClassPathList.getElements(); L...
19,365
Bug 19365 ArrayIndexOutOfBounds: editing Build Path .jar
F2 - File -> New -> Project... - Plug-in Development - Plug-in Project -> Next - set name="asd", Next - Next - select Hello World wizard, Next - Finish -> creates new Project "asd" - select it in the Packages view, right-click -> Properties... - go to Java Build Path page - go to contained Libraries tab - select any of...
verified fixed
51089bb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-08T09:10:02Z
2002-06-05T15:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java
LayoutUtil.setHorizontalGrabbing(fLibrariesList.getListControl(null)); int buttonBarWidth= converter.convertWidthInCharsToPixels(24); fLibrariesList.setButtonsMinWidth(buttonBarWidth); fLibrariesList.getTableViewer().setSorter(new CPListElementSorter()); fSWTControl= composite; return composite;...
19,365
Bug 19365 ArrayIndexOutOfBounds: editing Build Path .jar
F2 - File -> New -> Project... - Plug-in Development - Plug-in Project -> Next - set name="asd", Next - Next - select Hello World wizard, Next - Finish -> creates new Project "asd" - select it in the Packages view, right-click -> Properties... - go to Java Build Path page - go to contained Libraries tab - select any of...
verified fixed
51089bb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-08T09:10:02Z
2002-06-05T15:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java
public void dialogFieldChanged(DialogField field) { libaryPageDialogFieldChanged(field); } } private void libaryPageCustomButtonPressed(DialogField field, int index) { CPListElement[] libentries= null; switch (index) { case IDX_ADDJAR: libentries= openJarFileDialog(null); break; case IDX_ADDEXT:...
19,365
Bug 19365 ArrayIndexOutOfBounds: editing Build Path .jar
F2 - File -> New -> Project... - Plug-in Development - Plug-in Project -> Next - set name="asd", Next - Next - select Hello World wizard, Next - Finish -> creates new Project "asd" - select it in the Packages view, right-click -> Properties... - go to Java Build Path page - go to contained Libraries tab - select any of...
verified fixed
51089bb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-08T09:10:02Z
2002-06-05T15:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java
if (dialog.open() == dialog.OK) { selElement.setSourceAttachment(dialog.getSourceAttachmentPath(), dialog.getSourceAttachmentRootPath()); fLibrariesList.refresh(); fClassPathList.refresh(); } break; case IDX_EDIT: editEntry(); return; } if (libentries != null) { int nElementsChosen= li...
19,365
Bug 19365 ArrayIndexOutOfBounds: editing Build Path .jar
F2 - File -> New -> Project... - Plug-in Development - Plug-in Project -> Next - set name="asd", Next - Next - select Hello World wizard, Next - Finish -> creates new Project "asd" - select it in the Packages view, right-click -> Properties... - go to Java Build Path page - go to contained Libraries tab - select any of...
verified fixed
51089bb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-08T09:10:02Z
2002-06-05T15:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java
private void editEntry() { List selElements= fLibrariesList.getSelectedElements(); if (selElements.size() != 1) { return; } CPListElement elem= (CPListElement) selElements.get(0); CPListElement[] res= null; switch (elem.getEntryKind()) { case IClasspathEntry.CPE_CONTAINER: String title= NewWizard...
19,365
Bug 19365 ArrayIndexOutOfBounds: editing Build Path .jar
F2 - File -> New -> Project... - Plug-in Development - Plug-in Project -> Next - set name="asd", Next - Next - select Hello World wizard, Next - Finish -> creates new Project "asd" - select it in the Packages view, right-click -> Properties... - go to Java Build Path page - go to contained Libraries tab - select any of...
verified fixed
51089bb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-08T09:10:02Z
2002-06-05T15:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java
} if (res != null) { fLibrariesList.replaceElement(elem, res[0]); } } private void libaryPageSelectionChanged(DialogField field) { List selElements= fLibrariesList.getSelectedElements(); fLibrariesList.enableButton(IDX_ATTACH, canDoSourceAttachment(selElements)); fLibrariesList.enableButton(IDX_E...
19,365
Bug 19365 ArrayIndexOutOfBounds: editing Build Path .jar
F2 - File -> New -> Project... - Plug-in Development - Plug-in Project -> Next - set name="asd", Next - Next - select Hello World wizard, Next - Finish -> creates new Project "asd" - select it in the Packages view, right-click -> Properties... - go to Java Build Path page - go to contained Libraries tab - select any of...
verified fixed
51089bb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-08T09:10:02Z
2002-06-05T15:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java
} private void updateClasspathList() { List projelements= fLibrariesList.getElements(); boolean remove= false; List cpelements= fClassPathList.getElements(); for (int i= cpelements.size() - 1; i >= 0; i--) { CPListElement cpe= (CPListElement)cpelements.get(i); int kind= cpe.getEntryKind(); i...
19,365
Bug 19365 ArrayIndexOutOfBounds: editing Build Path .jar
F2 - File -> New -> Project... - Plug-in Development - Plug-in Project -> Next - set name="asd", Next - Next - select Hello World wizard, Next - Finish -> creates new Project "asd" - select it in the Packages view, right-click -> Properties... - go to Java Build Path page - go to contained Libraries tab - select any of...
verified fixed
51089bb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-08T09:10:02Z
2002-06-05T15:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java
NewContainerDialog dialog= new NewContainerDialog(getShell(), title, currProject, getUsedContainers(existing), existing); IPath projpath= currProject.getFullPath(); dialog.setMessage(NewWizardMessages.getFormattedString("LibrariesWorkbookPage.NewClassFolderDialog.description", projpath.toString())); if (dialog.o...
19,365
Bug 19365 ArrayIndexOutOfBounds: editing Build Path .jar
F2 - File -> New -> Project... - Plug-in Development - Plug-in Project -> Next - set name="asd", Next - Next - select Hello World wizard, Next - Finish -> creates new Project "asd" - select it in the Packages view, right-click -> Properties... - go to Java Build Path page - go to contained Libraries tab - select any of...
verified fixed
51089bb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-08T09:10:02Z
2002-06-05T15:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java
dialog.setInitialSelection(fCurrJProject.getProject()); } else { dialog.setInitialSelection(existing.getResource()); } if (dialog.open() == dialog.OK) { Object[] elements= dialog.getResult(); CPListElement[] res= new CPListElement[elements.length]; for (int i= 0; i < res.length; i++) { IResourc...
19,365
Bug 19365 ArrayIndexOutOfBounds: editing Build Path .jar
F2 - File -> New -> Project... - Plug-in Development - Plug-in Project -> Next - set name="asd", Next - Next - select Hello World wizard, Next - Finish -> creates new Project "asd" - select it in the Packages view, right-click -> Properties... - go to Java Build Path page - go to contained Libraries tab - select any of...
verified fixed
51089bb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-08T09:10:02Z
2002-06-05T15:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java
dialog.addFilter(filter); dialog.setInput(fWorkspaceRoot); if (existing == null) { dialog.setInitialSelection(fCurrJProject.getProject()); } else { dialog.setInitialSelection(existing.getResource()); } if (dialog.open() == dialog.OK) { Object[] elements= dialog.getResult(); CPListElement[] res= ...
19,365
Bug 19365 ArrayIndexOutOfBounds: editing Build Path .jar
F2 - File -> New -> Project... - Plug-in Development - Plug-in Project -> Next - set name="asd", Next - Next - select Hello World wizard, Next - Finish -> creates new Project "asd" - select it in the Packages view, right-click -> Properties... - go to Java Build Path page - go to contained Libraries tab - select any of...
verified fixed
51089bb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-08T09:10:02Z
2002-06-05T15:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java
} catch (JavaModelException e) { JavaPlugin.log(e.getStatus()); } } List cplist= fLibrariesList.getElements(); for (int i= 0; i < cplist.size(); i++) { CPListElement elem= (CPListElement)cplist.get(i); if (elem.getEntryKind() == IClasspathEntry.CPE_LIBRARY && (elem != existing)) { IReso...
19,365
Bug 19365 ArrayIndexOutOfBounds: editing Build Path .jar
F2 - File -> New -> Project... - Plug-in Development - Plug-in Project -> Next - set name="asd", Next - Next - select Hello World wizard, Next - Finish -> creates new Project "asd" - select it in the Packages view, right-click -> Properties... - go to Java Build Path page - go to contained Libraries tab - select any of...
verified fixed
51089bb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-08T09:10:02Z
2002-06-05T15:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java
} return (IFile[]) res.toArray(new IFile[res.size()]); } private CPListElement newCPLibraryElement(IResource res) { return new CPListElement(fCurrJProject, IClasspathEntry.CPE_LIBRARY, res.getFullPath(), res); }; private CPListElement[] openExtJarFileDialog(CPListElement existing) { String lastUsedPath; ...
19,365
Bug 19365 ArrayIndexOutOfBounds: editing Build Path .jar
F2 - File -> New -> Project... - Plug-in Development - Plug-in Project -> Next - set name="asd", Next - Next - select Hello World wizard, Next - Finish -> creates new Project "asd" - select it in the Packages view, right-click -> Properties... - go to Java Build Path page - go to contained Libraries tab - select any of...
verified fixed
51089bb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-08T09:10:02Z
2002-06-05T15:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java
return null; } String[] fileNames= dialog.getFileNames(); int nChosen= fileNames.length; IPath filterPath= new Path(dialog.getFilterPath()); CPListElement[] elems= new CPListElement[nChosen]; for (int i= 0; i < nChosen; i++) { IPath path= filterPath.append(fileNames[i]).makeAbsolute(); elems[i]= ...
19,365
Bug 19365 ArrayIndexOutOfBounds: editing Build Path .jar
F2 - File -> New -> Project... - Plug-in Development - Plug-in Project -> Next - set name="asd", Next - Next - select Hello World wizard, Next - Finish -> creates new Project "asd" - select it in the Packages view, right-click -> Properties... - go to Java Build Path page - go to contained Libraries tab - select any of...
verified fixed
51089bb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-08T09:10:02Z
2002-06-05T15:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java
if (!existingElements.contains(elem)) { result.add(elem); } } return (CPListElement[]) result.toArray(new CPListElement[result.size()]); } return null; } private CPListElement[] openContainerDialog(String title, ClasspathContainerWizard wizard) { WizardDialog dialog= new WizardDialog(getShell()...
19,365
Bug 19365 ArrayIndexOutOfBounds: editing Build Path .jar
F2 - File -> New -> Project... - Plug-in Development - Plug-in Project -> Next - set name="asd", Next - Next - select Hello World wizard, Next - Finish -> creates new Project "asd" - select it in the Packages view, right-click -> Properties... - go to Java Build Path page - go to contained Libraries tab - select any of...
verified fixed
51089bb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-08T09:10:02Z
2002-06-05T15:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java
if (elem.getEntryKind() == IClasspathEntry.CPE_CONTAINER) { return; } try { IJavaModel jmodel= fCurrJProject.getJavaModel(); IJavaProject[] jprojects= jmodel.getJavaProjects(); for (int i= 0; i < jprojects.length; i++) { IJavaProject curr= jprojects[i]; if (!curr.equals(fCurrJProject)) { ...
19,365
Bug 19365 ArrayIndexOutOfBounds: editing Build Path .jar
F2 - File -> New -> Project... - Plug-in Development - Plug-in Project -> Next - set name="asd", Next - Next - select Hello World wizard, Next - Finish -> creates new Project "asd" - select it in the Packages view, right-click -> Properties... - go to Java Build Path page - go to contained Libraries tab - select any of...
verified fixed
51089bb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-08T09:10:02Z
2002-06-05T15:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java
private static final String DIALOGSTORE_ADV_SECTION= "LibrariesWorkbookPage.advanced"; private static final String DIALOGSTORE_SELECTED= "selected"; private static final String DIALOGSTORE_CONTAINER_IDX= "containerindex"; private DialogField fLabelField; private SelectionButtonDialogField fCreateFolderField;...
19,365
Bug 19365 ArrayIndexOutOfBounds: editing Build Path .jar
F2 - File -> New -> Project... - Plug-in Development - Plug-in Project -> Next - set name="asd", Next - Next - select Hello World wizard, Next - Finish -> creates new Project "asd" - select it in the Packages view, right-click -> Properties... - go to Java Build Path page - go to contained Libraries tab - select any of...
verified fixed
51089bb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-08T09:10:02Z
2002-06-05T15:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java
fCreateFolderField.setLabelText(NewWizardMessages.getString("LibrariesWorkbookPage.AdvancedDialog.createfolder")); fAddFolderField= new SelectionButtonDialogField(SWT.RADIO); fAddFolderField.setLabelText(NewWizardMessages.getString("LibrariesWorkbookPage.AdvancedDialog.addfolder")); fAddContainerField= new S...
19,365
Bug 19365 ArrayIndexOutOfBounds: editing Build Path .jar
F2 - File -> New -> Project... - Plug-in Development - Plug-in Project -> Next - set name="asd", Next - Next - select Hello World wizard, Next - Finish -> creates new Project "asd" - select it in the Packages view, right-click -> Properties... - go to Java Build Path page - go to contained Libraries tab - select any of...
verified fixed
51089bb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-08T09:10:02Z
2002-06-05T15:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java
initializeDialogUnits(parent); Composite composite= (Composite) super.createDialogArea(parent); Composite inner= new Composite(composite, SWT.NONE); GridLayout layout= new GridLayout(); layout.marginHeight= 0; layout.marginWidth= 0; inner.setLayout(layout); fLabelField.doFillIntoGrid(inner,...
19,365
Bug 19365 ArrayIndexOutOfBounds: editing Build Path .jar
F2 - File -> New -> Project... - Plug-in Development - Plug-in Project -> Next - set name="asd", Next - Next - select Hello World wizard, Next - Finish -> creates new Project "asd" - select it in the Packages view, right-click -> Properties... - go to Java Build Path page - go to contained Libraries tab - select any of...
verified fixed
51089bb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-08T09:10:02Z
2002-06-05T15:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java
} else if (fAddFolderField.isSelected()) { fResult= openClassFolderDialog(null); fAdvSettings.put(DIALOGSTORE_SELECTED, 1); } else if (fAddContainerField.isSelected()) { String selected= fCombo.getText(); for (int i = 0; i < fDescriptors.length; i++) { if (fDescriptors[i].getName().equals(select...
19,365
Bug 19365 ArrayIndexOutOfBounds: editing Build Path .jar
F2 - File -> New -> Project... - Plug-in Development - Plug-in Project -> Next - set name="asd", Next - Next - select Hello World wizard, Next - Finish -> creates new Project "asd" - select it in the Packages view, right-click -> Properties... - go to Java Build Path page - go to contained Libraries tab - select any of...
verified fixed
51089bb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-08T09:10:02Z
2002-06-05T15:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java
private SourceAttachmentBlock fSourceAttachmentBlock; public SourceAttachmentDialog(Shell parent, IWorkspaceRoot root, IClasspathEntry entry) { super(parent); setTitle(NewWizardMessages.getFormattedString("LibrariesWorkbookPage.SourceAttachmentDialog.title", entry.getPath().toString())); fSourceAttachm...
19,365
Bug 19365 ArrayIndexOutOfBounds: editing Build Path .jar
F2 - File -> New -> Project... - Plug-in Development - Plug-in Project -> Next - set name="asd", Next - Next - select Hello World wizard, Next - Finish -> creates new Project "asd" - select it in the Packages view, right-click -> Properties... - go to Java Build Path page - go to contained Libraries tab - select any of...
verified fixed
51089bb
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-06-08T09:10:02Z
2002-06-05T15:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java
public IPath getSourceAttachmentPath() { return fSourceAttachmentBlock.getSourceAttachmentPath(); } public IPath getSourceAttachmentRootPath() { return fSourceAttachmentBlock.getSourceAttachmentRootPath(); } } /* * @see BuildPathBasePage#getSelection */ public List getSelection() { return...