issue_id int64 2.04k 425k | title stringlengths 9 251 | body stringlengths 4 32.8k ⌀ | status stringclasses 6
values | after_fix_sha stringlengths 7 7 | project_name stringclasses 6
values | repo_url stringclasses 6
values | repo_name stringclasses 6
values | language stringclasses 1
value | issue_url null | before_fix_sha null | pull_url null | commit_datetime timestamp[us, tz=UTC] | report_datetime timestamp[us, tz=UTC] | updated_file stringlengths 23 187 | chunk_content stringlengths 1 22k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
18,015 | Bug 18015 NPE in structured selection if file opened from repo | F1 1. repository view - open a java file 2. use structured selection java.lang.NullPointerException at org.eclipse.jdt.internal.ui.javaeditor.structureselection.StructureSelectionActi on.getNewSelectionRange(StructureSelectionAction.java:68) at org.eclipse.jdt.internal.ui.javaeditor.structureselection.StructureSelectio... | verified fixed | f8bcbf5 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T13:33:19Z | 2002-05-28T10:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/structureselection/StructureSelectionAction.java | public static final String ENCLOSING= "SelectEnclosingElement";
public static final String HISTORY= "RestoreLastSelection";
private CompilationUnitEditor fEditor;
private SelectionHistory fSelectionHistory;
protected StructureSelectionAction(String text, CompilationUnitEditor editor, SelectionHistory history) {
... |
18,015 | Bug 18015 NPE in structured selection if file opened from repo | F1 1. repository view - open a java file 2. use structured selection java.lang.NullPointerException at org.eclipse.jdt.internal.ui.javaeditor.structureselection.StructureSelectionActi on.getNewSelectionRange(StructureSelectionAction.java:68) at org.eclipse.jdt.internal.ui.javaeditor.structureselection.StructureSelectio... | verified fixed | f8bcbf5 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T13:33:19Z | 2002-05-28T10:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/structureselection/StructureSelectionAction.java | fSelectionHistory.ignoreSelectionChanges();
fEditor.selectAndReveal(newRange.getOffset(), newRange.getLength());
} finally {
fSelectionHistory.listenToSelectionChanges();
}
}
public final ISourceRange getNewSelectionRange(ISourceRange oldSourceRange, ICompilationUnit cu){
try{
if (! cu.isStructureKno... |
18,015 | Bug 18015 NPE in structured selection if file opened from repo | F1 1. repository view - open a java file 2. use structured selection java.lang.NullPointerException at org.eclipse.jdt.internal.ui.javaeditor.structureselection.StructureSelectionActi on.getNewSelectionRange(StructureSelectionAction.java:68) at org.eclipse.jdt.internal.ui.javaeditor.structureselection.StructureSelectio... | verified fixed | f8bcbf5 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T13:33:19Z | 2002-05-28T10:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/structureselection/StructureSelectionAction.java | }
protected final ITextSelection getTextSelection() {
return (ITextSelection)fEditor.getSelectionProvider().getSelection();
}
protected static ISourceRange getLastCoveringNodeRange(ISourceRange oldSourceRange, ICompilationUnit cu, StructureSelectionAnalyzer selAnalyzer) throws JavaModelException {
if (selAna... |
18,015 | Bug 18015 NPE in structured selection if file opened from repo | F1 1. repository view - open a java file 2. use structured selection java.lang.NullPointerException at org.eclipse.jdt.internal.ui.javaeditor.structureselection.StructureSelectionActi on.getNewSelectionRange(StructureSelectionAction.java:68) at org.eclipse.jdt.internal.ui.javaeditor.structureselection.StructureSelectio... | verified fixed | f8bcbf5 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T13:33:19Z | 2002-05-28T10:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/structureselection/StructureSelectionAction.java | static ISourceRange createSourceRange(int offset, int end){
int length= end - offset + 1;
if (length == 0)
length= 1;
return new SourceRange(Math.max(0, offset), length);
}
static ASTNode[] getChildNodes(ASTNode node){
if (node instanceof Block)
return convertToNodeArray(((Block)node).statements()); ... |
16,455 | Bug 16455 Open type in hierarchy perspective. [type hierarchy] | I use open type dialog a lot to open the type in a hierarchy perpective but I can't find the preference to open the type in a hierarchy perpective anymore. I saw the button "Hierarchy" in the open type dialog but takes me 4 tabs to get there instead of pressing enter. (Not acceptable). Please can you point me to the ne... | resolved wontfix | e8a411e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T14:44:58Z | 2002-05-20T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/OpenTypeAction.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.actions;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.dialogs.IDialo... |
16,455 | Bug 16455 Open type in hierarchy perspective. [type hierarchy] | I use open type dialog a lot to open the type in a hierarchy perpective but I can't find the preference to open the type in a hierarchy perpective anymore. I saw the button "Hierarchy" in the open type dialog but takes me 4 tabs to get there instead of pressing enter. (Not acceptable). Please can you point me to the ne... | resolved wontfix | e8a411e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T14:44:58Z | 2002-05-20T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/OpenTypeAction.java | public OpenTypeAction() {
super();
setText(JavaUIMessages.getString("OpenTypeAction.label"));
setDescription(JavaUIMessages.getString("OpenTypeAction.description"));
setToolTipText(JavaUIMessages.getString("OpenTypeAction.tooltip"));
setImageDescriptor(JavaPluginImages.DESC_TOOL_OPENTYPE);
}
public void ... |
16,455 | Bug 16455 Open type in hierarchy perspective. [type hierarchy] | I use open type dialog a lot to open the type in a hierarchy perpective but I can't find the preference to open the type in a hierarchy perpective anymore. I saw the button "Hierarchy" in the open type dialog but takes me 4 tabs to get there instead of pressing enter. (Not acceptable). Please can you point me to the ne... | resolved wontfix | e8a411e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T14:44:58Z | 2002-05-20T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/OpenTypeAction.java | OpenTypeHierarchyUtil.open(new IType[] { type }, JavaPlugin.getActiveWorkbenchWindow());
} else {
try {
IEditorPart part= EditorUtility.openInEditor(type, true);
EditorUtility.revealInEditor(part, type);
} catch (CoreException x) {
String title= JavaUIMessages.getString("OpenTypeAction.errorTi... |
16,455 | Bug 16455 Open type in hierarchy perspective. [type hierarchy] | I use open type dialog a lot to open the type in a hierarchy perpective but I can't find the preference to open the type in a hierarchy perpective anymore. I saw the button "Hierarchy" in the open type dialog but takes me 4 tabs to get there instead of pressing enter. (Not acceptable). Please can you point me to the ne... | resolved wontfix | e8a411e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T14:44:58Z | 2002-05-20T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/OpenTypeSelectionDialog.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.dialogs;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
im... |
16,455 | Bug 16455 Open type in hierarchy perspective. [type hierarchy] | I use open type dialog a lot to open the type in a hierarchy perpective but I can't find the preference to open the type in a hierarchy perpective anymore. I saw the button "Hierarchy" in the open type dialog but takes me 4 tabs to get there instead of pressing enter. (Not acceptable). Please can you point me to the ne... | resolved wontfix | e8a411e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T14:44:58Z | 2002-05-20T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/OpenTypeSelectionDialog.java | public static final int IN_HIERARCHY= IDialogConstants.CLIENT_ID + 1;
/**
* Constructs an instance of <code>OpenTypeSelectionDialog</code>.
* @param parent the parent shell.
* @param context the context.
* @param elementKinds <code>IJavaSearchConstants.CLASS</code>, <code>IJavaSearchConstants.INTERFACE</code>... |
16,455 | Bug 16455 Open type in hierarchy perspective. [type hierarchy] | I use open type dialog a lot to open the type in a hierarchy perpective but I can't find the preference to open the type in a hierarchy perpective anymore. I saw the button "Hierarchy" in the open type dialog but takes me 4 tabs to get there instead of pressing enter. (Not acceptable). Please can you point me to the ne... | resolved wontfix | e8a411e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T14:44:58Z | 2002-05-20T15:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/OpenTypeSelectionDialog.java | {
super(parent, context, elementKinds, scope);
}
/**
* @see Windows#configureShell(Shell)
*/
protected void configureShell(Shell newShell) {
super.configureShell(newShell);
WorkbenchHelp.setHelp(newShell, IJavaHelpContextIds.OPEN_TYPE_DIALOG);
}
/*
* @see Dialog#createButtonsForButtonBar(Composite)
... |
17,910 | Bug 17910 OpenRefactoringWIzardAction: is API but has protected method that us internal classes | F1 Opt to remove the class and use an internal helper class instead. | verified fixed | 38fd169 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T15:25:26Z | 2002-05-27T11:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ModifyParametersAction.java | package org.eclipse.jdt.ui.actions;
import org.eclipse.ui.IWorkbenchSite;
import org.eclipse.jdt.core.IMethod;
import org.eclipse.jdt.core.JavaModelException;
import org.eclipse.jdt.internal.corext.refactoring.base.Refactoring;
import org.eclipse.jdt.internal.corext.refactoring.structure.ModifyParametersRefactoring;
im... |
17,910 | Bug 17910 OpenRefactoringWIzardAction: is API but has protected method that us internal classes | F1 Opt to remove the class and use an internal helper class instead. | verified fixed | 38fd169 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T15:25:26Z | 2002-05-27T11:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ModifyParametersAction.java | private static final String TITLE= RefactoringMessages.getString("RefactoringGroup.modify_Parameters_label");
private static final String UNAVAILABLE= RefactoringMessages.getString("ModifyParametersAction.unavailable");
public ModifyParametersAction(CompilationUnitEditor editor) {
super(TITLE, UNAVAILABLE, edit... |
17,910 | Bug 17910 OpenRefactoringWIzardAction: is API but has protected method that us internal classes | F1 Opt to remove the class and use an internal helper class instead. | verified fixed | 38fd169 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T15:25:26Z | 2002-05-27T11:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenRefactoringWizardAction.java | package org.eclipse.jdt.ui.actions;
import java.util.Iterator;
import org.eclipse.swt.widgets.Display;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.text.ITextSelection;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.viewers.StructuredSelection;
import org.ecl... |
17,910 | Bug 17910 OpenRefactoringWIzardAction: is API but has protected method that us internal classes | F1 Opt to remove the class and use an internal helper class instead. | verified fixed | 38fd169 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T15:25:26Z | 2002-05-27T11:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenRefactoringWizardAction.java | super(site);
Assert.isNotNull(unavailableString);
Assert.isNotNull(activatedOnType);
setText(label);
fActivationType= activatedOnType;
fCanActivateOnMultiSelection= canActivateOnMultiSelection;
fUnavailableMessage= unavailableString;
}
protected OpenRefactoringWizardAction(String label, String unavailab... |
17,910 | Bug 17910 OpenRefactoringWIzardAction: is API but has protected method that us internal classes | F1 Opt to remove the class and use an internal helper class instead. | verified fixed | 38fd169 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T15:25:26Z | 2002-05-27T11:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenRefactoringWizardAction.java | /*
* @see SelectionDispatchAction#run(IStructuredSelection)
*/
protected void run(IStructuredSelection selection) {
startRefactoring();
}
protected void run(ITextSelection selection) {
if (! canRun(selection)){
MessageDialog.openInformation(getShell(), RefactoringMessages.getString("OpenRefactoringWizardA... |
17,910 | Bug 17910 OpenRefactoringWIzardAction: is API but has protected method that us internal classes | F1 Opt to remove the class and use an internal helper class instead. | verified fixed | 38fd169 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T15:25:26Z | 2002-05-27T11:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenRefactoringWizardAction.java | if (selection.size() > 1 && ! fCanActivateOnMultiSelection)
return false;
if (selection.size() == 1 && ! fCanActivateOnMultiSelection)
return fActivationType.isInstance(selection.getFirstElement()) && shouldAcceptElement(selection.getFirstElement());
for (Iterator iter= selection.iterator(); iter.ha... |
17,910 | Bug 17910 OpenRefactoringWIzardAction: is API but has protected method that us internal classes | F1 Opt to remove the class and use an internal helper class instead. | verified fixed | 38fd169 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T15:25:26Z | 2002-05-27T11:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenRefactoringWizardAction.java | fRefactoring= createNewRefactoringInstance(obj);
return canActivateRefactoring(fRefactoring);
} catch (JavaModelException e){
JavaPlugin.log(e);
return false;
}
}
private IJavaElement[] resolveElements() {
return SelectionConverter.codeResolveHandled(fEditor, getShell(), RefactoringMessages.getSt... |
17,910 | Bug 17910 OpenRefactoringWIzardAction: is API but has protected method that us internal classes | F1 Opt to remove the class and use an internal helper class instead. | verified fixed | 38fd169 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T15:25:26Z | 2002-05-27T11:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/PullUpAction.java | package org.eclipse.jdt.ui.actions;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;
import org.eclipse.ui.IWorkbenchSite;
import org.eclipse.jdt.core.IMember;
import org.eclipse.jdt.core.JavaModelException;
import org.eclipse.jdt.internal.corext.refactoring.base.Refactoring;
import org.eclipse.... |
17,910 | Bug 17910 OpenRefactoringWIzardAction: is API but has protected method that us internal classes | F1 Opt to remove the class and use an internal helper class instead. | verified fixed | 38fd169 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T15:25:26Z | 2002-05-27T11:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/PullUpAction.java | private static final String TITLE= RefactoringMessages.getString("RefactoringGroup.pull_Up_label");
private static final String UNAVAILABLE= RefactoringMessages.getString("PullUpAction.unavailable");
public PullUpAction(CompilationUnitEditor editor) {
super(TITLE, UNAVAILABLE, editor, IMember.class, true);
}
... |
16,847 | Bug 16847 Japanese: Template page buttons cut off | In the Java->Template page in Japanese the text is cut off on the last 4 buttons. STEPS 1) Install build 20020521 with the 20020515 fragments 2) Open Preferences->Java->Templates | resolved fixed | af58435 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T16:44:10Z | 2002-05-22T15:06: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... |
16,847 | Bug 16847 Japanese: Template page buttons cut off | In the Java->Template page in Japanese the text is cut off on the last 4 buttons. STEPS 1) Install build 20020521 with the 20020515 fragments 2) Open Preferences->Java->Templates | resolved fixed | af58435 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T16:44:10Z | 2002-05-22T15:06: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... |
16,847 | Bug 16847 Japanese: Template page buttons cut off | In the Java->Template page in Japanese the text is cut off on the last 4 buttons. STEPS 1) Install build 20020521 with the 20020515 fragments 2) Open Preferences->Java->Templates | resolved fixed | af58435 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T16:44:10Z | 2002-05-22T15:06: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... |
16,847 | Bug 16847 Japanese: Template page buttons cut off | In the Java->Template page in Japanese the text is cut off on the last 4 buttons. STEPS 1) Install build 20020521 with the 20020515 fragments 2) Open Preferences->Java->Templates | resolved fixed | af58435 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T16:44:10Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | layout.marginWidth= 0;
parent.setLayout(layout);
Table table= new Table(parent, SWT.CHECK | SWT.BORDER | SWT.MULTI | SWT.FULL_SELECTION);
GridData data= new GridData(GridData.FILL_BOTH);
data.widthHint= convertWidthInCharsToPixels(80);
data.heightHint= convertHeightInCharsToPixels(10);
table.setLayou... |
16,847 | Bug 16847 Japanese: Template page buttons cut off | In the Java->Template page in Japanese the text is cut off on the last 4 buttons. STEPS 1) Install build 20020521 with the 20020515 fragments 2) Open Preferences->Java->Templates | resolved fixed | af58435 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T16:44:10Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | Template left= (Template) object1;
Template right= (Template) object2;
int result= left.getName().compareToIgnoreCase(right.getName());
if (result != 0)
return result;
return left.getDescription().compareToIgnoreCase(right.getDescription());
}
return super.compare(viewer, object1, obje... |
16,847 | Bug 16847 Japanese: Template page buttons cut off | In the Java->Template page in Japanese the text is cut off on the last 4 buttons. STEPS 1) Install build 20020521 with the 20020515 fragments 2) Open Preferences->Java->Templates | resolved fixed | af58435 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T16:44:10Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | }
});
Composite buttons= new Composite(parent, SWT.NULL);
buttons.setLayoutData(new GridData(GridData.VERTICAL_ALIGN_BEGINNING));
layout= new GridLayout();
layout.marginHeight= 0;
layout.marginWidth= 0;
buttons.setLayout(layout);
fAddButton= new Button(buttons, SWT.PUSH);
fAddButton.setLayoutData(g... |
16,847 | Bug 16847 Japanese: Template page buttons cut off | In the Java->Template page in Japanese the text is cut off on the last 4 buttons. STEPS 1) Install build 20020521 with the 20020515 fragments 2) Open Preferences->Java->Templates | resolved fixed | af58435 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T16:44:10Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | remove();
}
});
createSpacer(buttons);
fImportButton= new Button(buttons, SWT.PUSH);
fImportButton.setLayoutData(getButtonGridData(fImportButton));
fImportButton.setText(TemplateMessages.getString("TemplatePreferencePage.import"));
fImportButton.addListener(SWT.Selection, new Listener() {
public... |
16,847 | Bug 16847 Japanese: Template page buttons cut off | In the Java->Template page in Japanese the text is cut off on the last 4 buttons. STEPS 1) Install build 20020521 with the 20020515 fragments 2) Open Preferences->Java->Templates | resolved fixed | af58435 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T16:44:10Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | fEnableAllButton= new Button(buttons, SWT.PUSH);
fEnableAllButton.setLayoutData(getButtonGridData(fEnableAllButton));
fEnableAllButton.setText(TemplateMessages.getString("TemplatePreferencePage.enable.all"));
fEnableAllButton.addListener(SWT.Selection, new Listener() {
public void handleEvent(Event e) {
e... |
16,847 | Bug 16847 Japanese: Template page buttons cut off | In the Java->Template page in Japanese the text is cut off on the last 4 buttons. STEPS 1) Install build 20020521 with the 20020515 fragments 2) Open Preferences->Java->Templates | resolved fixed | af58435 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T16:44:10Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | return parent;
}
private Template[] getEnabledTemplates() {
Template[] templates= fTemplates.getTemplates();
List list= new ArrayList(templates.length);
for (int i= 0; i != templates.length; i++)
if (templates[i].isEnabled())
list.add(templates[i]);
return (Template[]) list.toArray(new Tem... |
16,847 | Bug 16847 Japanese: Template page buttons cut off | In the Java->Template page in Japanese the text is cut off on the last 4 buttons. STEPS 1) Install build 20020521 with the 20020515 fragments 2) Open Preferences->Java->Templates | resolved fixed | af58435 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T16:44:10Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | viewer.getTextWidget().setFont(font);
Control control= viewer.getControl();
data= new GridData(GridData.FILL_BOTH);
data.heightHint= convertHeightInCharsToPixels(5);
control.setLayoutData(data);
return viewer;
}
public void createSpacer(Composite parent) {
Label spacer= new Label(parent, SWT.NONE)... |
16,847 | Bug 16847 Japanese: Template page buttons cut off | In the Java->Template page in Japanese the text is cut off on the last 4 buttons. STEPS 1) Install build 20020521 with the 20020515 fragments 2) Open Preferences->Java->Templates | resolved fixed | af58435 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T16:44:10Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | Template template= (Template) selection.getFirstElement();
fPatternViewer.getTextWidget().setText(template.getPattern());
} else {
fPatternViewer.getTextWidget().setText("");
}
updateButtons();
}
private void updateButtons() {
int selectionCount= ((IStructuredSelection) fTableViewer.getSelection... |
16,847 | Bug 16847 Japanese: Template page buttons cut off | In the Java->Template page in Japanese the text is cut off on the last 4 buttons. STEPS 1) Install build 20020521 with the 20020515 fragments 2) Open Preferences->Java->Templates | resolved fixed | af58435 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T16:44:10Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | Iterator iterator= registry.iterator();
contextTypeName= (String) iterator.next();
}
template.setContext(contextTypeName);
EditTemplateDialog dialog= new EditTemplateDialog(getShell(), template, false);
if (dialog.open() == dialog.OK) {
fTemplates.add(template);
fTableViewer.refresh();
fTableVie... |
16,847 | Bug 16847 Japanese: Template page buttons cut off | In the Java->Template page in Japanese the text is cut off on the last 4 buttons. STEPS 1) Install build 20020521 with the 20020515 fragments 2) Open Preferences->Java->Templates | resolved fixed | af58435 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T16:44:10Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | {
template= newTemplate;
fTemplates.add(template);
fTableViewer.refresh();
} else {
template.setName(newTemplate.getName());
template.setDescription(newTemplate.getDescription());
template.setContext(newTemplate.getContextTypeName());
template.setPattern(newTemplate.getPattern());
fTa... |
16,847 | Bug 16847 Japanese: Template page buttons cut off | In the Java->Template page in Japanese the text is cut off on the last 4 buttons. STEPS 1) Install build 20020521 with the 20020515 fragments 2) Open Preferences->Java->Templates | resolved fixed | af58435 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T16:44:10Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | fTableViewer.setCheckedElements(getEnabledTemplates());
} catch (CoreException e) {
openReadErrorDialog(e);
}
}
private void exportAll() {
export(fTemplates);
}
private void export() {
IStructuredSelection selection= (IStructuredSelection) fTableViewer.getSelection();
Object[] templates= selectio... |
16,847 | Bug 16847 Japanese: Template page buttons cut off | In the Java->Template page in Japanese the text is cut off on the last 4 buttons. STEPS 1) Install build 20020521 with the 20020515 fragments 2) Open Preferences->Java->Templates | resolved fixed | af58435 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T16:44:10Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | File file= new File(path);
if (!file.exists() || confirmOverwrite(file)) {
try {
templateSet.saveToFile(file);
} catch (CoreException e) {
JavaPlugin.log(e);
openWriteErrorDialog(e);
}
}
}
private boolean confirmOverwrite(File file) {
return MessageDialog.openQuestion(getShell(),
... |
16,847 | Bug 16847 Japanese: Template page buttons cut off | In the Java->Template page in Japanese the text is cut off on the last 4 buttons. STEPS 1) Install build 20020521 with the 20020515 fragments 2) Open Preferences->Java->Templates | resolved fixed | af58435 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T16:44:10Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | fTableViewer.setAllChecked(enable);
}
/*
* @see IWorkbenchPreferencePage#init(IWorkbench)
*/
public void init(IWorkbench workbench) {}
/*
* @see Control#setVisible(boolean)
*/
public void setVisible(boolean visible) {
super.setVisible(visible);
if (visible)
setTitle(TemplateMessages.getString("Tem... |
16,847 | Bug 16847 Japanese: Template page buttons cut off | In the Java->Template page in Japanese the text is cut off on the last 4 buttons. STEPS 1) Install build 20020521 with the 20020515 fragments 2) Open Preferences->Java->Templates | resolved fixed | af58435 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T16:44:10Z | 2002-05-22T15:06: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... |
16,847 | Bug 16847 Japanese: Template page buttons cut off | In the Java->Template page in Japanese the text is cut off on the last 4 buttons. STEPS 1) Install build 20020521 with the 20020515 fragments 2) Open Preferences->Java->Templates | resolved fixed | af58435 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T16:44:10Z | 2002-05-22T15:06: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... |
17,345 | Bug 17345 add "org" to "Organize Imports" | Preferences>>Java>>Organize Imports I'd like to see the entry "org" added to the existing entries "java, javax, com". The package prefix "org" is so common ... why not add it to the existing ones ... eclipse itself has mostly this prefix. | closed fixed | 0f0f22c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T16:55:08Z | 2002-05-23T16:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ImportOrganizePreferencePage.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.preferences;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
import java.util.StringToken... |
17,345 | Bug 17345 add "org" to "Organize Imports" | Preferences>>Java>>Organize Imports I'd like to see the entry "org" added to the existing entries "java, javax, com". The package prefix "org" is so common ... why not add it to the existing ones ... eclipse itself has mostly this prefix. | closed fixed | 0f0f22c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T16:55:08Z | 2002-05-23T16:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ImportOrganizePreferencePage.java | import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.FileDialog;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.jface.preference.PreferencePage;... |
17,345 | Bug 17345 add "org" to "Organize Imports" | Preferences>>Java>>Organize Imports I'd like to see the entry "org" added to the existing entries "java, javax, com". The package prefix "org" is so common ... why not add it to the existing ones ... eclipse itself has mostly this prefix. | closed fixed | 0f0f22c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T16:55:08Z | 2002-05-23T16:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ImportOrganizePreferencePage.java | public static final String PREF_IMPORTORDER= JavaUI.ID_PLUGIN + ".importorder";
public static final String PREF_ONDEMANDTHRESHOLD= JavaUI.ID_PLUGIN + ".ondemandthreshold";
public static final String PREF_IGNORELOWERCASE= JavaUI.ID_PLUGIN + ".ignorelowercasenames";
private static final String PREF_LASTLOADPATH= Ja... |
17,345 | Bug 17345 add "org" to "Organize Imports" | Preferences>>Java>>Organize Imports I'd like to see the entry "org" added to the existing entries "java, javax, com". The package prefix "org" is so common ... why not add it to the existing ones ... eclipse itself has mostly this prefix. | closed fixed | 0f0f22c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T16:55:08Z | 2002-05-23T16:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ImportOrganizePreferencePage.java | }
return buf.toString();
}
public static int getImportNumberThreshold() {
IPreferenceStore prefs= JavaPlugin.getDefault().getPreferenceStore();
int threshold= prefs.getInt(PREF_ONDEMANDTHRESHOLD);
if (threshold < 0) {
threshold= Integer.MAX_VALUE;
}
return threshold;
}
public static boolean ... |
17,345 | Bug 17345 add "org" to "Organize Imports" | Preferences>>Java>>Organize Imports I'd like to see the entry "org" added to the existing entries "java, javax, com". The package prefix "org" is so common ... why not add it to the existing ones ... eclipse itself has mostly this prefix. | closed fixed | 0f0f22c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T16:55:08Z | 2002-05-23T16:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ImportOrganizePreferencePage.java | private static final Image PCK_ICON= JavaPluginImages.get(JavaPluginImages.IMG_OBJS_PACKAGE);
public Image getImage(Object element) {
return PCK_ICON;
}
}
private class ImportOrganizeAdapter implements IListAdapter, IDialogFieldListener {
public void customButtonPressed(DialogField field, int index) ... |
17,345 | Bug 17345 add "org" to "Organize Imports" | Preferences>>Java>>Organize Imports I'd like to see the entry "org" added to the existing entries "java, javax, com". The package prefix "org" is so common ... why not add it to the existing ones ... eclipse itself has mostly this prefix. | closed fixed | 0f0f22c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T16:55:08Z | 2002-05-23T16:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ImportOrganizePreferencePage.java | }
}
private ListDialogField fOrderListField;
private StringDialogField fThresholdField;
private SelectionButtonDialogField fIgnoreLowerCaseTypesField;
public ImportOrganizePreferencePage() {
super();
setPreferenceStore(JavaPlugin.getDefault().getPreferenceStore());
setDescription(JavaUIMessages.getString("... |
17,345 | Bug 17345 add "org" to "Organize Imports" | Preferences>>Java>>Organize Imports I'd like to see the entry "org" added to the existing entries "java, javax, com". The package prefix "org" is so common ... why not add it to the existing ones ... eclipse itself has mostly this prefix. | closed fixed | 0f0f22c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T16:55:08Z | 2002-05-23T16:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ImportOrganizePreferencePage.java | fOrderListField.setDownButtonIndex(4);
fOrderListField.setRemoveButtonIndex(6);
fOrderListField.enableButton(1, false);
fThresholdField= new StringDialogField();
fThresholdField.setDialogFieldListener(adapter);
fThresholdField.setLabelText(JavaUIMessages.getString("ImportOrganizePreferencePage.threshold... |
17,345 | Bug 17345 add "org" to "Organize Imports" | Preferences>>Java>>Organize Imports I'd like to see the entry "org" added to the existing entries "java, javax, com". The package prefix "org" is so common ... why not add it to the existing ones ... eclipse itself has mostly this prefix. | closed fixed | 0f0f22c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T16:55:08Z | 2002-05-23T16:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ImportOrganizePreferencePage.java | layout.marginHeight= 0;
composite.setLayout(layout);
fOrderListField.doFillIntoGrid(composite, 3);
LayoutUtil.setHorizontalSpan(fOrderListField.getLabelControl(null), 2);
LayoutUtil.setHorizontalGrabbing(fOrderListField.getListControl(null));
fThresholdField.doFillIntoGrid(composite, 2);
((GridData... |
17,345 | Bug 17345 add "org" to "Organize Imports" | Preferences>>Java>>Organize Imports I'd like to see the entry "org" added to the existing entries "java, javax, com". The package prefix "org" is so common ... why not add it to the existing ones ... eclipse itself has mostly this prefix. | closed fixed | 0f0f22c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T16:55:08Z | 2002-05-23T16:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ImportOrganizePreferencePage.java | if (threshold < 0) {
status.setError(JavaUIMessages.getString("ImportOrganizePreferencePage.error.invalidthreshold"));
}
} catch (NumberFormatException e) {
status.setError(JavaUIMessages.getString("ImportOrganizePreferencePage.error.invalidthreshold"));
}
updateStatus(status);
}
private void doBu... |
17,345 | Bug 17345 add "org" to "Organize Imports" | Preferences>>Java>>Organize Imports I'd like to see the entry "org" added to the existing entries "java, javax, com". The package prefix "org" is so common ... why not add it to the existing ones ... eclipse itself has mostly this prefix. | closed fixed | 0f0f22c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T16:55:08Z | 2002-05-23T16:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ImportOrganizePreferencePage.java | }
} else if (index == 8) {
List order= loadImportOrder();
if (order != null) {
fOrderListField.setElements(order);
}
} else if (index == 9) {
saveImportOrder(fOrderListField.getElements());
}
}
private void doSelectionChanged() {
List selected= fOrderListField.getSelectedElements();
... |
17,345 | Bug 17345 add "org" to "Organize Imports" | Preferences>>Java>>Organize Imports I'd like to see the entry "org" added to the existing entries "java, javax, com". The package prefix "org" is so common ... why not add it to the existing ones ... eclipse itself has mostly this prefix. | closed fixed | 0f0f22c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T16:55:08Z | 2002-05-23T16:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ImportOrganizePreferencePage.java | } else {
return null;
}
} else {
return res;
}
}
return res;
}
private List loadImportOrder() {
FileDialog dialog= new FileDialog(getShell(), SWT.OPEN);
dialog.setText(JavaUIMessages.getString("ImportOrganizePreferencePage.loadDialog.title")); )
dialog.setFilterExtensions(new String[] {... |
17,345 | Bug 17345 add "org" to "Organize Imports" | Preferences>>Java>>Organize Imports I'd like to see the entry "org" added to the existing entries "java, javax, com". The package prefix "org" is so common ... why not add it to the existing ones ... eclipse itself has mostly this prefix. | closed fixed | 0f0f22c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T16:55:08Z | 2002-05-23T16:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ImportOrganizePreferencePage.java | }
} catch (IOException e) {
JavaPlugin.log(e);
} finally {
if (fis != null) {
try { fis.close(); } catch (IOException e) {}
}
}
String title= JavaUIMessages.getString("ImportOrganizePreferencePage.loadDialog.error.title");
String message= JavaUIMessages.getString("ImportOrganizePreferen... |
17,345 | Bug 17345 add "org" to "Organize Imports" | Preferences>>Java>>Organize Imports I'd like to see the entry "org" added to the existing entries "java, javax, com". The package prefix "org" is so common ... why not add it to the existing ones ... eclipse itself has mostly this prefix. | closed fixed | 0f0f22c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T16:55:08Z | 2002-05-23T16:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ImportOrganizePreferencePage.java | properties.setProperty(String.valueOf(i), (String) elements.get(i));
}
FileOutputStream fos= null;
try {
fos= new FileOutputStream(fileName);
properties.store(fos, "Organize Import Order");
} catch (IOException e) {
JavaPlugin.log(e);
String title= JavaUIMessages.getString("ImportOrganizePr... |
17,345 | Bug 17345 add "org" to "Organize Imports" | Preferences>>Java>>Organize Imports I'd like to see the entry "org" added to the existing entries "java, javax, com". The package prefix "org" is so common ... why not add it to the existing ones ... eclipse itself has mostly this prefix. | closed fixed | 0f0f22c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T16:55:08Z | 2002-05-23T16:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ImportOrganizePreferencePage.java | String[] order;
IPreferenceStore prefs= JavaPlugin.getDefault().getPreferenceStore();
String str= prefs.getDefaultString(PREF_IMPORTORDER);
if (str != null) {
order= unpackOrderList(str);
} else {
order= new String[0];
}
int threshold= prefs.getDefaultInt(PREF_ONDEMANDTHRESHOLD);
if (threshold < 0) ... |
17,311 | Bug 17311 Javadoc properties page prevents keyboard navigation | Build 20020521 The Javadoc properties page for a project sets the focus to the javadoc location as soon as it is selected. As a result if you are using the keyboard to move through the list entries you have to tab out everytime you hit it. STEPS 1) Open the properties on a java project 2) Use the keyboard to move throu... | verified fixed | f5f6d4e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T17:15:12Z | 2002-05-23T13:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavadocConfigurationPropertyPage.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.preferences;
import java.net.URL;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.CoreException;
imp... |
17,311 | Bug 17311 Javadoc properties page prevents keyboard navigation | Build 20020521 The Javadoc properties page for a project sets the focus to the javadoc location as soon as it is selected. As a result if you are using the keyboard to move through the list entries you have to tab out everytime you hit it. STEPS 1) Open the properties on a java project 2) Use the keyboard to move throu... | verified fixed | f5f6d4e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T17:15:12Z | 2002-05-23T13:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavadocConfigurationPropertyPage.java | private JavadocConfigurationBlock fJavadocConfigurationBlock;
public JavadocConfigurationPropertyPage() {
}
/**
* @see IDialogPage#createControl(Composite)
*/
public void createControl(Composite parent) {
IJavaElement elem= getJavaElement();
if (elem instanceof IPackageFragmentRoot)
setDescription(JavaUI... |
17,311 | Bug 17311 Javadoc properties page prevents keyboard navigation | Build 20020521 The Javadoc properties page for a project sets the focus to the javadoc location as soon as it is selected. As a result if you are using the keyboard to move through the list entries you have to tab out everytime you hit it. STEPS 1) Open the properties on a java project 2) Use the keyboard to move throu... | verified fixed | f5f6d4e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T17:15:12Z | 2002-05-23T13:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavadocConfigurationPropertyPage.java | */
protected Control createContents(Composite parent) {
IJavaElement elem= getJavaElement();
fJavadocConfigurationBlock= new JavadocConfigurationBlock(elem, getShell(), this);
Control control= fJavadocConfigurationBlock.createContents(parent);
return control;
}
private IJavaElement getJavaElement() {
IAdap... |
17,311 | Bug 17311 Javadoc properties page prevents keyboard navigation | Build 20020521 The Javadoc properties page for a project sets the focus to the javadoc location as soon as it is selected. As a result if you are using the keyboard to move through the list entries you have to tab out everytime you hit it. STEPS 1) Open the properties on a java project 2) Use the keyboard to move throu... | verified fixed | f5f6d4e | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T17:15:12Z | 2002-05-23T13:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavadocConfigurationPropertyPage.java | /*
* @see PreferencePage#performDefaults()
*/
protected void performDefaults() {
fJavadocConfigurationBlock.performDefaults();
super.performDefaults();
}
/**
* @see IPreferencePage#performOk()
*/
public boolean performOk() {
return fJavadocConfigurationBlock.performOk();
}
/* (non-Javadoc)
* @see I... |
17,295 | Bug 17295 Formating pref page: remove the icons in the tabs | The icons add minimal value and we should remove them. | resolved fixed | e872c61 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T17:18:05Z | 2002-05-23T13:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeFormatterPreferencePage.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.preferences;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Hashtable;
import org.eclipse.core.runtime.IStatus;
import org.... |
17,295 | Bug 17295 Formating pref page: remove the icons in the tabs | The icons add minimal value and we should remove them. | resolved fixed | e872c61 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T17:18:05Z | 2002-05-23T13:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeFormatterPreferencePage.java | import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.TabFolder;
import org.eclipse.swt.widgets.TabItem;
import org.eclipse.swt.widgets.Text;
import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.jface.preference.PreferencePage;
import org.eclips... |
17,295 | Bug 17295 Formating pref page: remove the icons in the tabs | The icons add minimal value and we should remove them. | resolved fixed | e872c61 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T17:18:05Z | 2002-05-23T13:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeFormatterPreferencePage.java | private static final String PREF_NEWLINE_OPENING_BRACES= JavaCore.FORMATTER_NEWLINE_OPENING_BRACE;
private static final String PREF_NEWLINE_CONTROL_STATEMENT= JavaCore.FORMATTER_NEWLINE_CONTROL;
private static final String PREF_NEWLINE_CLEAR_ALL= JavaCore.FORMATTER_CLEAR_BLANK_LINES;
private static final String PRE... |
17,295 | Bug 17295 Formating pref page: remove the icons in the tabs | The icons add minimal value and we should remove them. | resolved fixed | e872c61 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T17:18:05Z | 2002-05-23T13:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeFormatterPreferencePage.java | private static final String DO_NOT_INSERT= JavaCore.DO_NOT_INSERT;
private static final String COMPACT= JavaCore.COMPACT;
private static final String NORMAL= JavaCore.NORMAL;
private static final String TAB= JavaCore.TAB;
private static final String SPACE= JavaCore.SPACE;
private static final String CLEAR_AL... |
17,295 | Bug 17295 Formating pref page: remove the icons in the tabs | The icons add minimal value and we should remove them. | resolved fixed | e872c61 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T17:18:05Z | 2002-05-23T13:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeFormatterPreferencePage.java | public static boolean isCompactingAssignment() {
return COMPACT.equals(JavaCore.getOptions().get(PREF_STYLE_COMPACT_ASSIGNEMENT));
}
/**
* Gets the current compating assignement configuration
*/
public static boolean useSpaces() {
return SPACE.equals(JavaCore.getOptions().get(PREF_TAB_CHAR));
}
pri... |
17,295 | Bug 17295 Formating pref page: remove the icons in the tabs | The icons add minimal value and we should remove them. | resolved fixed | e872c61 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T17:18:05Z | 2002-05-23T13:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeFormatterPreferencePage.java | private String fKey;
private String[] fValues;
public ControlData(String key, String[] values) {
fKey= key;
fValues= values;
}
public String getKey() {
return fKey;
}
public String getValue(boolean selection) {
int index= selection ? 0 : 1;
return fValues[index];
}
public Stri... |
17,295 | Bug 17295 Formating pref page: remove the icons in the tabs | The icons add minimal value and we should remove them. | resolved fixed | e872c61 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T17:18:05Z | 2002-05-23T13:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeFormatterPreferencePage.java | for (int i= 0; i < fValues.length; i++) {
if (value.equals(fValues[i])) {
return i;
}
}
throw new IllegalArgumentException();
}
}
private Hashtable fWorkingValues;
private ArrayList fCheckBoxes;
private ArrayList fTextBoxes;
private SelectionListener fButtonSelectionListener;
private Modi... |
17,295 | Bug 17295 Formating pref page: remove the icons in the tabs | The icons add minimal value and we should remove them. | resolved fixed | e872c61 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T17:18:05Z | 2002-05-23T13:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeFormatterPreferencePage.java | fButtonSelectionListener= new SelectionListener() {
public void widgetDefaultSelected(SelectionEvent e) {}
public void widgetSelected(SelectionEvent e) {
if (!e.widget.isDisposed()) {
controlChanged((Button) e.widget);
}
}
};
fTextModifyListener= new ModifyListener() {
public void modify... |
17,295 | Bug 17295 Formating pref page: remove the icons in the tabs | The icons add minimal value and we should remove them. | resolved fixed | e872c61 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T17:18:05Z | 2002-05-23T13:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeFormatterPreferencePage.java | WorkbenchHelp.setHelp(getControl(), IJavaHelpContextIds.CODEFORMATTER_PREFERENCE_PAGE);
}
/*
* @see PreferencePage#createContents(Composite)
*/
protected Control createContents(Composite parent) {
GridLayout layout= new GridLayout();
layout.marginHeight= 0;
layout.marginWidth= 0;
Composite composi... |
17,295 | Bug 17295 Formating pref page: remove the icons in the tabs | The icons add minimal value and we should remove them. | resolved fixed | e872c61 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T17:18:05Z | 2002-05-23T13:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeFormatterPreferencePage.java | addCheckBox(newlineComposite, label, PREF_NEWLINE_CONTROL_STATEMENT, insertNotInsert);
label= JavaUIMessages.getString("CodeFormatterPreferencePage.newline_clear_lines");
addCheckBox(newlineComposite, label, PREF_NEWLINE_CLEAR_ALL, new String[] { CLEAR_ALL, PRESERVE_ONE } );
label= JavaUIMessages.getString("Co... |
17,295 | Bug 17295 Formating pref page: remove the icons in the tabs | The icons add minimal value and we should remove them. | resolved fixed | e872c61 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T17:18:05Z | 2002-05-23T13:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeFormatterPreferencePage.java | item.setControl(newlineComposite);
item= new TabItem(folder, SWT.NONE);
item.setText(JavaUIMessages.getString("CodeFormatterPreferencePage.tab.linesplit.tabtitle"));
item.setImage(JavaPluginImages.get(JavaPluginImages.IMG_OBJS_CFILE));
item.setControl(lineSplittingComposite);
item= new TabItem(folder, SWT... |
17,295 | Bug 17295 Formating pref page: remove the icons in the tabs | The icons add minimal value and we should remove them. | resolved fixed | e872c61 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T17:18:05Z | 2002-05-23T13:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeFormatterPreferencePage.java | control.setLayoutData(gdata);
return previewViewer;
}
private Button addCheckBox(Composite parent, String label, String key, String[] values) {
ControlData data= new ControlData(key, values);
GridData gd= new GridData(GridData.FILL_HORIZONTAL);
gd.horizontalSpan= 2;
Button checkBox= new Button(paren... |
17,295 | Bug 17295 Formating pref page: remove the icons in the tabs | The icons add minimal value and we should remove them. | resolved fixed | e872c61 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T17:18:05Z | 2002-05-23T13:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeFormatterPreferencePage.java | textBox.setLayoutData(new GridData());
String currValue= (String)fWorkingValues.get(key);
textBox.setText(String.valueOf(getPositiveIntValue(currValue, 1)));
textBox.setTextLimit(3);
textBox.addModifyListener(fTextModifyListener);
GridData gd= new GridData();
gd.widthHint= convertWidthInCharsToPixels(5)... |
17,295 | Bug 17295 Formating pref page: remove the icons in the tabs | The icons add minimal value and we should remove them. | resolved fixed | e872c61 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T17:18:05Z | 2002-05-23T13:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeFormatterPreferencePage.java | String number= textControl.getText();
IStatus status= validatePositiveNumber(number);
if (!status.matches(IStatus.ERROR)) {
fWorkingValues.put(key, number);
}
if (PREF_TAB_SIZE.equals(key)) {
fSourceViewer.getTextWidget().setTabs(getPositiveIntValue(number, 0));
}
updateStatus(status);
updatePrev... |
17,295 | Bug 17295 Formating pref page: remove the icons in the tabs | The icons add minimal value and we should remove them. | resolved fixed | e872c61 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T17:18:05Z | 2002-05-23T13:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeFormatterPreferencePage.java | /*
* @see PreferencePage#performDefaults()
*/
protected void performDefaults() {
fWorkingValues= JavaCore.getDefaultOptions();
updateControls();
super.performDefaults();
}
private String loadPreviewFile(String filename) {
String separator= System.getProperty("line.separator");
StringBuffer btxt= new S... |
17,295 | Bug 17295 Formating pref page: remove the icons in the tabs | The icons add minimal value and we should remove them. | resolved fixed | e872c61 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T17:18:05Z | 2002-05-23T13:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeFormatterPreferencePage.java | ICodeFormatter formatter= ToolFactory.createDefaultCodeFormatter(fWorkingValues);
fPreviewDocument.set(formatter.format(fPreviewText, 0, null, "\n"));
}
private void updateControls() {
for (int i= fCheckBoxes.size() - 1; i >= 0; i--) {
Button curr= (Button) fCheckBoxes.get(i);
ControlData data= (Cont... |
17,295 | Bug 17295 Formating pref page: remove the icons in the tabs | The icons add minimal value and we should remove them. | resolved fixed | e872c61 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-28T17:18:05Z | 2002-05-23T13:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeFormatterPreferencePage.java | }
} catch (NumberFormatException e) {
status.setError(JavaUIMessages.getFormattedString("CodeFormatterPreferencePage.invalid_input", number));
}
}
return status;
}
private void updateStatus(IStatus status) {
if (!status.matches(IStatus.ERROR)) {
for (int i= 0; i < fTextBoxes.size(); i++)... |
18,082 | Bug 18082 compiler pref page is the only one with icons | the icons are pretty but i think we should remove them for consistency | resolved fixed | bb27a7f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-29T07:57:23Z | 2002-05-28T18:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.preferences;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Hashtable;
import org.eclipse.core.resources.IncrementalProjectBuilder;
import ... |
18,082 | Bug 18082 compiler pref page is the only one with icons | the icons are pretty but i think we should remove them for consistency | resolved fixed | bb27a7f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-29T07:57:23Z | 2002-05-28T18:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.TabFolder;
import org.eclipse.swt.widgets.TabItem;
import org.eclipse.swt.widgets.Text;
import org.eclipse.swt.widgets.Widget;
impo... |
18,082 | Bug 18082 compiler pref page is the only one with icons | the icons are pretty but i think we should remove them for consistency | resolved fixed | bb27a7f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-29T07:57:23Z | 2002-05-28T18:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | private static final String PREF_LOCAL_VARIABLE_ATTR= JavaCore.COMPILER_LOCAL_VARIABLE_ATTR;
private static final String PREF_LINE_NUMBER_ATTR= JavaCore.COMPILER_LINE_NUMBER_ATTR;
private static final String PREF_SOURCE_FILE_ATTR= JavaCore.COMPILER_SOURCE_FILE_ATTR;
private static final String PREF_CODEGEN_UNUSED_L... |
18,082 | Bug 18082 compiler pref page is the only one with icons | the icons are pretty but i think we should remove them for consistency | resolved fixed | bb27a7f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-29T07:57:23Z | 2002-05-28T18:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | private static final String PRESERVE= JavaCore.PRESERVE;
private static final String OPTIMIZE_OUT= JavaCore.OPTIMIZE_OUT;
private static final String VERSION_1_1= JavaCore.VERSION_1_1;
private static final String VERSION_1_2= JavaCore.VERSION_1_2;
private static final String VERSION_1_3= JavaCore.VERSION_1_3;
pr... |
18,082 | Bug 18082 compiler pref page is the only one with icons | the icons are pretty but i think we should remove them for consistency | resolved fixed | bb27a7f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-29T07:57:23Z | 2002-05-28T18:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | private String[] fValues;
public ControlData(String key, String[] values) {
fKey= key;
fValues= values;
}
public String getKey() {
return fKey;
}
public String getValue(boolean selection) {
int index= selection ? 0 : 1;
return fValues[index];
}
public String getValue(int index) ... |
18,082 | Bug 18082 compiler pref page is the only one with icons | the icons are pretty but i think we should remove them for consistency | resolved fixed | bb27a7f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-29T07:57:23Z | 2002-05-28T18:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | private Hashtable fWorkingValues;
private ArrayList fCheckBoxes;
private ArrayList fComboBoxes;
private ArrayList fTextBoxes;
private SelectionListener fSelectionListener;
private ModifyListener fTextModifyListener;
private ArrayList fComplianceControls;
public CompilerPreferencePage() {
setPreferenceStore... |
18,082 | Bug 18082 compiler pref page is the only one with icons | the icons are pretty but i think we should remove them for consistency | resolved fixed | bb27a7f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-29T07:57:23Z | 2002-05-28T18:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | public void modifyText(ModifyEvent e) {
textChanged((Text) e.widget);
}
};
}
/**
* @see IWorkbenchPreferencePage#init()
*/
public void init(IWorkbench workbench) {
}
/**
* @see PreferencePage#createControl(Composite)
*/
public void createControl(Composite parent) {
super.createControl(par... |
18,082 | Bug 18082 compiler pref page is the only one with icons | the icons are pretty but i think we should remove them for consistency | resolved fixed | bb27a7f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-29T07:57:23Z | 2002-05-28T18:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | TabItem item= new TabItem(folder, SWT.NONE);
item.setText(JavaUIMessages.getString("CompilerPreferencePage.warnings.tabtitle"));
final Image errorWarningImage= JavaPluginImages.DESC_VIEW_ERRORWARNING_TAB.createImage();
item.setImage(errorWarningImage);
item.setControl(warningsComposite);
item= new TabItem(... |
18,082 | Bug 18082 compiler pref page is the only one with icons | the icons are pretty but i think we should remove them for consistency | resolved fixed | bb27a7f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-29T07:57:23Z | 2002-05-28T18:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | String[] errorWarningIgnoreLabels= new String[] {
JavaUIMessages.getString("CompilerPreferencePage.error"),
JavaUIMessages.getString("CompilerPreferencePage.warning"),
JavaUIMessages.getString("CompilerPreferencePage.ignore")
};
GridLayout layout= new GridLayout();
layout.numColumns= 2;
Composi... |
18,082 | Bug 18082 compiler pref page is the only one with icons | the icons are pretty but i think we should remove them for consistency | resolved fixed | bb27a7f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-29T07:57:23Z | 2002-05-28T18:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | addComboBox(warningsComposite, label, PREF_PB_HIDDEN_CATCH_BLOCK, errorWarningIgnore, errorWarningIgnoreLabels, 0);
label= JavaUIMessages.getString("CompilerPreferencePage.pb_unused_local.label");
addComboBox(warningsComposite, label, PREF_PB_UNUSED_LOCAL, errorWarningIgnore, errorWarningIgnoreLabels, 0);
... |
18,082 | Bug 18082 compiler pref page is the only one with icons | the icons are pretty but i think we should remove them for consistency | resolved fixed | bb27a7f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-29T07:57:23Z | 2002-05-28T18:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | addCheckBox(codeGenComposite, label, PREF_SOURCE_FILE_ATTR, generateValues, 0);
label= JavaUIMessages.getString("CompilerPreferencePage.codegen_unused_local.label");
addCheckBox(codeGenComposite, label, PREF_CODEGEN_UNUSED_LOCAL, new String[] { PRESERVE, OPTIMIZE_OUT }, 0);
return codeGenComposite;
}
p... |
18,082 | Bug 18082 compiler pref page is the only one with icons | the icons are pretty but i think we should remove them for consistency | resolved fixed | bb27a7f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-29T07:57:23Z | 2002-05-28T18:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | JavaUIMessages.getString("CompilerPreferencePage.version14")
};
label= JavaUIMessages.getString("CompilerPreferencePage.codegen_targetplatform.label");
addComboBox(complianceComposite, label, PREF_CODEGEN_TARGET_PLATFORM, values14, values14Labels, indent);
label= JavaUIMessages.getString("CompilerPreferen... |
18,082 | Bug 18082 compiler pref page is the only one with icons | the icons are pretty but i think we should remove them for consistency | resolved fixed | bb27a7f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-29T07:57:23Z | 2002-05-28T18:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | Button checkBox= new Button(parent, SWT.CHECK);
checkBox.setText(label);
checkBox.setData(data);
checkBox.setLayoutData(gd);
checkBox.addSelectionListener(fSelectionListener);
String currValue= (String)fWorkingValues.get(key);
checkBox.setSelection(data.getSelection(currValue) == 0);
fCheckBoxes.ad... |
18,082 | Bug 18082 compiler pref page is the only one with icons | the icons are pretty but i think we should remove them for consistency | resolved fixed | bb27a7f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-29T07:57:23Z | 2002-05-28T18:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | fComboBoxes.add(comboBox);
}
private Text addTextField(Composite parent, String label, String key) {
Label labelControl= new Label(parent, SWT.NONE);
labelControl.setText(label);
labelControl.setLayoutData(new GridData());
Text textBox= new Text(parent, SWT.BORDER | SWT.SINGLE | SWT.RIGHT);
textBox.... |
18,082 | Bug 18082 compiler pref page is the only one with icons | the icons are pretty but i think we should remove them for consistency | resolved fixed | bb27a7f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-29T07:57:23Z | 2002-05-28T18:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | } else if (widget instanceof Combo) {
newValue= data.getValue(((Combo)widget).getSelectionIndex());
} else {
return;
}
fWorkingValues.put(data.getKey(), newValue);
validateSettings(data.getKey(), newValue);
}
private void textChanged(Text textControl) {
String key= (String) textControl.getData();... |
18,082 | Bug 18082 compiler pref page is the only one with icons | the icons are pretty but i think we should remove them for consistency | resolved fixed | bb27a7f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-29T07:57:23Z | 2002-05-28T18:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | } else if (PREF_COMPLIANCE.equals(changedKey)) {
if (checkValue(INTR_DEFAULT_COMPLIANCE, DEFAULT)) {
updateComplianceDefaultSettings();
}
} else if (!PREF_SOURCE_COMPATIBILITY.equals(changedKey) &&
!PREF_CODEGEN_TARGET_PLATFORM.equals(changedKey) &&
!PREF_PB_ASSERT_AS_IDENTIFIER.equals(changed... |
18,082 | Bug 18082 compiler pref page is the only one with icons | the icons are pretty but i think we should remove them for consistency | resolved fixed | bb27a7f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-29T07:57:23Z | 2002-05-28T18:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | return status;
}
}
if (checkValue(PREF_SOURCE_COMPATIBILITY, VERSION_1_4)) {
if (!checkValue(PREF_CODEGEN_TARGET_PLATFORM, VERSION_1_4)) {
status.setError(JavaUIMessages.getString("CompilerPreferencePage.src14tgt14.error"));
return status;
}
}
String maxNumberProblems= (String) fWorkingValues.... |
18,082 | Bug 18082 compiler pref page is the only one with icons | the icons are pretty but i think we should remove them for consistency | resolved fixed | bb27a7f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-29T07:57:23Z | 2002-05-28T18:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | * Update the compliance controls' enable state
*/
private void updateComplianceEnableState() {
boolean enabled= checkValue(INTR_DEFAULT_COMPLIANCE, USER);
for (int i= fComplianceControls.size() - 1; i >= 0; i--) {
Control curr= (Control) fComplianceControls.get(i);
curr.setEnabled(enabled);
}
}
/*
... |
18,082 | Bug 18082 compiler pref page is the only one with icons | the icons are pretty but i think we should remove them for consistency | resolved fixed | bb27a7f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-29T07:57:23Z | 2002-05-28T18:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | Object complianceLevel= fWorkingValues.get(PREF_COMPLIANCE);
if ((VERSION_1_3.equals(complianceLevel)
&& checkValue(PREF_PB_ASSERT_AS_IDENTIFIER, IGNORE)
&& checkValue(PREF_SOURCE_COMPATIBILITY, VERSION_1_3)
&& checkValue(PREF_CODEGEN_TARGET_PLATFORM, VERSION_1_1))
|| (VERSION_1_4.equals(complianceLeve... |
18,082 | Bug 18082 compiler pref page is the only one with icons | the icons are pretty but i think we should remove them for consistency | resolved fixed | bb27a7f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-29T07:57:23Z | 2002-05-28T18:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | }
if (hasChanges) {
String title= JavaUIMessages.getString("CompilerPreferencePage.needsbuild.title");
String message= JavaUIMessages.getString("CompilerPreferencePage.needsbuild.message");
MessageDialog dialog= new MessageDialog(getShell(), title, null, message, MessageDialog.QUESTION, new Strin... |
18,082 | Bug 18082 compiler pref page is the only one with icons | the icons are pretty but i think we should remove them for consistency | resolved fixed | bb27a7f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-29T07:57:23Z | 2002-05-28T18:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | try {
dialog.run(true, true, new IRunnableWithProgress() {
public void run(IProgressMonitor monitor) throws InvocationTargetException {
try {
JavaPlugin.getWorkspace().build(IncrementalProjectBuilder.FULL_BUILD, monitor);
} catch (CoreException e) {
throw new InvocationTargetException(e);
... |
18,082 | Bug 18082 compiler pref page is the only one with icons | the icons are pretty but i think we should remove them for consistency | resolved fixed | bb27a7f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-29T07:57:23Z | 2002-05-28T18:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | private void updateControls() {
for (int i= fCheckBoxes.size() - 1; i >= 0; i--) {
Button curr= (Button) fCheckBoxes.get(i);
ControlData data= (ControlData) curr.getData();
String currValue= (String) fWorkingValues.get(data.getKey());
curr.setSelection(data.getSelection(currValue) == 0);
}
... |
16,843 | Bug 16843 Not present exception closing java editor that is outside classpath | Build 20020521 1. Create java project 'Proj' with source folder 'src' 2. Create folder 'p' directly under 'Proj' (i.e. outside build path) 3. Create file 'X.java' under 'Proj/p' 4. Open X.java in java editor 5. Close it Observe: You get the following message printed to the log: !ENTRY org.eclipse.jdt.ui 4 1 May 22, 200... | verified fixed | 2ae271f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-29T08:29:08Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingContentProvider.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.browsing;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import org.eclipse.core.resources.IResource;
import org.eclipse.swt.widg... |
16,843 | Bug 16843 Not present exception closing java editor that is outside classpath | Build 20020521 1. Create java project 'Proj' with source folder 'src' 2. Create folder 'p' directly under 'Proj' (i.e. outside build path) 3. Create file 'X.java' under 'Proj/p' 4. Open X.java in java editor 5. Close it Observe: You get the following message printed to the log: !ENTRY org.eclipse.jdt.ui 4 1 May 22, 200... | verified fixed | 2ae271f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-29T08:29:08Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingContentProvider.java | import org.eclipse.swt.widgets.Display;
import org.eclipse.jface.viewers.AbstractTreeViewer;
import org.eclipse.jface.viewers.IBasicPropertyConstants;
import org.eclipse.jface.viewers.ListViewer;
import org.eclipse.jface.viewers.StructuredViewer;
import org.eclipse.jface.viewers.TableViewer;
import org.eclipse.jface.vi... |
16,843 | Bug 16843 Not present exception closing java editor that is outside classpath | Build 20020521 1. Create java project 'Proj' with source folder 'src' 2. Create folder 'p' directly under 'Proj' (i.e. outside build path) 3. Create file 'X.java' under 'Proj/p' 4. Open X.java in java editor 5. Close it Observe: You get the following message printed to the log: !ENTRY org.eclipse.jdt.ui 4 1 May 22, 200... | verified fixed | 2ae271f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-29T08:29:08Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingContentProvider.java | private StructuredViewer fViewer;
private Object fInput;
private JavaBrowsingPart fBrowsingPart;
public JavaBrowsingContentProvider(boolean provideMembers, JavaBrowsingPart browsingPart) {
super(provideMembers, reconcileJavaViews());
fBrowsingPart= browsingPart;
fViewer= fBrowsingPart.getViewer();
JavaCore... |
16,843 | Bug 16843 Not present exception closing java editor that is outside classpath | Build 20020521 1. Create java project 'Proj' with source folder 'src' 2. Create folder 'p' directly under 'Proj' (i.e. outside build path) 3. Create file 'X.java' under 'Proj/p' 4. Open X.java in java editor 5. Close it Observe: You get the following message printed to the log: !ENTRY org.eclipse.jdt.ui 4 1 May 22, 200... | verified fixed | 2ae271f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-29T08:29:08Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingContentProvider.java | if (element instanceof Collection) {
Collection elements= (Collection)element;
if (elements.isEmpty())
return NO_CHILDREN;
Object[] result= new Object[0];
Iterator iter= ((Collection)element).iterator();
while (iter.hasNext()) {
Object[] children= getChildren(iter.next());
if (childre... |
16,843 | Bug 16843 Not present exception closing java editor that is outside classpath | Build 20020521 1. Create java project 'Proj' with source folder 'src' 2. Create folder 'p' directly under 'Proj' (i.e. outside build path) 3. Create file 'X.java' under 'Proj/p' 4. Open X.java in java editor 5. Close it Observe: You get the following message printed to the log: !ENTRY org.eclipse.jdt.ui 4 1 May 22, 200... | verified fixed | 2ae271f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-29T08:29:08Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingContentProvider.java | if (getProvideWorkingCopy()) {
for (int i= 0; i < sourceRefs.length; i++) {
IWorkingCopy wc= EditorUtility.getWorkingCopy((ICompilationUnit)sourceRefs[i]);
if (wc != null)
sourceRefs[i]= (ICompilationUnit)wc;
}
}
}
else {
IClassFile[] classFiles= fragment.getClassFiles();
List topLe... |
16,843 | Bug 16843 Not present exception closing java editor that is outside classpath | Build 20020521 1. Create java project 'Proj' with source folder 'src' 2. Create folder 'p' directly under 'Proj' (i.e. outside build path) 3. Create file 'X.java' under 'Proj/p' 4. Open X.java in java editor 5. Close it Observe: You get the following message printed to the log: !ENTRY org.eclipse.jdt.ui 4 1 May 22, 200... | verified fixed | 2ae271f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-29T08:29:08Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingContentProvider.java | private Object[] getChildren(IType type) throws JavaModelException{
IParent parent;
if (type.isBinary())
parent= type.getClassFile();
else {
parent= type.getCompilationUnit();
if (getProvideWorkingCopy()) {
IWorkingCopy wc= EditorUtility.getWorkingCopy((ICompilationUnit)parent);
if (wc != null) {... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.