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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4,916 | Bug 4916 Potential IDE freeze on Template Preference Page | Comments from Adam Kiezun: SEVERE: 1. go to template pref page. 2. select the first one 3. edit the name - empty the field and then put a single space whole IDE freezes (infinite loop?) | resolved fixed | d8ca187 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T12:11:08Z | 2001-10-12T12:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | column1.setText(TemplateMessages.getString("TemplatePreferencePage.column.name"));
TableColumn column2= new TableColumn(table, SWT.NULL);
column2.setText(TemplateMessages.getString("TemplatePreferencePage.column.description"));
tableLayout.addColumnData(new ColumnWeightData(30));
tableLayout.addColumnDat... |
4,916 | Bug 4916 Potential IDE freeze on Template Preference Page | Comments from Adam Kiezun: SEVERE: 1. go to template pref page. 2. select the first one 3. edit the name - empty the field and then put a single space whole IDE freezes (infinite loop?) | resolved fixed | d8ca187 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T12:11:08Z | 2001-10-12T12:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | public void selectionChanged(SelectionChangedEvent e) {
selectionChanged1();
}
});
fTableViewer.addCheckStateListener(new ICheckStateListener() {
public void checkStateChanged(CheckStateChangedEvent event) {
Template template= (Template) event.getElement();
template.setEnabled(event.getChecked())... |
4,916 | Bug 4916 Potential IDE freeze on Template Preference Page | Comments from Adam Kiezun: SEVERE: 1. go to template pref page. 2. select the first one 3. edit the name - empty the field and then put a single space whole IDE freezes (infinite loop?) | resolved fixed | d8ca187 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T12:11:08Z | 2001-10-12T12:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | public void handleEvent(Event e) {
remove();
}
});
fEnableAllButton= new Button(buttons, SWT.PUSH);
fEnableAllButton.setLayoutData(getButtonGridData(fEnableAllButton));
fEnableAllButton.setText(TemplateMessages.getString("TemplatePreferencePage.enable.all"));
fEnableAllButton.addListener(SWT.Select... |
4,916 | Bug 4916 Potential IDE freeze on Template Preference Page | Comments from Adam Kiezun: SEVERE: 1. go to template pref page. 2. select the first one 3. edit the name - empty the field and then put a single space whole IDE freezes (infinite loop?) | resolved fixed | d8ca187 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T12:11:08Z | 2001-10-12T12:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | composite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
layout= new GridLayout();
layout.numColumns= 3;
layout.marginWidth= 0;
layout.marginHeight= 0;
composite.setLayout(layout);
fNameText= createText(composite);
fNameText.addModifyListener(new ModifyListener() {
public void modifyText(Modify... |
4,916 | Bug 4916 Potential IDE freeze on Template Preference Page | Comments from Adam Kiezun: SEVERE: 1. go to template pref page. 2. select the first one 3. edit the name - empty the field and then put a single space whole IDE freezes (infinite loop?) | resolved fixed | d8ca187 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T12:11:08Z | 2001-10-12T12:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | fDescriptionText.addModifyListener(new ModifyListener() {
public void modifyText(ModifyEvent e) {
if (fCurrent == null)
return;
fCurrent.setDescription(fDescriptionText.getText());
fTableViewer.refresh(fCurrent);
}
});
Label patternLabel= createLabel(fEditor, TemplateMessages.getString(... |
4,916 | Bug 4916 Potential IDE freeze on Template Preference Page | Comments from Adam Kiezun: SEVERE: 1. go to template pref page. 2. select the first one 3. edit the name - empty the field and then put a single space whole IDE freezes (infinite loop?) | resolved fixed | d8ca187 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T12:11:08Z | 2001-10-12T12:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | fFormatButton= new Button(secondPage, SWT.CHECK);
fFormatButton.setText(TemplateMessages.getString("TemplatePreferencePage.use.code.formatter"));
IPreferenceStore prefs= JavaPlugin.getDefault().getPreferenceStore();
fFormatButton.setSelection(prefs.getBoolean(PREF_FORMAT_TEMPLATES));
fTableViewer.setInput(T... |
4,916 | Bug 4916 Potential IDE freeze on Template Preference Page | Comments from Adam Kiezun: SEVERE: 1. go to template pref page. 2. select the first one 3. edit the name - empty the field and then put a single space whole IDE freezes (infinite loop?) | resolved fixed | d8ca187 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T12:11:08Z | 2001-10-12T12:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | return label;
}
private static Text createText(Composite parent) {
Text text= new Text(parent, SWT.BORDER);
text.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
return text;
}
private SourceViewer createEditor(Composite parent) {
SourceViewer viewer= new SourceViewer(parent, null, SWT.BORDER... |
4,916 | Bug 4916 Potential IDE freeze on Template Preference Page | Comments from Adam Kiezun: SEVERE: 1. go to template pref page. 2. select the first one 3. edit the name - empty the field and then put a single space whole IDE freezes (infinite loop?) | resolved fixed | d8ca187 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T12:11:08Z | 2001-10-12T12:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | data.widthHint= SWTUtil.getButtonWidthHint(button);
data.heightHint= SWTUtil.getButtonHeigthHint(button);
return data;
}
private void selectionChanged1() {
IStructuredSelection selection= (IStructuredSelection) fTableViewer.getSelection();
if (selection.size() == 1) {
Template template= (Template) se... |
4,916 | Bug 4916 Potential IDE freeze on Template Preference Page | Comments from Adam Kiezun: SEVERE: 1. go to template pref page. 2. select the first one 3. edit the name - empty the field and then put a single space whole IDE freezes (infinite loop?) | resolved fixed | d8ca187 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T12:11:08Z | 2001-10-12T12:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | status.setError(TemplateMessages.getString("TemplatePreferencePage.error.noname"));
setValid(!status.matches(IStatus.ERROR));
StatusUtil.applyToStatusLine(this, status);
}
private static int getIndex(String context) {
if (context.equals("java"))
return 0;
else if (context.equals("javadoc"))
retu... |
4,916 | Bug 4916 Potential IDE freeze on Template Preference Page | Comments from Adam Kiezun: SEVERE: 1. go to template pref page. 2. select the first one 3. edit the name - empty the field and then put a single space whole IDE freezes (infinite loop?) | resolved fixed | d8ca187 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T12:11:08Z | 2001-10-12T12:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | fContextCombo.select(getIndex(""));
fPatternEditor.getDocument().set("");
if (fEditorEnabler == null)
fEditorEnabler= ControlEnableState.disable(fEditor);
}
private void add() {
Template template= new Template();
template.setContext("java");
TemplateSet.getInstance().add(template);
fTableViewer.... |
4,916 | Bug 4916 Potential IDE freeze on Template Preference Page | Comments from Adam Kiezun: SEVERE: 1. go to template pref page. 2. select the first one 3. edit the name - empty the field and then put a single space whole IDE freezes (infinite loop?) | resolved fixed | d8ca187 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T12:11:08Z | 2001-10-12T12:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | templates[i].setEnabled(enable);
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)
... |
4,916 | Bug 4916 Potential IDE freeze on Template Preference Page | Comments from Adam Kiezun: SEVERE: 1. go to template pref page. 2. select the first one 3. edit the name - empty the field and then put a single space whole IDE freezes (infinite loop?) | resolved fixed | d8ca187 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T12:11:08Z | 2001-10-12T12:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | public boolean performOk() {
IPreferenceStore prefs= JavaPlugin.getDefault().getPreferenceStore();
prefs.setValue(PREF_FORMAT_TEMPLATES, fFormatButton.getSelection());
TemplateSet.getInstance().save();
return super.performOk();
}
/*
* @see PreferencePage#performCancel()
*/
public boolean performCan... |
4,358 | Bug 4358 Template - steals closing bracket | Steps to reproduce - press new - enter name for - enter description for(collection, type, var) - iterate over collection - enter pattern for (Iterator iter= ${0}.iterator; iter.hasNext(); ) { ${1} ${2}= (${1})iter.next(); ${cursor} - press return several times - position cursor after ${cursor} - press enter - press } -... | resolved fixed | 4b44b25 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T13:33:04Z | 2001-10-11T11:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | package org.eclipse.jdt.internal.ui.preferences;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.eclipse.core.runtime.IStatus; |
4,358 | Bug 4358 Template - steals closing bracket | Steps to reproduce - press new - enter name for - enter description for(collection, type, var) - iterate over collection - enter pattern for (Iterator iter= ${0}.iterator; iter.hasNext(); ) { ${1} ${2}= (${1})iter.next(); ${cursor} - press return several times - position cursor after ${cursor} - press enter - press } -... | resolved fixed | 4b44b25 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T13:33:04Z | 2001-10-11T11:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | import org.eclipse.jdt.internal.ui.IJavaHelpContextIds;
import org.eclipse.jdt.internal.ui.JavaPlugin;
import org.eclipse.jdt.internal.ui.JavaPluginImages;
import org.eclipse.jdt.internal.ui.dialogs.StatusInfo;
import org.eclipse.jdt.internal.ui.dialogs.StatusUtil;
import org.eclipse.jdt.internal.ui.text.template.Templ... |
4,358 | Bug 4358 Template - steals closing bracket | Steps to reproduce - press new - enter name for - enter description for(collection, type, var) - iterate over collection - enter pattern for (Iterator iter= ${0}.iterator; iter.hasNext(); ) { ${1} ${2}= (${1})iter.next(); ${cursor} - press return several times - position cursor after ${cursor} - press enter - press } -... | resolved fixed | 4b44b25 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T13:33:04Z | 2001-10-11T11:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | import org.eclipse.jface.viewers.ViewerSorter;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.StyledText;
import org.eclipse.swt.events.ModifyEvent;
import org.eclipse.swt.events.ModifyListener;
import org.eclipse.swt.graphics.Font;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLa... |
4,358 | Bug 4358 Template - steals closing bracket | Steps to reproduce - press new - enter name for - enter description for(collection, type, var) - iterate over collection - enter pattern for (Iterator iter= ${0}.iterator; iter.hasNext(); ) { ${1} ${2}= (${1})iter.next(); ${cursor} - press return several times - position cursor after ${cursor} - press enter - press } -... | resolved fixed | 4b44b25 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T13:33:04Z | 2001-10-11T11:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | private Button fRemoveButton;
private Button fEnableAllButton;
private Button fDisableAllButton;
private Group fEditor;
private Text fNameText;
private Text fDescriptionText;
private Combo fContextCombo;
private SourceViewer fPatternEditor;
private Button fFormatButton;
private ControlEnableState fEditorEnable... |
4,358 | Bug 4358 Template - steals closing bracket | Steps to reproduce - press new - enter name for - enter description for(collection, type, var) - iterate over collection - enter pattern for (Iterator iter= ${0}.iterator; iter.hasNext(); ) { ${1} ${2}= (${1})iter.next(); ${cursor} - press return several times - position cursor after ${cursor} - press enter - press } -... | resolved fixed | 4b44b25 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T13:33:04Z | 2001-10-11T11:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | TabFolder folder= new TabFolder(parent, SWT.NONE);
folder.setLayout(new TabFolderLayout());
folder.setLayoutData(new GridData(GridData.FILL_BOTH));
Composite firstPage= new Composite(folder, SWT.NONE);
layout= new GridLayout();
layout.numColumns= 2;
firstPage.setLayout(layout);
TabItem item= new Tab... |
4,358 | Bug 4358 Template - steals closing bracket | Steps to reproduce - press new - enter name for - enter description for(collection, type, var) - iterate over collection - enter pattern for (Iterator iter= ${0}.iterator; iter.hasNext(); ) { ${1} ${2}= (${1})iter.next(); ${cursor} - press return several times - position cursor after ${cursor} - press enter - press } -... | resolved fixed | 4b44b25 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T13:33:04Z | 2001-10-11T11:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | column2.setText(TemplateMessages.getString("TemplatePreferencePage.column.description"));
tableLayout.addColumnData(new ColumnWeightData(30));
tableLayout.addColumnData(new ColumnWeightData(70));
fTableViewer.setLabelProvider(new TemplateLabelProvider());
fTableViewer.setContentProvider(new TemplateConte... |
4,358 | Bug 4358 Template - steals closing bracket | Steps to reproduce - press new - enter name for - enter description for(collection, type, var) - iterate over collection - enter pattern for (Iterator iter= ${0}.iterator; iter.hasNext(); ) { ${1} ${2}= (${1})iter.next(); ${cursor} - press return several times - position cursor after ${cursor} - press enter - press } -... | resolved fixed | 4b44b25 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T13:33:04Z | 2001-10-11T11:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | });
fTableViewer.addCheckStateListener(new ICheckStateListener() {
public void checkStateChanged(CheckStateChangedEvent event) {
Template template= (Template) event.getElement();
template.setEnabled(event.getChecked());
}
});
Composite buttons= new Composite(firstPage, SWT.NULL);
buttons.setLayou... |
4,358 | Bug 4358 Template - steals closing bracket | Steps to reproduce - press new - enter name for - enter description for(collection, type, var) - iterate over collection - enter pattern for (Iterator iter= ${0}.iterator; iter.hasNext(); ) { ${1} ${2}= (${1})iter.next(); ${cursor} - press return several times - position cursor after ${cursor} - press enter - press } -... | resolved fixed | 4b44b25 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T13:33:04Z | 2001-10-11T11:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | });
fEnableAllButton= new Button(buttons, SWT.PUSH);
fEnableAllButton.setLayoutData(getButtonGridData(fEnableAllButton));
fEnableAllButton.setText(TemplateMessages.getString("TemplatePreferencePage.enable.all"));
fEnableAllButton.addListener(SWT.Selection, new Listener() {
public void handleEvent(Event e... |
4,358 | Bug 4358 Template - steals closing bracket | Steps to reproduce - press new - enter name for - enter description for(collection, type, var) - iterate over collection - enter pattern for (Iterator iter= ${0}.iterator; iter.hasNext(); ) { ${1} ${2}= (${1})iter.next(); ${cursor} - press return several times - position cursor after ${cursor} - press enter - press } -... | resolved fixed | 4b44b25 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T13:33:04Z | 2001-10-11T11:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | layout.marginWidth= 0;
layout.marginHeight= 0;
composite.setLayout(layout);
fNameText= createText(composite);
fNameText.addModifyListener(new ModifyListener() {
public void modifyText(ModifyEvent e) {
if (fCurrent == null)
return;
fCurrent.setName(fNameText.getText());
fTableViewer.refre... |
4,358 | Bug 4358 Template - steals closing bracket | Steps to reproduce - press new - enter name for - enter description for(collection, type, var) - iterate over collection - enter pattern for (Iterator iter= ${0}.iterator; iter.hasNext(); ) { ${1} ${2}= (${1})iter.next(); ${cursor} - press return several times - position cursor after ${cursor} - press enter - press } -... | resolved fixed | 4b44b25 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T13:33:04Z | 2001-10-11T11:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | return;
fCurrent.setDescription(fDescriptionText.getText());
fTableViewer.refresh(fCurrent);
}
});
Label patternLabel= createLabel(fEditor, TemplateMessages.getString("TemplatePreferencePage.pattern"));
patternLabel.setLayoutData(new GridData(GridData.VERTICAL_ALIGN_BEGINNING));
fPatternEditor... |
4,358 | Bug 4358 Template - steals closing bracket | Steps to reproduce - press new - enter name for - enter description for(collection, type, var) - iterate over collection - enter pattern for (Iterator iter= ${0}.iterator; iter.hasNext(); ) { ${1} ${2}= (${1})iter.next(); ${cursor} - press return several times - position cursor after ${cursor} - press enter - press } -... | resolved fixed | 4b44b25 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T13:33:04Z | 2001-10-11T11:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | fFormatButton.setSelection(prefs.getBoolean(PREF_FORMAT_TEMPLATES));
fTableViewer.setInput(TemplateSet.getInstance());
fTableViewer.setAllChecked(false);
fTableViewer.setCheckedElements(getEnabledTemplates());
updateButtons();
WorkbenchHelp.setHelp(parent, new DialogPageContextComputer(this, IJavaHelpC... |
4,358 | Bug 4358 Template - steals closing bracket | Steps to reproduce - press new - enter name for - enter description for(collection, type, var) - iterate over collection - enter pattern for (Iterator iter= ${0}.iterator; iter.hasNext(); ) { ${1} ${2}= (${1})iter.next(); ${cursor} - press return several times - position cursor after ${cursor} - press enter - press } -... | resolved fixed | 4b44b25 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T13:33:04Z | 2001-10-11T11:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | private static Text createText(Composite parent) {
Text text= new Text(parent, SWT.BORDER);
text.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
return text;
}
private SourceViewer createEditor(Composite parent) {
SourceViewer viewer= new SourceViewer(parent, null, SWT.BORDER | SWT.V_SCROLL | SW... |
4,358 | Bug 4358 Template - steals closing bracket | Steps to reproduce - press new - enter name for - enter description for(collection, type, var) - iterate over collection - enter pattern for (Iterator iter= ${0}.iterator; iter.hasNext(); ) { ${1} ${2}= (${1})iter.next(); ${cursor} - press return several times - position cursor after ${cursor} - press enter - press } -... | resolved fixed | 4b44b25 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T13:33:04Z | 2001-10-11T11:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | return data;
}
private void selectionChanged1() {
IStructuredSelection selection= (IStructuredSelection) fTableViewer.getSelection();
if (selection.size() == 1) {
Template template= (Template) selection.getFirstElement();
enterEditor(template);
} else {
leaveEditor();
}
updateButtons();
... |
4,358 | Bug 4358 Template - steals closing bracket | Steps to reproduce - press new - enter name for - enter description for(collection, type, var) - iterate over collection - enter pattern for (Iterator iter= ${0}.iterator; iter.hasNext(); ) { ${1} ${2}= (${1})iter.next(); ${cursor} - press return several times - position cursor after ${cursor} - press enter - press } -... | resolved fixed | 4b44b25 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T13:33:04Z | 2001-10-11T11:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | }
private static int getIndex(String context) {
if (context.equals("java"))
return 0;
else if (context.equals("javadoc"))
return 1;
else
return -1;
}
private void enterEditor(Template template) {
if (template == fCurrent)
return;
fCurrent= template;
fNameText.setText(template.getNam... |
4,358 | Bug 4358 Template - steals closing bracket | Steps to reproduce - press new - enter name for - enter description for(collection, type, var) - iterate over collection - enter pattern for (Iterator iter= ${0}.iterator; iter.hasNext(); ) { ${1} ${2}= (${1})iter.next(); ${cursor} - press return several times - position cursor after ${cursor} - press enter - press } -... | resolved fixed | 4b44b25 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T13:33:04Z | 2001-10-11T11:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | fContextCombo.select(getIndex(""));
fPatternEditor.getDocument().set("");
if (fEditorEnabler == null)
fEditorEnabler= ControlEnableState.disable(fEditor);
}
private void add() {
Template template= new Template();
template.setContext("java");
TemplateSet.getInstance().add(template);
fTableViewer.... |
4,358 | Bug 4358 Template - steals closing bracket | Steps to reproduce - press new - enter name for - enter description for(collection, type, var) - iterate over collection - enter pattern for (Iterator iter= ${0}.iterator; iter.hasNext(); ) { ${1} ${2}= (${1})iter.next(); ${cursor} - press return several times - position cursor after ${cursor} - press enter - press } -... | resolved fixed | 4b44b25 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T13:33:04Z | 2001-10-11T11:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | templates[i].setEnabled(enable);
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)
... |
4,358 | Bug 4358 Template - steals closing bracket | Steps to reproduce - press new - enter name for - enter description for(collection, type, var) - iterate over collection - enter pattern for (Iterator iter= ${0}.iterator; iter.hasNext(); ) { ${1} ${2}= (${1})iter.next(); ${cursor} - press return several times - position cursor after ${cursor} - press enter - press } -... | resolved fixed | 4b44b25 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T13:33:04Z | 2001-10-11T11:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | public boolean performOk() {
IPreferenceStore prefs= JavaPlugin.getDefault().getPreferenceStore();
prefs.setValue(PREF_FORMAT_TEMPLATES, fFormatButton.getSelection());
TemplateSet.getInstance().save();
return super.performOk();
}
/*
* @see PreferencePage#performCancel()
*/
public boolean performCan... |
4,354 | Bug 4354 Template - pressing new presents an error | - go to Preferences->Java->Templates - press the new button - you get an error saying that the template name must not be null. This is annoying since I didn't have the change to specify one. | resolved fixed | 2a1a288 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T15:09:58Z | 2001-10-11T08:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | package org.eclipse.jdt.internal.ui.preferences;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.jdt.internal.ui.IJavaHelpContextIds;
import org.eclipse.jdt.internal.ui.JavaPlugin; |
4,354 | Bug 4354 Template - pressing new presents an error | - go to Preferences->Java->Templates - press the new button - you get an error saying that the template name must not be null. This is annoying since I didn't have the change to specify one. | resolved fixed | 2a1a288 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T15:09:58Z | 2001-10-11T08:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | import org.eclipse.jdt.internal.ui.JavaPluginImages;
import org.eclipse.jdt.internal.ui.dialogs.StatusInfo;
import org.eclipse.jdt.internal.ui.dialogs.StatusUtil;
import org.eclipse.jdt.internal.ui.text.template.Template;
import org.eclipse.jdt.internal.ui.text.template.TemplateContentProvider;
import org.eclipse.jdt.i... |
4,354 | Bug 4354 Template - pressing new presents an error | - go to Preferences->Java->Templates - press the new button - you get an error saying that the template name must not be null. This is annoying since I didn't have the change to specify one. | resolved fixed | 2a1a288 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T15:09:58Z | 2001-10-11T08:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | import org.eclipse.swt.custom.StyledText;
import org.eclipse.swt.events.ModifyEvent;
import org.eclipse.swt.events.ModifyListener;
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... |
4,354 | Bug 4354 Template - pressing new presents an error | - go to Preferences->Java->Templates - press the new button - you get an error saying that the template name must not be null. This is annoying since I didn't have the change to specify one. | resolved fixed | 2a1a288 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T15:09:58Z | 2001-10-11T08:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | private Button fDisableAllButton;
private Group fEditor;
private Text fNameText;
private Text fDescriptionText;
private Combo fContextCombo;
private SourceViewer fPatternEditor;
private Button fFormatButton;
private ControlEnableState fEditorEnabler;
private List fEditorComponents;
private Template fCurren... |
4,354 | Bug 4354 Template - pressing new presents an error | - go to Preferences->Java->Templates - press the new button - you get an error saying that the template name must not be null. This is annoying since I didn't have the change to specify one. | resolved fixed | 2a1a288 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T15:09:58Z | 2001-10-11T08:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | folder.setLayoutData(new GridData(GridData.FILL_BOTH));
Composite firstPage= new Composite(folder, SWT.NONE);
layout= new GridLayout();
layout.numColumns= 2;
firstPage.setLayout(layout);
TabItem item= new TabItem(folder, SWT.NONE);
item.setText(TemplateMessages.getString("TemplatePreferencePage.tab.edi... |
4,354 | Bug 4354 Template - pressing new presents an error | - go to Preferences->Java->Templates - press the new button - you get an error saying that the template name must not be null. This is annoying since I didn't have the change to specify one. | resolved fixed | 2a1a288 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T15:09:58Z | 2001-10-11T08:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | tableLayout.addColumnData(new ColumnWeightData(30));
tableLayout.addColumnData(new ColumnWeightData(70));
fTableViewer.setLabelProvider(new TemplateLabelProvider());
fTableViewer.setContentProvider(new TemplateContentProvider(fTableViewer, TemplateSet.getInstance()));
fTableViewer.setSorter(new ViewerSort... |
4,354 | Bug 4354 Template - pressing new presents an error | - go to Preferences->Java->Templates - press the new button - you get an error saying that the template name must not be null. This is annoying since I didn't have the change to specify one. | resolved fixed | 2a1a288 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T15:09:58Z | 2001-10-11T08:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | public void checkStateChanged(CheckStateChangedEvent event) {
Template template= (Template) event.getElement();
template.setEnabled(event.getChecked());
}
});
Composite buttons= new Composite(firstPage, SWT.NULL);
buttons.setLayoutData(new GridData(GridData.VERTICAL_ALIGN_BEGINNING));
layout= new Gr... |
4,354 | Bug 4354 Template - pressing new presents an error | - go to Preferences->Java->Templates - press the new button - you get an error saying that the template name must not be null. This is annoying since I didn't have the change to specify one. | resolved fixed | 2a1a288 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T15:09:58Z | 2001-10-11T08:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | fEnableAllButton= new Button(buttons, SWT.PUSH);
fEnableAllButton.setLayoutData(getButtonGridData(fEnableAllButton));
fEnableAllButton.setText(TemplateMessages.getString("TemplatePreferencePage.enable.all"));
fEnableAllButton.addListener(SWT.Selection, new Listener() {
public void handleEvent(Event e) {
e... |
4,354 | Bug 4354 Template - pressing new presents an error | - go to Preferences->Java->Templates - press the new button - you get an error saying that the template name must not be null. This is annoying since I didn't have the change to specify one. | resolved fixed | 2a1a288 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T15:09:58Z | 2001-10-11T08:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | composite.setLayout(layout);
fNameText= createText(composite);
fNameText.addModifyListener(new ModifyListener() {
public void modifyText(ModifyEvent e) {
if (fCurrent == null)
return;
fCurrent.setName(fNameText.getText());
fTableViewer.refresh(fCurrent);
updateButtons();
}
});
cre... |
4,354 | Bug 4354 Template - pressing new presents an error | - go to Preferences->Java->Templates - press the new button - you get an error saying that the template name must not be null. This is annoying since I didn't have the change to specify one. | resolved fixed | 2a1a288 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T15:09:58Z | 2001-10-11T08:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | fCurrent.setDescription(fDescriptionText.getText());
fTableViewer.refresh(fCurrent);
}
});
Label patternLabel= createLabel(fEditor, TemplateMessages.getString("TemplatePreferencePage.pattern"));
patternLabel.setLayoutData(new GridData(GridData.VERTICAL_ALIGN_BEGINNING));
fPatternEditor= createEditor(fEd... |
4,354 | Bug 4354 Template - pressing new presents an error | - go to Preferences->Java->Templates - press the new button - you get an error saying that the template name must not be null. This is annoying since I didn't have the change to specify one. | resolved fixed | 2a1a288 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T15:09:58Z | 2001-10-11T08:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | private Template[] getEnabledTemplates() {
Template[] templates= TemplateSet.getInstance().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[... |
4,354 | Bug 4354 Template - pressing new presents an error | - go to Preferences->Java->Templates - press the new button - you get an error saying that the template name must not be null. This is annoying since I didn't have the change to specify one. | resolved fixed | 2a1a288 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T15:09:58Z | 2001-10-11T08:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | viewer.setEditable(true);
viewer.setDocument(new Document());
Font font= JFaceResources.getFontRegistry().get(JFaceResources.TEXT_FONT);
viewer.getTextWidget().setFont(font);
Control control= viewer.getControl();
GridData data= new GridData(GridData.FILL_BOTH);
data.heightHint= convertHeightInCharsToPi... |
4,354 | Bug 4354 Template - pressing new presents an error | - go to Preferences->Java->Templates - press the new button - you get an error saying that the template name must not be null. This is annoying since I didn't have the change to specify one. | resolved fixed | 2a1a288 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T15:09:58Z | 2001-10-11T08:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | updateButtons();
}
private void updateButtons() {
int selectionCount= ((IStructuredSelection) fTableViewer.getSelection()).size();
int itemCount= fTableViewer.getTable().getItemCount();
boolean error= (fCurrent != null) && (fCurrent.getName().length() == 0);
fAddButton.setEnabled(!error);
fRemoveBut... |
4,354 | Bug 4354 Template - pressing new presents an error | - go to Preferences->Java->Templates - press the new button - you get an error saying that the template name must not be null. This is annoying since I didn't have the change to specify one. | resolved fixed | 2a1a288 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T15:09:58Z | 2001-10-11T08:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | if (template == fCurrent)
return;
if (fCurrent != null)
leaveEditor();
fCurrent= template;
fNameText.setText(template.getName());
fDescriptionText.setText(template.getDescription());
fContextCombo.select(getIndex(template.getContext()));
fPatternEditor.getDocument().set(template.getPattern()... |
4,354 | Bug 4354 Template - pressing new presents an error | - go to Preferences->Java->Templates - press the new button - you get an error saying that the template name must not be null. This is annoying since I didn't have the change to specify one. | resolved fixed | 2a1a288 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T15:09:58Z | 2001-10-11T08:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | if (fEditorEnabler == null)
fEditorEnabler= ControlEnableState.disable(fEditor);
}
private void add() {
Template template= new Template();
template.setContext("java");
TemplateSet.getInstance().add(template);
fTableViewer.refresh();
fTableViewer.setChecked(template, template.isEnabled());
enterEdi... |
4,354 | Bug 4354 Template - pressing new presents an error | - go to Preferences->Java->Templates - press the new button - you get an error saying that the template name must not be null. This is annoying since I didn't have the change to specify one. | resolved fixed | 2a1a288 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T15:09:58Z | 2001-10-11T08:46:40Z | 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... |
4,354 | Bug 4354 Template - pressing new presents an error | - go to Preferences->Java->Templates - press the new button - you get an error saying that the template name must not be null. This is annoying since I didn't have the change to specify one. | resolved fixed | 2a1a288 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-12T15:09:58Z | 2001-10-11T08:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | IPreferenceStore prefs= JavaPlugin.getDefault().getPreferenceStore();
prefs.setValue(PREF_FORMAT_TEMPLATES, fFormatButton.getSelection());
TemplateSet.getInstance().save();
return super.performOk();
}
/*
* @see PreferencePage#performCancel()
*/
public boolean performCancel() {
TemplateSet.getInstan... |
3,512 | Bug 3512 Reorg confirmation dialog (1G470GF) | - the title shouldn't be "Save". It should be more specific regarding the current reorg action. - ok should be the default button. NOTES: EG (11/17/00 12:38:48 PM) not critical | verified fixed | ead864c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T08:44:26Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/MoveAction.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.reorg;
import java.lang.reflect.InvocationTargetException;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import org.eclipse.core.runtime.CoreException;
import org... |
3,512 | Bug 3512 Reorg confirmation dialog (1G470GF) | - the title shouldn't be "Save". It should be more specific regarding the current reorg action. - ok should be the default button. NOTES: EG (11/17/00 12:38:48 PM) not critical | verified fixed | ead864c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T08:44:26Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/MoveAction.java | import org.eclipse.jdt.internal.core.refactoring.base.IChange;
import org.eclipse.jdt.internal.core.refactoring.base.Refactoring;
import org.eclipse.jdt.internal.core.refactoring.reorg.MoveRefactoring;
import org.eclipse.jdt.internal.core.refactoring.reorg.ReorgRefactoring;
import org.eclipse.jdt.internal.core.refactor... |
3,512 | Bug 3512 Reorg confirmation dialog (1G470GF) | - the title shouldn't be "Save". It should be more specific regarding the current reorg action. - ok should be the default button. NOTES: EG (11/17/00 12:38:48 PM) not critical | verified fixed | ead864c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T08:44:26Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/MoveAction.java | private boolean fShowPreview= false;
public MoveAction(StructuredSelectionProvider provider) {
this(ReorgMessages.getString("moveAction.label"), provider);
}
public MoveAction(String name, StructuredSelectionProvider provider) {
super(name, provider);
setDescription(ReorgMessages.getString("moveAction.des... |
3,512 | Bug 3512 Reorg confirmation dialog (1G470GF) | - the title shouldn't be "Save". It should be more specific regarding the current reorg action. - ok should be the default button. NOTES: EG (11/17/00 12:38:48 PM) not critical | verified fixed | ead864c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T08:44:26Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/MoveAction.java | IDocumentProvider documentProvider= JavaPlugin.getDefault().getCompilationUnitDocumentProvider();
ITextBufferChangeCreator changeCreator= new DocumentTextBufferChangeCreator(documentProvider);
return new MoveRefactoring(elements, changeCreator);
}
ElementTreeSelectionDialog createDestinationSelectionDialog(Shel... |
3,512 | Bug 3512 Reorg confirmation dialog (1G470GF) | - the title shouldn't be "Save". It should be more specific regarding the current reorg action. - ok should be the default button. NOTES: EG (11/17/00 12:38:48 PM) not critical | verified fixed | ead864c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T08:44:26Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/MoveAction.java | result.add(o);
}
return result;
}
private static int askIfOverwrite(String elementName){
Shell shell= JavaPlugin.getActiveWorkbenchShell().getShell();
String title= "Resource Exists";
String question= "Element " + elementName + " already exists. Would you like to overwrite?";
String[] labels= new St... |
3,512 | Bug 3512 Reorg confirmation dialog (1G470GF) | - the title shouldn't be "Save". It should be more specific regarding the current reorg action. - ok should be the default button. NOTES: EG (11/17/00 12:38:48 PM) not critical | verified fixed | ead864c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T08:44:26Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/MoveAction.java | fShowPreview = showPreview;
}
private static boolean isOkToMoveReadOnly(ReorgRefactoring refactoring){
for (Iterator iter= refactoring.getElementsToReorg().iterator(); iter.hasNext(); ){
Object element= iter.next();
if (ReorgUtils.shouldConfirmReadOnly(element)) {
return MessageDialog.openQuestion(
... |
3,512 | Bug 3512 Reorg confirmation dialog (1G470GF) | - the title shouldn't be "Save". It should be more specific regarding the current reorg action. - ok should be the default button. NOTES: EG (11/17/00 12:38:48 PM) not critical | verified fixed | ead864c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T08:44:26Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/MoveAction.java | MoveWizard(MoveRefactoring ref){
super(ref, "Move", IJavaHelpContextIds.MOVE_CU_ERROR_WIZARD_PAGE);
}
/* (non-Javadoc)
* Method overridden from RefactoringWizard
*/
public void addPages() {
addPreviewPage();
setupPageTitles();
}
public void createPageControls(Composite pageContainer... |
3,512 | Bug 3512 Reorg confirmation dialog (1G470GF) | - the title shouldn't be "Save". It should be more specific regarding the current reorg action. - ok should be the default button. NOTES: EG (11/17/00 12:38:48 PM) not critical | verified fixed | ead864c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T08:44:26Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/MoveAction.java | if (change == null)
return;
setChange(change);
}
private IChange computeChange(Refactoring ref) throws CoreException{
CreateChangeOperation op= new CreateChangeOperation(ref, CreateChangeOperation.CHECK_NONE);
try{
new ProgressMonitorDialog(JavaPlugin.getActiveWorkbenchShell()).run(true, true, o... |
3,512 | Bug 3512 Reorg confirmation dialog (1G470GF) | - the title shouldn't be "Save". It should be more specific regarding the current reorg action. - ok should be the default button. NOTES: EG (11/17/00 12:38:48 PM) not critical | verified fixed | ead864c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T08:44:26Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/MoveAction.java | private Button fPreview;
MoveDestinationDialog(Shell parent, ILabelProvider labelProvider, ITreeContentProvider contentProvider, MoveRefactoring refactoring){
super(parent, labelProvider, contentProvider);
fRefactoring= refactoring;
fShowPreview= false;
}
protected Control createDialogArea(Composi... |
3,512 | Bug 3512 Reorg confirmation dialog (1G470GF) | - the title shouldn't be "Save". It should be more specific regarding the current reorg action. - ok should be the default button. NOTES: EG (11/17/00 12:38:48 PM) not critical | verified fixed | ead864c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T08:44:26Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/MoveAction.java | try{
fRefactoring.setDestination(getFirstResult());
fCheckbox.setEnabled(getOkButton().getEnabled() && canUpdateReferences());
updatePreviewButton();
} catch (JavaModelException e){
ExceptionHandler.handle(e, "Move", "Unexpected exception occurred. See log for details.");
}
}
protected v... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlineErrorTickUpdater.java | package org.eclipse.jdt.internal.ui.javaeditor;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Tree;
import org.eclipse.swt.widgets.TreeItem;
import org.eclipse.jface.text.source.IAnnotationModel;
import org.eclipse.jface.text.source.IAnnotationModelListene... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlineErrorTickUpdater.java | private TreeViewer fViewer;
private JavaElementLabelProvider fLabelProvider;
private IAnnotationModel fAnnotationModel;
/**
* @param viewer The viewer of the outliner
* @param labelProvider The label provider used by the outliner
*/
public JavaOutlineErrorTickUpdater(TreeViewer viewer, JavaElementLabelProvide... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlineErrorTickUpdater.java | fAnnotationModel.removeAnnotationModelListener(this);
}
if (model != null) {
fAnnotationModel= model;
fAnnotationModel.addAnnotationModelListener(this);
fLabelProvider.setErrorTickManager(new AnnotationErrorTickProvider(fAnnotationModel));
modelChanged(model);
} else {
fAnnotationModel= null;
... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlineErrorTickUpdater.java | private void doUpdateErrorTicks() {
if (!(fViewer.getInput() instanceof IWorkingCopy)) {
return;
}
Tree tree= fViewer.getTree();
if (!tree.isDisposed()) {
TreeItem[] items= fViewer.getTree().getItems();
for (int i= 0; i < items.length; i++) {
updateItem(items[i]);
}
}
}
private void... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java | package org.eclipse.jdt.internal.ui.javaeditor;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
import java.util.Enumeration;
import java.util.Hashtable;
import java.util.Vector;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.KeyAdapter;
import org.eclipse.swt.events.KeyEvent;
import or... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java | import org.eclipse.swt.widgets.Menu;
import org.eclipse.swt.widgets.Tree;
import org.eclipse.swt.widgets.Widget;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.action.IMenuListener;
import org.eclipse.jface.action.IMenuManager;
import org.eclipse.jface.action.I... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java | import org.eclipse.jdt.core.IJavaElement;
import org.eclipse.jdt.core.IJavaElementDelta;
import org.eclipse.jdt.core.IMember;
import org.eclipse.jdt.core.IMethod;
import org.eclipse.jdt.core.IParent;
import org.eclipse.jdt.core.ISourceRange;
import org.eclipse.jdt.core.ISourceReference;
import org.eclipse.jdt.core.ITyp... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java | /**
* The element change listener of the java outline viewer.
* @see IElementChangedListener
*/
class ElementChangedListener implements IElementChangedListener {
public void elementChanged(final ElementChangedEvent e) {
Display d= getControl().getDisplay();
if (d != null) {
d.asy... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java | return null;
IJavaElement element= delta.getElement();
if (unit.equals(element))
return delta;
if (element.getElementType() > IJavaElement.CLASS_FILE)
return null;
IJavaElementDelta[] children= delta.getAffectedChildren();
if (children == null || children.le... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java | protected ElementChangedListener fListener;
protected boolean matches(IJavaElement element) {
if (element.getElementType() == IJavaElement.METHOD) {
String name= element.getElementName();
return (name != null && name.indexOf('<') >= 0);
}
return false;
}
protected IJavaE... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java | if (!initializers)
return children;
Vector v= new Vector();
for (int i= 0; i < children.length; i++) {
if (matches(children[i]))
continue;
v.addElement(children[i]);
}
IJavaElement[] result= new IJavaElement[v.size()];
v.copyInto(result);
return result... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java | }
public Object getParent(Object child) {
if (child instanceof IJavaElement) {
IJavaElement e= (IJavaElement) child;
return e.getParent();
}
return null;
}
public boolean hasChildren(Object parent) {
if (parent instanceof IParent) {
IParent c= (IParent) parent... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java | fListener= null;
}
}
/**
* @see IContentProvider#inputChanged(Viewer, Object, Object)
*/
public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
boolean remove= (oldInput instanceof ICompilationUnit && fListener != null);
boolean add= (newInput instanc... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java | /**
* Indicates an item which has been reused. At the point of
* its reuse it has been expanded. This field is used to
* communicate between <code>internalExpandToLevel</code> and
* <code>reuseTreeItem</code>.
*/
private Item fReusedExpandedItem;
public JavaOutlineViewer(Tree tree)... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java | /**
* Investigates the given element change event and if affected incrementally
* updates the outline.
*/
public void reconcile(IJavaElementDelta delta) {
if (getSorter() == null) {
Widget w= findItem(fInput);
if (w != null)
update(w, delta);
} else {
refresh... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java | }
}
super.internalExpandToLevel(node, level);
}
protected void reuseTreeItem(Item item, Object element) {
Item[] c= getChildren(item);
if (c != null && c.length > 0) {
if (getExpanded(item))
fReusedExpandedItem= item;
for (int k= 0; k < c... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java | */
protected void createTreeItem(Widget parent, Object element, int ix) {
Item[] children= getChildren(parent);
boolean expand= (parent instanceof Item && (children == null || children.length == 0));
Item item= newItem(parent, SWT.NULL, ix);
updateItem(item, element);
updatePlus(i... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java | Item item;
Object element;
IJavaElement parent= delta.getElement();
IJavaElementDelta[] affected= delta.getAffectedChildren();
Item[] children= getChildren(w);
boolean doUpdateParent= false;
Vector deletions= new Vector();
Vector additions= new Vector();
go... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java | if ((status & IJavaElementDelta.CHANGED) != 0) {
int change= affected[j].getFlags();
doUpdateParent= doUpdateParent || mustUpdateParent(affected[j], affectedElement);
if ((change & IJavaElementDelta.F_MODIFIERS) != 0) {
if (filtered(parent, affectedElement))
del... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java | IJavaElementDelta[] add= delta.getAddedChildren();
if (additions.size() > 0) {
IJavaElementDelta[] tmp= new IJavaElementDelta[add.length + additions.size()];
System.arraycopy(add, 0, tmp, 0, add.length);
for (int i= 0; i < additions.size(); i++)
tmp[i + add.length]= (IJavaElementDelta) add... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java | item= children[j];
r= (ISourceReference) item.getData();
if (r == null) {
continue go2;
}
try {
if (overlaps(r, start, end)) {
reuseTreeItem(item, (Object) add[i].getElement());
continue ... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java | }
last= item;
}
if (last != null && deletions.contains(last)) {
deletions.removeElement(last);
reuseTreeItem(last, (Object) add[i].getElement());
} else {
createTreeItem(w, (Object) add[i].getElement(), -1);
}
... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java | if (doUpdateParent)
updateItem(w, delta.getElement());
}
protected boolean overlaps(ISourceReference reference, int start, int end) {
try {
ISourceRange rng= reference.getSourceRange();
return start <= (rng.getOffset() + rng.getLength() - 1) && rng.getOffset() <= end;
... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java | private JavaElementSorter fSorter= new JavaElementSorter();
public LexicalSortingAction() {
super();
setText(JavaEditorMessages.getString("JavaOutlinePage.Sort.label"));
JavaPluginImages.setLocalImageDescriptors(this, "alphab_sort_co.gif");
boolean checked= JavaPlugin.getDefault... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java | public boolean select(Viewer viewer, Object parentElement, Object element) {
return !(element instanceof IField);
}
};
class VisibilityFilter extends ViewerFilter { |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java | public final static int PUBLIC= 0;
public final static int PROTECTED= 1;
public final static int PRIVATE= 2;
public final static int DEFAULT= 3;
public final static int NOT_STATIC= 4;
private int fVisibility;
public VisibilityFilter(int visibility) {
fVisibility= visibility;
... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java | }
public boolean select(Viewer viewer, Object parentElement, Object element) {
if ( !(element instanceof IMember))
return true;
if (element instanceof IType) {
IType type= (IType) element;
IJavaElement parent= type.getParent();
if (parent == null)
return tru... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java | boolean dflt= !(Flags.isPublic(flags) || Flags.isProtected(flags) || Flags.isPrivate(flags));
return dflt ? !belongsToInterface(member) : dflt;
}
case NOT_STATIC:
return !Flags.isStatic(flags);
}
} catch (JavaModelException x) {
}
return false;
}
}; ... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java | fCheckedDesc= checkedDesc;
fUncheckedDesc= uncheckedDesc;
fCheckedTooltip= checkedTooltip;
fUncheckedTooltip= uncheckedTooltip;
fPreferenceKey= prefKey;
boolean checked= JavaPlugin.getDefault().getPreferenceStore().getBoolean(fPreferenceKey);
valueChanged(checked, false);
}
... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java | }
};
private IJavaElement fInput;
private String fContextMenuID;
private Menu fMenu;
private JavaOutlineViewer fOutlineViewer;
private JavaEditor fEditor;
private ListenerList fSelectionChangedListeners= new ListenerList();
private Hashtable fActions= new Hashtable();
private ContextMenuGroup[... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java | ((ISelectionChangedListener) listeners[i]).selectionChanged(event);
}
/**
* @see IPage#createControl
*/
public void createControl(Composite parent) {
Tree tree= new Tree(parent, SWT.MULTI);
JavaElementLabelProvider lprovider= new JavaElementLabelProvider(JavaElementLabelProvider.SHOW_PARAMETERS | JavaEl... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java | fOutlineViewer.addSelectionChangedListener(new ISelectionChangedListener() {
public void selectionChanged(SelectionChangedEvent e) {
fireSelectionChanged(e.getSelection());
}
});
fOutlineViewer.getControl().addKeyListener(new KeyAdapter() {
public void keyPressed(KeyEvent e) {
handleKeyPressed(e... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java | if (fMenu != null && !fMenu.isDisposed()) {
fMenu.dispose();
fMenu= null;
}
super.dispose();
}
public Control getControl() {
if (fOutlineViewer != null)
return fOutlineViewer.getControl();
return null;
}
public void setInput(IJavaElement inputElement) {
fInput= inputElement;
if (fOutlin... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java | fOutlineViewer.setSelection(s, true);
}
}
public void setAction(String actionID, IAction action) {
Assert.isNotNull(actionID);
if (action == null)
fActions.remove(actionID);
else
fActions.put(actionID, action);
}
public IAction getAction(String actionID) {
Assert.isNotNull(actionID);
return (I... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java | subMenu.add(action);
else
menu.appendToGroup(group, action);
}
}
}
private void addRefactoring(IMenuManager menu){
MenuManager refactoring= new MenuManager(JavaEditorMessages.getString("JavaOutlinePage.ContextMenu.refactoring.label"));
ContextMenuGroup.add(refactoring, new ContextMenuGroup[] {... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java | protected void contextMenuAboutToShow(IMenuManager menu) {
JavaPlugin.createStandardGroups(menu);
if (OrganizeImportsAction.canActionBeAdded(getSelection())) {
addAction(menu, IContextMenuConstants.GROUP_REORGANIZE, "OrganizeImports");
}
addAction(menu, IContextMenuConstants.GROUP_OPEN, "OpenImportD... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java | * @see Page#makeContributions(IMenuManager, IToolBarManager, IStatusLineManager)
*/
public void makeContributions(IMenuManager menuManager, IToolBarManager toolBarManager, IStatusLineManager statusLineManager) {
if (statusLineManager != null) {
StatusBarUpdater updater= new StatusBarUpdater(statusLineManager... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java | }
/**
* @see ISelectionProvider#removeSelectionChangedListener(ISelectionChangedListener)
*/
public void removeSelectionChangedListener(ISelectionChangedListener listener) {
fSelectionChangedListeners.remove(listener);
}
/**
* @see ISelectionProvider#getSelection()
*/
public ISelection getSelection()... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java | if (element.getElementType() == IJavaElement.TYPE) {
IJavaElement parent= element.getParent();
int type= parent.getElementType();
return (type != IJavaElement.COMPILATION_UNIT && type != IJavaElement.CLASS_FILE);
}
return false;
}
/**
* Handles key events in viewer.
*/
private void handleKe... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/ProblemItemMapper.java | package org.eclipse.jdt.internal.ui.viewsupport;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.widgets.Item;
import org.eclipse.core.runtime.IPath;
import org.eclipse.jfac... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/ProblemItemMapper.java | private HashMap fPathToItem;
public ProblemItemMapper() {
fPathToItem= new HashMap();
}
/**
* Updates the icons of all mapped elements containing to the changed elements.
* Must be called from the UI thread.
*/
public void problemsChanged(Collection changedPaths, ILabelProvider lprovider) {
if (changed... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/ProblemItemMapper.java | private void iterateChanges(Collection changedPaths, ILabelProvider lprovider) {
Iterator elements= changedPaths.iterator();
while (elements.hasNext()) {
IPath curr= (IPath) elements.next();
Object obj= fPathToItem.get(curr);
if (obj == null) {
} else if (obj instanceof Item) {
refreshIcon(lpro... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/ProblemItemMapper.java | refreshIcon(lprovider, (Item) list.get(i));
}
}
}
}
}
private void refreshIcon(ILabelProvider lprovider, Item item) {
if (!item.isDisposed()) {
Object data= item.getData();
Image old= item.getImage();
Image image= lprovider.getImage(data);
if (image != null && image != old) {
item... |
5,062 | Bug 5062 Walkback in Synchronize clicking on 'Two way compare (ignore ancestor)' | - Load a java project from a repository - Edit several java files in the project, deleting several methods (I am not sure if it is important, but there were methods added as well) - Synchronize - Double-click on the first modified java file so you can see the Structured Compare view - Now click on the 'Two way compare ... | resolved fixed | 180e359 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-10-18T09:58:43Z | 2001-10-18T01:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/ProblemItemMapper.java | ArrayList list= new ArrayList(2);
list.add(existingMapping);
list.add(item);
fPathToItem.put(path, list);
}
} else {
List list= (List)existingMapping;
if (!list.contains(item)) {
list.add(item);
}
}
}
}
/**
* Removes an element from the map.
*/
public void re... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.