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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7,156 | Bug 7156 Search using previous search from Java Search page's list gives wrong results | 1. Search via Java Search page (search dialog) 2. Search for something else 3. Select the first Search from the drop down 4. Search ==> searched for wrong java element | verified fixed | 680070c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-12-21T12:08:25Z | 2001-12-21T10:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchPage.java | GridLayout layout= new GridLayout();
layout.numColumns= 2;
result.setLayout(layout);
fLimitTo= new Button[fLimitToText.length];
for (int i= 0; i < fLimitToText.length; i++) {
Button button= new Button(result, SWT.RADIO);
button.setText(fLimitToText[i]);
fLimitTo[i]= button;
}
return result;
}
... |
7,156 | Bug 7156 Search using previous search from Java Search page's list gives wrong results | 1. Search via Java Search page (search dialog) 2. Search for something else 3. Select the first Search from the drop down 4. Search ==> searched for wrong java element | verified fixed | 680070c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-12-21T12:08:25Z | 2001-12-21T10:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchPage.java | private SearchPatternData tryTypedTextSelection(ISelection selection) {
if (selection instanceof ITextSelection) {
IEditorPart e= getEditorPart();
if (e != null) {
ITextSelection ts= (ITextSelection)selection;
ICodeAssist assist= getCodeAssist(e);
if (assist != null) {
IJavaElement[] elements= ... |
7,156 | Bug 7156 Search using previous search from Java Search page's list gives wrong results | 1. Search via Java Search page (search dialog) 2. Search for something else 3. Select the first Search from the drop down 4. Search ==> searched for wrong java element | verified fixed | 680070c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-12-21T12:08:25Z | 2001-12-21T10:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchPage.java | if (input instanceof IClassFileEditorInput)
return ((IClassFileEditorInput)input).getClassFile();
IWorkingCopyManager manager= JavaPlugin.getDefault().getWorkingCopyManager();
return manager.getWorkingCopy(input);
}
private SearchPatternData trySelection(ISelection selection) {
SearchPatternData result= ... |
7,156 | Bug 7156 Search using previous search from Java Search page's list gives wrong results | 1. Search via Java Search page (search dialog) 2. Search for something else 3. Select the first Search from the drop down 4. Search ==> searched for wrong java element | verified fixed | 680070c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-12-21T12:08:25Z | 2001-12-21T10:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchPage.java | return JavaCore.create((String)marker.getAttribute(IJavaSearchUIConstants.ATT_JE_HANDLE_ID));
} catch (CoreException ex) {
ExceptionHandler.handle(ex, SearchMessages.getString("Search.Error.createJavaElement.title"), SearchMessages.getString("Search.Error.createJavaElement.message"));
return null;
}
}
pr... |
7,156 | Bug 7156 Search using previous search from Java Search page's list gives wrong results | 1. Search via Java Search page (search dialog) 2. Search for something else 3. Select the first Search from the drop down 4. Search ==> searched for wrong java element | verified fixed | 680070c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-12-21T12:08:25Z | 2001-12-21T10:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchPage.java | pattern= element.getElementName();
IImportDeclaration declaration= (IImportDeclaration)element;
if (declaration.isOnDemand()) {
searchFor= PACKAGE;
int index= pattern.lastIndexOf('.');
pattern= pattern.substring(0, index);
} else {
searchFor= TYPE;
}
limitTo= DECLARATIONS;
br... |
7,156 | Bug 7156 Search using previous search from Java Search page's list gives wrong results | 1. Search via Java Search page (search dialog) 2. Search for something else 3. Select the first Search from the drop down 4. Search ==> searched for wrong java element | verified fixed | 680070c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-12-21T12:08:25Z | 2001-12-21T10:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchPage.java | }
} catch (JavaModelException ex) {
ExceptionHandler.handle(ex, SearchMessages.getString("Search.Error.javaElementAccess.title"), SearchMessages.getString("Search.Error.javaElementAccess.message"));
break;
}
searchFor= TYPE;
element= mainType;
limitTo= REFERENCES;
pattern= JavaModelUt... |
7,156 | Bug 7156 Search using previous search from Java Search page's list gives wrong results | 1. Search via Java Search page (search dialog) 2. Search for something else 3. Select the first Search from the drop down 4. Search ==> searched for wrong java element | verified fixed | 680070c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-12-21T12:08:25Z | 2001-12-21T10:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchPage.java | buffer.append(JavaModelUtil.getFullyQualifiedName(type));
buffer.append('.');
buffer.append(element.getElementName());
pattern= buffer.toString();
break;
case IJavaElement.METHOD:
searchFor= METHOD;
try {
IMethod method= (IMethod)element;
if (method.isConstructor())
searchFor=... |
7,156 | Bug 7156 Search using previous search from Java Search page's list gives wrong results | 1. Search via Java Search page (search dialog) 2. Search for something else 3. Select the first Search from the drop down 4. Search ==> searched for wrong java element | verified fixed | 680070c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-12-21T12:08:25Z | 2001-12-21T10:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchPage.java | try {
text= reader.readLine();
if (text == null)
text= "";
} catch (IOException ex) {
text= "";
}
result= new SearchPatternData(TYPE, REFERENCES, text, null);
}
return result;
}
private SearchPatternData getDefaultInitValues() {
return new SearchPatternData(TYPE, REFERENCES, "", nu... |
7,156 | Bug 7156 Search using previous search from Java Search page's list gives wrong results | 1. Search via Java Search page (search dialog) 2. Search for something else 3. Select the first Search from the drop down 4. Search ==> searched for wrong java element | verified fixed | 680070c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-12-21T12:08:25Z | 2001-12-21T10:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchPage.java | fContainer= container;
}
/**
* Returns the search page's container.
*/
private ISearchPageContainer getContainer() {
return fContainer;
}
/**
* Returns the current active selection.
*/
private ISelection getSelection() {
return fContainer.getSelection();
}
/**
* Returns the current active ed... |
7,156 | Bug 7156 Search using previous search from Java Search page's list gives wrong results | 1. Search via Java Search page (search dialog) 2. Search for something else 3. Select the first Search from the drop down 4. Search ==> searched for wrong java element | verified fixed | 680070c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-12-21T12:08:25Z | 2001-12-21T10:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchPage.java | /**
* Returns the page settings for this Java search page.
*
* @return the page settings to be used
*/
private IDialogSettings getDialogSettings() {
IDialogSettings settings= JavaPlugin.getDefault().getDialogSettings();
fDialogSettings= settings.getSection(PAGE_NAME);
if (fDialogSettings == null)
fDi... |
6,824 | Bug 6824 SWT "out of bounds" exception when clicking in packages view | Build: 2001-12-06, Win2000. Sorry, I have very little information to go on. I was working away, and I got a very generic "Internal Error" dialog... it gave no interesting information (check log). When I clicked OK on that dialog, the VM immediately exited. I believe making a selection in the packages view was my last a... | resolved fixed | 7245370 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-12-21T14:25:11Z | 2001-12-11T22:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/link/LinkedPositionUI.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.text.link;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.StyledText;
import org.eclipse.swt.custom.VerifyKeyListener;
import org.eclipse.swt.events.ModifyEvent;
import org.eclipse.swt.events.ModifyListe... |
6,824 | Bug 6824 SWT "out of bounds" exception when clicking in packages view | Build: 2001-12-06, Win2000. Sorry, I have very little information to go on. I was working away, and I got a very generic "Internal Error" dialog... it gave no interesting information (check log). When I clicked OK on that dialog, the VM immediately exited. I believe making a selection in the packages view was my last a... | resolved fixed | 7245370 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-12-21T14:25:11Z | 2001-12-11T22:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/link/LinkedPositionUI.java | import org.eclipse.jface.text.ITextViewer;
import org.eclipse.jface.text.Position;
import org.eclipse.jface.text.Region;
import org.eclipse.jface.util.Assert;
import org.eclipse.jdt.internal.ui.JavaPlugin;
/**
* A user interface for <code>LinkedPositionManager</code>, using <code>ITextViewer</code>.
*/
public class L... |
6,824 | Bug 6824 SWT "out of bounds" exception when clicking in packages view | Build: 2001-12-06, Win2000. Sorry, I have very little information to go on. I was working away, and I got a very generic "Internal Error" dialog... it gave no interesting information (check log). When I clicked OK on that dialog, the VM immediately exited. I believe making a selection in the packages view was my last a... | resolved fixed | 7245370 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-12-21T14:25:11Z | 2001-12-11T22:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/link/LinkedPositionUI.java | private int fCaretOffset;
private ExitListener fExitListener;
/**
* Creates a user interface for <code>LinkedPositionManager</code>.
*
* @param viewer the text viewer.
* @param manager the <code>LinkedPositionManager</code> managing a <code>IDocument</code> of the <code>ITextViewer</code>.
*/
public ... |
6,824 | Bug 6824 SWT "out of bounds" exception when clicking in packages view | Build: 2001-12-06, Win2000. Sorry, I have very little information to go on. I was working away, and I got a very generic "Internal Error" dialog... it gave no interesting information (check log). When I clicked OK on that dialog, the VM immediately exited. I believe making a selection in the packages view was my last a... | resolved fixed | 7245370 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-12-21T14:25:11Z | 2001-12-11T22:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/link/LinkedPositionUI.java | * is exited unsuccessfully by hitting ESC.
*/
public void setCancelListener(ExitListener listener) {
fExitListener= listener;
}
/*
* @see LinkedPositionManager.LinkedPositionListener#setCurrentPositions(Position, int)
*/
public void setCurrentPosition(Position position, int caretOffset) {
if (!fFramePosit... |
6,824 | Bug 6824 SWT "out of bounds" exception when clicking in packages view | Build: 2001-12-06, Win2000. Sorry, I have very little information to go on. I was working away, and I got a very generic "Internal Error" dialog... it gave no interesting information (check log). When I clicked OK on that dialog, the VM immediately exited. I believe making a selection in the packages view was my last a... | resolved fixed | 7245370 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-12-21T14:25:11Z | 2001-12-11T22:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/link/LinkedPositionUI.java | openErrorDialog(fViewer.getTextWidget().getShell(), e);
} catch (BadPositionCategoryException e) {
JavaPlugin.log(e);
Assert.isTrue(false);
}
fViewer.addTextInputListener(this);
StyledText text= fViewer.getTextWidget();
text.addVerifyListener(this);
text.addVerifyKeyListener(this);
text.addM... |
6,824 | Bug 6824 SWT "out of bounds" exception when clicking in packages view | Build: 2001-12-06, Win2000. Sorry, I have very little information to go on. I was working away, and I got a very generic "Internal Error" dialog... it gave no interesting information (check log). When I clicked OK on that dialog, the VM immediately exited. I believe making a selection in the packages view was my last a... | resolved fixed | 7245370 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-12-21T14:25:11Z | 2001-12-11T22:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/link/LinkedPositionUI.java | return new Region(fFinalCaretOffset, 0);
else
return new Region(fFramePosition.getOffset(), fFramePosition.getLength());
}
private void leave(int flags) {
if ((flags & UNINSTALL) != 0)
fManager.uninstall((flags & COMMIT) != 0);
StyledText text= fViewer.getTextWidget();
text.removePaintListener(thi... |
6,824 | Bug 6824 SWT "out of bounds" exception when clicking in packages view | Build: 2001-12-06, Win2000. Sorry, I have very little information to go on. I was working away, and I got a very generic "Internal Error" dialog... it gave no interesting information (check log). When I clicked OK on that dialog, the VM immediately exited. I believe making a selection in the packages view was my last a... | resolved fixed | 7245370 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-12-21T14:25:11Z | 2001-12-11T22:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/link/LinkedPositionUI.java | document.removePositionUpdater(fgUpdater);
document.removePositionCategory(CARET_POSITION);
if (fExitListener != null)
fExitListener.exit(
((flags & COMMIT) != 0) ||
((flags & DOCUMENT_CHANGED) != 0));
} catch (BadPositionCategoryException e) {
JavaPlugin.log(e);
Assert.isTrue(false);
... |
6,824 | Bug 6824 SWT "out of bounds" exception when clicking in packages view | Build: 2001-12-06, Win2000. Sorry, I have very little information to go on. I was working away, and I got a very generic "Internal Error" dialog... it gave no interesting information (check log). When I clicked OK on that dialog, the VM immediately exited. I believe making a selection in the packages view was my last a... | resolved fixed | 7245370 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-12-21T14:25:11Z | 2001-12-11T22:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/link/LinkedPositionUI.java | if (position == null) {
fViewer.getTextWidget().getDisplay().beep();
} else {
fFramePosition= position;
selectRegion();
redrawRegion();
}
}
/*
* @see VerifyKeyListener#verifyKey(VerifyEvent)
*/
public void verifyKey(VerifyEvent event) {
switch (event.character) {
case 0x09:
{
Po... |
6,824 | Bug 6824 SWT "out of bounds" exception when clicking in packages view | Build: 2001-12-06, Win2000. Sorry, I have very little information to go on. I was working away, and I got a very generic "Internal Error" dialog... it gave no interesting information (check log). When I clicked OK on that dialog, the VM immediately exited. I believe making a selection in the packages view was my last a... | resolved fixed | 7245370 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-12-21T14:25:11Z | 2001-12-11T22:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/link/LinkedPositionUI.java | else
next();
event.doit= false;
break;
case 0x1B:
leave(UNINSTALL);
event.doit= false;
break;
}
}
/*
* @see VerifyListener#verifyText(VerifyEvent)
*/
public void verifyText(VerifyEvent event) {
if (!event.doit)
return;
IRegion region= fViewer.getVisibleRegion();
int off... |
6,824 | Bug 6824 SWT "out of bounds" exception when clicking in packages view | Build: 2001-12-06, Win2000. Sorry, I have very little information to go on. I was working away, and I got a very generic "Internal Error" dialog... it gave no interesting information (check log). When I clicked OK on that dialog, the VM immediately exited. I believe making a selection in the packages view was my last a... | resolved fixed | 7245370 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-12-21T14:25:11Z | 2001-12-11T22:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/link/LinkedPositionUI.java | return;
IRegion region= fViewer.getVisibleRegion();
int offset= fFramePosition.getOffset() - region.getOffset();
int length= fFramePosition.getLength();
StyledText text= fViewer.getTextWidget();
Point minLocation= getMinimumLocation(text, offset, length);
Point maxLocation= getMaximumLocatio... |
6,824 | Bug 6824 SWT "out of bounds" exception when clicking in packages view | Build: 2001-12-06, Win2000. Sorry, I have very little information to go on. I was working away, and I got a very generic "Internal Error" dialog... it gave no interesting information (check log). When I clicked OK on that dialog, the VM immediately exited. I believe making a selection in the packages view was my last a... | resolved fixed | 7245370 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-12-21T14:25:11Z | 2001-12-11T22:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/link/LinkedPositionUI.java | return minLocation;
}
private static Point getMaximumLocation(StyledText text, int offset, int length) {
Point maxLocation= new Point(Integer.MIN_VALUE, Integer.MIN_VALUE);
for (int i= 0; i <= length; i++) {
Point location= text.getLocationAtOffset(offset + i);
if (location.x > maxLocation.x)
maxLoc... |
6,824 | Bug 6824 SWT "out of bounds" exception when clicking in packages view | Build: 2001-12-06, Win2000. Sorry, I have very little information to go on. I was working away, and I got a very generic "Internal Error" dialog... it gave no interesting information (check log). When I clicked OK on that dialog, the VM immediately exited. I believe making a selection in the packages view was my last a... | resolved fixed | 7245370 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-12-21T14:25:11Z | 2001-12-11T22:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/link/LinkedPositionUI.java | int offset= fFramePosition.getOffset() + fCaretOffset - region.getOffset();
if ((offset >= 0) && (offset <= region.getLength()))
fViewer.getTextWidget().setCaretOffset(offset);
}
/*
* @see ModifyListener#modifyText(ModifyEvent)
*/
public void modifyText(ModifyEvent e) {
redrawRegion();
updateCa... |
6,582 | Bug 6582 VMPreferencePage - CheckboxTableViewer has no columns anymore | 20011204: CheckboxTableViewer has no more columns upon creation. You have to create the first column as well. I encountered the same problem in TemplatePreferencePage, because I used the same code as in VMPreferencePage. | verified fixed | a4ac68d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-03T15:14:44Z | 2001-12-05T11:00: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;
import org.eclipse.swt.graphics.Font;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.w... |
6,582 | Bug 6582 VMPreferencePage - CheckboxTableViewer has no columns anymore | 20011204: CheckboxTableViewer has no more columns upon creation. You have to create the first column as well. I encountered the same problem in TemplatePreferencePage, because I used the same code as in VMPreferencePage. | verified fixed | a4ac68d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-03T15:14:44Z | 2001-12-05T11:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | import org.eclipse.jface.viewers.CheckboxTableViewer;
import org.eclipse.jface.viewers.ColumnWeightData;
import org.eclipse.jface.viewers.DoubleClickEvent;
import org.eclipse.jface.viewers.ICheckStateListener;
import org.eclipse.jface.viewers.IDoubleClickListener;
import org.eclipse.jface.viewers.ISelectionChangedListe... |
6,582 | Bug 6582 VMPreferencePage - CheckboxTableViewer has no columns anymore | 20011204: CheckboxTableViewer has no more columns upon creation. You have to create the first column as well. I encountered the same problem in TemplatePreferencePage, because I used the same code as in VMPreferencePage. | verified fixed | a4ac68d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-03T15:14:44Z | 2001-12-05T11:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | private static final String PREF_FORMAT_TEMPLATES= JavaUI.ID_PLUGIN + ".template.format";
private Templates fTemplates;
private CheckboxTableViewer fTableViewer;
private Button fAddButton;
private Button fEditButton;
private Button fImportButton;
private Button fExportButton;
private Button fExportAllButton;
p... |
6,582 | Bug 6582 VMPreferencePage - CheckboxTableViewer has no columns anymore | 20011204: CheckboxTableViewer has no more columns upon creation. You have to create the first column as well. I encountered the same problem in TemplatePreferencePage, because I used the same code as in VMPreferencePage. | verified fixed | a4ac68d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-03T15:14:44Z | 2001-12-05T11:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | }
/**
* @see PreferencePage#createContents(Composite)
*/
protected Control createContents(Composite ancestor) {
Composite parent= new Composite(ancestor, SWT.NULL);
GridLayout layout= new GridLayout();
layout.numColumns= 2;
layout.marginHeight= 0;
layout.marginWidth= 0;
parent.setLayout(layout);
... |
6,582 | Bug 6582 VMPreferencePage - CheckboxTableViewer has no columns anymore | 20011204: CheckboxTableViewer has no more columns upon creation. You have to create the first column as well. I encountered the same problem in TemplatePreferencePage, because I used the same code as in VMPreferencePage. | verified fixed | a4ac68d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-03T15:14:44Z | 2001-12-05T11:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | column3.setText(TemplateMessages.getString("TemplatePreferencePage.column.description"));
tableLayout.addColumnData(new ColumnWeightData(30));
tableLayout.addColumnData(new ColumnWeightData(20));
tableLayout.addColumnData(new ColumnWeightData(70));
fTableViewer.setLabelProvider(new TemplateLabelProvider(... |
6,582 | Bug 6582 VMPreferencePage - CheckboxTableViewer has no columns anymore | 20011204: CheckboxTableViewer has no more columns upon creation. You have to create the first column as well. I encountered the same problem in TemplatePreferencePage, because I used the same code as in VMPreferencePage. | verified fixed | a4ac68d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-03T15:14:44Z | 2001-12-05T11:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | });
fTableViewer.addSelectionChangedListener(new ISelectionChangedListener() {
public void selectionChanged(SelectionChangedEvent e) {
selectionChanged1();
}
});
fTableViewer.addCheckStateListener(new ICheckStateListener() {
public void checkStateChanged(CheckStateChangedEvent event) {
Templat... |
6,582 | Bug 6582 VMPreferencePage - CheckboxTableViewer has no columns anymore | 20011204: CheckboxTableViewer has no more columns upon creation. You have to create the first column as well. I encountered the same problem in TemplatePreferencePage, because I used the same code as in VMPreferencePage. | verified fixed | a4ac68d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-03T15:14:44Z | 2001-12-05T11:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | fEditButton.setText(TemplateMessages.getString("TemplatePreferencePage.edit"));
fEditButton.addListener(SWT.Selection, new Listener() {
public void handleEvent(Event e) {
edit();
}
});
fRemoveButton= new Button(buttons, SWT.PUSH);
fRemoveButton.setLayoutData(getButtonGridData(fRemoveButton));
fRemo... |
6,582 | Bug 6582 VMPreferencePage - CheckboxTableViewer has no columns anymore | 20011204: CheckboxTableViewer has no more columns upon creation. You have to create the first column as well. I encountered the same problem in TemplatePreferencePage, because I used the same code as in VMPreferencePage. | verified fixed | a4ac68d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-03T15:14:44Z | 2001-12-05T11:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | }
});
fExportAllButton= new Button(buttons, SWT.PUSH);
fExportAllButton.setLayoutData(getButtonGridData(fExportAllButton));
fExportAllButton.setText(TemplateMessages.getString("TemplatePreferencePage.export.all"));
fExportAllButton.addListener(SWT.Selection, new Listener() {
public void handleEvent(Event ... |
6,582 | Bug 6582 VMPreferencePage - CheckboxTableViewer has no columns anymore | 20011204: CheckboxTableViewer has no more columns upon creation. You have to create the first column as well. I encountered the same problem in TemplatePreferencePage, because I used the same code as in VMPreferencePage. | verified fixed | a4ac68d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-03T15:14:44Z | 2001-12-05T11:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | createSpacer(parent);
fFormatButton= new Button(parent, SWT.CHECK);
fFormatButton.setText(TemplateMessages.getString("TemplatePreferencePage.use.code.formatter"));
fTableViewer.setInput(fTemplates);
fTableViewer.setAllChecked(false);
fTableViewer.setCheckedElements(getEnabledTemplates());
IPreferenceSt... |
6,582 | Bug 6582 VMPreferencePage - CheckboxTableViewer has no columns anymore | 20011204: CheckboxTableViewer has no more columns upon creation. You have to create the first column as well. I encountered the same problem in TemplatePreferencePage, because I used the same code as in VMPreferencePage. | verified fixed | a4ac68d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-03T15:14:44Z | 2001-12-05T11:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | viewer.setEditable(false);
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= convertHeightInCharsToP... |
6,582 | Bug 6582 VMPreferencePage - CheckboxTableViewer has no columns anymore | 20011204: CheckboxTableViewer has no more columns upon creation. You have to create the first column as well. I encountered the same problem in TemplatePreferencePage, because I used the same code as in VMPreferencePage. | verified fixed | a4ac68d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-03T15:14:44Z | 2001-12-05T11:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | private void selectionChanged1() {
IStructuredSelection selection= (IStructuredSelection) fTableViewer.getSelection();
if (selection.size() == 1) {
Template template= (Template) selection.getFirstElement();
fPatternViewer.getTextWidget().setText(template.getPattern());
} else {
fPatternViewer.getText... |
6,582 | Bug 6582 VMPreferencePage - CheckboxTableViewer has no columns anymore | 20011204: CheckboxTableViewer has no more columns upon creation. You have to create the first column as well. I encountered the same problem in TemplatePreferencePage, because I used the same code as in VMPreferencePage. | verified fixed | a4ac68d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-03T15:14:44Z | 2001-12-05T11:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | fTableViewer.refresh();
fTableViewer.setChecked(template, template.isEnabled());
fTableViewer.setSelection(new StructuredSelection(template));
}
}
private void edit() {
IStructuredSelection selection= (IStructuredSelection) fTableViewer.getSelection();
Object[] objects= selection.toArray();
if ((ob... |
6,582 | Bug 6582 VMPreferencePage - CheckboxTableViewer has no columns anymore | 20011204: CheckboxTableViewer has no more columns upon creation. You have to create the first column as well. I encountered the same problem in TemplatePreferencePage, because I used the same code as in VMPreferencePage. | verified fixed | a4ac68d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-03T15:14:44Z | 2001-12-05T11:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | return;
try {
fTemplates.addFromFile(new File(path));
fTableViewer.refresh();
fTableViewer.setAllChecked(false);
fTableViewer.setCheckedElements(getEnabledTemplates());
} catch (CoreException e) {
JavaPlugin.log(e);
openReadErrorDialog(e);
}
}
private void exportAll() {
export(fT... |
6,582 | Bug 6582 VMPreferencePage - CheckboxTableViewer has no columns anymore | 20011204: CheckboxTableViewer has no more columns upon creation. You have to create the first column as well. I encountered the same problem in TemplatePreferencePage, because I used the same code as in VMPreferencePage. | verified fixed | a4ac68d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-03T15:14:44Z | 2001-12-05T11:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | dialog.setText(TemplateMessages.getFormattedString("TemplatePreferencePage.export.title", new Integer(templateSet.getTemplates().length)));
dialog.setFilterExtensions(new String[] {TemplateMessages.getString("TemplatePreferencePage.export.extension")});
dialog.setFileName(TemplateMessages.getString("TemplatePrefe... |
6,582 | Bug 6582 VMPreferencePage - CheckboxTableViewer has no columns anymore | 20011204: CheckboxTableViewer has no more columns upon creation. You have to create the first column as well. I encountered the same problem in TemplatePreferencePage, because I used the same code as in VMPreferencePage. | verified fixed | a4ac68d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-03T15:14:44Z | 2001-12-05T11:00:00Z | 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)
... |
6,582 | Bug 6582 VMPreferencePage - CheckboxTableViewer has no columns anymore | 20011204: CheckboxTableViewer has no more columns upon creation. You have to create the first column as well. I encountered the same problem in TemplatePreferencePage, because I used the same code as in VMPreferencePage. | verified fixed | a4ac68d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-03T15:14:44Z | 2001-12-05T11:00: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... |
6,582 | Bug 6582 VMPreferencePage - CheckboxTableViewer has no columns anymore | 20011204: CheckboxTableViewer has no more columns upon creation. You have to create the first column as well. I encountered the same problem in TemplatePreferencePage, because I used the same code as in VMPreferencePage. | verified fixed | a4ac68d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-03T15:14:44Z | 2001-12-05T11:00: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... |
5,346 | Bug 5346 Debugger silently fails to prompt for source | 20011025 Drop The debugger silently fails to bring up the source prompt dialog when the class file does not exist in the workspace. For example, I created Test.java in the filesystem public class Test { public static void main(String[] args) { while(true) { System.out.println(System.currentTimeMillis()); try { Thread.s... | verified fixed | b19cb6e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-03T21:07:56Z | 2001-10-30T00:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | package org.eclipse.jdt.internal.ui.javaeditor;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IMarker; |
5,346 | Bug 5346 Debugger silently fails to prompt for source | 20011025 Drop The debugger silently fails to bring up the source prompt dialog when the class file does not exist in the workspace. For example, I created Test.java in the filesystem public class Test { public static void main(String[] args) { while(true) { System.out.println(System.currentTimeMillis()); try { Thread.s... | verified fixed | b19cb6e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-03T21:07:56Z | 2001-10-30T00:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.jface.text.BadLocationException;
import org.eclipse.jface.text.Document;
import org.eclipse.jface.text.DocumentEvent;
import org.eclipse.jface.text.IDocument;
... |
5,346 | Bug 5346 Debugger silently fails to prompt for source | 20011025 Drop The debugger silently fails to bring up the source prompt dialog when the class file does not exist in the workspace. For example, I created Test.java in the filesystem public class Test { public static void main(String[] args) { while(true) { System.out.println(System.currentTimeMillis()); try { Thread.s... | verified fixed | b19cb6e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-03T21:07:56Z | 2001-10-30T00:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | /**
* Synchronizes the buffer of a working copy with the document representing the buffer content.
* It would be more appropriate if the document could also serve as the working copy's buffer.
* Listens to buffer changes and translates those into document changes. Also listens to document
* changes and tran... |
5,346 | Bug 5346 Debugger silently fails to prompt for source | 20011025 Drop The debugger silently fails to bring up the source prompt dialog when the class file does not exist in the workspace. For example, I created Test.java in the filesystem public class Test { public static void main(String[] args) { while(true) { System.out.println(System.currentTimeMillis()); try { Thread.s... | verified fixed | b19cb6e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-03T21:07:56Z | 2001-10-30T00:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | /**
* Installs the synchronizer to listen to document
* as well as buffer changes.
*/
public void install() {
fDocument.addDocumentListener(this);
fBuffer.addBufferChangedListener(this);
}
/**
* Uninstalls the synchronizer. The synchronizer does no
* longer listen to buffer or d... |
5,346 | Bug 5346 Debugger silently fails to prompt for source | 20011025 Drop The debugger silently fails to bring up the source prompt dialog when the class file does not exist in the workspace. For example, I created Test.java in the filesystem public class Test { public static void main(String[] args) { while(true) { System.out.println(System.currentTimeMillis()); try { Thread.s... | verified fixed | b19cb6e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-03T21:07:56Z | 2001-10-30T00:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | public void documentAboutToBeChanged(DocumentEvent event) {
}
/**
* @see IBufferChangedListener#bufferChanged
*/
public void bufferChanged(BufferChangedEvent event) {
fDocument.removeDocumentListener(this);
try {
if (event.getLength() > 0 || event.getText() != null)
fDocument.rep... |
5,346 | Bug 5346 Debugger silently fails to prompt for source | 20011025 Drop The debugger silently fails to bring up the source prompt dialog when the class file does not exist in the workspace. For example, I created Test.java in the filesystem public class Test { public static void main(String[] args) { while(true) { System.out.println(System.currentTimeMillis()); try { Thread.s... | verified fixed | b19cb6e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-03T21:07:56Z | 2001-10-30T00:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | ICompilationUnit fCopy;
BufferSynchronizer fBufferSynchronizer;
CompilationUnitInfo(IDocument document, IAnnotationModel model, _FileSynchronizer fileSynchronizer, ICompilationUnit copy, BufferSynchronizer bufferSynchronizer) {
super(document, model, fileSynchronizer);
fCopy= copy;
fBufferSynchron... |
5,346 | Bug 5346 Debugger silently fails to prompt for source | 20011025 Drop The debugger silently fails to bring up the source prompt dialog when the class file does not exist in the workspace. For example, I created Test.java in the filesystem public class Test { public static void main(String[] args) { while(true) { System.out.println(System.currentTimeMillis()); try { Thread.s... | verified fixed | b19cb6e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-03T21:07:56Z | 2001-10-30T00:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | private ISavePolicy fSavePolicy;
/**
* Constructor
*/
public CompilationUnitDocumentProvider() {
}
/**
* Sets the document provider's save policy.
*/
public void setSavePolicy(ISavePolicy savePolicy) {
fSavePolicy= savePolicy;
}
protected ICompilationUnit createCompilationUnit(IFile file) {
O... |
5,346 | Bug 5346 Debugger silently fails to prompt for source | 20011025 Drop The debugger silently fails to bring up the source prompt dialog when the class file does not exist in the workspace. For example, I created Test.java in the filesystem public class Test { public static void main(String[] args) { while(true) { System.out.println(System.currentTimeMillis()); try { Thread.s... | verified fixed | b19cb6e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-03T21:07:56Z | 2001-10-30T00:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | IFileEditorInput input= (IFileEditorInput) element;
ICompilationUnit original= createCompilationUnit(input.getFile());
if (original != null) {
try {
try {
input.getFile().refreshLocal(IResource.DEPTH_INFINITE, null);
} catch (CoreException x) {
handleCoreException(x, JavaEditorMessage... |
5,346 | Bug 5346 Debugger silently fails to prompt for source | 20011025 Drop The debugger silently fails to bring up the source prompt dialog when the class file does not exist in the workspace. For example, I created Test.java in the filesystem public class Test { public static void main(String[] args) { while(true) { System.out.println(System.currentTimeMillis()); try { Thread.s... | verified fixed | b19cb6e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-03T21:07:56Z | 2001-10-30T00:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | }
}
/**
* @see AbstractDocumentProvider#disposeElementInfo(Object, ElementInfo)
*/
protected void disposeElementInfo(Object element, ElementInfo info) {
if (info instanceof CompilationUnitInfo) {
CompilationUnitInfo cuInfo= (CompilationUnitInfo) info;
if (cuInfo.fBufferSynchronizer != null)
... |
5,346 | Bug 5346 Debugger silently fails to prompt for source | 20011025 Drop The debugger silently fails to bring up the source prompt dialog when the class file does not exist in the workspace. For example, I created Test.java in the filesystem public class Test { public static void main(String[] args) { while(true) { System.out.println(System.currentTimeMillis()); try { Thread.s... | verified fixed | b19cb6e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-03T21:07:56Z | 2001-10-30T00:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | }
super.changed(element);
}
/**
* @see AbstractDocumentProvider#doSaveDocument(IProgressMonitor, Object, IDocument, boolean)
*/
protected void doSaveDocument(IProgressMonitor monitor, Object element, IDocument document, boolean overwrite) throws CoreException {
ElementInfo elementInfo= getElementIn... |
5,346 | Bug 5346 Debugger silently fails to prompt for source | 20011025 Drop The debugger silently fails to bring up the source prompt dialog when the class file does not exist in the workspace. For example, I created Test.java in the filesystem public class Test { public static void main(String[] args) { while(true) { System.out.println(System.currentTimeMillis()); try { Thread.s... | verified fixed | b19cb6e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-03T21:07:56Z | 2001-10-30T00:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | info.fCopy.commit(overwrite, monitor);
AbstractMarkerAnnotationModel model= (AbstractMarkerAnnotationModel) info.fModel;
model.updateMarkers(info.fDocument);
if (resource != null)
info.setModificationStamp(computeModificationStamp(resource));
if (fSavePolicy != null) {
ICompilat... |
5,346 | Bug 5346 Debugger silently fails to prompt for source | 20011025 Drop The debugger silently fails to bring up the source prompt dialog when the class file does not exist in the workspace. For example, I created Test.java in the filesystem public class Test { public static void main(String[] args) { while(true) { System.out.println(System.currentTimeMillis()); try { Thread.s... | verified fixed | b19cb6e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-03T21:07:56Z | 2001-10-30T00:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | /**
* Replaces createAnnotionModel of the super class
*/
protected IAnnotationModel createCompilationUnitAnnotationModel(Object element) throws CoreException {
if ( !(element instanceof IFileEditorInput))
throw new CoreException(new JavaModelStatus(IJavaModelStatusConstants.INVALID_RESOURCE_TYPE));
IFile... |
5,346 | Bug 5346 Debugger silently fails to prompt for source | 20011025 Drop The debugger silently fails to bring up the source prompt dialog when the class file does not exist in the workspace. For example, I created Test.java in the filesystem public class Test { public static void main(String[] args) { while(true) { System.out.println(System.currentTimeMillis()); try { Thread.s... | verified fixed | b19cb6e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-03T21:07:56Z | 2001-10-30T00:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | return document;
}
/**
* @see AbstractDocumentProvider#resetDocument(Object)
*/
public void resetDocument(Object element) throws CoreException {
if (element == null)
return;
ElementInfo elementInfo= getElementInfo(element);
if (elementInfo instanceof CompilationUnitInfo) {
CompilationUnitInfo... |
5,346 | Bug 5346 Debugger silently fails to prompt for source | 20011025 Drop The debugger silently fails to bring up the source prompt dialog when the class file does not exist in the workspace. For example, I created Test.java in the filesystem public class Test { public static void main(String[] args) { while(true) { System.out.println(System.currentTimeMillis()); try { Thread.s... | verified fixed | b19cb6e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-03T21:07:56Z | 2001-10-30T00:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | }
}
} else {
super.resetDocument(element);
}
}
/**
* @see IWorkingCopyManager#connect(IEditorInput)
*/
public void connect(IEditorInput input) throws CoreException {
super.connect(input);
}
/**
* @see IWorkingCopyManager#disconnect(IEditorInput)
*/
public void disconnect(IEditorInput input... |
5,346 | Bug 5346 Debugger silently fails to prompt for source | 20011025 Drop The debugger silently fails to bring up the source prompt dialog when the class file does not exist in the workspace. For example, I created Test.java in the filesystem public class Test { public static void main(String[] args) { while(true) { System.out.println(System.currentTimeMillis()); try { Thread.s... | verified fixed | b19cb6e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-03T21:07:56Z | 2001-10-30T00:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | }
return null;
}
/**
* @see IWorkingCopyManager#shutdown
*/
public void shutdown() {
Iterator e= getConnectedElements();
while (e.hasNext())
disconnect(e.next());
}
/**
* Returns all working copies manages by this document provider.
*
* @return all managed working copies
*/
public IComp... |
7,122 | Bug 7122 Action Cleanup/Dispose | It would nice to have a package that was strictly for actions...just like jdt debug ui. org.eclipse.debug.iternal.ui.actions | closed wontfix | a5e098d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-04T02:36:24Z | 2001-12-20T03:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/EditTemplateDialog.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.preferences;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map; |
7,122 | Bug 7122 Action Cleanup/Dispose | It would nice to have a package that was strictly for actions...just like jdt debug ui. org.eclipse.debug.iternal.ui.actions | closed wontfix | a5e098d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-04T02:36:24Z | 2001-12-20T03:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/EditTemplateDialog.java | import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.StyledText;
import org.eclipse.swt.events.KeyEvent;
import org.eclipse.swt.events.KeyListener;
import org.eclipse.swt.events.ModifyEvent;
import org.eclipse.swt.events.ModifyListener;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.Se... |
7,122 | Bug 7122 Action Cleanup/Dispose | It would nice to have a package that was strictly for actions...just like jdt debug ui. org.eclipse.debug.iternal.ui.actions | closed wontfix | a5e098d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-04T02:36:24Z | 2001-12-20T03:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/EditTemplateDialog.java | import org.eclipse.jface.text.IDocument;
import org.eclipse.jface.text.ITextListener;
import org.eclipse.jface.text.ITextOperationTarget;
import org.eclipse.jface.text.TextEvent;
import org.eclipse.jface.text.contentassist.ContentAssistant;
import org.eclipse.jface.text.contentassist.IContentAssistant;
import org.eclip... |
7,122 | Bug 7122 Action Cleanup/Dispose | It would nice to have a package that was strictly for actions...just like jdt debug ui. org.eclipse.debug.iternal.ui.actions | closed wontfix | a5e098d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-04T02:36:24Z | 2001-12-20T03:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/EditTemplateDialog.java | private static class SimpleJavaSourceViewerConfiguration extends JavaSourceViewerConfiguration {
SimpleJavaSourceViewerConfiguration(JavaTextTools tools, ITextEditor editor) {
super(tools, editor);
}
/*
* @see SourceViewerConfiguration#getContentAssistant(ISourceViewer)
*/
public IContentAssistant g... |
7,122 | Bug 7122 Action Cleanup/Dispose | It would nice to have a package that was strictly for actions...just like jdt debug ui. org.eclipse.debug.iternal.ui.actions | closed wontfix | a5e098d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-04T02:36:24Z | 2001-12-20T03:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/EditTemplateDialog.java | private String fErrorMessage;
private boolean fHasAdjacentVariables;
private boolean fEndsWithVariable;
public void reset() {
fErrorMessage= null;
fHasAdjacentVariables= false;
fEndsWithVariable= false;
}
public void acceptError(String message) {
if (fErrorMessage == null)
fErrorMessage= me... |
7,122 | Bug 7122 Action Cleanup/Dispose | It would nice to have a package that was strictly for actions...just like jdt debug ui. org.eclipse.debug.iternal.ui.actions | closed wontfix | a5e098d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-04T02:36:24Z | 2001-12-20T03:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/EditTemplateDialog.java | public void acceptVariable(String variable) {
if (fEndsWithVariable)
fHasAdjacentVariables= true;
fEndsWithVariable= true;
}
public boolean hasErrors() {
return fHasAdjacentVariables || (fErrorMessage != null);
}
public String getErrorMessage() {
if (fHasAdjacentVariables)
return Tem... |
7,122 | Bug 7122 Action Cleanup/Dispose | It would nice to have a package that was strictly for actions...just like jdt debug ui. org.eclipse.debug.iternal.ui.actions | closed wontfix | a5e098d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-04T02:36:24Z | 2001-12-20T03:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/EditTemplateDialog.java | public EditTemplateDialog(Shell parent, Template template, boolean edit) {
super(parent);
int shellStyle= getShellStyle();
setShellStyle(shellStyle | SWT.MAX | SWT.RESIZE);
if (edit)
setTitle(TemplateMessages.getString("EditTemplateDialog.title.edit"));
else
setTitle(TemplateMessages.getString("E... |
7,122 | Bug 7122 Action Cleanup/Dispose | It would nice to have a package that was strictly for actions...just like jdt debug ui. org.eclipse.debug.iternal.ui.actions | closed wontfix | a5e098d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-04T02:36:24Z | 2001-12-20T03:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/EditTemplateDialog.java | layout.marginWidth= 0;
layout.marginHeight= 0;
composite.setLayout(layout);
fNameText= createText(composite);
fNameText.addModifyListener(new ModifyListener() {
public void modifyText(ModifyEvent e) {
if (fSuppressError && (fNameText.getText().trim().length() != 0))
fSuppressError= false;
update... |
7,122 | Bug 7122 Action Cleanup/Dispose | It would nice to have a package that was strictly for actions...just like jdt debug ui. org.eclipse.debug.iternal.ui.actions | closed wontfix | a5e098d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-04T02:36:24Z | 2001-12-20T03:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/EditTemplateDialog.java | fInsertVariableButton.setLayoutData(getButtonGridData(fInsertVariableButton));
fInsertVariableButton.setText(TemplateMessages.getString("EditTemplateDialog.insert.variable"));
fInsertVariableButton.addSelectionListener(new SelectionListener() {
public void widgetSelected(SelectionEvent e) {
fPatternEditor.d... |
7,122 | Bug 7122 Action Cleanup/Dispose | It would nice to have a package that was strictly for actions...just like jdt debug ui. org.eclipse.debug.iternal.ui.actions | closed wontfix | a5e098d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-04T02:36:24Z | 2001-12-20T03:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/EditTemplateDialog.java | return text;
}
private SourceViewer createEditor(Composite parent) {
SourceViewer viewer= new SourceViewer(parent, null, SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL);
JavaTextTools tools= JavaPlugin.getDefault().getJavaTextTools();
viewer.configure(new SimpleJavaSourceViewerConfiguration(tools, null));
viewer.se... |
7,122 | Bug 7122 Action Cleanup/Dispose | It would nice to have a package that was strictly for actions...just like jdt debug ui. org.eclipse.debug.iternal.ui.actions | closed wontfix | a5e098d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-04T02:36:24Z | 2001-12-20T03:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/EditTemplateDialog.java | });
viewer.getTextWidget().addKeyListener(new KeyListener() {
public void keyPressed(KeyEvent e) {
handleKeyPressed(e);
}
public void keyReleased(KeyEvent e) {}
});
return viewer;
}
private void handleKeyPressed(KeyEvent event) {
if (event.stateMask != SWT.CTRL)
return;
switch (even... |
7,122 | Bug 7122 Action Cleanup/Dispose | It would nice to have a package that was strictly for actions...just like jdt debug ui. org.eclipse.debug.iternal.ui.actions | closed wontfix | a5e098d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-04T02:36:24Z | 2001-12-20T03:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/EditTemplateDialog.java | action.setText(TemplateMessages.getString("EditTemplateDialog.cut"));
fGlobalActions.put(ITextEditorActionConstants.CUT, action);
action= new TextViewerAction(fPatternEditor, fPatternEditor.COPY);
action.setText(TemplateMessages.getString("EditTemplateDialog.copy"));
fGlobalActions.put(ITextEditorActionConsta... |
7,122 | Bug 7122 Action Cleanup/Dispose | It would nice to have a package that was strictly for actions...just like jdt debug ui. org.eclipse.debug.iternal.ui.actions | closed wontfix | a5e098d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-04T02:36:24Z | 2001-12-20T03:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/EditTemplateDialog.java | private void fillContextMenu(IMenuManager menu) {
menu.add(new GroupMarker(ITextEditorActionConstants.GROUP_UNDO));
menu.appendToGroup(ITextEditorActionConstants.GROUP_UNDO, (IAction) fGlobalActions.get(ITextEditorActionConstants.UNDO));
menu.add(new Separator(ITextEditorActionConstants.GROUP_EDIT));
menu.... |
7,122 | Bug 7122 Action Cleanup/Dispose | It would nice to have a package that was strictly for actions...just like jdt debug ui. org.eclipse.debug.iternal.ui.actions | closed wontfix | a5e098d | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-04T02:36:24Z | 2001-12-20T03:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/EditTemplateDialog.java | else if (context.equals(TemplateContext.JAVADOC))
return 1;
else
return -1;
}
protected void okPressed() {
fTemplate.setName(fNameText.getText());
fTemplate.setDescription(fDescriptionText.getText());
fTemplate.setContext(fContextCombo.getText());
fTemplate.setPattern(fPatternEditor.getTextWidget().... |
7,251 | Bug 7251 compiler preference page: combo boxes should have equal sizes | combo boxes have different sizes - depending on whether the entry is 'error' or 'warning' - they should be equal-sized | verified fixed | ffb4e57 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-04T12:01:47Z | 2002-01-04T10:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.preferences;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.Hashtable;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.... |
7,251 | Bug 7251 compiler preference page: combo boxes should have equal sizes | combo boxes have different sizes - depending on whether the entry is 'error' or 'warning' - they should be equal-sized | verified fixed | ffb4e57 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-04T12:01:47Z | 2002-01-04T10:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | import org.eclipse.swt.widgets.Combo;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.TabFolder;
import org.eclipse.swt.widgets.TabItem;
import org.eclipse.swt.widgets.Widget;
import org.eclipse.core.resources.Increme... |
7,251 | Bug 7251 compiler preference page: combo boxes should have equal sizes | combo boxes have different sizes - depending on whether the entry is 'error' or 'warning' - they should be equal-sized | verified fixed | ffb4e57 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-04T12:01:47Z | 2002-01-04T10:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | private static final String PREF_LOCAL_VARIABLE_ATTR= "org.eclipse.jdt.core.compiler.debug.localVariable";
private static final String PREF_LINE_NUMBER_ATTR= "org.eclipse.jdt.core.compiler.debug.lineNumber";
private static final String PREF_SOURCE_FILE_ATTR= "org.eclipse.jdt.core.compiler.debug.sourceFile";
private ... |
7,251 | Bug 7251 compiler preference page: combo boxes should have equal sizes | combo boxes have different sizes - depending on whether the entry is 'error' or 'warning' - they should be equal-sized | verified fixed | ffb4e57 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-04T12:01:47Z | 2002-01-04T10:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | private static final String ERROR= "error";
private static final String WARNING= "warning";
private static final String IGNORE= "ignore";
private static String[] getAllKeys() {
return new String[] {
PREF_LOCAL_VARIABLE_ATTR, PREF_LINE_NUMBER_ATTR, PREF_SOURCE_FILE_ATTR, PREF_CODEGEN_UNUSED_LOCAL,
PREF_CODEG... |
7,251 | Bug 7251 compiler preference page: combo boxes should have equal sizes | combo boxes have different sizes - depending on whether the entry is 'error' or 'warning' - they should be equal-sized | verified fixed | ffb4e57 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-04T12:01:47Z | 2002-01-04T10:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | if (val != null) {
currOptions.put(key, val);
}
}
JavaCore.setOptions(currOptions);
}
private static class ControlData {
private String fKey;
private String[] fValues;
public ControlData(String key, String[] values) {
fKey= key;
fValues= values;
}
public String getKey() {
return... |
7,251 | Bug 7251 compiler preference page: combo boxes should have equal sizes | combo boxes have different sizes - depending on whether the entry is 'error' or 'warning' - they should be equal-sized | verified fixed | ffb4e57 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-04T12:01:47Z | 2002-01-04T10:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | if (value.equals(fValues[i])) {
return i;
}
}
throw new IllegalArgumentException();
}
}
private Hashtable fWorkingValues;
private ArrayList fCheckBoxes;
private ArrayList fComboBoxes;
private SelectionListener fSelectionListener;
public CompilerPreferencePage() {
setPreferenceStore(JavaPlug... |
7,251 | Bug 7251 compiler preference page: combo boxes should have equal sizes | combo boxes have different sizes - depending on whether the entry is 'error' or 'warning' - they should be equal-sized | verified fixed | ffb4e57 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-04T12:01:47Z | 2002-01-04T10:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | * @see IWorkbenchPreferencePage#init()
*/
public void init(IWorkbench workbench) {
}
/**
* @see PreferencePage#createControl(Composite)
*/
public void createControl(Composite parent) {
super.createControl(parent);
WorkbenchHelp.setHelp(getControl(), new DialogPageContextComputer(this, IJavaHelpContext... |
7,251 | Bug 7251 compiler preference page: combo boxes should have equal sizes | combo boxes have different sizes - depending on whether the entry is 'error' or 'warning' - they should be equal-sized | verified fixed | ffb4e57 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-04T12:01:47Z | 2002-01-04T10:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | Composite warningsComposite= new Composite(folder, SWT.NULL);
warningsComposite.setLayout(layout);
String label= JavaUIMessages.getString("CompilerPreferencePage.pb_unreachable_code.label");
addComboBox(warningsComposite, label, PREF_PB_UNREACHABLE_CODE, errorWarningIgnore, errorWarningIgnoreLabels);
label... |
7,251 | Bug 7251 compiler preference page: combo boxes should have equal sizes | combo boxes have different sizes - depending on whether the entry is 'error' or 'warning' - they should be equal-sized | verified fixed | ffb4e57 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-04T12:01:47Z | 2002-01-04T10:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | String[] generateValues= new String[] { GENERATE, DO_NOT_GENERATE };
layout= new GridLayout();
layout.numColumns= 2;
Composite codeGenComposite= new Composite(folder, SWT.NULL);
codeGenComposite.setLayout(layout);
label= JavaUIMessages.getString("CompilerPreferencePage.variable_attr.label");
addCheckBox(co... |
7,251 | Bug 7251 compiler preference page: combo boxes should have equal sizes | combo boxes have different sizes - depending on whether the entry is 'error' or 'warning' - they should be equal-sized | verified fixed | ffb4e57 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-04T12:01:47Z | 2002-01-04T10:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | label= JavaUIMessages.getString("CompilerPreferencePage.source_compatibility.label");
addComboBox(codeGenComposite, label, PREF_SOURCE_COMPATIBILITY, values, valuesLabels);
TabItem item= new TabItem(folder, SWT.NONE);
item.setText(JavaUIMessages.getString("CompilerPreferencePage.warnings.tabtitle"));
item.se... |
7,251 | Bug 7251 compiler preference page: combo boxes should have equal sizes | combo boxes have different sizes - depending on whether the entry is 'error' or 'warning' - they should be equal-sized | verified fixed | ffb4e57 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-04T12:01:47Z | 2002-01-04T10:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | fCheckBoxes.add(checkBox);
}
private void addComboBox(Composite parent, String label, String key, String[] values, String[] valueLabels) {
ControlData data= new ControlData(key, values);
Label labelControl= new Label(parent, SWT.NONE);
labelControl.setText(label);
labelControl.setLayoutData(new GridData(... |
7,251 | Bug 7251 compiler preference page: combo boxes should have equal sizes | combo boxes have different sizes - depending on whether the entry is 'error' or 'warning' - they should be equal-sized | verified fixed | ffb4e57 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-04T12:01:47Z | 2002-01-04T10:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | newValue= data.getValue(((Button)widget).getSelection());
} else if (widget instanceof Combo) {
newValue= data.getValue(((Combo)widget).getSelectionIndex());
} else {
return;
}
fWorkingValues.put(data.getKey(), newValue);
}
/*
* @see IPreferencePage#performOk()
*/
public boolean performOk() {
... |
7,251 | Bug 7251 compiler preference page: combo boxes should have equal sizes | combo boxes have different sizes - depending on whether the entry is 'error' or 'warning' - they should be equal-sized | verified fixed | ffb4e57 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-04T12:01:47Z | 2002-01-04T10:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | if (hasChanges) {
String title= JavaUIMessages.getString("CompilerPreferencePage.needsbuild.title");
String message= JavaUIMessages.getString("CompilerPreferencePage.needsbuild.message");
if (MessageDialog.openQuestion(getShell(), title, message)) {
doFullBuild();
}
}
return super.performOk();
}
... |
7,251 | Bug 7251 compiler preference page: combo boxes should have equal sizes | combo boxes have different sizes - depending on whether the entry is 'error' or 'warning' - they should be equal-sized | verified fixed | ffb4e57 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-04T12:01:47Z | 2002-01-04T10:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | /*
* @see PreferencePage#performDefaults()
*/
protected void performDefaults() {
fWorkingValues= JavaCore.getDefaultOptions();
updateControls();
super.performDefaults();
}
private void updateControls() {
for (int i= fCheckBoxes.size() - 1; i >= 0; i--) {
Button curr= (Button) fCheckBoxes.get(i);
... |
6,233 | Bug 6233 keep property value if IPropertySource.getEditableValue returns null | If IPropertySource is appearing in the property sheet as the value of a property of some other IPropertySource then the source is asked for getEditableValue. If the returned value is null, then the PropertySheetEntry should use the original value, and not null value. For example, my PropertySource contains a property w... | resolved fixed | f20a13b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-08T12:58:14Z | 2001-11-22T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaElementProperties.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui;
import org.eclipse.jface.viewers.IBasicPropertyConstants;
import org.eclipse.ui.views.properties.IPropertyDescriptor;
import org.eclipse.ui.views.properties.IPropertySource;
import org.eclipse.ui.views.properties.... |
6,233 | Bug 6233 keep property value if IPropertySource.getEditableValue returns null | If IPropertySource is appearing in the property sheet as the value of a property of some other IPropertySource then the source is asked for getEditableValue. If the returned value is null, then the PropertySheetEntry should use the original value, and not null value. For example, my PropertySource contains a property w... | resolved fixed | f20a13b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-08T12:58:14Z | 2001-11-22T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaElementProperties.java | public JavaElementProperties(IJavaElement source) {
fSource= source;
}
public IPropertyDescriptor[] getPropertyDescriptors() {
return fgPropertyDescriptors;
}
public Object getPropertyValue(Object name) {
if (name.equals(IBasicPropertyConstants.P_TEXT)) {
return fSource.getElementName();
}
return n... |
6,828 | Bug 6828 Support with replace with previous | This is likely a dup, but filed as a reminder. The replace from local history action should provide a replace with previous action. | resolved fixed | 8c876d9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-08T15:39:42Z | 2001-12-11T22:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaAddElementFromHistory.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.compare;
import java.util.ResourceBundle;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.viewers.*;
import or... |
6,828 | Bug 6828 Support with replace with previous | This is likely a dup, but filed as a reminder. The replace from local history action should provide a replace with previous action. | resolved fixed | 8c876d9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-08T15:39:42Z | 2001-12-11T22:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaAddElementFromHistory.java | private static final String BUNDLE_NAME= "org.eclipse.jdt.internal.ui.compare.AddFromHistoryAction";
private JavaEditor fEditor;
public JavaAddElementFromHistory() {
}
public void run(IAction action) { |
6,828 | Bug 6828 Support with replace with previous | This is likely a dup, but filed as a reminder. The replace from local history action should provide a replace with previous action. | resolved fixed | 8c876d9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-08T15:39:42Z | 2001-12-11T22:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaAddElementFromHistory.java | String errorTitle= CompareMessages.getString("AddFromHistory.title");
String errorMessage= CompareMessages.getString("AddFromHistory.internalErrorMessage");
Shell shell= JavaPlugin.getActiveWorkbenchShell();
ICompilationUnit cu= null;
IParent parent= null;
IMember input= null;
ISelection se... |
6,828 | Bug 6828 Support with replace with previous | This is likely a dup, but filed as a reminder. The replace from local history action should provide a replace with previous action. | resolved fixed | 8c876d9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-08T15:39:42Z | 2001-12-11T22:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaAddElementFromHistory.java | } else {
IJavaElement parentElement= input.getParent();
if (parentElement instanceof IParent)
parent= (IParent)parentElement;
}
} else {
if (selection instanceof IStructuredSelection) {
Object o= ((IStructuredSelection)selection).getFirstElement();
if (o instanceof ICompilationUnit)... |
6,828 | Bug 6828 Support with replace with previous | This is likely a dup, but filed as a reminder. The replace from local history action should provide a replace with previous action. | resolved fixed | 8c876d9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-08T15:39:42Z | 2001-12-11T22:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaAddElementFromHistory.java | if (input != null)
input= (IMember) getWorkingCopy(input);
}
TextBuffer buffer= null;
try {
buffer= TextBuffer.acquire(file);
ITypedElement target= new JavaTextBufferNode(buffer, inEditor);
ITypedElement[] editions= buildEditions(target, file);
ResourceBundle bundle= Resource... |
6,828 | Bug 6828 Support with replace with previous | This is likely a dup, but filed as a reminder. The replace from local history action should provide a replace with previous action. | resolved fixed | 8c876d9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-08T15:39:42Z | 2001-12-11T22:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaAddElementFromHistory.java | TextEdit edit= null;
if (input != null)
edit= new MemberEdit(input, MemberEdit.INSERT_AFTER, lines,
CodeFormatterPreferencePage.getTabSize());
else
edit= createEdit(lines, parent);
if (edit == null) {
MessageDialog.openError(shell, errorTitle, errorMessage);
return;
}
TextBu... |
6,828 | Bug 6828 Support with replace with previous | This is likely a dup, but filed as a reminder. The replace from local history action should provide a replace with previous action. | resolved fixed | 8c876d9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-08T15:39:42Z | 2001-12-11T22:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaAddElementFromHistory.java | */
private TextEdit createEdit(String[] lines, IParent container) {
IJavaElement[] children= null;
try {
children= container.getChildren();
} catch(JavaModelException ex) {
}
if (children != null) {
IJavaElement candidate= null;
for (int i= 0; i < children.length; i++) {
IJavaElement chld=... |
6,828 | Bug 6828 Support with replace with previous | This is likely a dup, but filed as a reminder. The replace from local history action should provide a replace with previous action. | resolved fixed | 8c876d9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-08T15:39:42Z | 2001-12-11T22:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaAddElementFromHistory.java | if (container instanceof IJavaElement)
return new MemberEdit((IJavaElement)container, MemberEdit.ADD_AT_END, lines,
CodeFormatterPreferencePage.getTabSize());
return null;
}
protected boolean isEnabled(ISelection selection) {
if (selection.isEmpty()) {
if (fEditor != null) {
... |
6,828 | Bug 6828 Support with replace with previous | This is likely a dup, but filed as a reminder. The replace from local history action should provide a replace with previous action. | resolved fixed | 8c876d9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-08T15:39:42Z | 2001-12-11T22:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaCompareWithEditionAction.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.compare;
import java.util.ResourceBundle;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.viewers.ISelection;
... |
6,828 | Bug 6828 Support with replace with previous | This is likely a dup, but filed as a reminder. The replace from local history action should provide a replace with previous action. | resolved fixed | 8c876d9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-08T15:39:42Z | 2001-12-11T22:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaCompareWithEditionAction.java | private static final String BUNDLE_NAME= "org.eclipse.jdt.internal.ui.compare.CompareWithEditionAction";
public JavaCompareWithEditionAction() {
}
public void run(IAction action) {
String errorTitle= CompareMessages.getString("ReplaceFromHistory.title");
String errorMessage= CompareMessages.getString... |
6,828 | Bug 6828 Support with replace with previous | This is likely a dup, but filed as a reminder. The replace from local history action should provide a replace with previous action. | resolved fixed | 8c876d9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-08T15:39:42Z | 2001-12-11T22:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaCompareWithEditionAction.java | ISelection selection= getSelection();
IMember input= getEditionElement(selection);
if (input == null) {
MessageDialog.openInformation(shell, errorTitle, errorMessage);
return;
}
IFile file= getFile(input);
if (file == null) {
MessageDialog.openError(shell, errorTitle, errorMessage);
return;... |
6,828 | Bug 6828 Support with replace with previous | This is likely a dup, but filed as a reminder. The replace from local history action should provide a replace with previous action. | resolved fixed | 8c876d9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-08T15:39:42Z | 2001-12-11T22:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaCompareWithEditionAction.java | String[] lines= null;
try {
lines= JavaCompareUtilities.readLines(((IStreamContentAccessor) ti).getContents());
} catch (CoreException ex) {
JavaPlugin.log(ex);
}
if (lines == null) {
MessageDialog.openError(shell, errorTitle, errorMessage);
return;
}
TextEdit ed... |
6,828 | Bug 6828 Support with replace with previous | This is likely a dup, but filed as a reminder. The replace from local history action should provide a replace with previous action. | resolved fixed | 8c876d9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-08T15:39:42Z | 2001-12-11T22:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaReplaceWithEditionAction.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.compare;
import java.util.ResourceBundle;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.viewers.ISelection;
... |
6,828 | Bug 6828 Support with replace with previous | This is likely a dup, but filed as a reminder. The replace from local history action should provide a replace with previous action. | resolved fixed | 8c876d9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-08T15:39:42Z | 2001-12-11T22:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaReplaceWithEditionAction.java | private static final String BUNDLE_NAME= "org.eclipse.jdt.internal.ui.compare.ReplaceWithEditionAction";
public JavaReplaceWithEditionAction() {
}
protected ITypedElement[] buildEditions(ITypedElement target, IFile file, IFileState[] states) {
ITypedElement[] editions= new ITypedElement[states.length+1];... |
6,828 | Bug 6828 Support with replace with previous | This is likely a dup, but filed as a reminder. The replace from local history action should provide a replace with previous action. | resolved fixed | 8c876d9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-08T15:39:42Z | 2001-12-11T22:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaReplaceWithEditionAction.java | ISelection selection= getSelection();
IMember input= getEditionElement(selection);
if (input == null) {
MessageDialog.openError(shell, errorTitle, errorMessage);
return;
}
IFile file= getFile(input);
if (file == null) {
MessageDialog.openError(shell, errorTitle, errorMessage);
return;
}
... |
6,828 | Bug 6828 Support with replace with previous | This is likely a dup, but filed as a reminder. The replace from local history action should provide a replace with previous action. | resolved fixed | 8c876d9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-01-08T15:39:42Z | 2001-12-11T22:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaReplaceWithEditionAction.java | String[] lines= null;
try {
lines= JavaCompareUtilities.readLines(((IStreamContentAccessor) ti).getContents());
} catch (CoreException ex) {
JavaPlugin.log(ex);
}
if (lines == null) {
MessageDialog.openError(shell, errorTitle, errorMessage);
return;
}
TextEdit ed... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.