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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5,449 | Bug 5449 TVT Text Expansion/Truncations in new java class dialog | null | resolved fixed | 24c773c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-22T14:06:41Z | 2001-11-02T00:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java | import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Table;
import org.eclipse.swt.widgets.TableColumn;
import org.eclipse.jface.util.Assert;
import org.eclipse.jface.viewers.ColumnWeightData;
import org.eclipse.jface.viewer... |
5,449 | Bug 5449 TVT Text Expansion/Truncations in new java class dialog | null | resolved fixed | 24c773c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-22T14:06:41Z | 2001-11-02T00:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java | protected TableViewer fTable;
protected ILabelProvider fLabelProvider;
protected ListViewerAdapter fListViewerAdapter;
protected List fElements;
protected String[] fButtonLabels;
private Button[] fButtonControls;
private boolean[] fButtonsEnabled;
private int fRemoveButtonIndex;
private int fUpButtonIndex;
... |
5,449 | Bug 5449 TVT Text Expansion/Truncations in new java class dialog | null | resolved fixed | 24c773c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-22T14:06:41Z | 2001-11-02T00:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java | private Object fParentElement;
/**
* Creates the <code>ListDialogField</code>.
* @param adapter A listener for button invocation, selection changes.
* @param buttonLabels The labels of all buttons: <code>null</code> is a valid array entry and
* marks a separator.
* @param lprovider The label provider to rend... |
5,449 | Bug 5449 TVT Text Expansion/Truncations in new java class dialog | null | resolved fixed | 24c773c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-22T14:06:41Z | 2001-11-02T00:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java | fRemoveButtonIndex= -1;
fUpButtonIndex= -1;
fDownButtonIndex= -1;
}
/**
* Sets the index of the 'remove' button in the button label array passed in the constructor.
* The behaviour of the button marked as the 'remove' button will then be handled internally.
* (enable state, button invocation behaviour)
... |
5,449 | Bug 5449 TVT Text Expansion/Truncations in new java class dialog | null | resolved fixed | 24c773c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-22T14:06:41Z | 2001-11-02T00:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java | fDownButtonIndex= downButtonIndex;
}
private void buttonPressed(int index) {
if (!managedButtonPressed(index)) {
fListAdapter.customButtonPressed(this, index);
}
}
/**
* Checks if the button pressed is handled internally
* @return Returns true if button has been handled.
*/
protected boolean m... |
5,449 | Bug 5449 TVT Text Expansion/Truncations in new java class dialog | null | resolved fixed | 24c773c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-22T14:06:41Z | 2001-11-02T00:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java | /*
* @see DialogField#doFillIntoGrid
*/
public Control[] doFillIntoGrid(Composite parent, int nColumns) {
assertEnoughColumns(nColumns);
Label label= getLabelControl(parent);
MGridData gd= gridDataForLabel(1);
gd.verticalAlignment= gd.BEGINNING;
label.setLayoutData(gd);
Control list= getListContr... |
5,449 | Bug 5449 TVT Text Expansion/Truncations in new java class dialog | null | resolved fixed | 24c773c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-22T14:06:41Z | 2001-11-02T00:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java | buttons.setLayoutData(gd);
return new Control[] { label, list, buttons };
}
/*
* @see DialogField#getNumberOfControls
*/
public int getNumberOfControls() {
return 3;
}
/**
* Sets the minimal width of the buttons. Must be called after widget creation.
*/
public void setButtonsMinWidth(int minWid... |
5,449 | Bug 5449 TVT Text Expansion/Truncations in new java class dialog | null | resolved fixed | 24c773c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-22T14:06:41Z | 2001-11-02T00:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java | fTable= createTableViewer(parent);
fTable.setContentProvider(fListViewerAdapter);
fTable.setLabelProvider(fLabelProvider);
fTable.addSelectionChangedListener(fListViewerAdapter);
fTableControl= (Table)fTable.getControl();
TableLayout tableLayout= new TableLayout();
tableLayout.addColumnDa... |
5,449 | Bug 5449 TVT Text Expansion/Truncations in new java class dialog | null | resolved fixed | 24c773c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-22T14:06:41Z | 2001-11-02T00:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java | }
/**
* Returns the internally used table viewer.
*/
public TableViewer getTableViewer() {
return fTable;
}
/*
* Subclasses may override to specify a different style.
*/
protected int getListStyle(){
return SWT.BORDER + SWT.MULTI + SWT.H_SCROLL + SWT.V_SCROLL;
}
protected TableViewer createTa... |
5,449 | Bug 5449 TVT Text Expansion/Truncations in new java class dialog | null | resolved fixed | 24c773c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-22T14:06:41Z | 2001-11-02T00:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java | button.setLayoutData(gd);
return button;
}
private Label createSeparator(Composite parent) {
Label separator= new Label(parent, SWT.NONE);
separator.setVisible(false);
MGridData gd= new MGridData();
gd.horizontalAlignment= gd.FILL;
gd.verticalAlignment= gd.BEGINNING;
gd.heightHint= 4;
separator.setL... |
5,449 | Bug 5449 TVT Text Expansion/Truncations in new java class dialog | null | resolved fixed | 24c773c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-22T14:06:41Z | 2001-11-02T00:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java | doButtonSelected(e);
}
};
Composite contents= new Composite(parent, SWT.NULL);
MGridLayout layout= new MGridLayout();
layout.marginWidth= 0;
layout.marginHeight= 0;
contents.setLayout(layout);
if (fButtonLabels != null) {
fButtonControls= new Button[fButtonLabels.length];
for (i... |
5,449 | Bug 5449 TVT Text Expansion/Truncations in new java class dialog | null | resolved fixed | 24c773c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-22T14:06:41Z | 2001-11-02T00:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java | return fButtonsControl;
}
private void doButtonSelected(SelectionEvent e) {
if (fButtonControls != null) {
for (int i= 0; i < fButtonControls.length; i++) {
if (e.widget == fButtonControls[i]) {
buttonPressed(i);
return;
}
}
}
}
/*
* @see DialogField#dialogFieldChanged
*/
p... |
5,449 | Bug 5449 TVT Text Expansion/Truncations in new java class dialog | null | resolved fixed | 24c773c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-22T14:06:41Z | 2001-11-02T00:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java | return null;
}
/*
* Updates the enable state of the all buttons
*/
protected void updateButtonState() {
if (fButtonControls != null) {
ISelection sel= fTable.getSelection();
for (int i= 0; i < fButtonControls.length; i++) {
Button button= fButtonControls[i];
if (isOkToUse(button)) {
boolean... |
5,449 | Bug 5449 TVT Text Expansion/Truncations in new java class dialog | null | resolved fixed | 24c773c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-22T14:06:41Z | 2001-11-02T00:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java | */
protected void updateEnableState() {
super.updateEnableState();
boolean enabled= isEnabled();
if (isOkToUse(fTableControl)) {
if (!enabled) {
fSelectionWhenEnabled= fTable.getSelection();
selectElements(null);
} else {
selectElements(fSelectionWhenEnabled);
fSelectionWhenEnabled= nu... |
5,449 | Bug 5449 TVT Text Expansion/Truncations in new java class dialog | null | resolved fixed | 24c773c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-22T14:06:41Z | 2001-11-02T00:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java | */
public void setElements(List elements) {
fElements= new ArrayList(elements);
if (fTable != null) {
fTable.refresh();
}
dialogFieldChanged();
}
/**
* Gets the elements shown in the list.
* The list returned is a copy, so it can be modified by the user.
*/
public List getElements() {
return new... |
5,449 | Bug 5449 TVT Text Expansion/Truncations in new java class dialog | null | resolved fixed | 24c773c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-22T14:06:41Z | 2001-11-02T00:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java | fElements.set(idx, newElement);
if (fTable != null) {
List selected= getSelectedElements();
if (selected.remove(oldElement)) {
selected.add(newElement);
}
fTable.refresh();
fTable.setSelection(new StructuredSelection(selected));
}
dialogFieldChanged();
} else {
throw new IllegalAr... |
5,449 | Bug 5449 TVT Text Expansion/Truncations in new java class dialog | null | resolved fixed | 24c773c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-22T14:06:41Z | 2001-11-02T00:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java | public void addElements(List elements) {
int nElements= elements.size();
if (nElements > 0) {
ArrayList elementsToAdd= new ArrayList(nElements);
for (int i= 0; i < nElements; i++) {
Object elem= elements.get(i);
if (!fElements.contains(elem)) {
elementsToAdd.add(elem);
}
}
f... |
5,449 | Bug 5449 TVT Text Expansion/Truncations in new java class dialog | null | resolved fixed | 24c773c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-22T14:06:41Z | 2001-11-02T00:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java | }
dialogFieldChanged();
}
/**
* Adds an element at a position.
*/
public void removeAllElements() {
if (fElements.size() > 0) {
fElements.clear();
if (fTable != null) {
fTable.refresh();
}
dialogFieldChanged();
}
}
/**
* Removes an element from the list.
*/
public void remo... |
5,449 | Bug 5449 TVT Text Expansion/Truncations in new java class dialog | null | resolved fixed | 24c773c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-22T14:06:41Z | 2001-11-02T00:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java | /**
* Removes elements from the list.
*/
public void removeElements(List elements) {
if (elements.size() > 0) {
fElements.removeAll(elements);
if (fTable != null) {
fTable.remove(elements.toArray());
}
dialogFieldChanged();
}
}
/**
* Gets the number of elements
*/
public int getSize(... |
5,449 | Bug 5449 TVT Text Expansion/Truncations in new java class dialog | null | resolved fixed | 24c773c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-22T14:06:41Z | 2001-11-02T00:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java | public void run() {
if (isOkToUse(fTableControl)) {
selectElements(selection);
}
}
});
}
}
/**
* Refreshes the table.
*/
public void refresh() {
fTable.refresh();
}
private List moveUp(List elements, List move) {
int nElements= elements.size();
List res= new ArrayList(nEl... |
5,449 | Bug 5449 TVT Text Expansion/Truncations in new java class dialog | null | resolved fixed | 24c773c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-22T14:06:41Z | 2001-11-02T00:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java | floating= curr;
}
}
if (floating != null) {
res.add(floating);
}
return res;
}
private void moveUp(List toMoveUp) {
if (toMoveUp.size() > 0) {
setElements(moveUp(fElements, toMoveUp));
fTable.reveal(toMoveUp.get(0));
}
}
private void moveDown(List toMoveDown) {
if (toMoveDown.size() >... |
5,449 | Bug 5449 TVT Text Expansion/Truncations in new java class dialog | null | resolved fixed | 24c773c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-22T14:06:41Z | 2001-11-02T00:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java | private void remove() {
removeElements(getSelectedElements());
}
private void up() {
moveUp(getSelectedElements());
}
private void down() {
moveDown(getSelectedElements());
}
private boolean canMoveUp() {
if (isOkToUse(fTableControl)) {
int[] indc= fTableControl.getSelectionIndices();
for (int... |
5,449 | Bug 5449 TVT Text Expansion/Truncations in new java class dialog | null | resolved fixed | 24c773c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-22T14:06:41Z | 2001-11-02T00:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java | for (int i= indc.length - 1; i >= 0 ; i--, k--) {
if (indc[i] != k) {
return true;
}
}
}
return false;
}
/**
* Returns the selected elements.
*/
public List getSelectedElements() {
List result= new ArrayList();
if (fTable != null) {
ISelection selection= fTable.getSelection();
if (... |
5,449 | Bug 5449 TVT Text Expansion/Truncations in new java class dialog | null | resolved fixed | 24c773c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-22T14:06:41Z | 2001-11-02T00:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java | public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
}
public boolean isDeleted(Object element) {
return false;
}
public void dispose() {
}
public Object[] getElements(Object obj) {
return fElements.toArray();
}
public void selectionChanged(SelectionChang... |
5,449 | Bug 5449 TVT Text Expansion/Truncations in new java class dialog | null | resolved fixed | 24c773c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-22T14:06:41Z | 2001-11-02T00:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/SelectionButtonDialogFieldGroup.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.wizards.dialogfields;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.SelectionListener;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets... |
5,449 | Bug 5449 TVT Text Expansion/Truncations in new java class dialog | null | resolved fixed | 24c773c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-22T14:06:41Z | 2001-11-02T00:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/SelectionButtonDialogFieldGroup.java | private Composite fButtonComposite;
private Button[] fButtons;
private String[] fButtonNames;
private boolean[] fButtonsSelected;
private boolean[] fButtonsEnabled;
private int fGroupBorderStyle;
private int fGroupNumberOfColumns;
private int fButtonsStyle;
/**
* Creates a group without border.
*/
... |
5,449 | Bug 5449 TVT Text Expansion/Truncations in new java class dialog | null | resolved fixed | 24c773c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-22T14:06:41Z | 2001-11-02T00:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/SelectionButtonDialogFieldGroup.java | */
public SelectionButtonDialogFieldGroup(int buttonsStyle, String[] buttonNames, int nColumns, int borderStyle) {
super();
Assert.isTrue(buttonsStyle == SWT.RADIO || buttonsStyle == SWT.CHECK || buttonsStyle == SWT.TOGGLE);
fButtonNames= buttonNames;
int nButtons= buttonNames.length;
fButtonsSelected... |
5,449 | Bug 5449 TVT Text Expansion/Truncations in new java class dialog | null | resolved fixed | 24c773c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-22T14:06:41Z | 2001-11-02T00:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/SelectionButtonDialogFieldGroup.java | public Control[] doFillIntoGrid(Composite parent, int nColumns) {
assertEnoughColumns(nColumns);
if (fGroupBorderStyle == SWT.NONE) {
Label label= getLabelControl(parent);
label.setLayoutData(gridDataForLabel(1));
Composite buttonsgroup= getSelectionButtonsGroup(parent);
MGridData gd= new MGridD... |
5,449 | Bug 5449 TVT Text Expansion/Truncations in new java class dialog | null | resolved fixed | 24c773c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-22T14:06:41Z | 2001-11-02T00:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/SelectionButtonDialogFieldGroup.java | /**
* Sets the minimal size of the buttons. Must be called after the creation of the buttons.
*/
public void setButtonsMinWidth(int minWidth) {
if (fButtonComposite != null) {
Control[] control= fButtonComposite.getChildren();
if (control != null && control.length > 0) {
((MGridData)control[0].getLayo... |
5,449 | Bug 5449 TVT Text Expansion/Truncations in new java class dialog | null | resolved fixed | 24c773c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-22T14:06:41Z | 2001-11-02T00:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/SelectionButtonDialogFieldGroup.java | if (fButtonComposite == null) {
assertCompositeNotNull(parent);
MGridLayout layout= new MGridLayout();
layout.makeColumnsEqualWidth= true;
layout.numColumns= fGroupNumberOfColumns;
if (fGroupBorderStyle != SWT.NONE) {
Group group= new Group(parent, fGroupBorderStyle);
if (fLabelText !=... |
5,449 | Bug 5449 TVT Text Expansion/Truncations in new java class dialog | null | resolved fixed | 24c773c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-22T14:06:41Z | 2001-11-02T00:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/SelectionButtonDialogFieldGroup.java | for (int i= 0; i < nButtons; i++) {
fButtons[i]= createSelectionButton(i, fButtonComposite, listener);
}
int nRows= nButtons / fGroupNumberOfColumns;
int nFillElements= nRows * fGroupNumberOfColumns - nButtons;
for (int i= 0; i < nFillElements; i++) {
createEmptySpace(fButtonComposite);
}
}
r... |
5,449 | Bug 5449 TVT Text Expansion/Truncations in new java class dialog | null | resolved fixed | 24c773c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-22T14:06:41Z | 2001-11-02T00:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/SelectionButtonDialogFieldGroup.java | }
/**
* Returns the selection state of a button contained in the group.
* @param The index of the button
*/
public boolean isSelected(int index) {
if (index >= 0 && index < fButtonsSelected.length) {
return fButtonsSelected[index];
}
return false;
}
/**
* Sets the selection state of a butto... |
5,449 | Bug 5449 TVT Text Expansion/Truncations in new java class dialog | null | resolved fixed | 24c773c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-22T14:06:41Z | 2001-11-02T00:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/SelectionButtonDialogFieldGroup.java | protected void updateEnableState() {
super.updateEnableState();
if (fButtons != null) {
boolean enabled= isEnabled();
for (int i= 0; i < fButtons.length; i++) {
Button button= fButtons[i];
if (isOkToUse(button)) {
button.setEnabled(enabled && fButtonsEnabled[i]);
}
}
}
}
/**
* Sets... |
4,151 | Bug 4151 Value hovering should show type name not only value (1GIYQVJ) | EG (24.08.2001 14:42:59) value hovering should show the runtime type in addition to the value NOTES: | resolved fixed | d26b1c4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-22T14:22:34Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/JavaDebugHover.java | package org.eclipse.jdt.internal.ui.text.java.hover;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
import java.util.List;
import org.eclipse.debug.core.DebugException;
import org.eclipse.debug.core.DebugPlugin;
import org.eclipse.debug.core.ILaunchManager;
import org.eclipse.debug.core.model.IDe... |
4,151 | Bug 4151 Value hovering should show type name not only value (1GIYQVJ) | EG (24.08.2001 14:42:59) value hovering should show the runtime type in addition to the value NOTES: | resolved fixed | d26b1c4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-22T14:22:34Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/JavaDebugHover.java | public JavaDebugHover(IEditorPart editor) {
fEditor= editor;
}
/**
* @see ITextHover#getHoverRegion(ITextViewer, int)
*/
public IRegion getHoverRegion(ITextViewer textViewer, int offset) {
return JavaWordFinder.findWord(textViewer.getDocument(), offset);
}
/**
* @see ITextHover#getHoverInfo(ITextVi... |
4,151 | Bug 4151 Value hovering should show type name not only value (1GIYQVJ) | EG (24.08.2001 14:42:59) value hovering should show the runtime type in addition to the value NOTES: | resolved fixed | d26b1c4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-22T14:22:34Z | 2001-10-11T03:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/JavaDebugHover.java | String variableName= textViewer.getDocument().get(hoverRegion.getOffset(), hoverRegion.getLength());
boolean first= true;
StringBuffer buffer= new StringBuffer();
for (int i= 0; i < targets.length; i++) {
IJavaDebugTarget javaTarget = (IJavaDebugTarget) targets[i].getAdapter(IJavaDebugTarget.class... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ImportOrganizeInputDialog.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.preferences;
import java.util.HashMap;
import java.util.List;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Shell;
impo... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ImportOrganizeInputDialog.java | import org.eclipse.jdt.internal.ui.dialogs.StatusDialog;
import org.eclipse.jdt.internal.ui.dialogs.StatusInfo;
import org.eclipse.jdt.internal.ui.util.SWTUtil;
import org.eclipse.jdt.internal.ui.wizards.dialogfields.DialogField;
import org.eclipse.jdt.internal.ui.wizards.dialogfields.IDialogFieldListener;
import org.e... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ImportOrganizeInputDialog.java | public ImportOrganizeInputDialog(Shell parent, List existingEntries) {
super(parent);
fExistingEntries= existingEntries;
setTitle(JavaUIMessages.getString("ImportOrganizeInputDialog.title"));
ImportOrganizeInputAdapter adapter= new ImportOrganizeInputAdapter();
fNameDialogField= new StringButtonDialogFi... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ImportOrganizeInputDialog.java | return composite;
}
private void doButtonPressed() {
HashMap allPackages= new HashMap();
try {
IWorkspaceRoot root= ResourcesPlugin.getWorkspace().getRoot();
IJavaProject[] projects= JavaCore.create(root).getJavaProjects();
for (int i= 0; i < projects.length; i++) {
IPackageFragment[] packs= pro... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ImportOrganizeInputDialog.java | dialog.setEmptyListMessage(JavaUIMessages.getString("ImportOrganizeInputDialog.ChoosePackageDialog.empty"));
dialog.setElements(allPackages.values().toArray());
if (initialSelection != null) {
dialog.setInitialSelections(new Object[] { initialSelection });
}
if (dialog.open() == dialog.OK) {
IPackageF... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/HistoryListAction.java | package org.eclipse.jdt.internal.ui.typehierarchy;
import java.util.Arrays;
import java.util.List;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.jface.action.... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/HistoryListAction.java | private class HistoryListDialog extends StatusDialog {
private ListDialogField fHistoryList;
private IStatus fHistoryStatus;
private IJavaElement fResult;
private HistoryListDialog(Shell shell, IJavaElement[] elements) {
super(shell);
setTitle(TypeHierarchyMessages.getString("HistoryListDialog.title... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/HistoryListAction.java | IListAdapter adapter= new IListAdapter() {
public void customButtonPressed(DialogField field, int index) {
}
public void selectionChanged(DialogField field) {
doSelectionChanged();
}
};
JavaElementLabelProvider labelProvider= new JavaElementLabelProvider(JavaElementLabelProvider.SHOW_QUALI... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/HistoryListAction.java | Composite composite= (Composite) super.createDialogArea(parent);
int minimalWidth= convertWidthInCharsToPixels(80);
int minimalHeight= convertHeightInCharsToPixels(20);
LayoutUtil.doDefaultLayout(composite, new DialogField[] { fHistoryList }, true, minimalWidth, minimalHeight, SWT.DEFAULT, SWT.DEFAULT);
fH... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/HistoryListAction.java | public IJavaElement[] getRemaining() {
List elems= fHistoryList.getElements();
return (IJavaElement[]) elems.toArray(new IJavaElement[elems.size()]);
}
}
private TypeHierarchyViewPart fView;
public HistoryListAction(TypeHierarchyViewPart view) {
fView= view;
setText(TypeHierarchyMessages.getStrin... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/ContainerPage.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.wizards;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.IWorkspaceRoot; |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/ContainerPage.java | import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Path;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.jface.viewers.ILabelProvider;
import org.eclipse.j... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/ContainerPage.java | /**
* container field id
*/
protected static final String CONTAINER= "ContainerPage.container";
/**
* Status of last validation
*/
protected IStatus fContainerStatus;
private StringButtonDialogField fContainerDialogField;
/*
* package fragment root corresponding to the input type (can be null)
*/
p... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/ContainerPage.java | fContainerDialogField.setLabelText(NewWizardMessages.getString("ContainerPage.container.label"));
fContainerDialogField.setButtonLabel(NewWizardMessages.getString("ContainerPage.container.button"));
fContainerStatus= new StatusInfo();
fCurrRoot= null;
}
/**
* Initializes the fields provided by the co... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/ContainerPage.java | }
if (initRoot == null) {
initRoot= jproject.getPackageFragmentRoot("");
}
}
}
setPackageFragmentRoot(initRoot, true);
}
/**
* Utility method to inspect a selection to find a Java element as initial element.
* @return Returns a Java element to use as initial selection, or <code>null</code>... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/ContainerPage.java | }
}
}
if (jelem == null) {
jelem= EditorUtility.getActiveEditorJavaInput();
}
if (jelem == null) {
IProject[] projects= getWorkspaceRoot().getProjects();
if (projects.length > 0) {
jelem= JavaCore.create(projects[0]);
}
}
return jelem;
}
/**
* Creates the controls for the containe... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/ContainerPage.java | public void changeControlPressed(DialogField field) {
containerChangeControlPressed(field);
}
public void dialogFieldChanged(DialogField field) {
containerDialogFieldChanged(field);
}
}
private void containerChangeControlPressed(DialogField field) {
IPackageFragmentRoot root= getPackageFragme... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/ContainerPage.java | }
handleFieldChanged(CONTAINER);
}
/**
* Called after the container field has changed.
* Updates the model and returns the status.
* Model is only valid if returned status is OK
*/
protected IStatus containerChanged() {
StatusInfo status= new StatusInfo();
fCurrRoot= null;
String str= g... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/ContainerPage.java | }
IJavaProject jproject= JavaCore.create(proj);
fCurrRoot= jproject.getPackageFragmentRoot(res);
if (fCurrRoot.exists()) {
try {
if (!proj.hasNature(JavaCore.NATURE_ID)) {
if (resType == IResource.PROJECT) {
status.setWarning(NewWizardMessages.getString("ContainerPage.warning.N... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/ContainerPage.java | status.setError(NewWizardMessages.getFormattedString("ContainerPage.error.NotAFolder", str));
return status;
}
} else {
status.setError(NewWizardMessages.getFormattedString("ContainerPage.error.ContainerDoesNotExist", str));
return status;
}
}
/**
* Called when a field on a page changed. E... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/ContainerPage.java | }
/**
* Returns the PackageFragmentRoot corresponding to the current input.
* @return the PackageFragmentRoot or <code>null</code> if the current
* input is not a valid source folder
*/
public IPackageFragmentRoot getPackageFragmentRoot() {
return fCurrRoot;
}
/**
* Returns the text of the container... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/ContainerPage.java | private IPackageFragmentRoot chooseSourceContainer(IJavaElement initElement) {
Class[] acceptedClasses= new Class[] { IPackageFragmentRoot.class, IJavaProject.class };
ISelectionValidator validator= new TypedElementSelectionValidator(acceptedClasses, false) {
public boolean isSelectedValid(Object element) {
... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/ContainerPage.java | }
}
return super.select(viewer, parent, element);
}
};
JavaElementContentProvider provider= new JavaElementContentProvider();
ILabelProvider labelProvider= new JavaElementLabelProvider(JavaElementLabelProvider.SHOW_DEFAULT);
ElementTreeSelectionDialog dialog= new ElementTreeSelectionDialog(getShel... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00: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.core.resources.IProject;
import org.eclipse.core.resources.IResou... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewClassCreationWizardPage.java | import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.SubProgressMonitor;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.ui.help.Dial... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewClassCreationWizardPage.java | setDescription(NewWizardMessages.getString("NewClassCreationWizardPage.description"));
String[] buttonNames3= new String[] {
NewWizardMessages.getString("NewClassCreationWizardPage.methods.main"), NewWizardMessages.getString("NewClassCreationWizardPage.methods.constructors"),
NewWizardMessages.getString("N... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewClassCreationWizardPage.java | fContainerStatus,
isEnclosingTypeSelected() ? fEnclosingTypeStatus : fPackageStatus,
fTypeNameStatus,
fModifierStatus,
fSuperClassStatus,
fSuperInterfacesStatus
});
}
/*
* @see ContainerPage#handleFieldChanged
*/
protected void handleFieldChanged(String fieldName) {
super.handleFieldChanged(... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewClassCreationWizardPage.java | layout.minimumWidth= SWTUtil.convertWidthInCharsToPixels(80, composite);
layout.numColumns= nColumns;
composite.setLayout(layout);
createContainerControls(composite, nColumns);
createPackageControls(composite, nColumns);
createEnclosingTypeControls(composite, nColumns);
createSeparator(composite... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewClassCreationWizardPage.java | LayoutUtil.setHorizontalSpan(fMethodStubsButtons.getSelectionButtonsGroup(composite), nColumns - 1);
}
/*
* @see TypePage#evalMethods
*/
protected String[] evalMethods(IType type, IImportsStructure imports, IProgressMonitor monitor) throws CoreException {
List newMethods= new ArrayList();
boolean ... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewInterfaceCreationWizardPage.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.wizards;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.IWorkspaceRo... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewInterfaceCreationWizardPage.java | private final static String PAGE_NAME= "NewInterfaceCreationWizardPage";
public NewInterfaceCreationWizardPage(IWorkspaceRoot root) {
super(false, PAGE_NAME, root);
setTitle(NewWizardMessages.getString("NewInterfaceCreationWizardPage.title"));
setDescription(NewWizardMessages.getString("NewInterfaceCreat... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewInterfaceCreationWizardPage.java | /**
* Finds the most severe error (if there is one)
*/
private IStatus findMostSevereStatus() {
return StatusUtil.getMostSevere(new IStatus[] {
fContainerStatus,
isEnclosingTypeSelected() ? fEnclosingTypeStatus : fPackageStatus,
fTypeNameStatus,
fModifierStatus,
fSuperInterfacesStatus
});
}
... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewInterfaceCreationWizardPage.java | */
public void createControl(Composite parent) {
Composite composite= new Composite(parent, SWT.NONE);
int nColumns= 4;
MGridLayout layout= new MGridLayout();
layout.minimumWidth= SWTUtil.convertWidthInCharsToPixels(80, composite);
layout.numColumns= nColumns;
composite.setLayout(layout);
crea... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewPackageCreationWizardPage.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.wizards;
import java.lang.reflect.InvocationTargetException;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Label; |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewPackageCreationWizardPage.java | import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.IWorkspaceRoot;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IProgressMonitor;
i... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewPackageCreationWizardPage.java | private static final String PAGE_NAME= "NewPackageCreationWizardPage";
protected static final String PACKAGE= "NewPackageCreationWizardPage.package";
private StringDialogField fPackageDialogField;
/**
* Status of last validation of the package field
*/
protected IStatus fPackageStatus;
private IPacka... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewPackageCreationWizardPage.java | PackageFieldAdapter adapter= new PackageFieldAdapter();
fPackageDialogField= new StringDialogField();
fPackageDialogField.setDialogFieldListener(adapter);
fPackageDialogField.setLabelText(NewWizardMessages.getString("NewPackageCreationWizardPage.package.label"));
fPackageStatus= new StatusInfo();
}
/... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewPackageCreationWizardPage.java | layout.marginWidth= 0;
layout.marginHeight= 0;
layout.minimumWidth= widthHint;
layout.minimumHeight= SWTUtil.convertHeightInCharsToPixels(20, composite);
layout.numColumns= 3;
composite.setLayout(layout);
Label label= new Label(composite, SWT.WRAP);
label.setText(NewWizardMessages.getString("NewPack... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewPackageCreationWizardPage.java | public void dialogFieldChanged(DialogField field) {
fPackageStatus= packageChanged();
handleFieldChanged(PACKAGE);
}
}
/**
* Called when a dialog field on this page changed
* @see ContainerPage#fieldUpdated
*/
protected void handleFieldChanged(String fieldName) {
super.handleFieldChanged(... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewPackageCreationWizardPage.java | return StatusUtil.getMoreSevere(fContainerStatus, fPackageStatus);
}
/**
* Verify the input for the package field
*/
private IStatus packageChanged() {
StatusInfo status= new StatusInfo();
String packName= fPackageDialogField.getText();
if (!"".equals(packName)) {
IStatus val= JavaConventions... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewPackageCreationWizardPage.java | IPath packagePath= pack.getUnderlyingResource().getFullPath();
if (outputPath.isPrefixOf(packagePath)) {
status.setError(NewWizardMessages.getString("NewPackageCreationWizardPage.error.IsOutputFolder"));
return status;
}
}
if (pack.exists()) {
if (pack.containsJavaResources() || !p... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewPackageCreationWizardPage.java | /**
* @see NewElementWizardPage#getRunnable
*/
public IRunnableWithProgress getRunnable() {
return new IRunnableWithProgress() {
public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
try {
createPackage(monitor);
} catch (JavaModelException e) {
... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewSourceFolderCreationWizardPage.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.wizards;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.widgets.Com... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewSourceFolderCreationWizardPage.java | import org.eclipse.jface.dialogs.IDialogConstants;
import org.eclipse.jface.operation.IRunnableWithProgress;
import org.eclipse.jface.viewers.ILabelProvider;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.viewers.ITreeContentProvider;
import org.eclipse.jface.viewers.ViewerFilter;
impor... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewSourceFolderCreationWizardPage.java | import org.eclipse.jdt.internal.ui.util.SWTUtil;
import org.eclipse.jdt.internal.ui.wizards.buildpaths.BuildPathsBlock;
import org.eclipse.jdt.internal.ui.wizards.dialogfields.DialogField;
import org.eclipse.jdt.internal.ui.wizards.dialogfields.IDialogFieldListener;
import org.eclipse.jdt.internal.ui.wizards.dialogfiel... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewSourceFolderCreationWizardPage.java | super(PAGE_NAME);
setTitle(NewWizardMessages.getString("NewSourceFolderCreationWizardPage.title"));
setDescription(NewWizardMessages.getString("NewSourceFolderCreationWizardPage.description"));
fWorkspaceRoot= root;
RootFieldAdapter adapter= new RootFieldAdapter();
fProjectField= new StringBut... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewSourceFolderCreationWizardPage.java | if (selection == null || selection.isEmpty()) {
setDefaultAttributes();
return;
}
Object selectedElement= selection.getFirstElement();
if (selectedElement == null) {
selectedElement= EditorUtility.getActiveEditorJavaInput();
}
String projPath= null;
if (selectedElement instanceof IReso... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewSourceFolderCreationWizardPage.java | }
private void setDefaultAttributes() {
String projPath= "";
try {
IProject[] projects= fWorkspaceRoot.getProjects();
for (int i= 0; i < projects.length; i++) {
IProject proj= projects[i];
if (proj.hasNature(JavaCore.NATURE_ID)) {
projPath= proj.getFullPath().makeRelative().toString();... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewSourceFolderCreationWizardPage.java | layout.marginWidth= 0;
layout.marginHeight= 0;
layout.minimumWidth= SWTUtil.convertWidthInCharsToPixels(80, composite);
layout.minimumHeight= SWTUtil.convertHeightInCharsToPixels(20, composite);
layout.numColumns= 3;
composite.setLayout(layout);
fProjectField.doFillIntoGrid(composite, 3);
fRootDialo... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewSourceFolderCreationWizardPage.java | public void dialogFieldChanged(DialogField field) {
packRootDialogFieldChanged(field);
}
}
private void packRootChangeControlPressed(DialogField field) {
if (field == fRootDialogField) {
IFolder folder= chooseFolder();
if (folder != null) {
IPath path= folder.getFullPath().removeFirstSegments(1);
... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewSourceFolderCreationWizardPage.java | }
}
updateStatus(findMostSevereStatus());
}
private void updateProjectStatus() {
fCurrJProject= null;
String str= fProjectField.getText();
if ("".equals(str)) {
fProjectStatus.setError(NewWizardMessages.getString("NewSourceFolderCreationWizardPage.error.EnterProjectName"));
return;
}
IPat... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewSourceFolderCreationWizardPage.java | return;
}
} catch (CoreException e) {
JavaPlugin.log(e);
fCurrJProject= null;
}
fProjectStatus.setError(NewWizardMessages.getString("NewSourceFolderCreationWizardPage.error.NotAJavaProject"));
}
private void updateRootStatus() {
fRootDialogField.enableButton(fCurrJProject != null);
if (fCurrJ... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewSourceFolderCreationWizardPage.java | IClasspathEntry[] newEntries= new IClasspathEntry[fEntries.length + 1];
for (int i= 0; i < fEntries.length; i++) {
IClasspathEntry curr= fEntries[i];
if (curr.getEntryKind() == IClasspathEntry.CPE_SOURCE) {
if (path.equals(curr.getPath())) {
fRootStatus.setError(NewWizardMessages.getString("N... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewSourceFolderCreationWizardPage.java | */
public IRunnableWithProgress getRunnable() {
return new IRunnableWithProgress() {
public void run(IProgressMonitor monitor) throws InvocationTargetException {
try {
fCreatedRoot= createPackageFragmentRoot(monitor, getShell());
} catch (JavaModelException e) {
throw new InvocationTargetExcept... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewSourceFolderCreationWizardPage.java | int nEntries= entries.length;
IClasspathEntry[] newEntries= new IClasspathEntry[nEntries + 1];
for (int i= 0; i < nEntries; i++) {
newEntries[i]= entries[i];
}
newEntries[nEntries]= JavaCore.newSourceEntry(path);
fCurrJProject.setRawClasspath(newEntries, monitor);
return fCurrJProject.getPackageFragme... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewSourceFolderCreationWizardPage.java | }
if (dialog.open() == dialog.OK) {
return (IFolder) dialog.getFirstResult();
}
return null;
}
private IJavaProject chooseProject() {
IJavaProject[] projects;
try {
projects= JavaCore.create(fWorkspaceRoot).getJavaProjects();
} catch (JavaModelException e) {
JavaPlugin.log(e.getStatus());
... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewSourceFolderCreationWizardPage.java | private BuildPathsBlock fBuildPathsBlock;
public EditClassPathDialog(Shell parent) {
super(parent);
fBuildPathsBlock= new BuildPathsBlock(fWorkspaceRoot, this, false);
}
public void create() {
super.create();
fBuildPathsBlock.init(fCurrJProject, null, null);
}
protected Control cre... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewSourceFolderCreationWizardPage.java | IRunnableWithProgress runnable= fBuildPathsBlock.getRunnable();
if (invokeRunnable(runnable)) {
setReturnCode(OK);
} else {
setReturnCode(CANCEL);
}
}
close();
}
private boolean invokeRunnable(IRunnableWithProgress runnable) {
IRunnableWithProgress op= new WorkspaceModifyDelegating... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewSourceFolderCreationWizardPage.java | return (dialog.open() == EditClassPathDialog.OK);
}
private IContainer[] getFilteredExistingContainerEntries() {
if (fCurrJProject == null) {
return new IContainer[0];
}
List res= new ArrayList();
try {
IResource container= fWorkspaceRoot.findMember(fCurrJProject.getOutputLocation());
if (container... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.wizards;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.swt.SWT;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.widgets.Comp... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java | import org.eclipse.jdt.core.IPackageFragment;
import org.eclipse.jdt.core.IPackageFragmentRoot;
import org.eclipse.jdt.core.ISourceRange;
import org.eclipse.jdt.core.IType;
import org.eclipse.jdt.core.ITypeHierarchy;
import org.eclipse.jdt.core.JavaConventions;
import org.eclipse.jdt.core.JavaModelException;
import org... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java | import org.eclipse.jdt.internal.ui.wizards.dialogfields.SelectionButtonDialogField;
import org.eclipse.jdt.internal.ui.wizards.dialogfields.SelectionButtonDialogFieldGroup;
import org.eclipse.jdt.internal.ui.wizards.dialogfields.Separator;
import org.eclipse.jdt.internal.ui.wizards.dialogfields.StringButtonDialogField;... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java | private Image fInterfaceImage;
public InterfacesListLabelProvider() {
super();
fInterfaceImage= JavaPlugin.getDefault().getImageRegistry().get(JavaPluginImages.IMG_OBJS_INTERFACE);
}
public Image getImage(Object element) {
return fInterfaceImage;
}
}
private StringButtonStatusDialogField fPack... |
6,207 | Bug 6207 Java project properties dialog grows taller than screen | build 20011116 The Java Build Path/Order page in the project properties dialog always grows the table to show all items. In a workspace with many source folders the properties dialog grows so tall that you can no longer see the ok/cancel buttons. I noticed this while using WSDD (Eclipse 1.0 based) to create P3ML bundle... | resolved fixed | 1b69a90 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2001-11-23T15:07:47Z | 2001-11-21T22:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java | private boolean fCanModifyEnclosingType;
private IPackageFragment fCurrPackage;
private IType fCurrEnclosingType;
private StringDialogField fTypeNameDialogField;
private StringButtonDialogField fSuperClassDialogField;
private ListDialogField fSuperInterfacesDialogField;
private IType fSuperClass;
priv... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.