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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8,150 | Bug 8150 Override methods dialog is too long | The Override methods dialog takes up the entire depth of the screen in Windows Standard Extra large. This is acceptable but if it doesn't need to be this large it should be reduced in size. STEPS 1) Create a class that implements java.sql.Statement 2) Select Override Methods from the Outline View 3) Very long dialog op... | verified fixed | e762ef9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-08T17:25:33Z | 2002-01-23T15:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/CheckedTreeSelectionDialog.java | }
/*
* @see SelectionStatusDialog#computeResult()
*/
protected void computeResult() {
setResult(Arrays.asList(fViewer.getCheckedElements()));
}
/*
* @see Window#create()
*/
public void create() {
super.create();
List initialSelections= getInitialSelections();
if (initialSelections != null)... |
8,150 | Bug 8150 Override methods dialog is too long | The Override methods dialog takes up the entire depth of the screen in Windows Standard Extra large. This is acceptable but if it doesn't need to be this large it should be reduced in size. STEPS 1) Create a class that implements java.sql.Statement 2) Select Override Methods from the Outline View 3) Very long dialog op... | verified fixed | e762ef9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-08T17:25:33Z | 2002-01-23T15:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/CheckedTreeSelectionDialog.java | Label messageLabel= createMessageArea(composite);
Control treeWidget= createTreeViewer(composite);
Control buttonComposite= createSelectionButtons(composite);
GridData data= new GridData(GridData.FILL_BOTH);
data.widthHint= convertWidthInCharsToPixels(fWidth);
data.heightHint= convertHeightInCharsToPixels(fHe... |
8,150 | Bug 8150 Override methods dialog is too long | The Override methods dialog takes up the entire depth of the screen in Windows Standard Extra large. This is acceptable but if it doesn't need to be this large it should be reduced in size. STEPS 1) Create a class that implements java.sql.Statement 2) Select Override Methods from the Outline View 3) Very long dialog op... | verified fixed | e762ef9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-08T17:25:33Z | 2002-01-23T15:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/CheckedTreeSelectionDialog.java | });
fViewer.setSorter(fSorter);
if (fFilters != null) {
for (int i= 0; i != fFilters.size(); i++)
fViewer.addFilter((ViewerFilter) fFilters.get(i));
}
fViewer.setInput(fInput);
return fViewer.getTree();
}
/**
* Add the selection and deselection buttons to the dialog.
* @param compo... |
8,150 | Bug 8150 Override methods dialog is too long | The Override methods dialog takes up the entire depth of the screen in Windows Standard Extra large. This is acceptable but if it doesn't need to be this large it should be reduced in size. STEPS 1) Create a class that implements java.sql.Statement 2) Select Override Methods from the Outline View 3) Very long dialog op... | verified fixed | e762ef9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-08T17:25:33Z | 2002-01-23T15:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/CheckedTreeSelectionDialog.java | }
};
selectButton.addSelectionListener(listener);
Button deselectButton= createButton(buttonComposite, IDialogConstants.DESELECT_ALL_ID, "Deselect All", false);
listener= new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
fViewer.setCheckedElements(new Object[0]);
updateOKStatus(... |
8,150 | Bug 8150 Override methods dialog is too long | The Override methods dialog takes up the entire depth of the screen in Windows Standard Extra large. This is acceptable but if it doesn't need to be this large it should be reduced in size. STEPS 1) Create a class that implements java.sql.Statement 2) Select Override Methods from the Outline View 3) Very long dialog op... | verified fixed | e762ef9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-08T17:25:33Z | 2002-01-23T15:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/ElementTreeSelectionDialog.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved. |
8,150 | Bug 8150 Override methods dialog is too long | The Override methods dialog takes up the entire depth of the screen in Windows Standard Extra large. This is acceptable but if it doesn't need to be this large it should be reduced in size. STEPS 1) Create a class that implements java.sql.Statement 2) Select Override Methods from the Outline View 3) Very long dialog op... | verified fixed | e762ef9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-08T17:25:33Z | 2002-01-23T15:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/ElementTreeSelectionDialog.java | */
package org.eclipse.jdt.internal.ui.dialogs;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.BusyIndicator;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.layout.GridData;
import org.ecl... |
8,150 | Bug 8150 Override methods dialog is too long | The Override methods dialog takes up the entire depth of the screen in Windows Standard Extra large. This is acceptable but if it doesn't need to be this large it should be reduced in size. STEPS 1) Create a class that implements java.sql.Statement 2) Select Override Methods from the Outline View 3) Very long dialog op... | verified fixed | e762ef9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-08T17:25:33Z | 2002-01-23T15:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/ElementTreeSelectionDialog.java | private TreeViewer fViewer;
private ILabelProvider fLabelProvider;
private ITreeContentProvider fContentProvider;
private ISelectionValidator fValidator= null;
private ViewerSorter fSorter;
private boolean fAllowMultiple= true;
private boolean fDoubleClickSelects= true;
private String fEmptyListMessage= JavaUI... |
8,150 | Bug 8150 Override methods dialog is too long | The Override methods dialog takes up the entire depth of the screen in Windows Standard Extra large. This is acceptable but if it doesn't need to be this large it should be reduced in size. STEPS 1) Create a class that implements java.sql.Statement 2) Select Override Methods from the Outline View 3) Very long dialog op... | verified fixed | e762ef9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-08T17:25:33Z | 2002-01-23T15:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/ElementTreeSelectionDialog.java | fLabelProvider= labelProvider;
fContentProvider= contentProvider;
setResult(new ArrayList(0));
setStatusLineAboveButtons(true);
}
/**
* Sets the initial selection.
* Convenience method.
* @param selection the initial selection.
*/
public void setInitialSelection(Object selection) {
setInitialSelecti... |
8,150 | Bug 8150 Override methods dialog is too long | The Override methods dialog takes up the entire depth of the screen in Windows Standard Extra large. This is acceptable but if it doesn't need to be this large it should be reduced in size. STEPS 1) Create a class that implements java.sql.Statement 2) Select Override Methods from the Outline View 3) Very long dialog op... | verified fixed | e762ef9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-08T17:25:33Z | 2002-01-23T15:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/ElementTreeSelectionDialog.java | public void setDoubleClickSelects(boolean doubleClickSelects) {
fDoubleClickSelects= doubleClickSelects;
}
/**
* Sets the sorter used by the tree viewer.
*/
public void setSorter(ViewerSorter sorter) {
fSorter= sorter;
}
/**
* Adds a filter to the tree viewer.
* @param filter a filter.
*/
publ... |
8,150 | Bug 8150 Override methods dialog is too long | The Override methods dialog takes up the entire depth of the screen in Windows Standard Extra large. This is acceptable but if it doesn't need to be this large it should be reduced in size. STEPS 1) Create a class that implements java.sql.Statement 2) Select Override Methods from the Outline View 3) Very long dialog op... | verified fixed | e762ef9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-08T17:25:33Z | 2002-01-23T15:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/ElementTreeSelectionDialog.java | /**
* Sets the tree input.
* @param input the tree input.
*/
public void setInput(Object input) {
fInput= input;
}
/**
* Sets the size of the tree in unit of characters.
* @param width the width of the tree.
* @param height the height of the tree.
*/
public void setSize(int width, int height) {
... |
8,150 | Bug 8150 Override methods dialog is too long | The Override methods dialog takes up the entire depth of the screen in Windows Standard Extra large. This is acceptable but if it doesn't need to be this large it should be reduced in size. STEPS 1) Create a class that implements java.sql.Statement 2) Select Override Methods from the Outline View 3) Very long dialog op... | verified fixed | e762ef9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-08T17:25:33Z | 2002-01-23T15:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/ElementTreeSelectionDialog.java | /*
* @see Window#open()
*/
public int open() {
fIsEmpty= evaluateIfTreeEmpty(fInput);
BusyIndicator.showWhile(null, new Runnable() {
public void run() {
access$superOpen();
}
});
return getReturnCode();
}
private void access$superOpen() {
super.open();
}
/**
* Handles cancel bu... |
8,150 | Bug 8150 Override methods dialog is too long | The Override methods dialog takes up the entire depth of the screen in Windows Standard Extra large. This is acceptable but if it doesn't need to be this large it should be reduced in size. STEPS 1) Create a class that implements java.sql.Statement 2) Select Override Methods from the Outline View 3) Very long dialog op... | verified fixed | e762ef9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-08T17:25:33Z | 2002-01-23T15:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/ElementTreeSelectionDialog.java | }
/*
* @see Window#create()
*/
public void create() {
super.create();
List initialSelections= getInitialSelections();
if (initialSelections != null)
fViewer.setSelection(new StructuredSelection(initialSelections), true);
updateOKStatus();
}
/*
* @see Dialog#createDialogArea(Composite)
*... |
8,150 | Bug 8150 Override methods dialog is too long | The Override methods dialog takes up the entire depth of the screen in Windows Standard Extra large. This is acceptable but if it doesn't need to be this large it should be reduced in size. STEPS 1) Create a class that implements java.sql.Statement 2) Select Override Methods from the Outline View 3) Very long dialog op... | verified fixed | e762ef9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-08T17:25:33Z | 2002-01-23T15:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/ElementTreeSelectionDialog.java | return composite;
}
private Tree createTreeViewer(Composite parent) {
int style= SWT.BORDER | (fAllowMultiple ? SWT.MULTI : SWT.SINGLE);
fViewer= new TreeViewer(new Tree(parent, style));
fViewer.setContentProvider(fContentProvider);
fViewer.setLabelProvider(fLabelProvider);
fViewer.addSelectionChangedList... |
8,150 | Bug 8150 Override methods dialog is too long | The Override methods dialog takes up the entire depth of the screen in Windows Standard Extra large. This is acceptable but if it doesn't need to be this large it should be reduced in size. STEPS 1) Create a class that implements java.sql.Statement 2) Select Override Methods from the Outline View 3) Very long dialog op... | verified fixed | e762ef9 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-08T17:25:33Z | 2002-01-23T15:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/ElementTreeSelectionDialog.java | });
}
fViewer.setInput(fInput);
return fViewer.getTree();
}
private boolean evaluateIfTreeEmpty(Object input) {
Object[] elements= fContentProvider.getElements(input);
if (elements.length > 0) {
if (fFilters != null) {
for (int i= 0; i < fFilters.size(); i++) {
ViewerFilter curr= (Viewe... |
8,689 | Bug 8689 TVT - Attach Source title is truncated | This defect was opened due to TVT testing on WSAD. On the Libraries tab of the Java Build Path properties, click on Attach Source button. Click on the Extension button for the Root variable path. The title is too long in French and it gets truncated (15 characters are truncated). | resolved fixed | 5314767 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-08T18:00:27Z | 2002-01-29T16:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/CheckedTreeSelectionDialog.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.dialogs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List; |
8,689 | Bug 8689 TVT - Attach Source title is truncated | This defect was opened due to TVT testing on WSAD. On the Libraries tab of the Java Build Path properties, click on Attach Source button. Click on the Extension button for the Root variable path. The title is too long in French and it gets truncated (15 characters are truncated). | resolved fixed | 5314767 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-08T18:00:27Z | 2002-01-29T16:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/CheckedTreeSelectionDialog.java | import org.eclipse.core.runtime.IStatus;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.BusyIndicator;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.SelectionListener;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.... |
8,689 | Bug 8689 TVT - Attach Source title is truncated | This defect was opened due to TVT testing on WSAD. On the Libraries tab of the Java Build Path properties, click on Attach Source button. Click on the Extension button for the Root variable path. The title is too long in French and it gets truncated (15 characters are truncated). | resolved fixed | 5314767 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-08T18:00:27Z | 2002-01-29T16:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/CheckedTreeSelectionDialog.java | private ILabelProvider fLabelProvider;
private ITreeContentProvider fContentProvider;
private ISelectionValidator fValidator= null;
private ViewerSorter fSorter;
private String fEmptyListMessage= JavaUIMessages.getString("ElementTreeSelectionDialog.nothing_available");
private IStatus fCurrStatus= new Status... |
8,689 | Bug 8689 TVT - Attach Source title is truncated | This defect was opened due to TVT testing on WSAD. On the Libraries tab of the Java Build Path properties, click on Attach Source button. Click on the Extension button for the Root variable path. The title is too long in French and it gets truncated (15 characters are truncated). | resolved fixed | 5314767 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-08T18:00:27Z | 2002-01-29T16:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/CheckedTreeSelectionDialog.java | setStatusLineAboveButtons(true);
fContainerMode= false;
fExpandedElements= null;
int shellStyle= getShellStyle();
setShellStyle(shellStyle | SWT.MAX | SWT.RESIZE);
}
/**
* If set, the checked /gray state of containers (inner nodes) is derived from the checked state of its
* leaf nodes.
* @p... |
8,689 | Bug 8689 TVT - Attach Source title is truncated | This defect was opened due to TVT testing on WSAD. On the Libraries tab of the Java Build Path properties, click on Attach Source button. Click on the Extension button for the Root variable path. The title is too long in French and it gets truncated (15 characters are truncated). | resolved fixed | 5314767 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-08T18:00:27Z | 2002-01-29T16:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/CheckedTreeSelectionDialog.java | fEmptyListMessage= message;
}
/**
* Sets the sorter used by the tree viewer.
*/
public void setSorter(ViewerSorter sorter) {
fSorter= sorter;
}
/**
* Adds a filter to the tree viewer.
* @param filter a filter.
*/
public void addFilter(ViewerFilter filter) {
if (fFilters == null)
fFilters= ... |
8,689 | Bug 8689 TVT - Attach Source title is truncated | This defect was opened due to TVT testing on WSAD. On the Libraries tab of the Java Build Path properties, click on Attach Source button. Click on the Extension button for the Root variable path. The title is too long in French and it gets truncated (15 characters are truncated). | resolved fixed | 5314767 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-08T18:00:27Z | 2002-01-29T16:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/CheckedTreeSelectionDialog.java | /**
* Sets the tree input.
* @param input the tree input.
*/
public void setInput(Object input) {
fInput= input;
}
/**
* Expands the tree
*/
public void setExpandedElements(Object[] elements) {
fExpandedElements= elements;
}
/**
* Sets the size of the tree in unit of characters.
* @param widt... |
8,689 | Bug 8689 TVT - Attach Source title is truncated | This defect was opened due to TVT testing on WSAD. On the Libraries tab of the Java Build Path properties, click on Attach Source button. Click on the Extension button for the Root variable path. The title is too long in French and it gets truncated (15 characters are truncated). | resolved fixed | 5314767 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-08T18:00:27Z | 2002-01-29T16:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/CheckedTreeSelectionDialog.java | }
} else {
fCurrStatus= new StatusInfo(IStatus.ERROR, fEmptyListMessage);
}
updateStatus(fCurrStatus);
}
/*
* @see Window#open()
*/
public int open() {
fIsEmpty= evaluateIfTreeEmpty(fInput);
BusyIndicator.showWhile(null, new Runnable() {
public void run() {
access$superOpen();
}
});
... |
8,689 | Bug 8689 TVT - Attach Source title is truncated | This defect was opened due to TVT testing on WSAD. On the Libraries tab of the Java Build Path properties, click on Attach Source button. Click on the Extension button for the Root variable path. The title is too long in French and it gets truncated (15 characters are truncated). | resolved fixed | 5314767 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-08T18:00:27Z | 2002-01-29T16:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/CheckedTreeSelectionDialog.java | }
/*
* @see SelectionStatusDialog#computeResult()
*/
protected void computeResult() {
setResult(Arrays.asList(fViewer.getCheckedElements()));
}
/*
* @see Window#create()
*/
public void create() {
super.create();
List initialSelections= getInitialSelections();
if (initialSelections != null)... |
8,689 | Bug 8689 TVT - Attach Source title is truncated | This defect was opened due to TVT testing on WSAD. On the Libraries tab of the Java Build Path properties, click on Attach Source button. Click on the Extension button for the Root variable path. The title is too long in French and it gets truncated (15 characters are truncated). | resolved fixed | 5314767 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-08T18:00:27Z | 2002-01-29T16:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/CheckedTreeSelectionDialog.java | Label messageLabel= createMessageArea(composite);
Control treeWidget= createTreeViewer(composite);
Control buttonComposite= createSelectionButtons(composite);
GridData data= new GridData(GridData.FILL_BOTH);
data.widthHint= convertWidthInCharsToPixels(fWidth);
data.heightHint= convertHeightInCharsToPixels(fHe... |
8,689 | Bug 8689 TVT - Attach Source title is truncated | This defect was opened due to TVT testing on WSAD. On the Libraries tab of the Java Build Path properties, click on Attach Source button. Click on the Extension button for the Root variable path. The title is too long in French and it gets truncated (15 characters are truncated). | resolved fixed | 5314767 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-08T18:00:27Z | 2002-01-29T16:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/CheckedTreeSelectionDialog.java | });
fViewer.setSorter(fSorter);
if (fFilters != null) {
for (int i= 0; i != fFilters.size(); i++)
fViewer.addFilter((ViewerFilter) fFilters.get(i));
}
fViewer.setInput(fInput);
return fViewer.getTree();
}
/**
* Add the selection and deselection buttons to the dialog.
* @param compo... |
8,689 | Bug 8689 TVT - Attach Source title is truncated | This defect was opened due to TVT testing on WSAD. On the Libraries tab of the Java Build Path properties, click on Attach Source button. Click on the Extension button for the Root variable path. The title is too long in French and it gets truncated (15 characters are truncated). | resolved fixed | 5314767 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-08T18:00:27Z | 2002-01-29T16:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/CheckedTreeSelectionDialog.java | }
};
selectButton.addSelectionListener(listener);
Button deselectButton= createButton(buttonComposite, IDialogConstants.DESELECT_ALL_ID, "Deselect All", false);
listener= new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
fViewer.setCheckedElements(new Object[0]);
updateOKStatus(... |
8,689 | Bug 8689 TVT - Attach Source title is truncated | This defect was opened due to TVT testing on WSAD. On the Libraries tab of the Java Build Path properties, click on Attach Source button. Click on the Extension button for the Root variable path. The title is too long in French and it gets truncated (15 characters are truncated). | resolved fixed | 5314767 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-08T18:00:27Z | 2002-01-29T16:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/ElementTreeSelectionDialog.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/ |
8,689 | Bug 8689 TVT - Attach Source title is truncated | This defect was opened due to TVT testing on WSAD. On the Libraries tab of the Java Build Path properties, click on Attach Source button. Click on the Extension button for the Root variable path. The title is too long in French and it gets truncated (15 characters are truncated). | resolved fixed | 5314767 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-08T18:00:27Z | 2002-01-29T16:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/ElementTreeSelectionDialog.java | package org.eclipse.jdt.internal.ui.dialogs;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.BusyIndicator;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.layout.GridData;
import org.eclips... |
8,689 | Bug 8689 TVT - Attach Source title is truncated | This defect was opened due to TVT testing on WSAD. On the Libraries tab of the Java Build Path properties, click on Attach Source button. Click on the Extension button for the Root variable path. The title is too long in French and it gets truncated (15 characters are truncated). | resolved fixed | 5314767 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-08T18:00:27Z | 2002-01-29T16:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/ElementTreeSelectionDialog.java | private TreeViewer fViewer;
private ILabelProvider fLabelProvider;
private ITreeContentProvider fContentProvider;
private ISelectionValidator fValidator= null;
private ViewerSorter fSorter;
private boolean fAllowMultiple= true;
private boolean fDoubleClickSelects= true;
private String fEmptyListMessage= JavaUI... |
8,689 | Bug 8689 TVT - Attach Source title is truncated | This defect was opened due to TVT testing on WSAD. On the Libraries tab of the Java Build Path properties, click on Attach Source button. Click on the Extension button for the Root variable path. The title is too long in French and it gets truncated (15 characters are truncated). | resolved fixed | 5314767 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-08T18:00:27Z | 2002-01-29T16:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/ElementTreeSelectionDialog.java | setStatusLineAboveButtons(true);
int shellStyle= getShellStyle();
setShellStyle(shellStyle | SWT.MAX | SWT.RESIZE);
}
/**
* Sets the initial selection.
* Convenience method.
* @param selection the initial selection.
*/
public void setInitialSelection(Object selection) {
setInitialSelections(new O... |
8,689 | Bug 8689 TVT - Attach Source title is truncated | This defect was opened due to TVT testing on WSAD. On the Libraries tab of the Java Build Path properties, click on Attach Source button. Click on the Extension button for the Root variable path. The title is too long in French and it gets truncated (15 characters are truncated). | resolved fixed | 5314767 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-08T18:00:27Z | 2002-01-29T16:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/ElementTreeSelectionDialog.java | public void setDoubleClickSelects(boolean doubleClickSelects) {
fDoubleClickSelects= doubleClickSelects;
}
/**
* Sets the sorter used by the tree viewer.
*/
public void setSorter(ViewerSorter sorter) {
fSorter= sorter;
}
/**
* Adds a filter to the tree viewer.
* @param filter a filter.
*/
publ... |
8,689 | Bug 8689 TVT - Attach Source title is truncated | This defect was opened due to TVT testing on WSAD. On the Libraries tab of the Java Build Path properties, click on Attach Source button. Click on the Extension button for the Root variable path. The title is too long in French and it gets truncated (15 characters are truncated). | resolved fixed | 5314767 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-08T18:00:27Z | 2002-01-29T16:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/ElementTreeSelectionDialog.java | /**
* Sets the tree input.
* @param input the tree input.
*/
public void setInput(Object input) {
fInput= input;
}
/**
* Sets the size of the tree in unit of characters.
* @param width the width of the tree.
* @param height the height of the tree.
*/
public void setSize(int width, int height) {
... |
8,689 | Bug 8689 TVT - Attach Source title is truncated | This defect was opened due to TVT testing on WSAD. On the Libraries tab of the Java Build Path properties, click on Attach Source button. Click on the Extension button for the Root variable path. The title is too long in French and it gets truncated (15 characters are truncated). | resolved fixed | 5314767 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-08T18:00:27Z | 2002-01-29T16:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/ElementTreeSelectionDialog.java | /*
* @see Window#open()
*/
public int open() {
fIsEmpty= evaluateIfTreeEmpty(fInput);
BusyIndicator.showWhile(null, new Runnable() {
public void run() {
access$superOpen();
}
});
return getReturnCode();
}
private void access$superOpen() {
super.open();
}
/**
* Handles cancel bu... |
8,689 | Bug 8689 TVT - Attach Source title is truncated | This defect was opened due to TVT testing on WSAD. On the Libraries tab of the Java Build Path properties, click on Attach Source button. Click on the Extension button for the Root variable path. The title is too long in French and it gets truncated (15 characters are truncated). | resolved fixed | 5314767 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-08T18:00:27Z | 2002-01-29T16:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/ElementTreeSelectionDialog.java | }
/*
* @see Window#create()
*/
public void create() {
super.create();
List initialSelections= getInitialSelections();
if (initialSelections != null)
fViewer.setSelection(new StructuredSelection(initialSelections), true);
updateOKStatus();
}
/*
* @see Dialog#createDialogArea(Composite)
*... |
8,689 | Bug 8689 TVT - Attach Source title is truncated | This defect was opened due to TVT testing on WSAD. On the Libraries tab of the Java Build Path properties, click on Attach Source button. Click on the Extension button for the Root variable path. The title is too long in French and it gets truncated (15 characters are truncated). | resolved fixed | 5314767 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-08T18:00:27Z | 2002-01-29T16:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/ElementTreeSelectionDialog.java | return composite;
}
private Tree createTreeViewer(Composite parent) {
int style= SWT.BORDER | (fAllowMultiple ? SWT.MULTI : SWT.SINGLE);
fViewer= new TreeViewer(new Tree(parent, style));
fViewer.setContentProvider(fContentProvider);
fViewer.setLabelProvider(fLabelProvider);
fViewer.addSelectionChangedList... |
8,689 | Bug 8689 TVT - Attach Source title is truncated | This defect was opened due to TVT testing on WSAD. On the Libraries tab of the Java Build Path properties, click on Attach Source button. Click on the Extension button for the Root variable path. The title is too long in French and it gets truncated (15 characters are truncated). | resolved fixed | 5314767 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-08T18:00:27Z | 2002-01-29T16:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/ElementTreeSelectionDialog.java | });
}
fViewer.setInput(fInput);
return fViewer.getTree();
}
private boolean evaluateIfTreeEmpty(Object input) {
Object[] elements= fContentProvider.getElements(input);
if (elements.length > 0) {
if (fFilters != null) {
for (int i= 0; i < fFilters.size(); i++) {
ViewerFilter curr= (Viewe... |
6,191 | Bug 6191 Should be able to select contents of string | In a previous version of Eclipse, and in VAJ, and in VAME, I could double-click inside a Java string and select the whole string. This is handy for replacing the text in the string. For example, if you have a string "This is a pretty long string and it is incorrect" then you could double-click in between the first " an... | resolved fixed | 1b2bb23 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T13:52:42Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java | package org.eclipse.jdt.ui.text;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
import java.util.Vector;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.jface.text.DefaultInformationControl;
import org.ecli... |
6,191 | Bug 6191 Should be able to select contents of string | In a previous version of Eclipse, and in VAJ, and in VAME, I could double-click inside a Java string and select the whole string. This is handy for replacing the text in the string. For example, if you have a string "This is a pretty long string and it is incorrect" then you could double-click in between the first " an... | resolved fixed | 1b2bb23 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T13:52:42Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java | import org.eclipse.jface.text.presentation.PresentationReconciler;
import org.eclipse.jface.text.reconciler.IReconciler;
import org.eclipse.jface.text.reconciler.MonoReconciler;
import org.eclipse.jface.text.rules.RuleBasedDamagerRepairer;
import org.eclipse.jface.text.rules.RuleBasedScanner;
import org.eclipse.jface.t... |
6,191 | Bug 6191 Should be able to select contents of string | In a previous version of Eclipse, and in VAJ, and in VAME, I could double-click inside a Java string and select the whole string. This is handy for replacing the text in the string. For example, if you have a string "This is a pretty long string and it is incorrect" then you could double-click in between the first " an... | resolved fixed | 1b2bb23 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T13:52:42Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java | public final static String PREFERENCE_TAB_WIDTH= "org.eclipse.jdt.ui.editor.tab.width";
private final static String CODE_FORMATTER_TAB_SIZE= "org.eclipse.jdt.core.formatter.tabulation.size";
private final static String CODE_FORMATTER_TAB_CHAR= "org.eclipse.jdt.core.formatter.tabulation.char";
private JavaTe... |
6,191 | Bug 6191 Should be able to select contents of string | In a previous version of Eclipse, and in VAJ, and in VAME, I could double-click inside a Java string and select the whole string. This is handy for replacing the text in the string. For example, if you have a string "This is a pretty long string and it is incorrect" then you could double-click in between the first " an... | resolved fixed | 1b2bb23 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T13:52:42Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java | * @param tools the Java tools to be used
* @param editor the editor in which the configured viewer(s) will reside
*/
public JavaSourceViewerConfiguration(JavaTextTools tools, ITextEditor editor) {
fJavaTextTools= tools;
fTextEditor= editor;
}
/**
* Returns the Java source code scanner for this configurat... |
6,191 | Bug 6191 Should be able to select contents of string | In a previous version of Eclipse, and in VAJ, and in VAME, I could double-click inside a Java string and select the whole string. This is handy for replacing the text in the string. For example, if you have a string "This is a pretty long string and it is incorrect" then you could double-click in between the first " an... | resolved fixed | 1b2bb23 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T13:52:42Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java | */
protected RuleBasedScanner getSinglelineCommentScanner() {
return fJavaTextTools.getSinglelineCommentScanner();
}
/**
* Returns the Java string scanner for this configuration.
*
* @return the Java string scanner
*/
protected RuleBasedScanner getStringScanner() {
return fJavaTextTools.getStringScann... |
6,191 | Bug 6191 Should be able to select contents of string | In a previous version of Eclipse, and in VAJ, and in VAME, I could double-click inside a Java string and select the whole string. This is handy for replacing the text in the string. For example, if you have a string "This is a pretty long string and it is incorrect" then you could double-click in between the first " an... | resolved fixed | 1b2bb23 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T13:52:42Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java | }
/**
* Returns the editor in which the configured viewer(s) will reside.
*
* @return the enclosing editor
*/
protected ITextEditor getEditor() {
return fTextEditor;
}
/**
* Returns the preference store used for by this configuration to initialize
* the individula bits and pieces.
*/
protected ... |
6,191 | Bug 6191 Should be able to select contents of string | In a previous version of Eclipse, and in VAJ, and in VAME, I could double-click inside a Java string and select the whole string. This is handy for replacing the text in the string. For example, if you have a string "This is a pretty long string and it is incorrect" then you could double-click in between the first " an... | resolved fixed | 1b2bb23 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T13:52:42Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java | dr= new RuleBasedDamagerRepairer(getMultilineCommentScanner());
reconciler.setDamager(dr, JavaPartitionScanner.JAVA_MULTI_LINE_COMMENT);
reconciler.setRepairer(dr, JavaPartitionScanner.JAVA_MULTI_LINE_COMMENT);
dr= new RuleBasedDamagerRepairer(getSinglelineCommentScanner());
reconciler.setDamager(dr, JavaPa... |
6,191 | Bug 6191 Should be able to select contents of string | In a previous version of Eclipse, and in VAJ, and in VAME, I could double-click inside a Java string and select the whole string. This is handy for replacing the text in the string. For example, if you have a string "This is a pretty long string and it is incorrect" then you could double-click in between the first " an... | resolved fixed | 1b2bb23 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T13:52:42Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java | }
return null;
}
/*
* @see SourceViewerConfiguration#getReconciler(ISourceViewer)
*/
public IReconciler getReconciler(ISourceViewer sourceViewer) {
if (getEditor() != null && getEditor().isEditable()) {
MonoReconciler reconciler= new MonoReconciler(new JavaReconcilingStrategy(getEditor()), false);
... |
6,191 | Bug 6191 Should be able to select contents of string | In a previous version of Eclipse, and in VAJ, and in VAME, I could double-click inside a Java string and select the whole string. This is handy for replacing the text in the string. For example, if you have a string "This is a pretty long string and it is incorrect" then you could double-click in between the first " an... | resolved fixed | 1b2bb23 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T13:52:42Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java | if (JavaPartitionScanner.JAVA_DOC.equals(contentType) ||
JavaPartitionScanner.JAVA_MULTI_LINE_COMMENT.equals(contentType) ||
JavaPartitionScanner.JAVA_SINGLE_LINE_COMMENT.equals(contentType) ||
JavaPartitionScanner.JAVA_STRING.equals(contentType))
return new DefaultTextDoubleClickStrategy();
return new... |
6,191 | Bug 6191 Should be able to select contents of string | In a previous version of Eclipse, and in VAJ, and in VAME, I could double-click inside a Java string and select the whole string. This is handy for replacing the text in the string. For example, if you have a string "This is a pretty long string and it is incorrect" then you could double-click in between the first " an... | resolved fixed | 1b2bb23 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T13:52:42Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java | for (int j= 0; j < i; j++)
prefix.append(' ');
if (i != tabWidth)
prefix.append('\t');
}
vector.add(prefix.toString());
}
vector.add("");
return (String[]) vector.toArray(new String[vector.size()]);
}
/*
* @see SourceViewerConfiguration#getTabWidth(ISourceViewer)
*/... |
6,191 | Bug 6191 Should be able to select contents of string | In a previous version of Eclipse, and in VAJ, and in VAME, I could double-click inside a Java string and select the whole string. This is handy for replacing the text in the string. For example, if you have a string "This is a pretty long string and it is incorrect" then you could double-click in between the first " an... | resolved fixed | 1b2bb23 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T13:52:42Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java | }
/*
* @see SourceViewerConfiguration#getConfiguredContentTypes(ISourceViewer)
*/
public String[] getConfiguredContentTypes(ISourceViewer sourceViewer) {
return new String[] {
IDocument.DEFAULT_CONTENT_TYPE,
JavaPartitionScanner.JAVA_DOC,
JavaPartitionScanner.JAVA_MULTI_LINE_COMMENT,
JavaParti... |
6,191 | Bug 6191 Should be able to select contents of string | In a previous version of Eclipse, and in VAJ, and in VAME, I could double-click inside a Java string and select the whole string. This is handy for replacing the text in the string. For example, if you have a string "This is a pretty long string and it is incorrect" then you could double-click in between the first " an... | resolved fixed | 1b2bb23 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T13:52:42Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java | /*
* @see SourceViewerConfiguration#getHoverControlCreator(ISourceViewer)
*/
public IInformationControlCreator getInformationControlCreator(ISourceViewer sourceViewer) {
return getInformationControlCreator(sourceViewer, true);
}
private IInformationControlCreator getInformationControlCreator(ISourceViewer so... |
9,108 | Bug 9108 Preference page for templates - position of edit is awkward (minor) | stable 20020125 (not really a bug - just feedback) On the Templates preference page the "Edit..." butt is poorly placed. - Initially I didn't notice it and kept trying to use what looked to to be the text/edit area at the bottom of the page - only to discover it was read only. - Now that I have found it <g>, I have unf... | verified fixed | beabf67 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T14:51:42Z | 2002-02-05T17:26:40Z | 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... |
9,108 | Bug 9108 Preference page for templates - position of edit is awkward (minor) | stable 20020125 (not really a bug - just feedback) On the Templates preference page the "Edit..." butt is poorly placed. - Initially I didn't notice it and kept trying to use what looked to to be the text/edit area at the bottom of the page - only to discover it was read only. - Now that I have found it <g>, I have unf... | verified fixed | beabf67 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T14:51:42Z | 2002-02-05T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | import org.eclipse.jface.viewers.DoubleClickEvent;
import org.eclipse.jface.viewers.ICheckStateListener;
import org.eclipse.jface.viewers.IDoubleClickListener;
import org.eclipse.jface.viewers.ISelectionChangedListener;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.viewers.SelectionCha... |
9,108 | Bug 9108 Preference page for templates - position of edit is awkward (minor) | stable 20020125 (not really a bug - just feedback) On the Templates preference page the "Edit..." butt is poorly placed. - Initially I didn't notice it and kept trying to use what looked to to be the text/edit area at the bottom of the page - only to discover it was read only. - Now that I have found it <g>, I have unf... | verified fixed | beabf67 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T14:51:42Z | 2002-02-05T17:26:40Z | 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... |
9,108 | Bug 9108 Preference page for templates - position of edit is awkward (minor) | stable 20020125 (not really a bug - just feedback) On the Templates preference page the "Edit..." butt is poorly placed. - Initially I didn't notice it and kept trying to use what looked to to be the text/edit area at the bottom of the page - only to discover it was read only. - Now that I have found it <g>, I have unf... | verified fixed | beabf67 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T14:51:42Z | 2002-02-05T17:26:40Z | 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.NONE);
GridLayout layout= new GridLayout();
layout.numColumns= 2;
layout.marginHeight= 0;
layout.marginWidth= 0;
parent.setLayout(layout);
T... |
9,108 | Bug 9108 Preference page for templates - position of edit is awkward (minor) | stable 20020125 (not really a bug - just feedback) On the Templates preference page the "Edit..." butt is poorly placed. - Initially I didn't notice it and kept trying to use what looked to to be the text/edit area at the bottom of the page - only to discover it was read only. - Now that I have found it <g>, I have unf... | verified fixed | beabf67 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T14:51:42Z | 2002-02-05T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | tableLayout.addColumnData(new ColumnWeightData(20));
tableLayout.addColumnData(new ColumnWeightData(70));
fTableViewer= new CheckboxTableViewer(table);
fTableViewer.setLabelProvider(new TemplateLabelProvider());
fTableViewer.setContentProvider(new TemplateContentProvider());
fTableViewer.setSorter(new Viewe... |
9,108 | Bug 9108 Preference page for templates - position of edit is awkward (minor) | stable 20020125 (not really a bug - just feedback) On the Templates preference page the "Edit..." butt is poorly placed. - Initially I didn't notice it and kept trying to use what looked to to be the text/edit area at the bottom of the page - only to discover it was read only. - Now that I have found it <g>, I have unf... | verified fixed | beabf67 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T14:51:42Z | 2002-02-05T17:26:40Z | 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());... |
9,108 | Bug 9108 Preference page for templates - position of edit is awkward (minor) | stable 20020125 (not really a bug - just feedback) On the Templates preference page the "Edit..." butt is poorly placed. - Initially I didn't notice it and kept trying to use what looked to to be the text/edit area at the bottom of the page - only to discover it was read only. - Now that I have found it <g>, I have unf... | verified fixed | beabf67 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T14:51:42Z | 2002-02-05T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | edit();
}
});
fRemoveButton= new Button(buttons, SWT.PUSH);
fRemoveButton.setLayoutData(getButtonGridData(fRemoveButton));
fRemoveButton.setText(TemplateMessages.getString("TemplatePreferencePage.remove"));
fRemoveButton.addListener(SWT.Selection, new Listener() {
public void handleEvent(Event e) {
... |
9,108 | Bug 9108 Preference page for templates - position of edit is awkward (minor) | stable 20020125 (not really a bug - just feedback) On the Templates preference page the "Edit..." butt is poorly placed. - Initially I didn't notice it and kept trying to use what looked to to be the text/edit area at the bottom of the page - only to discover it was read only. - Now that I have found it <g>, I have unf... | verified fixed | beabf67 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T14:51:42Z | 2002-02-05T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | fExportAllButton.setLayoutData(getButtonGridData(fExportAllButton));
fExportAllButton.setText(TemplateMessages.getString("TemplatePreferencePage.export.all"));
fExportAllButton.addListener(SWT.Selection, new Listener() {
public void handleEvent(Event e) {
exportAll();
}
});
createSpacer(buttons);
... |
9,108 | Bug 9108 Preference page for templates - position of edit is awkward (minor) | stable 20020125 (not really a bug - just feedback) On the Templates preference page the "Edit..." butt is poorly placed. - Initially I didn't notice it and kept trying to use what looked to to be the text/edit area at the bottom of the page - only to discover it was read only. - Now that I have found it <g>, I have unf... | verified fixed | beabf67 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T14:51:42Z | 2002-02-05T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | fTableViewer.setInput(fTemplates);
fTableViewer.setAllChecked(false);
fTableViewer.setCheckedElements(getEnabledTemplates());
IPreferenceStore prefs= JavaPlugin.getDefault().getPreferenceStore();
fFormatButton.setSelection(prefs.getBoolean(PREF_FORMAT_TEMPLATES));
updateButtons();
WorkbenchHelp.setHelp(... |
9,108 | Bug 9108 Preference page for templates - position of edit is awkward (minor) | stable 20020125 (not really a bug - just feedback) On the Templates preference page the "Edit..." butt is poorly placed. - Initially I didn't notice it and kept trying to use what looked to to be the text/edit area at the bottom of the page - only to discover it was read only. - Now that I have found it <g>, I have unf... | verified fixed | beabf67 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T14:51:42Z | 2002-02-05T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | 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= convertHeightInCharsToPixels(5);
control.setLayoutData(data);
return viewer;
}
pu... |
9,108 | Bug 9108 Preference page for templates - position of edit is awkward (minor) | stable 20020125 (not really a bug - just feedback) On the Templates preference page the "Edit..." butt is poorly placed. - Initially I didn't notice it and kept trying to use what looked to to be the text/edit area at the bottom of the page - only to discover it was read only. - Now that I have found it <g>, I have unf... | verified fixed | beabf67 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T14:51:42Z | 2002-02-05T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | if (selection.size() == 1) {
Template template= (Template) selection.getFirstElement();
fPatternViewer.getTextWidget().setText(template.getPattern());
} else {
fPatternViewer.getTextWidget().setText("");
}
updateButtons();
}
private void updateButtons() {
int selectionCount= ((IStructuredSele... |
9,108 | Bug 9108 Preference page for templates - position of edit is awkward (minor) | stable 20020125 (not really a bug - just feedback) On the Templates preference page the "Edit..." butt is poorly placed. - Initially I didn't notice it and kept trying to use what looked to to be the text/edit area at the bottom of the page - only to discover it was read only. - Now that I have found it <g>, I have unf... | verified fixed | beabf67 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T14:51:42Z | 2002-02-05T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | fTemplates.add(template);
fTableViewer.refresh();
fTableViewer.setChecked(template, template.isEnabled());
fTableViewer.setSelection(new StructuredSelection(template));
}
}
private void edit() {
IStructuredSelection selection= (IStructuredSelection) fTableViewer.getSelection();
Object[] objects= sel... |
9,108 | Bug 9108 Preference page for templates - position of edit is awkward (minor) | stable 20020125 (not really a bug - just feedback) On the Templates preference page the "Edit..." butt is poorly placed. - Initially I didn't notice it and kept trying to use what looked to to be the text/edit area at the bottom of the page - only to discover it was read only. - Now that I have found it <g>, I have unf... | verified fixed | beabf67 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T14:51:42Z | 2002-02-05T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | if (path == null)
return;
try {
fTemplates.addFromFile(new File(path));
fTableViewer.refresh();
fTableViewer.setAllChecked(false);
fTableViewer.setCheckedElements(getEnabledTemplates());
} catch (CoreException e) {
openReadErrorDialog(e);
}
}
private void exportAll() {
export(fTe... |
9,108 | Bug 9108 Preference page for templates - position of edit is awkward (minor) | stable 20020125 (not really a bug - just feedback) On the Templates preference page the "Edit..." butt is poorly placed. - Initially I didn't notice it and kept trying to use what looked to to be the text/edit area at the bottom of the page - only to discover it was read only. - Now that I have found it <g>, I have unf... | verified fixed | beabf67 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T14:51:42Z | 2002-02-05T17:26:40Z | 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... |
9,108 | Bug 9108 Preference page for templates - position of edit is awkward (minor) | stable 20020125 (not really a bug - just feedback) On the Templates preference page the "Edit..." butt is poorly placed. - Initially I didn't notice it and kept trying to use what looked to to be the text/edit area at the bottom of the page - only to discover it was read only. - Now that I have found it <g>, I have unf... | verified fixed | beabf67 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T14:51:42Z | 2002-02-05T17:26:40Z | 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)
... |
9,108 | Bug 9108 Preference page for templates - position of edit is awkward (minor) | stable 20020125 (not really a bug - just feedback) On the Templates preference page the "Edit..." butt is poorly placed. - Initially I didn't notice it and kept trying to use what looked to to be the text/edit area at the bottom of the page - only to discover it was read only. - Now that I have found it <g>, I have unf... | verified fixed | beabf67 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T14:51:42Z | 2002-02-05T17:26:40Z | 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... |
9,108 | Bug 9108 Preference page for templates - position of edit is awkward (minor) | stable 20020125 (not really a bug - just feedback) On the Templates preference page the "Edit..." butt is poorly placed. - Initially I didn't notice it and kept trying to use what looked to to be the text/edit area at the bottom of the page - only to discover it was read only. - Now that I have found it <g>, I have unf... | verified fixed | beabf67 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T14:51:42Z | 2002-02-05T17:26:40Z | 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... |
9,066 | Bug 9066 ClassCastException opening a editor. | Got the following error opening a editor. Not sure how to reproduce it. 4 org.eclipse.ui 0 org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo java.lang.ClassCastException: org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo at org.eclipse.ui.editors.text.StorageDocumentProvider.isReadOnly (Storag... | resolved fixed | be83af4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T15:30:55Z | 2002-02-04T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileDocumentProvider.java | package org.eclipse.jdt.internal.ui.javaeditor;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.jface.text.Document;
import org.eclipse.j... |
9,066 | Bug 9066 ClassCastException opening a editor. | Got the following error opening a editor. Not sure how to reproduce it. 4 org.eclipse.ui 0 org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo java.lang.ClassCastException: org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo at org.eclipse.ui.editors.text.StorageDocumentProvider.isReadOnly (Storag... | resolved fixed | be83af4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T15:30:55Z | 2002-02-04T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileDocumentProvider.java | /**
* Synchronizes the document with external resource changes.
*/
protected class ClassFileSynchronizer implements IElementChangedListener {
protected IClassFileEditorInput fInput;
protected IPackageFragmentRoot fPackageFragmentRoot;
/**
* Default constructor.
*/
public ClassFileSynchronizer(I... |
9,066 | Bug 9066 ClassCastException opening a editor. | Got the following error opening a editor. Not sure how to reproduce it. 4 org.eclipse.ui 0 org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo java.lang.ClassCastException: org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo at org.eclipse.ui.editors.text.StorageDocumentProvider.isReadOnly (Storag... | resolved fixed | be83af4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T15:30:55Z | 2002-02-04T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileDocumentProvider.java | while (parent != null && !(parent instanceof IPackageFragmentRoot)) {
parent= parent.getParent();
}
fPackageFragmentRoot= (IPackageFragmentRoot) parent;
}
/**
* Installs the synchronizer.
*/
public void install() {
JavaCore.addElementChangedListener(this);
}
/**
* Uninstalls the sy... |
9,066 | Bug 9066 ClassCastException opening a editor. | Got the following error opening a editor. Not sure how to reproduce it. 4 org.eclipse.ui 0 org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo java.lang.ClassCastException: org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo at org.eclipse.ui.editors.text.StorageDocumentProvider.isReadOnly (Storag... | resolved fixed | be83af4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T15:30:55Z | 2002-02-04T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileDocumentProvider.java | */
protected boolean check(IPackageFragmentRoot input, IJavaElementDelta delta) {
IJavaElement element= delta.getElement();
if ((delta.getKind() & IJavaElementDelta.REMOVED) != 0 || (delta.getFlags() & IJavaElementDelta.F_CLOSED) != 0) {
if (element.equals(input.getJavaProject())) {
handleDeleted... |
9,066 | Bug 9066 ClassCastException opening a editor. | Got the following error opening a editor. Not sure how to reproduce it. 4 org.eclipse.ui 0 org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo java.lang.ClassCastException: org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo at org.eclipse.ui.editors.text.StorageDocumentProvider.isReadOnly (Storag... | resolved fixed | be83af4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T15:30:55Z | 2002-02-04T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileDocumentProvider.java | public _FileSynchronizer(IFileEditorInput fileEditorInput) {
super(fileEditorInput);
}
};
/**
* Bundle of all required informations.
*/
protected class ClassFileInfo extends FileInfo {
ClassFileSynchronizer fClassFileSynchronizer= null;
ClassFileInfo(IDocument document, IAnnotationModel model, ... |
9,066 | Bug 9066 ClassCastException opening a editor. | Got the following error opening a editor. Not sure how to reproduce it. 4 org.eclipse.ui 0 org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo java.lang.ClassCastException: org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo at org.eclipse.ui.editors.text.StorageDocumentProvider.isReadOnly (Storag... | resolved fixed | be83af4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T15:30:55Z | 2002-02-04T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileDocumentProvider.java | */
public ClassFileDocumentProvider() {
super();
}
/*
* @see StorageDocumentProvider#setDocumentContent(IDocument, IEditorInput)
*/
protected boolean setDocumentContent(IDocument document, IEditorInput editorInput) throws CoreException {
if (editorInput instanceof IClassFileEditorInput) {
IClassFile cl... |
9,066 | Bug 9066 ClassCastException opening a editor. | Got the following error opening a editor. Not sure how to reproduce it. 4 org.eclipse.ui 0 org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo java.lang.ClassCastException: org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo at org.eclipse.ui.editors.text.StorageDocumentProvider.isReadOnly (Storag... | resolved fixed | be83af4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T15:30:55Z | 2002-02-04T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileDocumentProvider.java | resource= locator.getContainingResource(classFile);
} catch (JavaModelException x) {
throw new CoreException(x.getStatus());
}
if (resource != null) {
ClassFileMarkerAnnotationModel model= new ClassFileMarkerAnnotationModel(resource);
model.setClassFile(classFile);
return model;
}
return nul... |
9,066 | Bug 9066 ClassCastException opening a editor. | Got the following error opening a editor. Not sure how to reproduce it. 4 org.eclipse.ui 0 org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo java.lang.ClassCastException: org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo at org.eclipse.ui.editors.text.StorageDocumentProvider.isReadOnly (Storag... | resolved fixed | be83af4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T15:30:55Z | 2002-02-04T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileDocumentProvider.java | return document;
} catch (JavaModelException x) {
throw new CoreException(x.getStatus());
}
}
/*
* @see AbstractDocumentProvider#createElementInfo(Object)
*/
protected ElementInfo createElementInfo(Object element) throws CoreException {
if (element instanceof IClassFileEditorInput) {
IClassF... |
9,066 | Bug 9066 ClassCastException opening a editor. | Got the following error opening a editor. Not sure how to reproduce it. 4 org.eclipse.ui 0 org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo java.lang.ClassCastException: org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo at org.eclipse.ui.editors.text.StorageDocumentProvider.isReadOnly (Storag... | resolved fixed | be83af4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T15:30:55Z | 2002-02-04T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileDocumentProvider.java | return null;
}
/*
* @see FileDocumentProvider#disposeElementInfo(Object, ElementInfo)
*/
protected void disposeElementInfo(Object element, ElementInfo info) {
ClassFileInfo classFileInfo= (ClassFileInfo) info;
if (classFileInfo.fClassFileSynchronizer != null) {
classFileInfo.fClassFileSynchronizer.unins... |
9,066 | Bug 9066 ClassCastException opening a editor. | Got the following error opening a editor. Not sure how to reproduce it. 4 org.eclipse.ui 0 org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo java.lang.ClassCastException: org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo at org.eclipse.ui.editors.text.StorageDocumentProvider.isReadOnly (Storag... | resolved fixed | be83af4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T15:30:55Z | 2002-02-04T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | package org.eclipse.jdt.internal.ui.javaeditor;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.jdt.core.IClassFile;
import org.eclipse.jdt.core.I... |
9,066 | Bug 9066 ClassCastException opening a editor. | Got the following error opening a editor. Not sure how to reproduce it. 4 org.eclipse.ui 0 org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo java.lang.ClassCastException: org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo at org.eclipse.ui.editors.text.StorageDocumentProvider.isReadOnly (Storag... | resolved fixed | be83af4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T15:30:55Z | 2002-02-04T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | /**
* Default constructor.
*/
public ClassFileEditor() {
super();
setDocumentProvider(JavaPlugin.getDefault().getClassFileDocumentProvider());
setEditorContextMenuId("#ClassFileEditorContext");
setRulerContextMenuId("#ClassFileRulerContext");
setOutlinerContextMenuId("#ClassFileOutlinerContext");
se... |
9,066 | Bug 9066 ClassCastException opening a editor. | Got the following error opening a editor. Not sure how to reproduce it. 4 org.eclipse.ui 0 org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo java.lang.ClassCastException: org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo at org.eclipse.ui.editors.text.StorageDocumentProvider.isReadOnly (Storag... | resolved fixed | be83af4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T15:30:55Z | 2002-02-04T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | * setAction(ITextEditorActionConstants.RULER_MANAGE_BOOKMARKS, new ClassFileMarkerRulerAction("ManageBookmarks.", getVerticalRuler(), this, IMarker.BOOKMARK, true));
* setAction(ITextEditorActionConstants.RULER_MANAGE_TASKS, new ClassFileMarkerRulerAction("ManageTasks.", getVerticalRuler(), this, IMarker.TASK, true... |
9,066 | Bug 9066 ClassCastException opening a editor. | Got the following error opening a editor. Not sure how to reproduce it. 4 org.eclipse.ui 0 org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo java.lang.ClassCastException: org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo at org.eclipse.ui.editors.text.StorageDocumentProvider.isReadOnly (Storag... | resolved fixed | be83af4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T15:30:55Z | 2002-02-04T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | IClassFileEditorInput input= (IClassFileEditorInput) getEditorInput();
IJavaElement parent= JavaModelUtil.findParentOfKind(element, IJavaElement.CLASS_FILE);
if (input.getClassFile() == parent)
return element;
}
return null;
}
/**
* @see EditorPart#init(IEditorSite, IEditorInput)
*/
public void i... |
9,066 | Bug 9066 ClassCastException opening a editor. | Got the following error opening a editor. Not sure how to reproduce it. 4 org.eclipse.ui 0 org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo java.lang.ClassCastException: org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo at org.eclipse.ui.editors.text.StorageDocumentProvider.isReadOnly (Storag... | resolved fixed | be83af4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T15:30:55Z | 2002-02-04T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | }
/**
* @see AbstractTextEditor#rulerContextMenuAboutToShow(IMenuManager)
*/
protected void rulerContextMenuAboutToShow(IMenuManager menu) {
super.rulerContextMenuAboutToShow(menu);
if (getEditorInput() instanceof IClassFileEditorInput) {
IClassFileEditorInput input= (IClassFileEditorInput) getEdi... |
9,066 | Bug 9066 ClassCastException opening a editor. | Got the following error opening a editor. Not sure how to reproduce it. 4 org.eclipse.ui 0 org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo java.lang.ClassCastException: org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo at org.eclipse.ui.editors.text.StorageDocumentProvider.isReadOnly (Storag... | resolved fixed | be83af4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T15:30:55Z | 2002-02-04T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | }
/*
* 1GEPKT5: ITPJUI:Linux - Source in editor for external classes is editable
* Removed methods isSaveOnClosedNeeded and isDirty.
* Added method isEditable.
*/
/**
* @see AbstractTextEditor#isEditable()
*/
public boolean isEditable() {
return false;
}
/**
* @see AbstractTextEditor#doSetInput... |
9,066 | Bug 9066 ClassCastException opening a editor. | Got the following error opening a editor. Not sure how to reproduce it. 4 org.eclipse.ui 0 org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo java.lang.ClassCastException: org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo at org.eclipse.ui.editors.text.StorageDocumentProvider.isReadOnly (Storag... | resolved fixed | be83af4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T15:30:55Z | 2002-02-04T22: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; |
9,066 | Bug 9066 ClassCastException opening a editor. | Got the following error opening a editor. Not sure how to reproduce it. 4 org.eclipse.ui 0 org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo java.lang.ClassCastException: org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo at org.eclipse.ui.editors.text.StorageDocumentProvider.isReadOnly (Storag... | resolved fixed | be83af4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T15:30:55Z | 2002-02-04T22: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;
... |
9,066 | Bug 9066 ClassCastException opening a editor. | Got the following error opening a editor. Not sure how to reproduce it. 4 org.eclipse.ui 0 org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo java.lang.ClassCastException: org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo at org.eclipse.ui.editors.text.StorageDocumentProvider.isReadOnly (Storag... | resolved fixed | be83af4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T15:30:55Z | 2002-02-04T22: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... |
9,066 | Bug 9066 ClassCastException opening a editor. | Got the following error opening a editor. Not sure how to reproduce it. 4 org.eclipse.ui 0 org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo java.lang.ClassCastException: org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo at org.eclipse.ui.editors.text.StorageDocumentProvider.isReadOnly (Storag... | resolved fixed | be83af4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T15:30:55Z | 2002-02-04T22: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... |
9,066 | Bug 9066 ClassCastException opening a editor. | Got the following error opening a editor. Not sure how to reproduce it. 4 org.eclipse.ui 0 org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo java.lang.ClassCastException: org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo at org.eclipse.ui.editors.text.StorageDocumentProvider.isReadOnly (Storag... | resolved fixed | be83af4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T15:30:55Z | 2002-02-04T22: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... |
9,066 | Bug 9066 ClassCastException opening a editor. | Got the following error opening a editor. Not sure how to reproduce it. 4 org.eclipse.ui 0 org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo java.lang.ClassCastException: org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo at org.eclipse.ui.editors.text.StorageDocumentProvider.isReadOnly (Storag... | resolved fixed | be83af4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T15:30:55Z | 2002-02-04T22: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... |
9,066 | Bug 9066 ClassCastException opening a editor. | Got the following error opening a editor. Not sure how to reproduce it. 4 org.eclipse.ui 0 org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo java.lang.ClassCastException: org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo at org.eclipse.ui.editors.text.StorageDocumentProvider.isReadOnly (Storag... | resolved fixed | be83af4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T15:30:55Z | 2002-02-04T22: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... |
9,066 | Bug 9066 ClassCastException opening a editor. | Got the following error opening a editor. Not sure how to reproduce it. 4 org.eclipse.ui 0 org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo java.lang.ClassCastException: org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo at org.eclipse.ui.editors.text.StorageDocumentProvider.isReadOnly (Storag... | resolved fixed | be83af4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T15:30:55Z | 2002-02-04T22: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... |
9,066 | Bug 9066 ClassCastException opening a editor. | Got the following error opening a editor. Not sure how to reproduce it. 4 org.eclipse.ui 0 org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo java.lang.ClassCastException: org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo at org.eclipse.ui.editors.text.StorageDocumentProvider.isReadOnly (Storag... | resolved fixed | be83af4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T15:30:55Z | 2002-02-04T22: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)
... |
9,066 | Bug 9066 ClassCastException opening a editor. | Got the following error opening a editor. Not sure how to reproduce it. 4 org.eclipse.ui 0 org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo java.lang.ClassCastException: org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo at org.eclipse.ui.editors.text.StorageDocumentProvider.isReadOnly (Storag... | resolved fixed | be83af4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T15:30:55Z | 2002-02-04T22: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... |
9,066 | Bug 9066 ClassCastException opening a editor. | Got the following error opening a editor. Not sure how to reproduce it. 4 org.eclipse.ui 0 org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo java.lang.ClassCastException: org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo at org.eclipse.ui.editors.text.StorageDocumentProvider.isReadOnly (Storag... | resolved fixed | be83af4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T15:30:55Z | 2002-02-04T22: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... |
9,066 | Bug 9066 ClassCastException opening a editor. | Got the following error opening a editor. Not sure how to reproduce it. 4 org.eclipse.ui 0 org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo java.lang.ClassCastException: org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo at org.eclipse.ui.editors.text.StorageDocumentProvider.isReadOnly (Storag... | resolved fixed | be83af4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T15:30:55Z | 2002-02-04T22: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... |
9,066 | Bug 9066 ClassCastException opening a editor. | Got the following error opening a editor. Not sure how to reproduce it. 4 org.eclipse.ui 0 org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo java.lang.ClassCastException: org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo at org.eclipse.ui.editors.text.StorageDocumentProvider.isReadOnly (Storag... | resolved fixed | be83af4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T15:30:55Z | 2002-02-04T22: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... |
9,066 | Bug 9066 ClassCastException opening a editor. | Got the following error opening a editor. Not sure how to reproduce it. 4 org.eclipse.ui 0 org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo java.lang.ClassCastException: org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo at org.eclipse.ui.editors.text.StorageDocumentProvider.isReadOnly (Storag... | resolved fixed | be83af4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T15:30:55Z | 2002-02-04T22: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... |
9,066 | Bug 9066 ClassCastException opening a editor. | Got the following error opening a editor. Not sure how to reproduce it. 4 org.eclipse.ui 0 org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo java.lang.ClassCastException: org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo at org.eclipse.ui.editors.text.StorageDocumentProvider.isReadOnly (Storag... | resolved fixed | be83af4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-09T15:30:55Z | 2002-02-04T22: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,945 | Bug 7945 Search results not selected in external jar | Build 20020115 1. Make sure you have JDK1.3.1 as the default JRE (and that you have source for rt.jar) 2. Open java.io.File 3. Select field 'tmpFir' 4. Searcg for references to this field 5. You should get 3 matches in method getTempDir() 6. Double-click on the search result Observe: The first match is not selected. | resolved fixed | 812ae9f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-11T19:29:36Z | 2002-01-21T16:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileMarkerAnnotationModel.java | package org.eclipse.jdt.internal.ui.javaeditor;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
import org.eclipse.core.resources.IMarker;
import org.eclipse.core.resources.IMarkerDelta;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.IResourceChangeEvent;
import org... |
7,945 | Bug 7945 Search results not selected in external jar | Build 20020115 1. Make sure you have JDK1.3.1 as the default JRE (and that you have source for rt.jar) 2. Open java.io.File 3. Select field 'tmpFir' 4. Searcg for references to this field 5. You should get 3 matches in method getTempDir() 6. Double-click on the search result Observe: The first match is not selected. | resolved fixed | 812ae9f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-11T19:29:36Z | 2002-01-21T16:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileMarkerAnnotationModel.java | public ClassFileMarkerAnnotationModel(IResource markerResource) {
super();
fMarkerResource= markerResource;
fWorkspace= fMarkerResource.getWorkspace();
}
public void setClassFile(IClassFile classFile) {
fClassFile= classFile;
}
/**
* @see AbstractMarkerAnnotationModel#isAcceptable
*/
protected bool... |
7,945 | Bug 7945 Search results not selected in external jar | Build 20020115 1. Make sure you have JDK1.3.1 as the default JRE (and that you have source for rt.jar) 2. Open java.io.File 3. Select field 'tmpFir' 4. Searcg for references to this field 5. You should get 3 matches in method getTempDir() 6. Double-click on the search result Observe: The first match is not selected. | resolved fixed | 812ae9f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-11T19:29:36Z | 2002-01-21T16:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileMarkerAnnotationModel.java | }
/**
* @see AbstractMarkerAnnotationModel#createMarkerAnnotation(IMarker)
*/
protected MarkerAnnotation createMarkerAnnotation(IMarker marker) {
return new JavaMarkerAnnotation(marker);
}
/**
* @see AbstractMarkerAnnotationModel#listenToMarkerChanges(boolean)
*/
protected void listenToMarkerChanges(... |
7,945 | Bug 7945 Search results not selected in external jar | Build 20020115 1. Make sure you have JDK1.3.1 as the default JRE (and that you have source for rt.jar) 2. Open java.io.File 3. Select field 'tmpFir' 4. Searcg for references to this field 5. You should get 3 matches in method getTempDir() 6. Double-click on the search result Observe: The first match is not selected. | resolved fixed | 812ae9f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-11T19:29:36Z | 2002-01-21T16:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileMarkerAnnotationModel.java | }
/**
* @see IResourceDeltaVisitor#visit
*/
public boolean visit(IResourceDelta delta) throws CoreException {
if (delta == null)
return false;
if (fMarkerResource != null) {
IPath path= fMarkerResource.getFullPath();
delta= delta.findMember(path);
if (delta == null)
return false;
}... |
7,945 | Bug 7945 Search results not selected in external jar | Build 20020115 1. Make sure you have JDK1.3.1 as the default JRE (and that you have source for rt.jar) 2. Open java.io.File 3. Select field 'tmpFir' 4. Searcg for references to this field 5. You should get 3 matches in method getTempDir() 6. Double-click on the search result Observe: The first match is not selected. | resolved fixed | 812ae9f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-11T19:29:36Z | 2002-01-21T16:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileMarkerAnnotationModel.java | modifyMarkerAnnotation(marker);
fChangesApplied= true;
break;
}
}
}
return (fMarkerResource == null);
}
/**
* @see IResourceChangeListener#resourceChanged
*/
public void resourceChanged(IResourceChangeEvent e) {
IResourceDelta delta= e.getDelta();
try {
if (delta != null) {... |
8,911 | Bug 8911 Set defaults for new Java Class Wizard's method stubs options | In the new Java Class Wizard, I would like to change the default options for the method stubs. Currently, it always defaults to no main method, no constructors from superclass and inherit abstract methods. | verified fixed | 8e38296 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-02-12T13:10:46Z | 2002-02-01T10:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewClassCreationWizardPage.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.wizards;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Label;
import org.eclipse.core.resources.IProject;
im... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.