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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
17,598 | Bug 17598 Source->Generate Getter and Setter enabled for read only file | F1 This action is enabled for read-only files. Executing it shows a dialog saying that the file is read-only. The action should be disabled since all other source actions are disabled as well. | verified fixed | 6b03c57 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:51:22Z | 2002-05-24T11:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java | run(type, new IField[0]);
return;
}
}
}
MessageDialog.openInformation(getShell(), dialogTitle,
ActionMessages.getString("AddGetterSetterAction.not_applicable"));
} catch (CoreException e) {
JavaPlugin.log(e.getStatus());
showError(ActionMessages.getString("AddGetterSetterAction.err... |
17,598 | Bug 17598 Source->Generate Getter and Setter enabled for read only file | F1 This action is enabled for read-only files. Executing it shows a dialog saying that the file is read-only. The action should be disabled since all other source actions are disabled as well. | verified fixed | 6b03c57 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:51:22Z | 2002-05-24T11:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java | EditorUtility.revealInEditor(editor, createdMethods[0]);
}
} catch (InvocationTargetException e) {
JavaPlugin.log(e);
showError(ActionMessages.getString("AddGetterSetterAction.error.actionfailed"));
} catch (InterruptedException e) {
}
}
private AddGetterSetterOperation createAddGetterSetterOper... |
17,598 | Bug 17598 Source->Generate Getter and Setter enabled for read only file | F1 This action is enabled for read-only files. Executing it shows a dialog saying that the file is read-only. The action should be disabled since all other source actions are disabled as well. | verified fixed | 6b03c57 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:51:22Z | 2002-05-24T11:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java | public int doQuery(IMember method) {
int[] returnCodes= {IRequestQuery.YES, IRequestQuery.NO, IRequestQuery.YES_ALL, IRequestQuery.CANCEL};
String skipLabel= ActionMessages.getString("AddGetterSetterAction.SkipExistingDialog.skip.label");
String replaceLabel= ActionMessages.getString("AddGetterSetterAction... |
17,598 | Bug 17598 Source->Generate Getter and Setter enabled for read only file | F1 This action is enabled for read-only files. Executing it shows a dialog saying that the file is read-only. The action should be disabled since all other source actions are disabled as well. | verified fixed | 6b03c57 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:51:22Z | 2002-05-24T11:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java | }
private void showError(String message) {
MessageDialog.openError(getShell(), dialogTitle, message);
}
/*
* Returns fields in the selection or <code>null</code> if the selection is
* empty or not valid.
*/
private IField[] getSelectedFields(IStructuredSelection selection) {
List elements= selection.t... |
17,598 | Bug 17598 Source->Generate Getter and Setter enabled for read only file | F1 This action is enabled for read-only files. Executing it shows a dialog saying that the file is read-only. The action should be disabled since all other source actions are disabled as well. | verified fixed | 6b03c57 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:51:22Z | 2002-05-24T11:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java | try {
if (fld.getDeclaringType().isInterface()) {
return null;
}
} catch (JavaModelException e) {
JavaPlugin.log(e);
return null;
}
res[i]= fld;
} else {
return null;
}
}
return res;
}
return null;
}
private static class GetterSetter... |
17,598 | Bug 17598 Source->Generate Getter and Setter enabled for read only file | F1 This action is enabled for read-only files. Executing it shows a dialog saying that the file is read-only. The action should be disabled since all other source actions are disabled as well. | verified fixed | 6b03c57 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:51:22Z | 2002-05-24T11:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java | private final NameProposer fNameProposer;
private static final Image IMAGE= new JavaElementImageProvider().getImageLabel(new JavaElementImageDescriptor(JavaPluginImages.DESC_MISC_PUBLIC, 0, JavaElementImageProvider.BIG_SIZE));
AddGetterSetterLabelProvider(NameProposer nameProposer){
fNameProposer= namePropose... |
17,598 | Bug 17598 Source->Generate Getter and Setter enabled for read only file | F1 This action is enabled for read-only files. Executing it shows a dialog saying that the file is read-only. The action should be disabled since all other source actions are disabled as well. | verified fixed | 6b03c57 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:51:22Z | 2002-05-24T11:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java | return IMAGE;
return super.getImage(element);
}
}
/**
* @return map IField -> GetterSetterEntry[]
*/
private static Map createGetterSetterMapping(IType type) throws JavaModelException{
IField[] fields= type.getFields();
Map result= new HashMap();
String[] prefixes= AddGetterSetterAction.getGetter... |
17,598 | Bug 17598 Source->Generate Getter and Setter enabled for read only file | F1 This action is enabled for read-only files. Executing it shows a dialog saying that the file is read-only. The action should be disabled since all other source actions are disabled as well. | verified fixed | 6b03c57 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:51:22Z | 2002-05-24T11:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java | public AddGetterSetterContentProvider(Map entries) throws JavaModelException {
fGetterSetterEntries= entries;
}
/*
* @see ITreeContentProvider#getChildren(Object)
*/
public Object[] getChildren(Object parentElement) {
if (parentElement instanceof IField)
return (Object[])fGetterSetterEntries.ge... |
17,598 | Bug 17598 Source->Generate Getter and Setter enabled for read only file | F1 This action is enabled for read-only files. Executing it shows a dialog saying that the file is read-only. The action should be disabled since all other source actions are disabled as well. | verified fixed | 6b03c57 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:51:22Z | 2002-05-24T11:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java | */
public Object[] getElements(Object inputElement) {
try {
IType type= (IType)inputElement;
IField[] fields= type.getFields();
List fieldList= new ArrayList(fields.length);
for (int i = 0; i < fields.length; i++) {
if (fGetterSetterEntries.containsKey(fields[i]))
fieldList.add(fields[i]... |
17,598 | Bug 17598 Source->Generate Getter and Setter enabled for read only file | F1 This action is enabled for read-only files. Executing it shows a dialog saying that the file is read-only. The action should be disabled since all other source actions are disabled as well. | verified fixed | 6b03c57 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:51:22Z | 2002-05-24T11:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java | /*******************************************************************************
* Copyright (c) 2002 International Business Machines Corp. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v0.5
* which accompanies this... |
17,598 | Bug 17598 Source->Generate Getter and Setter enabled for read only file | F1 This action is enabled for read-only files. Executing it shows a dialog saying that the file is read-only. The action should be disabled since all other source actions are disabled as well. | verified fixed | 6b03c57 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:51:22Z | 2002-05-24T11:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java | import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.util.Assert;
import org.eclipse.ui.IActionBars;
import org.eclipse.ui.IViewPart;
import org.eclipse.ui.IWorkbenchActionConstants;
import org.eclipse.ui.IWorkbenchSite;
import org.eclipse.ui.part.Page;
import org.eclipse.ui.texteditor.Conver... |
17,598 | Bug 17598 Source->Generate Getter and Setter enabled for read only file | F1 This action is enabled for read-only files. Executing it shows a dialog saying that the file is read-only. The action should be disabled since all other source actions are disabled as well. | verified fixed | 6b03c57 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:51:22Z | 2002-05-24T11:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java | private List fRegisteredSelectionListeners;
private AddImportOnSelectionAction fAddImport;
private OverrideMethodsAction fOverrideMethods;
private AddGetterSetterAction fAddGetterSetter;
private AddUnimplementedConstructorsAction fAddUnimplementedConstructors;
private AddJavaDocStubAction fAddJavaDocStub;
priva... |
17,598 | Bug 17598 Source->Generate Getter and Setter enabled for read only file | F1 This action is enabled for read-only files. Executing it shows a dialog saying that the file is read-only. The action should be disabled since all other source actions are disabled as well. | verified fixed | 6b03c57 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:51:22Z | 2002-05-24T11:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java | fAddImport= new AddImportOnSelectionAction(editor);
fAddImport.setActionDefinitionId(IJavaEditorActionDefinitionIds.ADD_IMPORT);
fAddImport.update();
editor.setAction("AddImport", fAddImport);
fOrganizeImports= new OrganizeImportsAction(editor);
fOrganizeImports.setActionDefinitionId(IJavaEditorActionDefi... |
17,598 | Bug 17598 Source->Generate Getter and Setter enabled for read only file | F1 This action is enabled for read-only files. Executing it shows a dialog saying that the file is read-only. The action should be disabled since all other source actions are disabled as well. | verified fixed | 6b03c57 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:51:22Z | 2002-05-24T11:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java | fExternalizeStrings= new ExternalizeStringsAction(editor);
fExternalizeStrings.setActionDefinitionId(IJavaEditorActionDefinitionIds.EXTERNALIZE_STRINGS);
fExternalizeStrings.editorStateChanged();
editor.setAction("ExternalizeStrings", fExternalizeStrings);
fConvertToWindows= new ConvertLineDelimitersActio... |
17,598 | Bug 17598 Source->Generate Getter and Setter enabled for read only file | F1 This action is enabled for read-only files. Executing it shows a dialog saying that the file is read-only. The action should be disabled since all other source actions are disabled as well. | verified fixed | 6b03c57 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:51:22Z | 2002-05-24T11:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java | public GenerateActionGroup(IViewPart part) {
this(part.getSite());
}
private GenerateActionGroup(IWorkbenchSite site) {
fSite= site;
ISelectionProvider provider= fSite.getSelectionProvider();
ISelection selection= provider.getSelection();
fOverrideMethods= new OverrideMethodsAction(site);
fAddGetterS... |
17,598 | Bug 17598 Source->Generate Getter and Setter enabled for read only file | F1 This action is enabled for read-only files. Executing it shows a dialog saying that the file is read-only. The action should be disabled since all other source actions are disabled as well. | verified fixed | 6b03c57 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:51:22Z | 2002-05-24T11:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java | } else {
fAddBookmark.setEnabled(false);
}
registerSelectionListener(provider, fOverrideMethods);
registerSelectionListener(provider, fAddGetterSetter);
registerSelectionListener(provider, fAddUnimplementedConstructors);
registerSelectionListener(provider, fAddJavaDocStub);
registerSelectionListener(p... |
17,598 | Bug 17598 Source->Generate Getter and Setter enabled for read only file | F1 This action is enabled for read-only files. Executing it shows a dialog saying that the file is read-only. The action should be disabled since all other source actions are disabled as well. | verified fixed | 6b03c57 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:51:22Z | 2002-05-24T11:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java | public void editorStateChanged() {
Assert.isTrue(fEditorIsOwner);
fAddImport.update();
fExternalizeStrings.editorStateChanged();
fOrganizeImports.editorStateChanged();
fOverrideMethods.editorStateChanged();
fAddUnimplementedConstructors.editorStateChanged();
fAddJavaDocStub.editorStateChanged();
fSurrou... |
17,598 | Bug 17598 Source->Generate Getter and Setter enabled for read only file | F1 This action is enabled for read-only files. Executing it shows a dialog saying that the file is read-only. The action should be disabled since all other source actions are disabled as well. | verified fixed | 6b03c57 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:51:22Z | 2002-05-24T11:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java | int added= 0;
if (fEditorIsOwner)
added+= appendToGroup(target, fAddImport);
added+= appendToGroup(target, fOrganizeImports);
if (fEditorIsOwner)
added+= appendToGroup(target, fSurroundWithTryCatch);
added+= appendToGroup(target, fOverrideMethods);
added+= appendToGroup(target, fAddGetterSetter);
adde... |
17,598 | Bug 17598 Source->Generate Getter and Setter enabled for read only file | F1 This action is enabled for read-only files. Executing it shows a dialog saying that the file is read-only. The action should be disabled since all other source actions are disabled as well. | verified fixed | 6b03c57 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:51:22Z | 2002-05-24T11:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java | private void setGlobalActionHandlers(IActionBars actionBar) {
actionBar.setGlobalActionHandler(JdtActionConstants.ADD_IMPORT, fAddImport);
actionBar.setGlobalActionHandler(JdtActionConstants.SURROUND_WITH_TRY_CATCH, fSurroundWithTryCatch);
actionBar.setGlobalActionHandler(JdtActionConstants.OVERRIDE_METHODS, fOve... |
17,598 | Bug 17598 Source->Generate Getter and Setter enabled for read only file | F1 This action is enabled for read-only files. Executing it shows a dialog saying that the file is read-only. The action should be disabled since all other source actions are disabled as well. | verified fixed | 6b03c57 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:51:22Z | 2002-05-24T11:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/IJavaEditorActionDefinitionIds.java | package org.eclipse.jdt.ui.actions;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
import org.eclipse.ui.texteditor.ITextEditorActionDefinitionIds;
/**
* Defines the definition IDs for the java editor actions.
*/
public interface IJavaEditorActionDefinitionIds extends ITextEditorActionDefinitio... |
17,598 | Bug 17598 Source->Generate Getter and Setter enabled for read only file | F1 This action is enabled for read-only files. Executing it shows a dialog saying that the file is read-only. The action should be disabled since all other source actions are disabled as well. | verified fixed | 6b03c57 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:51:22Z | 2002-05-24T11:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/IJavaEditorActionDefinitionIds.java | public static final String SELECT_ENCLOSING= "org.eclipse.jdt.ui.edit.text.java.select.enclosing";
public static final String SELECT_NEXT= "org.eclipse.jdt.ui.edit.text.java.select.next";
public static final String SELECT_PREVIOUS= "org.eclipse.jdt.ui.edit.text.java.select.previous";
public static final String SE... |
17,598 | Bug 17598 Source->Generate Getter and Setter enabled for read only file | F1 This action is enabled for read-only files. Executing it shows a dialog saying that the file is read-only. The action should be disabled since all other source actions are disabled as well. | verified fixed | 6b03c57 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:51:22Z | 2002-05-24T11:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/IJavaEditorActionDefinitionIds.java | public static final String SELF_ENCAPSULATE_FIELD= "org.eclipse.jdt.ui.edit.text.java.self.encapsulate.field";
public static final String EXTRACT_METHOD= "org.eclipse.jdt.ui.edit.text.java.extract.method";
public static final String OPEN_EDITOR= "org.eclipse.jdt.ui.edit.text.java.open.editor";
public static fin... |
17,149 | Bug 17149 Libraries-Path in Java Build Path gets broken | eclipse-version: F1, linux-gtk bug: "Libraries-Path" of external JARs in "Java Build Path" gets broken I observed the following bug: 1) Call the "Java Build Path"-Dialog via selecting a project, "Properties" via right mouse button and then "Java Build Path". 2) Enter a library path via "Add External JARs..." and press ... | verified fixed | 59a1d0a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:52:06Z | 2002-05-23T07:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.wizards.buildpaths;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.core.resources.IContainer;
import org.eclipse.core.resources.IFolder;
import org.eclipse.core.resources... |
17,149 | Bug 17149 Libraries-Path in Java Build Path gets broken | eclipse-version: F1, linux-gtk bug: "Libraries-Path" of external JARs in "Java Build Path" gets broken I observed the following bug: 1) Call the "Java Build Path"-Dialog via selecting a project, "Properties" via right mouse button and then "Java Build Path". 2) Enter a library path via "Add External JARs..." and press ... | verified fixed | 59a1d0a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:52:06Z | 2002-05-23T07:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.core.runtime.Path;
import org.eclipse.core.runtime.Platform;
import org.eclipse.core.runtime.SubProgressMonitor;
impor... |
17,149 | Bug 17149 Libraries-Path in Java Build Path gets broken | eclipse-version: F1, linux-gtk bug: "Libraries-Path" of external JARs in "Java Build Path" gets broken I observed the following bug: 1) Call the "Java Build Path"-Dialog via selecting a project, "Properties" via right mouse button and then "Java Build Path". 2) Enter a library path via "Add External JARs..." and press ... | verified fixed | 59a1d0a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:52:06Z | 2002-05-23T07:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | import org.eclipse.ui.model.WorkbenchContentProvider;
import org.eclipse.ui.model.WorkbenchLabelProvider;
import org.eclipse.jdt.core.IClasspathEntry;
import org.eclipse.jdt.core.IJavaProject;
import org.eclipse.jdt.core.JavaConventions;
import org.eclipse.jdt.core.JavaCore;
import org.eclipse.jdt.core.JavaModelExcepti... |
17,149 | Bug 17149 Libraries-Path in Java Build Path gets broken | eclipse-version: F1, linux-gtk bug: "Libraries-Path" of external JARs in "Java Build Path" gets broken I observed the following bug: 1) Call the "Java Build Path"-Dialog via selecting a project, "Properties" via right mouse button and then "Java Build Path". 2) Enter a library path via "Add External JARs..." and press ... | verified fixed | 59a1d0a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:52:06Z | 2002-05-23T07:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | public static interface IRemoveOldBinariesQuery {
/**
* Do the callback. Returns <code>true</code> if .class files should be removed from the
* old output location.
*/
boolean doQuery(IPath oldOutputLocation) throws InterruptedException;
}
private IWorkspaceRoot fWorkspaceRoot;
private CheckedList... |
17,149 | Bug 17149 Libraries-Path in Java Build Path gets broken | eclipse-version: F1, linux-gtk bug: "Libraries-Path" of external JARs in "Java Build Path" gets broken I observed the following bug: 1) Call the "Java Build Path"-Dialog via selecting a project, "Properties" via right mouse button and then "Java Build Path". 2) Enter a library path via "Add External JARs..." and press ... | verified fixed | 59a1d0a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:52:06Z | 2002-05-23T07:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | private boolean fShowSourceFolderPage;
private SourceContainerWorkbookPage fSourceContainerPage;
private ProjectsWorkbookPage fProjectsPage;
private LibrariesWorkbookPage fLibrariesPage;
private BuildPathBasePage fCurrPage;
public BuildPathsBlock(IWorkspaceRoot root, IStatusChangeListener context, boolean s... |
17,149 | Bug 17149 Libraries-Path in Java Build Path gets broken | eclipse-version: F1, linux-gtk bug: "Libraries-Path" of external JARs in "Java Build Path" gets broken I observed the following bug: 1) Call the "Java Build Path"-Dialog via selecting a project, "Properties" via right mouse button and then "Java Build Path". 2) Enter a library path via "Add External JARs..." and press ... | verified fixed | 59a1d0a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:52:06Z | 2002-05-23T07:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | };
fClassPathList= new CheckedListDialogField(null, buttonLabels, new CPListLabelProvider());
fClassPathList.setDialogFieldListener(adapter);
fClassPathList.setLabelText(NewWizardMessages.getString("BuildPathsBlock.classpath.label"));
fClassPathList.setUpButtonIndex(0);
fClassPathList.setDownButtonIndex(... |
17,149 | Bug 17149 Libraries-Path in Java Build Path gets broken | eclipse-version: F1, linux-gtk bug: "Libraries-Path" of external JARs in "Java Build Path" gets broken I observed the following bug: 1) Call the "Java Build Path"-Dialog via selecting a project, "Properties" via right mouse button and then "Java Build Path". 2) Enter a library path via "Add External JARs..." and press ... | verified fixed | 59a1d0a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:52:06Z | 2002-05-23T07:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | layout.marginWidth= 0;
layout.numColumns= 1;
composite.setLayout(layout);
TabFolder folder= new TabFolder(composite, SWT.NONE);
folder.setLayout(new TabFolderLayout());
folder.setLayoutData(new GridData(GridData.FILL_BOTH));
folder.addSelectionListener(new SelectionAdapter() {
public void widgetSel... |
17,149 | Bug 17149 Libraries-Path in Java Build Path gets broken | eclipse-version: F1, linux-gtk bug: "Libraries-Path" of external JARs in "Java Build Path" gets broken I observed the following bug: 1) Call the "Java Build Path"-Dialog via selecting a project, "Properties" via right mouse button and then "Java Build Path". 2) Enter a library path via "Add External JARs..." and press ... | verified fixed | 59a1d0a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:52:06Z | 2002-05-23T07:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | item.setImage(projectImage);
item.setData(fProjectsPage);
item.setControl(fProjectsPage.getControl(folder));
fLibrariesPage= new LibrariesWorkbookPage(fWorkspaceRoot, fClassPathList);
item= new TabItem(folder, SWT.NONE);
item.setText(NewWizardMessages.getString("BuildPathsBlock.tab.libraries"));
item.... |
17,149 | Bug 17149 Libraries-Path in Java Build Path gets broken | eclipse-version: F1, linux-gtk bug: "Libraries-Path" of external JARs in "Java Build Path" gets broken I observed the following bug: 1) Call the "Java Build Path"-Dialog via selecting a project, "Properties" via right mouse button and then "Java Build Path". 2) Enter a library path via "Add External JARs..." and press ... | verified fixed | 59a1d0a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:52:06Z | 2002-05-23T07:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | DialogField[] editors= new DialogField[] { fBuildPathDialogField };
LayoutUtil.doDefaultLayout(editorcomp, editors, true, 0, 0);
int maxFieldWidth= converter.convertWidthInCharsToPixels(40);
LayoutUtil.setWidthHint(fBuildPathDialogField.getTextControl(null), maxFieldWidth);
LayoutUtil.setHorizontalGrabbing(f... |
17,149 | Bug 17149 Libraries-Path in Java Build Path gets broken | eclipse-version: F1, linux-gtk bug: "Libraries-Path" of external JARs in "Java Build Path" gets broken I observed the following bug: 1) Call the "Java Build Path"-Dialog via selecting a project, "Properties" via right mouse button and then "Java Build Path". 2) Enter a library path via "Add External JARs..." and press ... | verified fixed | 59a1d0a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:52:06Z | 2002-05-23T07:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | * Initializes the classpath for the given project. Multiple calls to init are allowed,
* but all existing settings will be cleared and replace by the given or default paths.
* @param project The java project to configure. Does not have to exist.
* @param outputLocation The output location to be set in the page. I... |
17,149 | Bug 17149 Libraries-Path in Java Build Path gets broken | eclipse-version: F1, linux-gtk bug: "Libraries-Path" of external JARs in "Java Build Path" gets broken I observed the following bug: 1) Call the "Java Build Path"-Dialog via selecting a project, "Properties" via right mouse button and then "Java Build Path". 2) Enter a library path via "Add External JARs..." and press ... | verified fixed | 59a1d0a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:52:06Z | 2002-05-23T07:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | }
} catch (CoreException e) {
JavaPlugin.log(e);
}
if (newClassPath == null) {
newClassPath= getDefaultClassPath(jproject);
}
List exportedEntries = new ArrayList();
for (int i= 0; i < newClassPath.size(); i++) {
CPListElement curr= (CPListElement) newClassPath.get(i);
if (curr.isExported() |... |
17,149 | Bug 17149 Libraries-Path in Java Build Path gets broken | eclipse-version: F1, linux-gtk bug: "Libraries-Path" of external JARs in "Java Build Path" gets broken I observed the following bug: 1) Call the "Java Build Path"-Dialog via selecting a project, "Properties" via right mouse button and then "Java Build Path". 2) Enter a library path via "Add External JARs..." and press ... | verified fixed | 59a1d0a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:52:06Z | 2002-05-23T07:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | for (int i= 0; i < classpathEntries.length; i++) {
IClasspathEntry curr= classpathEntries[i];
IPath path= curr.getPath();
IResource res= null;
boolean isMissing= false;
switch (curr.getEntryKind()) {
case IClasspathEntry.CPE_CONTAINER:
res= null;
try {
isMissing= (Java... |
17,149 | Bug 17149 Libraries-Path in Java Build Path gets broken | eclipse-version: F1, linux-gtk bug: "Libraries-Path" of external JARs in "Java Build Path" gets broken I observed the following bug: 1) Call the "Java Build Path"-Dialog via selecting a project, "Properties" via right mouse button and then "Java Build Path". 2) Enter a library path via "Add External JARs..." and press ... | verified fixed | 59a1d0a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:52:06Z | 2002-05-23T07:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | }
isMissing= !path.toFile().isFile();
}
case IClasspathEntry.CPE_SOURCE:
res= fWorkspaceRoot.findMember(path);
if (res == null) {
if (fWorkspaceRoot.getWorkspace().validatePath(path.toString(), IResource.FOLDER).isOK()) {
res= fWorkspaceRoot.getFolder(path);
}
isMissin... |
17,149 | Bug 17149 Libraries-Path in Java Build Path gets broken | eclipse-version: F1, linux-gtk bug: "Libraries-Path" of external JARs in "Java Build Path" gets broken I observed the following bug: 1) Call the "Java Build Path"-Dialog via selecting a project, "Properties" via right mouse button and then "Java Build Path". 2) Enter a library path via "Add External JARs..." and press ... | verified fixed | 59a1d0a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:52:06Z | 2002-05-23T07:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | /**
* Returns the Java project. Can return <code>null<code> if the page has not
* been initialized.
*/
public IJavaProject getJavaProject() {
return fCurrJProject;
}
/**
* Returns the current output location. Note that the path returned must not be valid.
*/
public IPath getOutputLocation() {
retur... |
17,149 | Bug 17149 Libraries-Path in Java Build Path gets broken | eclipse-version: F1, linux-gtk bug: "Libraries-Path" of external JARs in "Java Build Path" gets broken I observed the following bug: 1) Call the "Java Build Path"-Dialog via selecting a project, "Properties" via right mouse button and then "Java Build Path". 2) Enter a library path via "Add External JARs..." and press ... | verified fixed | 59a1d0a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:52:06Z | 2002-05-23T07:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | private List getDefaultClassPath(IJavaProject jproj) {
List list= new ArrayList();
IResource srcFolder;
if (JavaBasePreferencePage.useSrcAndBinFolders()) {
String sourceFolderName= JavaBasePreferencePage.getSourceFolderName();
srcFolder= jproj.getProject().getFolder(sourceFolderName);
} else {
srcFolde... |
17,149 | Bug 17149 Libraries-Path in Java Build Path gets broken | eclipse-version: F1, linux-gtk bug: "Libraries-Path" of external JARs in "Java Build Path" gets broken I observed the following bug: 1) Call the "Java Build Path"-Dialog via selecting a project, "Properties" via right mouse button and then "Java Build Path". 2) Enter a library path via "Add External JARs..." and press ... | verified fixed | 59a1d0a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:52:06Z | 2002-05-23T07:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | public void changeControlPressed(DialogField field) {
buildPathChangeControlPressed(field);
}
public void dialogFieldChanged(DialogField field) {
buildPathDialogFieldChanged(field);
}
}
private void buildPathChangeControlPressed(DialogField field) {
if (field == fBuildPathDialogField) {
ICont... |
17,149 | Bug 17149 Libraries-Path in Java Build Path gets broken | eclipse-version: F1, linux-gtk bug: "Libraries-Path" of external JARs in "Java Build Path" gets broken I observed the following bug: 1) Call the "Java Build Path"-Dialog via selecting a project, "Properties" via right mouse button and then "Java Build Path". 2) Enter a library path via "Add External JARs..." and press ... | verified fixed | 59a1d0a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:52:06Z | 2002-05-23T07:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | }
}
}
private void buildPathDialogFieldChanged(DialogField field) {
if (field == fClassPathList) {
updateClassPathStatus();
updateBuildPathStatus();
} else if (field == fBuildPathDialogField) {
updateBuildPathStatus();
}
doStatusLineUpdate();
}
private void doStatusLineUpdate() {
ISt... |
17,149 | Bug 17149 Libraries-Path in Java Build Path gets broken | eclipse-version: F1, linux-gtk bug: "Libraries-Path" of external JARs in "Java Build Path" gets broken I observed the following bug: 1) Call the "Java Build Path"-Dialog via selecting a project, "Properties" via right mouse button and then "Java Build Path". 2) Enter a library path via "Add External JARs..." and press ... | verified fixed | 59a1d0a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:52:06Z | 2002-05-23T07:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | private void updateClassPathStatus() {
fClassPathStatus.setOK();
List elements= fClassPathList.getElements();
boolean entryMissing= false;
IClasspathEntry[] entries= new IClasspathEntry[elements.size()];
for (int i= elements.size()-1 ; i >= 0 ; i--) {
CPListElement currElement= (CPListElement)elements... |
17,149 | Bug 17149 Libraries-Path in Java Build Path gets broken | eclipse-version: F1, linux-gtk bug: "Libraries-Path" of external JARs in "Java Build Path" gets broken I observed the following bug: 1) Call the "Java Build Path"-Dialog via selecting a project, "Properties" via right mouse button and then "Java Build Path". 2) Enter a library path via "Add External JARs..." and press ... | verified fixed | 59a1d0a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:52:06Z | 2002-05-23T07:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | * Validates output location & build path.
*/
private void updateBuildPathStatus() {
fOutputLocationPath= null;
String text= fBuildPathDialogField.getText();
if ("".equals(text)) {
fBuildPathStatus.setError(NewWizardMessages.getString("BuildPathsBlock.error.EnterBuildPath"));
return;
}
IPath pat... |
17,149 | Bug 17149 Libraries-Path in Java Build Path gets broken | eclipse-version: F1, linux-gtk bug: "Libraries-Path" of external JARs in "Java Build Path" gets broken I observed the following bug: 1) Call the "Java Build Path"-Dialog via selecting a project, "Properties" via right mouse button and then "Java Build Path". 2) Enter a library path via "Add External JARs..." and press ... | verified fixed | 59a1d0a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:52:06Z | 2002-05-23T07:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | outputFolderAlsoSourceFolder= true;
}
}
IStatus status= JavaConventions.validateClasspath(fCurrJProject, entries, path);
if (!status.isOK()) {
fBuildPathStatus.setError(status.getMessage());
return;
}
if (res != null && res.exists() && fCurrJProject.exists()) {
try {
IPath oldOutputLocation... |
17,149 | Bug 17149 Libraries-Path in Java Build Path gets broken | eclipse-version: F1, linux-gtk bug: "Libraries-Path" of external JARs in "Java Build Path" gets broken I observed the following bug: 1) Call the "Java Build Path"-Dialog via selecting a project, "Properties" via right mouse button and then "Java Build Path". 2) Enter a library path via "Add External JARs..." and press ... | verified fixed | 59a1d0a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:52:06Z | 2002-05-23T07:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | try {
if (!project.exists()) {
IProjectDescription desc= project.getWorkspace().newProjectDescription(project.getName());
if (Platform.getLocation().equals(locationPath)) {
locationPath= null;
}
desc.setLocation(locationPath);
project.create(desc, monitor);
monitor= null;
}
if (!pr... |
17,149 | Bug 17149 Libraries-Path in Java Build Path gets broken | eclipse-version: F1, linux-gtk bug: "Libraries-Path" of external JARs in "Java Build Path" gets broken I observed the following bug: 1) Call the "Java Build Path"-Dialog via selecting a project, "Properties" via right mouse button and then "Java Build Path". 2) Enter a library path via "Add External JARs..." and press ... | verified fixed | 59a1d0a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:52:06Z | 2002-05-23T07:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | }
public void configureJavaProject(IProgressMonitor monitor) throws CoreException, InterruptedException {
if (monitor == null) {
monitor= new NullProgressMonitor();
}
monitor.beginTask(NewWizardMessages.getString("BuildPathsBlock.operationdesc"), 10);
try {
Shell shell= null;
if (fSWTWidget != ... |
17,149 | Bug 17149 Libraries-Path in Java Build Path gets broken | eclipse-version: F1, linux-gtk bug: "Libraries-Path" of external JARs in "Java Build Path" gets broken I observed the following bug: 1) Call the "Java Build Path"-Dialog via selecting a project, "Properties" via right mouse button and then "Java Build Path". 2) Enter a library path via "Add External JARs..." and press ... | verified fixed | 59a1d0a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:52:06Z | 2002-05-23T07:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | if (reorgQuery != null) {
IPath oldOutputLocation= fCurrJProject.getOutputLocation();
if (!outputLocation.equals(oldOutputLocation)) {
IResource res= fWorkspaceRoot.findMember(oldOutputLocation);
if (res instanceof IContainer && hasClassfiles(res)) {
if (reorgQuery.doQuery(oldOutputLocation)) {
... |
17,149 | Bug 17149 Libraries-Path in Java Build Path gets broken | eclipse-version: F1, linux-gtk bug: "Libraries-Path" of external JARs in "Java Build Path" gets broken I observed the following bug: 1) Call the "Java Build Path"-Dialog via selecting a project, "Properties" via right mouse button and then "Java Build Path". 2) Enter a library path via "Add External JARs..." and press ... | verified fixed | 59a1d0a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:52:06Z | 2002-05-23T07:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | CoreUtility.createFolder((IFolder)res, true, true, null);
}
classpath[i]= entry.getClasspathEntry();
URL javadocLocation= entry.getJavadocLocation();
if (javadocLocation != null) {
IPath path= entry.getPath();
if (entry.getEntryKind() == IClasspathEntry.CPE_VARIABLE) {
path= JavaCore... |
17,149 | Bug 17149 Libraries-Path in Java Build Path gets broken | eclipse-version: F1, linux-gtk bug: "Libraries-Path" of external JARs in "Java Build Path" gets broken I observed the following bug: 1) Call the "Java Build Path"-Dialog via selecting a project, "Properties" via right mouse button and then "Java Build Path". 2) Enter a library path via "Add External JARs..." and press ... | verified fixed | 59a1d0a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:52:06Z | 2002-05-23T07:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | }
}
}
return false;
}
public static void removeOldClassfiles(IResource resource) throws CoreException {
if (resource.isDerived() && "class".equals(resource.getFileExtension())) {
resource.delete(false, null);
}
if (resource instanceof IContainer) {
IResource[] members= ((IContainer) resource).me... |
17,149 | Bug 17149 Libraries-Path in Java Build Path gets broken | eclipse-version: F1, linux-gtk bug: "Libraries-Path" of external JARs in "Java Build Path" gets broken I observed the following bug: 1) Call the "Java Build Path"-Dialog via selecting a project, "Properties" via right mouse button and then "Java Build Path". 2) Enter a library path via "Add External JARs..." and press ... | verified fixed | 59a1d0a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:52:06Z | 2002-05-23T07:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | if (res[0] == 0) {
return true;
} else if (res[0] == 1) {
return false;
}
throw new InterruptedException();
}
};
}
private IContainer chooseContainer() {
Class[] acceptedClasses= new Class[] { IProject.class, IFolder.class };
ISelectionStatusValidator validator= new TypedElement... |
17,149 | Bug 17149 Libraries-Path in Java Build Path gets broken | eclipse-version: F1, linux-gtk bug: "Libraries-Path" of external JARs in "Java Build Path" gets broken I observed the following bug: 1) Call the "Java Build Path"-Dialog via selecting a project, "Properties" via right mouse button and then "Java Build Path". 2) Enter a library path via "Add External JARs..." and press ... | verified fixed | 59a1d0a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T16:52:06Z | 2002-05-23T07:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | ElementTreeSelectionDialog dialog= new ElementTreeSelectionDialog(getShell(), lp, cp);
dialog.setTitle(NewWizardMessages.getString("BuildPathsBlock.ChooseOutputFolderDialog.title"));
dialog.setValidator(validator);
dialog.setMessage(NewWizardMessages.getString("BuildPathsBlock.ChooseOutputFolderDialog.descriptio... |
17,171 | Bug 17171 Quickfix: no proposal for wrong inst var initialization | - create the following code: public class Test { int fFoo= 1.2; } - a Quickfix bulb and a wiggly line appears for fFoo. However, pressing Cntr-1 does not show any proposals but the .log contains: java.lang.ClassCastException: org.eclipse.jdt.core.dom.FieldDeclaration at org.eclipse.jdt.internal.ui.text.correction.Local... | verified fixed | 1fee925 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T17:44:19Z | 2002-05-23T10:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LocalCorrectionsSubProcessor.java | package org.eclipse.jdt.internal.ui.text.correction;
import java.util.ArrayList;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.jface.text.IDocument;
import org.eclipse.jdt.core.ICompilationUnit;
import org.eclipse.jdt.core.JavaModelException;
import org.eclipse.jdt.core.Signature;
import org.eclipse... |
17,171 | Bug 17171 Quickfix: no proposal for wrong inst var initialization | - create the following code: public class Test { int fFoo= 1.2; } - a Quickfix bulb and a wiggly line appears for fFoo. However, pressing Cntr-1 does not show any proposals but the .log contains: java.lang.ClassCastException: org.eclipse.jdt.core.dom.FieldDeclaration at org.eclipse.jdt.internal.ui.text.correction.Local... | verified fixed | 1fee925 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T17:44:19Z | 2002-05-23T10:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LocalCorrectionsSubProcessor.java | import org.eclipse.jdt.core.dom.SimpleName;
import org.eclipse.jdt.core.dom.Statement;
import org.eclipse.jdt.core.dom.Type;
import org.eclipse.jdt.core.dom.VariableDeclarationFragment;
import org.eclipse.jdt.core.dom.VariableDeclarationStatement;
import org.eclipse.jdt.internal.corext.codemanipulation.CodeGenerationSe... |
17,171 | Bug 17171 Quickfix: no proposal for wrong inst var initialization | - create the following code: public class Test { int fFoo= 1.2; } - a Quickfix bulb and a wiggly line appears for fFoo. However, pressing Cntr-1 does not show any proposals but the .log contains: java.lang.ClassCastException: org.eclipse.jdt.core.dom.FieldDeclaration at org.eclipse.jdt.internal.ui.text.correction.Local... | verified fixed | 1fee925 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T17:44:19Z | 2002-05-23T10:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LocalCorrectionsSubProcessor.java | int pos= problemPos.getOffset();
if (selectedNode != null && selectedNode.getParent() != null) {
int parentNodeType= selectedNode.getParent().getNodeType();
if (parentNodeType == ASTNode.ASSIGNMENT) {
Assignment assign= (Assignment) selectedNode.getParent();
if (selectedNode.equals(assign.getLeftHandSid... |
17,171 | Bug 17171 Quickfix: no proposal for wrong inst var initialization | - create the following code: public class Test { int fFoo= 1.2; } - a Quickfix bulb and a wiggly line appears for fFoo. However, pressing Cntr-1 does not show any proposals but the .log contains: java.lang.ClassCastException: org.eclipse.jdt.core.dom.FieldDeclaration at org.eclipse.jdt.internal.ui.text.correction.Local... | verified fixed | 1fee925 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T17:44:19Z | 2002-05-23T10:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LocalCorrectionsSubProcessor.java | proposals.add(proposal);
if (selectedNode != null && selectedNode.getParent() instanceof VariableDeclarationFragment) {
VariableDeclarationFragment fragment= (VariableDeclarationFragment) selectedNode.getParent();
VariableDeclarationStatement statement= (VariableDeclarationStatement) fragment.getParent();
... |
17,171 | Bug 17171 Quickfix: no proposal for wrong inst var initialization | - create the following code: public class Test { int fFoo= 1.2; } - a Quickfix bulb and a wiggly line appears for fFoo. However, pressing Cntr-1 does not show any proposals but the .log contains: java.lang.ClassCastException: org.eclipse.jdt.core.dom.FieldDeclaration at org.eclipse.jdt.internal.ui.text.correction.Local... | verified fixed | 1fee925 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T17:44:19Z | 2002-05-23T10:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LocalCorrectionsSubProcessor.java | while (selectedNode != null && !(selectedNode instanceof Statement)) {
selectedNode= selectedNode.getParent();
}
if (selectedNode != null) {
CodeGenerationSettings settings= JavaPreferencesSettings.getCodeGenerationSettings();
SurroundWithTryCatchRefactoring refactoring= new SurroundWithTryCatchRefactoring... |
17,171 | Bug 17171 Quickfix: no proposal for wrong inst var initialization | - create the following code: public class Test { int fFoo= 1.2; } - a Quickfix bulb and a wiggly line appears for fFoo. However, pressing Cntr-1 does not show any proposals but the .log contains: java.lang.ClassCastException: org.eclipse.jdt.core.dom.FieldDeclaration at org.eclipse.jdt.internal.ui.text.correction.Local... | verified fixed | 1fee925 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T17:44:19Z | 2002-05-23T10:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LocalCorrectionsSubProcessor.java | String label= CorrectionMessages.getString("LocalCorrectionsSubProcessor.addthrows.description");
InsertCorrectionProposal proposal= new InsertCorrectionProposal(label, cu, pos, insertString.toString(), 0);
CodeGenerationSettings settings= JavaPreferencesSettings.getCodeGenerationSettings();
ImportEdit edit= ... |
17,171 | Bug 17171 Quickfix: no proposal for wrong inst var initialization | - create the following code: public class Test { int fFoo= 1.2; } - a Quickfix bulb and a wiggly line appears for fFoo. However, pressing Cntr-1 does not show any proposals but the .log contains: java.lang.ClassCastException: org.eclipse.jdt.core.dom.FieldDeclaration at org.eclipse.jdt.internal.ui.text.correction.Local... | verified fixed | 1fee925 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T17:44:19Z | 2002-05-23T10:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LocalCorrectionsSubProcessor.java | if (selectedNode.getParent() instanceof ReturnStatement) {
ReturnStatement returnStatement= (ReturnStatement) selectedNode.getParent();
Expression expr= returnStatement.getExpression();
if (expr != null) {
ITypeBinding binding= expr.resolveTypeBinding();
if (binding != null) {
if ("null".equ... |
17,171 | Bug 17171 Quickfix: no proposal for wrong inst var initialization | - create the following code: public class Test { int fFoo= 1.2; } - a Quickfix bulb and a wiggly line appears for fFoo. However, pressing Cntr-1 does not show any proposals but the .log contains: java.lang.ClassCastException: org.eclipse.jdt.core.dom.FieldDeclaration at org.eclipse.jdt.internal.ui.text.correction.Local... | verified fixed | 1fee925 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T17:44:19Z | 2002-05-23T10:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LocalCorrectionsSubProcessor.java | res[0]= null;
decl.accept(new GenericVisitor() {
public boolean visit(ReturnStatement node) {
if (res[0] == null) {
Expression expr= node.getExpression();
if (expr != null) {
ITypeBinding binding= expr.resolveTypeBinding();
if (binding != null) {
res[0]= bindin... |
17,171 | Bug 17171 Quickfix: no proposal for wrong inst var initialization | - create the following code: public class Test { int fFoo= 1.2; } - a Quickfix bulb and a wiggly line appears for fFoo. However, pressing Cntr-1 does not show any proposals but the .log contains: java.lang.ClassCastException: org.eclipse.jdt.core.dom.FieldDeclaration at org.eclipse.jdt.internal.ui.text.correction.Local... | verified fixed | 1fee925 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T17:44:19Z | 2002-05-23T10:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LocalCorrectionsSubProcessor.java | CodeGenerationSettings settings= JavaPreferencesSettings.getCodeGenerationSettings();
ImportEdit edit= new ImportEdit(problemPos.getCompilationUnit(), settings);
edit.addImport(type.getName());
proposal.getCompilationUnitChange().addTextEdit("import", edit);
proposals.add(proposal);
}
}
}
pub... |
16,858 | Bug 16858 Preceding space in package compression pattern sometimes ignored | (In the following discussion, all patterns were entered without the enclosing quote marks.) The pattern "1 " causes one character of each package name to be displayed with a single space separator between them. The pattern " 1 " causes one space to precede the first single-character package name and two spaces to appea... | verified fixed | 90d99d6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:01:49Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java | package org.eclipse.jdt.internal.ui.viewsupport;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.ui.model.IWorkbenchAdapter;
import org.eclipse.jdt.core.IClassFile;
import org.eclipse.jdt.core.IClasspathEntry;
import org.eclipse.jdt.core.ICompilationUnit;
import org.eclipse.jdt.core.IField;
import org.ec... |
16,858 | Bug 16858 Preceding space in package compression pattern sometimes ignored | (In the following discussion, all patterns were entered without the enclosing quote marks.) The pattern "1 " causes one character of each package name to be displayed with a single space separator between them. The pattern " 1 " causes one space to precede the first single-character package name and two spaces to appea... | verified fixed | 90d99d6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:01:49Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java | /**
* Method names contain parameter types.
* e.g. <code>foo(int)</code>
*/
public final static int M_PARAMETER_TYPES= 1 << 0;
/**
* Method names contain parameter names.
* e.g. <code>foo(index)</code>
*/
public final static int M_PARAMETER_NAMES= 1 << 1;
/**
* Method names contain thrown excepti... |
16,858 | Bug 16858 Preceding space in package compression pattern sometimes ignored | (In the following discussion, all patterns were entered without the enclosing quote marks.) The pattern "1 " causes one character of each package name to be displayed with a single space separator between them. The pattern " 1 " causes one space to precede the first single-character package name and two spaces to appea... | verified fixed | 90d99d6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:01:49Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java | /**
* Method names contain return type (appended)
* e.g. <code>int foo</code>
*/
public final static int M_PRE_RETURNTYPE= 1 << 4;
/**
* Method names are fully qualified.
* e.g. <code>java.util.Vector.size</code>
*/
public final static int M_FULLY_QUALIFIED= 1 << 5;
/**
* Method names are post qual... |
16,858 | Bug 16858 Preceding space in package compression pattern sometimes ignored | (In the following discussion, all patterns were entered without the enclosing quote marks.) The pattern "1 " causes one character of each package name to be displayed with a single space separator between them. The pattern " 1 " causes one space to precede the first single-character package name and two spaces to appea... | verified fixed | 90d99d6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:01:49Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java | /**
* Field names contain the declared type (appended)
* e.g. <code>int fHello</code>
*/
public final static int F_APP_TYPE_SIGNATURE= 1 << 9;
/**
* Field names contain the declared type (prepended)
* e.g. <code>fHello : int</code>
*/
public final static int F_PRE_TYPE_SIGNATURE= 1 << 10;
/**
* Fie... |
16,858 | Bug 16858 Preceding space in package compression pattern sometimes ignored | (In the following discussion, all patterns were entered without the enclosing quote marks.) The pattern "1 " causes one character of each package name to be displayed with a single space separator between them. The pattern " 1 " causes one space to precede the first single-character package name and two spaces to appea... | verified fixed | 90d99d6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:01:49Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java | * Type names are type container qualified.
* e.g. <code>Map.MapEntry</code>
*/
public final static int T_CONTAINER_QUALIFIED= 1 << 14;
/**
* Type names are post qualified.
* e.g. <code>MapEntry - java.util.Map</code>
*/
public final static int T_POST_QUALIFIED= 1 << 15;
/**
* Declarations (import co... |
16,858 | Bug 16858 Preceding space in package compression pattern sometimes ignored | (In the following discussion, all patterns were entered without the enclosing quote marks.) The pattern "1 " causes one character of each package name to be displayed with a single space separator between them. The pattern " 1 " causes one space to precede the first single-character package name and two spaces to appea... | verified fixed | 90d99d6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:01:49Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java | * e.g. <code>Vector.class - java.util</code>
*/
public final static int CF_POST_QUALIFIED= 1 << 19;
/**
* Compilation unit names are fully qualified.
* e.g. <code>java.util.Vector.java</code>
*/
public final static int CU_QUALIFIED= 1 << 20;
/**
* Compilation unit names are post qualified.
* e.g.... |
16,858 | Bug 16858 Preceding space in package compression pattern sometimes ignored | (In the following discussion, all patterns were entered without the enclosing quote marks.) The pattern "1 " causes one character of each package name to be displayed with a single space separator between them. The pattern " 1 " causes one space to precede the first single-character package name and two spaces to appea... | verified fixed | 90d99d6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:01:49Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java | public final static int ROOT_VARIABLE= 1 << 24;
/**
* Package Fragment Roots contain the project name if not an archive (prepended).
* e.g. <code>MyProject/src</code>
*/
public final static int ROOT_QUALIFIED= 1 << 25;
/**
* Package Fragment Roots contain the project name if not an archive (appended).
... |
16,858 | Bug 16858 Preceding space in package compression pattern sometimes ignored | (In the following discussion, all patterns were entered without the enclosing quote marks.) The pattern "1 " causes one character of each package name to be displayed with a single space separator between them. The pattern " 1 " causes one space to precede the first single-character package name and two spaces to appea... | verified fixed | 90d99d6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:01:49Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java | public final static int P_COMPRESSED= 1 << 29;
/**
* Qualify all elements
*/
public final static int ALL_FULLY_QUALIFIED= F_FULLY_QUALIFIED | M_FULLY_QUALIFIED | I_FULLY_QUALIFIED | T_FULLY_QUALIFIED | D_QUALIFIED | CF_QUALIFIED | CU_QUALIFIED | P_QUALIFIED | ROOT_QUALIFIED;
/**
* Post qualify all elements
... |
16,858 | Bug 16858 Preceding space in package compression pattern sometimes ignored | (In the following discussion, all patterns were entered without the enclosing quote marks.) The pattern "1 " causes one character of each package name to be displayed with a single space separator between them. The pattern " 1 " causes one space to precede the first single-character package name and two spaces to appea... | verified fixed | 90d99d6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:01:49Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java | private static String fgPkgNamePostfix;
private static int fgPkgNameChars;
private static int fgPkgNameLength;
private JavaElementLabels() {
}
private static boolean getFlag(int flags, int flag) {
return (flags & flag) != 0;
}
public static String getTextLabel(Object obj, int flags) {
if (obj instanceof IJ... |
16,858 | Bug 16858 Preceding space in package compression pattern sometimes ignored | (In the following discussion, all patterns were entered without the enclosing quote marks.) The pattern "1 " causes one character of each package name to be displayed with a single space separator between them. The pattern " 1 " causes one space to precede the first single-character package name and two spaces to appea... | verified fixed | 90d99d6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:01:49Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java | * Returns the label for a Java element. Flags as defined above.
*/
public static void getElementLabel(IJavaElement element, int flags, StringBuffer buf) {
int type= element.getElementType();
IPackageFragmentRoot root= null;
if (type != IJavaElement.JAVA_MODEL && type != IJavaElement.JAVA_PROJECT && type != ... |
16,858 | Bug 16858 Preceding space in package compression pattern sometimes ignored | (In the following discussion, all patterns were entered without the enclosing quote marks.) The pattern "1 " causes one character of each package name to be displayed with a single space separator between them. The pattern " 1 " causes one space to precede the first single-character package name and two spaces to appea... | verified fixed | 90d99d6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:01:49Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java | getCompilationUnitLabel((ICompilationUnit) element, flags, buf);
break;
case IJavaElement.PACKAGE_FRAGMENT:
getPackageFragmentLabel((IPackageFragment) element, flags, buf);
break;
case IJavaElement.PACKAGE_FRAGMENT_ROOT:
getPackageFragmentRootLabel((IPackageFragmentRoot) element, flags, buf);
... |
16,858 | Bug 16858 Preceding space in package compression pattern sometimes ignored | (In the following discussion, all patterns were entered without the enclosing quote marks.) The pattern "1 " causes one character of each package name to be displayed with a single space separator between them. The pattern " 1 " causes one space to precede the first single-character package name and two spaces to appea... | verified fixed | 90d99d6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:01:49Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java | try {
if (getFlag(flags, M_PRE_RETURNTYPE) && method.exists() && !method.isConstructor()) {
buf.append(Signature.getSimpleName(Signature.toString(method.getReturnType())));
buf.append(' ');
}
if (getFlag(flags, M_FULLY_QUALIFIED)) {
getTypeLabel(method.getDeclaringType(), T_FULLY_QUALIF... |
16,858 | Bug 16858 Preceding space in package compression pattern sometimes ignored | (In the following discussion, all patterns were entered without the enclosing quote marks.) The pattern "1 " causes one character of each package name to be displayed with a single space separator between them. The pattern " 1 " causes one space to precede the first single-character package name and two spaces to appea... | verified fixed | 90d99d6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:01:49Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java | if (names != null) {
if (types != null) {
buf.append(' ');
}
buf.append(names[i]);
}
}
buf.append(')');
}
if (getFlag(flags, M_EXCEPTIONS) && method.exists()) {
String[] types= method.getExceptionTypes();
if (types.length > 0) {
buf.append(" throws ");
... |
16,858 | Bug 16858 Preceding space in package compression pattern sometimes ignored | (In the following discussion, all patterns were entered without the enclosing quote marks.) The pattern "1 " causes one character of each package name to be displayed with a single space separator between them. The pattern " 1 " causes one space to precede the first single-character package name and two spaces to appea... | verified fixed | 90d99d6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:01:49Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java | buf.append(CONCAT_STRING);
getTypeLabel(method.getDeclaringType(), T_FULLY_QUALIFIED, buf);
}
} catch (JavaModelException e) {
JavaPlugin.log(e);
}
}
/**
* Appends the label for a field to a StringBuffer. Considers the F_* flags.
*/
public static void getFieldLabel(IField field, int flag... |
16,858 | Bug 16858 Preceding space in package compression pattern sometimes ignored | (In the following discussion, all patterns were entered without the enclosing quote marks.) The pattern "1 " causes one character of each package name to be displayed with a single space separator between them. The pattern " 1 " causes one space to precede the first single-character package name and two spaces to appea... | verified fixed | 90d99d6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:01:49Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java | if (getFlag(flags, F_POST_QUALIFIED)) {
buf.append(CONCAT_STRING);
getTypeLabel(field.getDeclaringType(), T_FULLY_QUALIFIED, buf);
}
} catch (JavaModelException e) {
JavaPlugin.log(e);
}
}
/**
* Appends the label for a initializer to a StringBuffer. Considers the I_* flags.
*/
public s... |
16,858 | Bug 16858 Preceding space in package compression pattern sometimes ignored | (In the following discussion, all patterns were entered without the enclosing quote marks.) The pattern "1 " causes one character of each package name to be displayed with a single space separator between them. The pattern " 1 " causes one space to precede the first single-character package name and two spaces to appea... | verified fixed | 90d99d6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:01:49Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java | public static void getTypeLabel(IType type, int flags, StringBuffer buf) {
if (getFlag(flags, T_FULLY_QUALIFIED)) {
buf.append(JavaModelUtil.getFullyQualifiedName(type));
} else if (getFlag(flags, T_CONTAINER_QUALIFIED)) {
buf.append(JavaModelUtil.getTypeQualifiedName(type));
} else {
buf.append(type.get... |
16,858 | Bug 16858 Preceding space in package compression pattern sometimes ignored | (In the following discussion, all patterns were entered without the enclosing quote marks.) The pattern "1 " causes one character of each package name to be displayed with a single space separator between them. The pattern " 1 " causes one space to precede the first single-character package name and two spaces to appea... | verified fixed | 90d99d6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:01:49Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java | if (declaration.getElementType() == IJavaElement.IMPORT_CONTAINER) {
buf.append(JavaUIMessages.getString("JavaElementLabels.import_container"));
} else {
buf.append(declaration.getElementName());
}
if (getFlag(flags, D_POST_QUALIFIED)) {
IJavaElement openable= (IJavaElement) declaration.getOpenable()... |
16,858 | Bug 16858 Preceding space in package compression pattern sometimes ignored | (In the following discussion, all patterns were entered without the enclosing quote marks.) The pattern "1 " causes one character of each package name to be displayed with a single space separator between them. The pattern " 1 " causes one space to precede the first single-character package name and two spaces to appea... | verified fixed | 90d99d6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:01:49Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java | getPackageFragmentLabel((IPackageFragment) classFile.getParent(), 0, buf);
}
}
/**
* Appends the label for a compilation unit to a StringBuffer. Considers the CU_* flags.
*/
public static void getCompilationUnitLabel(ICompilationUnit cu, int flags, StringBuffer buf) {
if (getFlag(flags, CU_QUALIFIED)) {
I... |
16,858 | Bug 16858 Preceding space in package compression pattern sometimes ignored | (In the following discussion, all patterns were entered without the enclosing quote marks.) The pattern "1 " causes one character of each package name to be displayed with a single space separator between them. The pattern " 1 " causes one space to precede the first single-character package name and two spaces to appea... | verified fixed | 90d99d6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:01:49Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java | if (pack.isDefaultPackage()) {
buf.append(JavaUIMessages.getString("JavaElementLabels.default_package"));
} else if (getFlag(flags, P_COMPRESSED) && fgPkgNameLength >= 0) {
String name= pack.getElementName();
int start= 0;
int dot= name.indexOf('.', start);
while (dot > 0) {
if (dot - start >... |
16,858 | Bug 16858 Preceding space in package compression pattern sometimes ignored | (In the following discussion, all patterns were entered without the enclosing quote marks.) The pattern "1 " causes one character of each package name to be displayed with a single space separator between them. The pattern " 1 " causes one space to precede the first single-character package name and two spaces to appea... | verified fixed | 90d99d6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:01:49Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java | if (root.isArchive() && getFlag(flags, ROOT_VARIABLE)) {
try {
IClasspathEntry rawEntry= root.getRawClasspathEntry();
if (rawEntry != null) {
if (rawEntry.getEntryKind() == IClasspathEntry.CPE_VARIABLE) {
buf.append(rawEntry.getPath().makeRelative());
buf.append(CONCAT_STRING);
}
}
... |
16,858 | Bug 16858 Preceding space in package compression pattern sometimes ignored | (In the following discussion, all patterns were entered without the enclosing quote marks.) The pattern "1 " causes one character of each package name to be displayed with a single space separator between them. The pattern " 1 " causes one space to precede the first single-character package name and two spaces to appea... | verified fixed | 90d99d6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:01:49Z | 2002-05-22T15:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java | String pattern= AppearancePreferencePage.getPkgNamePatternForPackagesView();
if (pattern.equals(fgPkgNamePattern))
return;
else if (pattern.equals("")) {
fgPkgNameLength= -1;
return;
}
fgPkgNamePattern= pattern;
int i= 0;
fgPkgNameChars= 0;
fgPkgNamePrefix= "";
fgPkgNamePostfix= "";
while ... |
16,733 | Bug 16733 Builder pref - Cannot exclude folder from resource copying | Build 20020521 - F1 UI builder pref page currently prevents enter a folder name for the resource copy exclusion filter (folder is specified with a '/' suffix). Since 20020521, JDT/Core now supports excluding folders: The setting allowing for filtering resource copy now also supports folder filtering. Folder names are r... | verified fixed | a189576 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:07:32Z | 2002-05-22T09:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaBuilderPreferencePage.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.Hashtable;
import java.util.StringTokenizer;
import org.eclipse.core.resources.IResource; |
16,733 | Bug 16733 Builder pref - Cannot exclude folder from resource copying | Build 20020521 - F1 UI builder pref page currently prevents enter a folder name for the resource copy exclusion filter (folder is specified with a '/' suffix). Since 20020521, JDT/Core now supports excluding folders: The setting allowing for filtering resource copy now also supports folder filtering. Folder names are r... | verified fixed | a189576 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:07:32Z | 2002-05-22T09:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaBuilderPreferencePage.java | import org.eclipse.core.resources.IWorkspace;
import org.eclipse.core.resources.IncrementalProjectBuilder;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.swt.S... |
16,733 | Bug 16733 Builder pref - Cannot exclude folder from resource copying | Build 20020521 - F1 UI builder pref page currently prevents enter a folder name for the resource copy exclusion filter (folder is specified with a '/' suffix). Since 20020521, JDT/Core now supports excluding folders: The setting allowing for filtering resource copy now also supports folder filtering. Folder names are r... | verified fixed | a189576 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:07:32Z | 2002-05-22T09:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaBuilderPreferencePage.java | private StringDialogField fResourceFilterField;
private StatusInfo fResourceFilterStatus;
private SelectionButtonDialogField fAbortInvalidClasspathField;
private Hashtable fWorkingValues;
private static final String PREF_RESOURCE_FILTER= JavaCore.CORE_JAVA_BUILD_RESOURCE_COPY_FILTER;
private static final Strin... |
16,733 | Bug 16733 Builder pref - Cannot exclude folder from resource copying | Build 20020521 - F1 UI builder pref page currently prevents enter a folder name for the resource copy exclusion filter (folder is specified with a '/' suffix). Since 20020521, JDT/Core now supports excluding folders: The setting allowing for filtering resource copy now also supports folder filtering. Folder names are r... | verified fixed | a189576 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:07:32Z | 2002-05-22T09:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaBuilderPreferencePage.java | };
fResourceFilterField= new StringDialogField();
fResourceFilterField.setLabelText(JavaUIMessages.getString("JavaBuilderPreferencePage.filter.label"));
fAbortInvalidClasspathField= new SelectionButtonDialogField(SWT.CHECK);
fAbortInvalidClasspathField.setDialogFieldListener(listener);
fAbortInvalidCla... |
16,733 | Bug 16733 Builder pref - Cannot exclude folder from resource copying | Build 20020521 - F1 UI builder pref page currently prevents enter a folder name for the resource copy exclusion filter (folder is specified with a '/' suffix). Since 20020521, JDT/Core now supports excluding folders: The setting allowing for filtering resource copy now also supports folder filtering. Folder names are r... | verified fixed | a189576 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:07:32Z | 2002-05-22T09:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaBuilderPreferencePage.java | resourceFilterLabel.doFillIntoGrid(composite, 2);
LayoutUtil.setWidthHint(resourceFilterLabel.getLabelControl(null), convertWidthInCharsToPixels(80));
fResourceFilterField.doFillIntoGrid(composite, 2);
LayoutUtil.setHorizontalGrabbing(fResourceFilterField.getTextControl(null));
LayoutUtil.setWidthHint(fResource... |
16,733 | Bug 16733 Builder pref - Cannot exclude folder from resource copying | Build 20020521 - F1 UI builder pref page currently prevents enter a folder name for the resource copy exclusion filter (folder is specified with a '/' suffix). Since 20020521, JDT/Core now supports excluding folders: The setting allowing for filtering resource copy now also supports folder filtering. Folder names are r... | verified fixed | a189576 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:07:32Z | 2002-05-22T09:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaBuilderPreferencePage.java | String key= allKeys[i];
String val= (String) fWorkingValues.get(key);
String oldVal= (String) actualOptions.get(key);
hasChanges= hasChanges | !val.equals(oldVal);
actualOptions.put(key, val);
}
if (hasChanges) {
String title= JavaUIMessages.getString("JavaBuilderPreferencePage.needsbuild.tit... |
16,733 | Bug 16733 Builder pref - Cannot exclude folder from resource copying | Build 20020521 - F1 UI builder pref page currently prevents enter a folder name for the resource copy exclusion filter (folder is specified with a '/' suffix). Since 20020521, JDT/Core now supports excluding folders: The setting allowing for filtering resource copy now also supports folder filtering. Folder names are r... | verified fixed | a189576 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:07:32Z | 2002-05-22T09:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaBuilderPreferencePage.java | updateStatus(status);
}
private String[] getFilters(String text) {
StringTokenizer tok= new StringTokenizer(text, ",");
int nTokens= tok.countTokens();
String[] res= new String[nTokens];
for (int i= 0; i < res.length; i++) {
res[i]= tok.nextToken().trim();
}
return res;
}
private IStatus valid... |
16,733 | Bug 16733 Builder pref - Cannot exclude folder from resource copying | Build 20020521 - F1 UI builder pref page currently prevents enter a folder name for the resource copy exclusion filter (folder is specified with a '/' suffix). Since 20020521, JDT/Core now supports excluding folders: The setting allowing for filtering resource copy now also supports folder filtering. Folder names are r... | verified fixed | a189576 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:07:32Z | 2002-05-22T09:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaBuilderPreferencePage.java | buf.append(',');
}
buf.append(filters[i]);
}
fWorkingValues.put(PREF_RESOURCE_FILTER, buf.toString());
return new StatusInfo();
}
private void updateStatus(IStatus status) {
setValid(!status.matches(IStatus.ERROR));
StatusUtil.applyToStatusLine(this, status);
}
private void doFullBuild() {
Progr... |
16,733 | Bug 16733 Builder pref - Cannot exclude folder from resource copying | Build 20020521 - F1 UI builder pref page currently prevents enter a folder name for the resource copy exclusion filter (folder is specified with a '/' suffix). Since 20020521, JDT/Core now supports excluding folders: The setting allowing for filtering resource copy now also supports folder filtering. Folder names are r... | verified fixed | a189576 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:07:32Z | 2002-05-22T09:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaBuilderPreferencePage.java | }
}
/*
* @see PreferencePage#performDefaults()
*/
protected void performDefaults() {
fWorkingValues= JavaCore.getDefaultOptions();
updateControls();
updateValues();
super.performDefaults();
}
private void updateControls() {
String[] filters= getFilters((String) fWorkingValues.get(PREF_RESOUR... |
17,618 | Bug 17618 Changing output location should delete all derived resources | F1 1) create a project (autobuild on) 2) import Java sources and resources 3) change output folder to project/bin ->all class files are removed (fine) 4) change output folder back to be the project -> all class files are removed (fine) 5) open project/bin -> all resources are still there Note: When opening the properti... | verified fixed | bf1a15f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:25:28Z | 2002-05-24T14:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.wizards.buildpaths;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.core.resources.IContainer;
import org.eclipse.core.resources.IFolder;
import org.eclipse.core.resources... |
17,618 | Bug 17618 Changing output location should delete all derived resources | F1 1) create a project (autobuild on) 2) import Java sources and resources 3) change output folder to project/bin ->all class files are removed (fine) 4) change output folder back to be the project -> all class files are removed (fine) 5) open project/bin -> all resources are still there Note: When opening the properti... | verified fixed | bf1a15f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:25:28Z | 2002-05-24T14:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.core.runtime.Path;
import org.eclipse.core.runtime.Platform;
import org.eclipse.core.runtime.SubProgressMonitor;
impor... |
17,618 | Bug 17618 Changing output location should delete all derived resources | F1 1) create a project (autobuild on) 2) import Java sources and resources 3) change output folder to project/bin ->all class files are removed (fine) 4) change output folder back to be the project -> all class files are removed (fine) 5) open project/bin -> all resources are still there Note: When opening the properti... | verified fixed | bf1a15f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:25:28Z | 2002-05-24T14:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | import org.eclipse.ui.model.WorkbenchContentProvider;
import org.eclipse.ui.model.WorkbenchLabelProvider;
import org.eclipse.jdt.core.IClasspathEntry;
import org.eclipse.jdt.core.IJavaProject;
import org.eclipse.jdt.core.JavaConventions;
import org.eclipse.jdt.core.JavaCore;
import org.eclipse.jdt.core.JavaModelExcepti... |
17,618 | Bug 17618 Changing output location should delete all derived resources | F1 1) create a project (autobuild on) 2) import Java sources and resources 3) change output folder to project/bin ->all class files are removed (fine) 4) change output folder back to be the project -> all class files are removed (fine) 5) open project/bin -> all resources are still there Note: When opening the properti... | verified fixed | bf1a15f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:25:28Z | 2002-05-24T14:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | public static interface IRemoveOldBinariesQuery {
/**
* Do the callback. Returns <code>true</code> if .class files should be removed from the
* old output location.
*/
boolean doQuery(IPath oldOutputLocation) throws InterruptedException;
}
private IWorkspaceRoot fWorkspaceRoot;
private CheckedList... |
17,618 | Bug 17618 Changing output location should delete all derived resources | F1 1) create a project (autobuild on) 2) import Java sources and resources 3) change output folder to project/bin ->all class files are removed (fine) 4) change output folder back to be the project -> all class files are removed (fine) 5) open project/bin -> all resources are still there Note: When opening the properti... | verified fixed | bf1a15f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:25:28Z | 2002-05-24T14:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | private boolean fShowSourceFolderPage;
private SourceContainerWorkbookPage fSourceContainerPage;
private ProjectsWorkbookPage fProjectsPage;
private LibrariesWorkbookPage fLibrariesPage;
private BuildPathBasePage fCurrPage;
public BuildPathsBlock(IWorkspaceRoot root, IStatusChangeListener context, boolean s... |
17,618 | Bug 17618 Changing output location should delete all derived resources | F1 1) create a project (autobuild on) 2) import Java sources and resources 3) change output folder to project/bin ->all class files are removed (fine) 4) change output folder back to be the project -> all class files are removed (fine) 5) open project/bin -> all resources are still there Note: When opening the properti... | verified fixed | bf1a15f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:25:28Z | 2002-05-24T14:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | fClassPathList= new CheckedListDialogField(null, buttonLabels, new CPListLabelProvider());
fClassPathList.setDialogFieldListener(adapter);
fClassPathList.setLabelText(NewWizardMessages.getString("BuildPathsBlock.classpath.label"));
fClassPathList.setUpButtonIndex(0);
fClassPathList.setDownButtonIndex(1);
fC... |
17,618 | Bug 17618 Changing output location should delete all derived resources | F1 1) create a project (autobuild on) 2) import Java sources and resources 3) change output folder to project/bin ->all class files are removed (fine) 4) change output folder back to be the project -> all class files are removed (fine) 5) open project/bin -> all resources are still there Note: When opening the properti... | verified fixed | bf1a15f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:25:28Z | 2002-05-24T14:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | layout.numColumns= 1;
composite.setLayout(layout);
TabFolder folder= new TabFolder(composite, SWT.NONE);
folder.setLayout(new TabFolderLayout());
folder.setLayoutData(new GridData(GridData.FILL_BOTH));
folder.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {... |
17,618 | Bug 17618 Changing output location should delete all derived resources | F1 1) create a project (autobuild on) 2) import Java sources and resources 3) change output folder to project/bin ->all class files are removed (fine) 4) change output folder back to be the project -> all class files are removed (fine) 5) open project/bin -> all resources are still there Note: When opening the properti... | verified fixed | bf1a15f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:25:28Z | 2002-05-24T14:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | item.setData(fProjectsPage);
item.setControl(fProjectsPage.getControl(folder));
fLibrariesPage= new LibrariesWorkbookPage(fWorkspaceRoot, fClassPathList);
item= new TabItem(folder, SWT.NONE);
item.setText(NewWizardMessages.getString("BuildPathsBlock.tab.libraries"));
item.setImage(imageRegistry.get(Java... |
17,618 | Bug 17618 Changing output location should delete all derived resources | F1 1) create a project (autobuild on) 2) import Java sources and resources 3) change output folder to project/bin ->all class files are removed (fine) 4) change output folder back to be the project -> all class files are removed (fine) 5) open project/bin -> all resources are still there Note: When opening the properti... | verified fixed | bf1a15f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:25:28Z | 2002-05-24T14:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | LayoutUtil.doDefaultLayout(editorcomp, editors, true, 0, 0);
int maxFieldWidth= converter.convertWidthInCharsToPixels(40);
LayoutUtil.setWidthHint(fBuildPathDialogField.getTextControl(null), maxFieldWidth);
LayoutUtil.setHorizontalGrabbing(fBuildPathDialogField.getTextControl(null));
editorcomp.setLayoutDa... |
17,618 | Bug 17618 Changing output location should delete all derived resources | F1 1) create a project (autobuild on) 2) import Java sources and resources 3) change output folder to project/bin ->all class files are removed (fine) 4) change output folder back to be the project -> all class files are removed (fine) 5) open project/bin -> all resources are still there Note: When opening the properti... | verified fixed | bf1a15f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:25:28Z | 2002-05-24T14:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | * but all existing settings will be cleared and replace by the given or default paths.
* @param project The java project to configure. Does not have to exist.
* @param outputLocation The output location to be set in the page. If <code>null</code>
* is passed, jdt default settings are used, or - if the project is ... |
17,618 | Bug 17618 Changing output location should delete all derived resources | F1 1) create a project (autobuild on) 2) import Java sources and resources 3) change output folder to project/bin ->all class files are removed (fine) 4) change output folder back to be the project -> all class files are removed (fine) 5) open project/bin -> all resources are still there Note: When opening the properti... | verified fixed | bf1a15f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:25:28Z | 2002-05-24T14:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | } catch (CoreException e) {
JavaPlugin.log(e);
}
if (newClassPath == null) {
newClassPath= getDefaultClassPath(jproject);
}
List exportedEntries = new ArrayList();
for (int i= 0; i < newClassPath.size(); i++) {
CPListElement curr= (CPListElement) newClassPath.get(i);
if (curr.isExported() || cu... |
17,618 | Bug 17618 Changing output location should delete all derived resources | F1 1) create a project (autobuild on) 2) import Java sources and resources 3) change output folder to project/bin ->all class files are removed (fine) 4) change output folder back to be the project -> all class files are removed (fine) 5) open project/bin -> all resources are still there Note: When opening the properti... | verified fixed | bf1a15f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-27T18:25:28Z | 2002-05-24T14:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | IClasspathEntry curr= classpathEntries[i];
IPath path= curr.getPath();
IResource res= null;
boolean isMissing= false;
switch (curr.getEntryKind()) {
case IClasspathEntry.CPE_CONTAINER:
res= null;
try {
isMissing= (JavaCore.getClasspathContainer(path, fCurrJProject) == nul... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.