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
13,507
Bug 13507 LinkedPositionUI has a reference to SWT.COLOR_RED
LinkedPositionUI(ITextViewer, LinkedPositionManager) - org.eclipse.jdt.internal.ui.text.link.LinkedPositionUI has a reference to SWT.COLOR_RED which will be unreadble if the user sets their background colour to Red. We will be adding a getErrorText colour to JFaceColours in build >20020411. You may want to use that.
resolved fixed
0ceae1a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T12:28:28Z
2002-04-11T13:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/link/LinkedPositionUI.java
leave(UNINSTALL | COMMIT); } /* * @see PaintListener#paintControl(PaintEvent) */ public void paintControl(PaintEvent event) { if (fFramePosition == null) return; IRegion region= fViewer.getVisibleRegion(); if (!includes(region, fFramePosition)) { leave(UNINSTALL | COMMIT | DOCUMENT_CHANGED); ...
13,507
Bug 13507 LinkedPositionUI has a reference to SWT.COLOR_RED
LinkedPositionUI(ITextViewer, LinkedPositionManager) - org.eclipse.jdt.internal.ui.text.link.LinkedPositionUI has a reference to SWT.COLOR_RED which will be unreadble if the user sets their background colour to Red. We will be adding a getErrorText colour to JFaceColours in build >20020411. You may want to use that.
resolved fixed
0ceae1a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T12:28:28Z
2002-04-11T13:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/link/LinkedPositionUI.java
gc.drawLine(x1, y, x2, y); } private static Point getMinimumLocation(StyledText text, int offset, int length) { Point minLocation= new Point(Integer.MAX_VALUE, Integer.MAX_VALUE); for (int i= 0; i <= length; i++) { Point location= text.getLocationAtOffset(offset + i); if (location.x < minLocation.x) ...
13,507
Bug 13507 LinkedPositionUI has a reference to SWT.COLOR_RED
LinkedPositionUI(ITextViewer, LinkedPositionManager) - org.eclipse.jdt.internal.ui.text.link.LinkedPositionUI has a reference to SWT.COLOR_RED which will be unreadble if the user sets their background colour to Red. We will be adding a getErrorText colour to JFaceColours in build >20020411. You may want to use that.
resolved fixed
0ceae1a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T12:28:28Z
2002-04-11T13:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/link/LinkedPositionUI.java
if (!includes(region, fFramePosition)) { leave(UNINSTALL | COMMIT | DOCUMENT_CHANGED); return; } int offset= fFramePosition.getOffset() - region.getOffset(); int length= fFramePosition.getLength(); fViewer.getTextWidget().redrawRange(offset, length, true); } private void selectRegion() { IReg...
13,507
Bug 13507 LinkedPositionUI has a reference to SWT.COLOR_RED
LinkedPositionUI(ITextViewer, LinkedPositionManager) - org.eclipse.jdt.internal.ui.text.link.LinkedPositionUI has a reference to SWT.COLOR_RED which will be unreadble if the user sets their background colour to Red. We will be adding a getErrorText colour to JFaceColours in build >20020411. You may want to use that.
resolved fixed
0ceae1a
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T12:28:28Z
2002-04-11T13:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/link/LinkedPositionUI.java
/* * @see ModifyListener#modifyText(ModifyEvent) */ public void modifyText(ModifyEvent e) { redrawRegion(); updateCaret(); } private static void openErrorDialog(Shell shell, Exception e) { MessageDialog.openError(shell, LinkedPositionMessages.getString("LinkedPositionUI.error.title"), e.getMessage());...
12,585
Bug 12585 Packages view should not provide file and resource transfer if Java element below CU is selected
null
resolved fixed
ef87943
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T15:03:24Z
2002-04-02T09:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dnd/DelegatingDragAdapter.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.dnd; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.eclipse.swt.dnd.DragSource; import org.eclipse.swt.dnd.DragSourceEvent; import org.eclipse.swt.dnd.DragSourceListener; i...
12,585
Bug 12585 Packages view should not provide file and resource transfer if Java element below CU is selected
null
resolved fixed
ef87943
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T15:03:24Z
2002-04-02T09:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dnd/DelegatingDragAdapter.java
private TransferDragSourceListener[] fPossibleListeners; private List fActiveListeners; private TransferDragSourceListener fFinishListener; public DelegatingDragAdapter(TransferDragSourceListener[] listeners) { Assert.isNotNull(listeners); fPossibleListeners= listeners; } /* non Java-doc * @see DragSourc...
12,585
Bug 12585 Packages view should not provide file and resource transfer if Java element below CU is selected
null
resolved fixed
ef87943
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T15:03:24Z
2002-04-02T09:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dnd/DelegatingDragAdapter.java
fFinishListener= null; boolean saveDoit= event.doit; Object saveData= event.data; boolean doIt= false; List transfers= new ArrayList(fPossibleListeners.length); fActiveListeners= new ArrayList(fPossibleListeners.length); for (int i= 0; i < fPossibleListeners.length; i++) { TransferDragSourceListener l...
12,585
Bug 12585 Packages view should not provide file and resource transfer if Java element below CU is selected
null
resolved fixed
ef87943
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T15:03:24Z
2002-04-02T09:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dnd/DelegatingDragAdapter.java
} /* non Java-doc * @see DragSourceListener */ public void dragFinished(DragSourceEvent event) { if (fFinishListener != null) { fFinishListener.dragFinished(event); } else { fFinishListener= getListener(event.dataType); if (fFinishListener != null) fFinishListener.dragFinished(event); ...
12,585
Bug 12585 Packages view should not provide file and resource transfer if Java element below CU is selected
null
resolved fixed
ef87943
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T15:03:24Z
2002-04-02T09:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
/******************************************************************************* * Copyright (c) 2000, 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 accompanie...
12,585
Bug 12585 Packages view should not provide file and resource transfer if Java element below CU is selected
null
resolved fixed
ef87943
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T15:03:24Z
2002-04-02T09:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
import org.eclipse.swt.events.KeyEvent; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Control; import org.eclipse.swt.widgets.Menu; import org.eclipse.swt.widgets.ScrollBar; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.Tree; import org.eclipse.jface.action.IMenuListene...
12,585
Bug 12585 Packages view should not provide file and resource transfer if Java element below CU is selected
null
resolved fixed
ef87943
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T15:03:24Z
2002-04-02T09:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
import org.eclipse.core.resources.IWorkspace; import org.eclipse.core.runtime.IPath; import org.eclipse.ui.IActionBars; import org.eclipse.ui.IEditorInput; import org.eclipse.ui.IEditorPart; import org.eclipse.ui.IFileEditorInput; import org.eclipse.ui.IMemento; import org.eclipse.ui.IPartListener; import org.eclipse.u...
12,585
Bug 12585 Packages view should not provide file and resource transfer if Java element below CU is selected
null
resolved fixed
ef87943
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T15:03:24Z
2002-04-02T09:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
import org.eclipse.jdt.internal.corext.util.JavaModelUtil; import org.eclipse.jdt.internal.ui.IJavaHelpContextIds; import org.eclipse.jdt.internal.ui.JavaPlugin; import org.eclipse.jdt.internal.ui.dnd.DelegatingDragAdapter; import org.eclipse.jdt.internal.ui.dnd.DelegatingDropAdapter; import org.eclipse.jdt.internal.ui...
12,585
Bug 12585 Packages view should not provide file and resource transfer if Java element below CU is selected
null
resolved fixed
ef87943
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T15:03:24Z
2002-04-02T09:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
public final static String VIEW_ID= JavaUI.ID_PACKAGES; static final String TAG_SELECTION= "selection"; static final String TAG_EXPANDED= "expanded"; static final String TAG_ELEMENT= "element"; static final String TAG_PATH= "path"; static final String TAG_VERTICAL_POSITION= "verticalPosition"; static ...
12,585
Bug 12585 Packages view should not provide file and resource transfer if Java element below CU is selected
null
resolved fixed
ef87943
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T15:03:24Z
2002-04-02T09:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
private Menu fContextMenu; private IMemento fMemento; private ISelectionChangedListener fSelectionListener; private IPartListener fPartListener= new IPartListener() { public void partActivated(IWorkbenchPart part) { if (part instanceof IEditorPart) editorActivated((IEditorPart) part); } public ...
12,585
Bug 12585 Packages view should not provide file and resource transfer if Java element below CU is selected
null
resolved fixed
ef87943
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T15:03:24Z
2002-04-02T09:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
} }; public PackageExplorerPart() { } /* (non-Javadoc) * Method declared on IViewPart. */ public void init(IViewSite site, IMemento memento) throws PartInitException { super.init(site, memento); fMemento= memento; } /** * Initializes the default preferences */ public static void initDefaults(I...
12,585
Bug 12585 Packages view should not provide file and resource transfer if Java element below CU is selected
null
resolved fixed
ef87943
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T15:03:24Z
2002-04-02T09:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
/** * Makes the package explorer part visible in the active perspective. If there * isn't a package explorer part registered <code>null</code> is returned. * Otherwise the opened view part is returned. */ public static PackageExplorerPart openInActivePerspective() { try { return (PackageExplorerPart)JavaP...
12,585
Bug 12585 Packages view should not provide file and resource transfer if Java element below CU is selected
null
resolved fixed
ef87943
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T15:03:24Z
2002-04-02T09:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
boolean showCUChildren= JavaBasePreferencePage.showCompilationUnitChildren(); fViewer.setContentProvider(new JavaElementContentProvider(showCUChildren, false)); JavaPlugin.getDefault().getProblemMarkerManager().addListener(fViewer); JavaPlugin.getDefault().getPreferenceStore().addPropertyChangeListener(this)...
12,585
Bug 12585 Packages view should not provide file and resource transfer if Java element below CU is selected
null
resolved fixed
ef87943
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T15:03:24Z
2002-04-02T09:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
MenuManager menuMgr= new MenuManager("#PopupMenu"); menuMgr.setRemoveAllWhenShown(true); menuMgr.addMenuListener(this); fContextMenu= menuMgr.createContextMenu(fViewer.getTree()); fViewer.getTree().setMenu(fContextMenu); IWorkbenchPartSite site= getSite(); site.registerContextMenu(menuMgr, fViewer); ...
12,585
Bug 12585 Packages view should not provide file and resource transfer if Java element below CU is selected
null
resolved fixed
ef87943
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T15:03:24Z
2002-04-02T09:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
handleSelectionChanged(event); } }; fViewer.addSelectionChangedListener(fSelectionListener); fViewer.addDoubleClickListener(new IDoubleClickListener() { public void doubleClick(DoubleClickEvent event) { handleDoubleClick(event); } }); IStatusLineManager slManager= getViewSite().getActionBars()...
12,585
Bug 12585 Packages view should not provide file and resource transfer if Java element below CU is selected
null
resolved fixed
ef87943
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T15:03:24Z
2002-04-02T09:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
return JavaCore.create(((IWorkspace)input).getRoot()); } else if (input instanceof IContainer) { return JavaCore.create((IContainer)input); } return JavaCore.create(JavaPlugin.getWorkspace().getRoot()); } /** * Answer the property defined by key. */ public Object getAdapter(Class key) { if...
12,585
Bug 12585 Packages view should not provide file and resource transfer if Java element below CU is selected
null
resolved fixed
ef87943
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T15:03:24Z
2002-04-02T09:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
result= path.makeRelative().toString(); } } IWorkingSet ws= fWorkingSetFilter.getWorkingSet(); if (ws == null) return result; String wsstr= PackagesMessages.getFormattedString("PackageExplorer.toolTip", new String[] { ws.getName() }); if (result.length() == 0) return wsstr; return PackagesMessa...
12,585
Bug 12585 Packages view should not provide file and resource transfer if Java element below CU is selected
null
resolved fixed
ef87943
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T15:03:24Z
2002-04-02T09:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
return fViewer.getTree().getShell(); } /** * Returns the selection provider. */ private ISelectionProvider getSelectionProvider() { return fViewer; } /** * Returns the current selection. */ private ISelection getSelection() { return fViewer.getSelection(); } /** * Called when the context...
12,585
Bug 12585 Packages view should not provide file and resource transfer if Java element below CU is selected
null
resolved fixed
ef87943
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T15:03:24Z
2002-04-02T09:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
} private boolean isSelectionOfType(ISelection s, Class clazz, boolean considerUnderlyingResource) { if (! (s instanceof IStructuredSelection) || s.isEmpty()) return false; IStructuredSelection selection= (IStructuredSelection)s; Iterator iter= selection.iterator(); while (iter.hasNext()) { Object o...
12,585
Bug 12585 Packages view should not provide file and resource transfer if Java element below CU is selected
null
resolved fixed
ef87943
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T15:03:24Z
2002-04-02T09:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
lt, ResourceTransfer.getInstance(), FileTransfer.getInstance()}; TransferDropTargetListener[] dropListeners= new TransferDropTargetListener[] { new SelectionTransferDropAdapter(fViewer), new FileTransferDropAdapter(fViewer) }; fViewer.addDropSupport(ops, transfers, new DelegatingDropAdapter(dro...
12,585
Bug 12585 Packages view should not provide file and resource transfer if Java element below CU is selected
null
resolved fixed
ef87943
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T15:03:24Z
2002-04-02T09:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
* Handles selection changed in viewer. * Updates global actions. * Links to editor (if option enabled) */ private void handleSelectionChanged(SelectionChangedEvent event) { IStructuredSelection selection= (IStructuredSelection) event.getSelection(); fActionSet.handleSelectionChanged(event); linkToEditor(se...
12,585
Bug 12585 Packages view should not provide file and resource transfer if Java element below CU is selected
null
resolved fixed
ef87943
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T15:03:24Z
2002-04-02T09:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
return new StructuredSelection(converted.toArray()); } public void selectAndReveal(Object element) { selectReveal(new StructuredSelection(element)); } /** * Returns whether the preference to link selection to active editor is enabled. */ boolean isLinkingEnabled() { return JavaBasePreferencePage.linkPa...
12,585
Bug 12585 Packages view should not provide file and resource transfer if Java element below CU is selected
null
resolved fixed
ef87943
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T15:03:24Z
2002-04-02T09:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
else if (obj instanceof IFile) element= obj; if (element == null) return; IWorkbenchPage page= getSite().getPage(); IEditorPart editorArray[]= page.getEditors(); for (int i= 0; i < editorArray.length; ++i) { IEditorPart editor= editorArray[i]; Object input= getElementOfInput(editor.getE...
12,585
Bug 12585 Packages view should not provide file and resource transfer if Java element below CU is selected
null
resolved fixed
ef87943
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T15:03:24Z
2002-04-02T09:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
return null; } } if (!(element instanceof IResource) || ((IResource)element).isPhantom()) { return null; } return (IResource)element; } public void saveState(IMemento memento) { if (fViewer == null) { if (fMemento != null) memento.putMemento(fMemento); return; } saveExpansionState...
12,585
Bug 12585 Packages view should not provide file and resource transfer if Java element below CU is selected
null
resolved fixed
ef87943
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T15:03:24Z
2002-04-02T09:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
protected void savePatternFilterState(IMemento memento) { String filters[] = getPatternFilter().getPatterns(); if(filters.length > 0) { IMemento filtersMem = memento.createChild(TAG_FILTERS); for (int i = 0; i < filters.length; i++){ IMemento child = filtersMem.createChild(TAG_FILTER); child.putString...
12,585
Bug 12585 Packages view should not provide file and resource transfer if Java element below CU is selected
null
resolved fixed
ef87943
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T15:03:24Z
2002-04-02T09:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
} } protected void saveExpansionState(IMemento memento) { Object expandedElements[]= fViewer.getExpandedElements(); if (expandedElements.length > 0) { IMemento expandedMem= memento.createChild(TAG_EXPANDED); for (int i= 0; i < expandedElements.length; i++) { IMemento elementMem= expandedMem.createChild(...
12,585
Bug 12585 Packages view should not provide file and resource transfer if Java element below CU is selected
null
resolved fixed
ef87943
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T15:03:24Z
2002-04-02T09:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
} } bar= tree.getHorizontalBar(); if (bar != null) { try { String posStr= memento.getString(TAG_HORIZONTAL_POSITION); int position; position= new Integer(posStr).intValue(); bar.setSelection(position); } catch (NumberFormatException e) { } } } protected void restoreSelectionState...
12,585
Bug 12585 Packages view should not provide file and resource transfer if Java element below CU is selected
null
resolved fixed
ef87943
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T15:03:24Z
2002-04-02T09:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
if (childMem != null) { ArrayList elements= new ArrayList(); IMemento[] elementMem= childMem.getChildren(TAG_ELEMENT); for (int i= 0; i < elementMem.length; i++) { Object element= JavaCore.create(elementMem[i].getString(TAG_PATH)); elements.add(element); } fViewer.setExpandedElements(elements.toA...
12,585
Bug 12585 Packages view should not provide file and resource transfer if Java element below CU is selected
null
resolved fixed
ef87943
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T15:03:24Z
2002-04-02T09:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
if (input instanceof IFile) element= JavaCore.create((IFile)input); if (element == null) element= input; if (element != null) { IStructuredSelection oldSelection= (IStructuredSelection)getSelection(); if (oldSelection.size() == 1) { Object o= oldSelection.getFirstElement(); if ...
12,585
Bug 12585 Packages view should not provide file and resource transfer if Java element below CU is selected
null
resolved fixed
ef87943
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T15:03:24Z
2002-04-02T09:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
} } /** * A compilation unit or class was expanded, expand * the main type. */ void expandMainType(Object element) { try { IType type= null; if (element instanceof ICompilationUnit) { ICompilationUnit cu= (ICompilationUnit)element; IType[] types= cu.getTypes(); if (types.length > 0) ...
12,585
Bug 12585 Packages view should not provide file and resource transfer if Java element below CU is selected
null
resolved fixed
ef87943
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T15:03:24Z
2002-04-02T09:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
}); } } } catch(JavaModelException e) { } } /** * Returns the element contained in the EditorInput */ Object getElementOfInput(IEditorInput input) { if (input instanceof IClassFileEditorInput) return ((IClassFileEditorInput)input).getClassFile(); else if (input instanceof IFileEditorInpu...
12,585
Bug 12585 Packages view should not provide file and resource transfer if Java element below CU is selected
null
resolved fixed
ef87943
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T15:03:24Z
2002-04-02T09:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
* @return the pattern filter */ JavaElementPatternFilter getPatternFilter() { return fPatternFilter; } /** * Returns the library filter for this view. * @return the library filter */ LibraryFilter getLibraryFilter() { return fLibraryFilter; } void restoreFilters() { IMemento filtersMem= fMemen...
12,585
Bug 12585 Packages view should not provide file and resource transfer if Java element below CU is selected
null
resolved fixed
ef87943
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T15:03:24Z
2002-04-02T09:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
initLibraryFilterFromPreferences(); } void initFilterFromPreferences() { initLibraryFilterFromPreferences(); } void initLibraryFilterFromPreferences() { JavaPlugin plugin= JavaPlugin.getDefault(); boolean show= plugin.getPreferenceStore().getBoolean(TAG_SHOWLIBRARIES); getLibraryFilter().setShowLibrarie...
12,585
Bug 12585 Packages view should not provide file and resource transfer if Java element below CU is selected
null
resolved fixed
ef87943
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T15:03:24Z
2002-04-02T09:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
String inputText= JavaElementLabels.getTextLabel(input, StandardJavaUILabelProvider.DEFAULT_TEXTFLAGS); String title= PackagesMessages.getFormattedString("PackageExplorer.argTitle", new String[] { viewName, inputText }); setTitle(title); setTitleToolTip(getToolTipText(input)); } } /** * Sets the deco...
12,585
Bug 12585 Packages view should not provide file and resource transfer if Java element below CU is selected
null
resolved fixed
ef87943
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T15:03:24Z
2002-04-02T09:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
IActionBars actionBars= getViewSite().getActionBars(); fActionSet.fillToolBar(actionBars.getToolBarManager()); actionBars.updateActionBars(); boolean showCUChildren= JavaBasePreferencePage.showCompilationUnitChildren(); ((JavaElementContentProvider)fViewer.getContentProvider()).setProvideMembers(showCUC...
12,585
Bug 12585 Packages view should not provide file and resource transfer if Java element below CU is selected
null
resolved fixed
ef87943
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-17T15:03:24Z
2002-04-02T09:33:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
}); return propertyChangeListener; } private IPropertyChangeListener createWorkingSetChangeListener() { return new IPropertyChangeListener() { public void propertyChange(PropertyChangeEvent event) { String property= event.getProperty(); if (IWorkbenchPage.CHANGE_WORKING_SET_REPLACE.equals(property...
14,083
Bug 14083 Error exiting Window->Preferences Dialog
Just Installed the new Milestone 5 version of Eclipse and wanted to change some Preferences (I changed Java->Code Formatter->Line Splitting->Maximum line length to 100) and when I click on the OK button the following error occurs: "Problems while setting classpath variable. See log for details. Assertion failed; Variab...
resolved fixed
ca84d62
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-18T12:44:26Z
2002-04-18T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/CPVariableElement.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.wizards.buildpaths; import org.eclipse.core.runtime.IPath; public class CPVariableElement { private String fName; private IPath fPath; private boolean fIsReserved; public CPVariableElement(String name, IPath ...
14,083
Bug 14083 Error exiting Window->Preferences Dialog
Just Installed the new Milestone 5 version of Eclipse and wanted to change some Preferences (I changed Java->Code Formatter->Line Splitting->Maximum line length to 100) and when I click on the OK button the following error occurs: "Problems while setting classpath variable. See log for details. Assertion failed; Variab...
resolved fixed
ca84d62
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-18T12:44:26Z
2002-04-18T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/CPVariableElement.java
* @return Returns a IPath */ public IPath getPath() { return fPath; } /** * Sets the path * @param path The path to set */ public void setPath(IPath path) { fPath= path; } /** * Gets the name * @return Returns a String */ public String getName() { return fName; } /** * Sets the name * @...
14,083
Bug 14083 Error exiting Window->Preferences Dialog
Just Installed the new Milestone 5 version of Eclipse and wanted to change some Preferences (I changed Java->Code Formatter->Line Splitting->Maximum line length to 100) and when I click on the OK button the following error occurs: "Problems while setting classpath variable. See log for details. Assertion failed; Variab...
resolved fixed
ca84d62
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-18T12:44:26Z
2002-04-18T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/CPVariableElement.java
public boolean equals(Object other) { if (other.getClass().equals(getClass())) { CPVariableElement elem= (CPVariableElement)other; return fName.equals(elem.fName); } return false; } /* * @see Object#hashCode() */ public int hashCode() { return fName.hashCode(); } /** * Returns true if vari...
14,083
Bug 14083 Error exiting Window->Preferences Dialog
Just Installed the new Milestone 5 version of Eclipse and wanted to change some Preferences (I changed Java->Code Formatter->Line Splitting->Maximum line length to 100) and when I click on the OK button the following error occurs: "Problems while setting classpath variable. See log for details. Assertion failed; Variab...
resolved fixed
ca84d62
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-18T12:44:26Z
2002-04-18T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableBlock.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.wizards.buildpaths; import java.lang.reflect.InvocationTargetException; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.List; import org.eclipse.core.runtime.IPath...
14,083
Bug 14083 Error exiting Window->Preferences Dialog
Just Installed the new Milestone 5 version of Eclipse and wanted to change some Preferences (I changed Java->Code Formatter->Line Splitting->Maximum line length to 100) and when I click on the OK button the following error occurs: "Problems while setting classpath variable. See log for details. Assertion failed; Variab...
resolved fixed
ca84d62
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-18T12:44:26Z
2002-04-18T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableBlock.java
import org.eclipse.jface.viewers.ISelectionChangedListener; import org.eclipse.jface.viewers.StructuredSelection; import org.eclipse.jface.viewers.Viewer; import org.eclipse.jface.viewers.ViewerSorter; import org.eclipse.jdt.core.JavaCore; import org.eclipse.jdt.core.JavaModelException; import org.eclipse.jdt.launching...
14,083
Bug 14083 Error exiting Window->Preferences Dialog
Just Installed the new Milestone 5 version of Eclipse and wanted to change some Preferences (I changed Java->Code Formatter->Line Splitting->Maximum line length to 100) and when I click on the OK button the following error occurs: "Problems while setting classpath variable. See log for details. Assertion failed; Variab...
resolved fixed
ca84d62
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-18T12:44:26Z
2002-04-18T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableBlock.java
NewWizardMessages.getString("VariableBlock.vars.remove.button") }; VariablesAdapter adapter= new VariablesAdapter(); CPVariableElementLabelProvider labelProvider= new CPVariableElementLabelProvider(!inPreferencePage); fVariablesList= new ListDialogField(adapter, buttonLabels, labelProvider); fVari...
14,083
Bug 14083 Error exiting Window->Preferences Dialog
Just Installed the new Milestone 5 version of Eclipse and wanted to change some Preferences (I changed Java->Code Formatter->Line Splitting->Maximum line length to 100) and when I click on the OK button the following error occurs: "Problems while setting classpath variable. See log for details. Assertion failed; Variab...
resolved fixed
ca84d62
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-18T12:44:26Z
2002-04-18T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableBlock.java
String[] entries= JavaCore.getClasspathVariableNames(); ArrayList elements= new ArrayList(entries.length); for (int i= 0; i < entries.length; i++) { String name= entries[i]; CPVariableElement elem; IPath entryPath= JavaCore.getClasspathVariable(name); elem= new CPVariableElement(name, entryPath, reserve...
14,083
Bug 14083 Error exiting Window->Preferences Dialog
Just Installed the new Milestone 5 version of Eclipse and wanted to change some Preferences (I changed Java->Code Formatter->Line Splitting->Maximum line length to 100) and when I click on the OK button the following error occurs: "Problems while setting classpath variable. See log for details. Assertion failed; Variab...
resolved fixed
ca84d62
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-18T12:44:26Z
2002-04-18T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableBlock.java
} public Control createContents(Composite parent) { PixelConverter converter= new PixelConverter(parent); Composite composite= new Composite(parent, SWT.NONE); LayoutUtil.doDefaultLayout(composite, new DialogField[] { fVariablesList }, true, 0, 0); LayoutUtil.setHorizontalGrabbing(fVariablesList.getListCo...
14,083
Bug 14083 Error exiting Window->Preferences Dialog
Just Installed the new Milestone 5 version of Eclipse and wanted to change some Preferences (I changed Java->Code Formatter->Line Splitting->Maximum line length to 100) and when I click on the OK button the following error occurs: "Problems while setting classpath variable. See log for details. Assertion failed; Variab...
resolved fixed
ca84d62
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-18T12:44:26Z
2002-04-18T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableBlock.java
public void customButtonPressed(DialogField field, int index) { switch (index) { case 0: editEntries(null); break; case 1: List selected= fVariablesList.getSelectedElements(); editEntries((CPVariableElement)selected.get(0)); break; } } public void selectionChanged(DialogField...
14,083
Bug 14083 Error exiting Window->Preferences Dialog
Just Installed the new Milestone 5 version of Eclipse and wanted to change some Preferences (I changed Java->Code Formatter->Line Splitting->Maximum line length to 100) and when I click on the OK button the following error occurs: "Problems while setting classpath variable. See log for details. Assertion failed; Variab...
resolved fixed
ca84d62
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-18T12:44:26Z
2002-04-18T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableBlock.java
return true; } } return false; } private static void addAll(Object[] objs, Collection dest) { for (int i= 0; i < objs.length; i++) { dest.add(objs[i]); } } private void doSelectionChanged(DialogField field) { List selected= fVariablesList.getSelectedElements(); boolean isSingleSelected= selected...
14,083
Bug 14083 Error exiting Window->Preferences Dialog
Just Installed the new Milestone 5 version of Eclipse and wanted to change some Preferences (I changed Java->Code Formatter->Line Splitting->Maximum line length to 100) and when I click on the OK button the following error occurs: "Problems while setting classpath variable. See log for details. Assertion failed; Variab...
resolved fixed
ca84d62
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-18T12:44:26Z
2002-04-18T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableBlock.java
fVariablesList.addElement(newEntry); entry= newEntry; } else { entry.setName(newEntry.getName()); entry.setPath(newEntry.getPath()); fVariablesList.refresh(); } fVariablesList.selectElements(new StructuredSelection(entry)); } public List getSelectedElements() { return fVariablesList.getSelectedE...
14,083
Bug 14083 Error exiting Window->Preferences Dialog
Just Installed the new Milestone 5 version of Eclipse and wanted to change some Preferences (I changed Java->Code Formatter->Line Splitting->Maximum line length to 100) and when I click on the OK button the following error occurs: "Problems while setting classpath variable. See log for details. Assertion failed; Variab...
resolved fixed
ca84d62
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-18T12:44:26Z
2002-04-18T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableBlock.java
CPVariableElement curr= (CPVariableElement) elements.get(i); if (curr.isReserved()) { elements.remove(curr); } else { IPath path= curr.getPath(); IPath prevPath= JavaCore.getClasspathVariable(curr.getName()); if (prevPath != null && prevPath.equals(path)) { elements.remove(curr); } } ...
14,083
Bug 14083 Error exiting Window->Preferences Dialog
Just Installed the new Milestone 5 version of Eclipse and wanted to change some Preferences (I changed Java->Code Formatter->Line Splitting->Maximum line length to 100) and when I click on the OK button the following error occurs: "Problems while setting classpath variable. See log for details. Assertion failed; Variab...
resolved fixed
ca84d62
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-18T12:44:26Z
2002-04-18T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableBlock.java
private List fToRemove; private List fToChange; public VariableBlockRunnable(List toRemove, List toChange) { fToRemove= toRemove; fToChange= toChange; } /*
14,083
Bug 14083 Error exiting Window->Preferences Dialog
Just Installed the new Milestone 5 version of Eclipse and wanted to change some Preferences (I changed Java->Code Formatter->Line Splitting->Maximum line length to 100) and when I click on the OK button the following error occurs: "Problems while setting classpath variable. See log for details. Assertion failed; Variab...
resolved fixed
ca84d62
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-18T12:44:26Z
2002-04-18T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableBlock.java
* @see IRunnableWithProgress#run(IProgressMonitor) */ public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException { int steps= fToChange.size() + fToRemove.size(); monitor.beginTask(NewWizardMessages.getString("VariableBlock.operation_desc"), steps); try { for (in...
14,083
Bug 14083 Error exiting Window->Preferences Dialog
Just Installed the new Milestone 5 version of Eclipse and wanted to change some Preferences (I changed Java->Code Formatter->Line Splitting->Maximum line length to 100) and when I click on the OK button the following error occurs: "Problems while setting classpath variable. See log for details. Assertion failed; Variab...
resolved fixed
ca84d62
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-18T12:44:26Z
2002-04-18T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableCreationDialog.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.wizards.buildpaths; import java.io.File;
14,083
Bug 14083 Error exiting Window->Preferences Dialog
Just Installed the new Milestone 5 version of Eclipse and wanted to change some Preferences (I changed Java->Code Formatter->Line Splitting->Maximum line length to 100) and when I click on the OK button the following error occurs: "Problems while setting classpath variable. See log for details. Assertion failed; Variab...
resolved fixed
ca84d62
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-18T12:44:26Z
2002-04-18T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableCreationDialog.java
import java.util.List; import org.eclipse.core.runtime.IPath; import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Path; import org.eclipse.swt.SWT; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Control; import org.eclipse.swt.widgets.DirectoryDialog; import org.eclipse.sw...
14,083
Bug 14083 Error exiting Window->Preferences Dialog
Just Installed the new Milestone 5 version of Eclipse and wanted to change some Preferences (I changed Java->Code Formatter->Line Splitting->Maximum line length to 100) and when I click on the OK button the following error occurs: "Problems while setting classpath variable. See log for details. Assertion failed; Variab...
resolved fixed
ca84d62
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-18T12:44:26Z
2002-04-18T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableCreationDialog.java
private IDialogSettings fDialogSettings; private StringDialogField fNameField; private StatusInfo fNameStatus; private StringButtonDialogField fPathField; private StatusInfo fPathStatus; private SelectionButtonDialogField fDirButton; private CPVariableElement fElement; private List fExistingNames; ...
14,083
Bug 14083 Error exiting Window->Preferences Dialog
Just Installed the new Milestone 5 version of Eclipse and wanted to change some Preferences (I changed Java->Code Formatter->Line Splitting->Maximum line length to 100) and when I click on the OK button the following error occurs: "Problems while setting classpath variable. See log for details. Assertion failed; Variab...
resolved fixed
ca84d62
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-18T12:44:26Z
2002-04-18T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableCreationDialog.java
fNameStatus= new StatusInfo(); fPathStatus= new StatusInfo(); NewVariableAdapter adapter= new NewVariableAdapter(); fNameField= new StringDialogField(); fNameField.setDialogFieldListener(adapter); fNameField.setLabelText(NewWizardMessages.getString("VariableCreationDialog.name.label")); fPathField= new ...
14,083
Bug 14083 Error exiting Window->Preferences Dialog
Just Installed the new Milestone 5 version of Eclipse and wanted to change some Preferences (I changed Java->Code Formatter->Line Splitting->Maximum line length to 100) and when I click on the OK button the following error occurs: "Problems while setting classpath variable. See log for details. Assertion failed; Variab...
resolved fixed
ca84d62
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-18T12:44:26Z
2002-04-18T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableCreationDialog.java
* @see Windows#configureShell */ protected void configureShell(Shell newShell) { super.configureShell(newShell); WorkbenchHelp.setHelp(newShell, IJavaHelpContextIds.VARIABLE_CREATION_DIALOG); } public CPVariableElement getClasspathElement() { return new CPVariableElement(fNameField.getText(), new Path(fPat...
14,083
Bug 14083 Error exiting Window->Preferences Dialog
Just Installed the new Milestone 5 version of Eclipse and wanted to change some Preferences (I changed Java->Code Formatter->Line Splitting->Maximum line length to 100) and when I click on the OK button the following error occurs: "Problems while setting classpath variable. See log for details. Assertion failed; Variab...
resolved fixed
ca84d62
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-18T12:44:26Z
2002-04-18T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableCreationDialog.java
DialogField.createEmptySpace(inner, 1); fPathField.doFillIntoGrid(inner, 3); LayoutUtil.setWidthHint(fPathField.getTextControl(null), fieldWidthHint); DialogField.createEmptySpace(inner, 2); fDirButton.doFillIntoGrid(inner, 1); DialogField focusField= (fElement == null) ? fNameField : fPathField; f...
14,083
Bug 14083 Error exiting Window->Preferences Dialog
Just Installed the new Milestone 5 version of Eclipse and wanted to change some Preferences (I changed Java->Code Formatter->Line Splitting->Maximum line length to 100) and when I click on the OK button the following error occurs: "Problems while setting classpath variable. See log for details. Assertion failed; Variab...
resolved fixed
ca84d62
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-18T12:44:26Z
2002-04-18T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableCreationDialog.java
IPath path= chooseExtJarFile(); if (path != null) { fPathField.setText(path.toString()); } } } private void doFieldUpdated(DialogField field) { if (field == fNameField) { fNameStatus= nameUpdated(); } else if (field == fPathField) { fPathStatus= pathUpdated(); } else if (field == fDirButton...
14,083
Bug 14083 Error exiting Window->Preferences Dialog
Just Installed the new Milestone 5 version of Eclipse and wanted to change some Preferences (I changed Java->Code Formatter->Line Splitting->Maximum line length to 100) and when I click on the OK button the following error occurs: "Problems while setting classpath variable. See log for details. Assertion failed; Variab...
resolved fixed
ca84d62
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-18T12:44:26Z
2002-04-18T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableCreationDialog.java
status.setError(NewWizardMessages.getFormattedString("VariableCreationDialog.error.invalidname", val.getMessage())); } else if (nameConflict(name)) { status.setError(NewWizardMessages.getString("VariableCreationDialog.error.nameexists")); } return status; } private boolean nameConflict(String name) { i...
14,083
Bug 14083 Error exiting Window->Preferences Dialog
Just Installed the new Milestone 5 version of Eclipse and wanted to change some Preferences (I changed Java->Code Formatter->Line Splitting->Maximum line length to 100) and when I click on the OK button the following error occurs: "Problems while setting classpath variable. See log for details. Assertion failed; Variab...
resolved fixed
ca84d62
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-18T12:44:26Z
2002-04-18T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableCreationDialog.java
} } return status; } private String getInitPath() { String initPath= fPathField.getText(); if (initPath.length() == 0) { initPath= fDialogSettings.get(IUIConstants.DIALOGSTORE_LASTEXTJAR); if (initPath == null) { initPath= ""; } } else { IPath entryPath= new Path(initPath); if (Arc...
14,083
Bug 14083 Error exiting Window->Preferences Dialog
Just Installed the new Milestone 5 version of Eclipse and wanted to change some Preferences (I changed Java->Code Formatter->Line Splitting->Maximum line length to 100) and when I click on the OK button the following error occurs: "Problems while setting classpath variable. See log for details. Assertion failed; Variab...
resolved fixed
ca84d62
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-18T12:44:26Z
2002-04-18T08:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableCreationDialog.java
FileDialog dialog= new FileDialog(getShell()); dialog.setText(NewWizardMessages.getString("VariableCreationDialog.extjardialog.text")); dialog.setFilterExtensions(new String[] {"*.jar;*.zip"}); dialog.setFilterPath(initPath); String res= dialog.open(); if (res != null) { fDialogSettings.put(IUIConstants....
10,022
Bug 10022 Incorrect "Build" popup action enablement
If "Build" action in the context sensitive popup menu in the Java perspective is always enabled. Even if the user goes to Preferences -> Workbench and selects "Perform build automatically on resource modification" the build menu option still appears in the Java popup menus. I believe this is incorrect. No need for a ma...
resolved fixed
72d2138
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-18T12:51:03Z
2002-02-20T15:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/BuildActionGroup.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...
10,022
Bug 10022 Incorrect "Build" popup action enablement
If "Build" action in the context sensitive popup menu in the Java perspective is always enabled. Even if the user goes to Preferences -> Workbench and selects "Perform build automatically on resource modification" the build menu option still appears in the Java popup menus. I believe this is incorrect. No need for a ma...
resolved fixed
72d2138
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-18T12:51:03Z
2002-02-20T15:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/BuildActionGroup.java
* Contributors: * IBM Corporation - initial API and implementation ******************************************************************************/ package org.eclipse.jdt.ui.actions; import org.eclipse.swt.widgets.Shell; import org.eclipse.jface.action.IAction; import org.eclipse.jface.action.IMenuManager; import...
10,022
Bug 10022 Incorrect "Build" popup action enablement
If "Build" action in the context sensitive popup menu in the Java perspective is always enabled. Even if the user goes to Preferences -> Workbench and selects "Perform build automatically on resource modification" the build menu option still appears in the Java popup menus. I believe this is incorrect. No need for a ma...
resolved fixed
72d2138
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-18T12:51:03Z
2002-02-20T15:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/BuildActionGroup.java
* * @param part the view part that owns this action group */ public BuildActionGroup(IViewPart part) { Shell shell= part.getSite().getShell(); ISelectionProvider provider= part.getSite().getSelectionProvider(); fBuildAction= new BuildAction(shell, IncrementalProjectBuilder.INCREMENTAL_BUILD); fBuil...
10,022
Bug 10022 Incorrect "Build" popup action enablement
If "Build" action in the context sensitive popup menu in the Java perspective is always enabled. Even if the user goes to Preferences -> Workbench and selects "Perform build automatically on resource modification" the build menu option still appears in the Java popup menus. I believe this is incorrect. No need for a ma...
resolved fixed
72d2138
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-18T12:51:03Z
2002-02-20T15:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/BuildActionGroup.java
} /* (non-Javadoc) * Method declared in ActionGroup */ public void fillActionBars(IActionBars actionBar) { super.fillActionBars(actionBar); setGlobalActionHandlers(actionBar); } /* (non-Javadoc) * Method declared in ActionGroup */ public void fillContextMenu(IMenuManager menu) { super.fillContextMe...
11,853
Bug 11853 extract method: incorrectly allowed on constructor invocation
tests 180 and 181 fail - disabled them for now just in case i'll put them here: public class A_test180 { public A_test180() { /*]*/this(10); foo();/*[*/ } public A_test180(int i) { super(); } public void foo() { } } public class A_test181 { public A_test181() { /*]*/super(); foo();/*[*/ } public void foo() { } }
resolved fixed
6cdf011
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-18T17:01:29Z
2002-03-20T16:00:00Z
org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/A.java
public class A{ public int value; boolean m(){ return a().length != 3; } int[] a(){ return null; } }
14,112
Bug 14112 Show in Navigator doesn't work for non-java resources
1) select logo.gif in JUnit 2) show in navigator -> action
resolved fixed
72e1faa
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-19T10:37:18Z
2002-04-18T14:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ShowInNavigatorViewAction.java
/******************************************************************************* * Copyright (c) 2000, 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 accompanie...
14,112
Bug 14112 Show in Navigator doesn't work for non-java resources
1) select logo.gif in JUnit 2) show in navigator -> action
resolved fixed
72e1faa
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-19T10:37:18Z
2002-04-18T14:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ShowInNavigatorViewAction.java
import org.eclipse.ui.IPageLayout; import org.eclipse.ui.IViewPart; import org.eclipse.ui.IWorkbenchPage; import org.eclipse.ui.IWorkbenchPart; import org.eclipse.ui.PartInitException; import org.eclipse.ui.part.ISetSelectionTarget; import org.eclipse.ui.views.navigator.ResourceNavigator; import org.eclipse.jdt.core.IC...
14,112
Bug 14112 Show in Navigator doesn't work for non-java resources
1) select logo.gif in JUnit 2) show in navigator -> action
resolved fixed
72e1faa
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-19T10:37:18Z
2002-04-18T14:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ShowInNavigatorViewAction.java
* @param site the site providing context information for this action */ public ShowInNavigatorViewAction(UnifiedSite site) { super(site); setText(ActionMessages.getString("ShowInNavigatorView.label")); } /** * Creates a new <code>ShowInNavigatorViewAction</code>. * <p> * Note: This constructor is for in...
14,112
Bug 14112 Show in Navigator doesn't work for non-java resources
1) select logo.gif in JUnit 2) show in navigator -> action
resolved fixed
72e1faa
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-19T10:37:18Z
2002-04-18T14:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ShowInNavigatorViewAction.java
JavaPlugin.log(e); setEnabled(false); } } /* (non-Javadoc) * Method declared on SelectionDispatchAction. */ protected void run(ITextSelection selection) { IJavaElement element= SelectionConverter.codeResolveOrInputHandled(fEditor, getShell(), getDialogTitle(), ActionMessages.getString("ShowInNavigator...
14,112
Bug 14112 Show in Navigator doesn't work for non-java resources
1) select logo.gif in JUnit 2) show in navigator -> action
resolved fixed
72e1faa
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-19T10:37:18Z
2002-04-18T14:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ShowInNavigatorViewAction.java
((ISetSelectionTarget)view).selectReveal(selection); } } catch(PartInitException e) { ExceptionHandler.handle(e, getShell(), getDialogTitle(), ActionMessages.getString("ShowInNavigatorView.error.activation_failed")); } catch(JavaModelException e) { ExceptionHandler.handle(e, getShell(), getDialogTitle(), ...
11,882
Bug 11882 structured selection: remembering history should stop on 'whole-cu-selected' case
credit goes to Erich for finding this one when you press alt+up many times you select the whole cu when you press it again a couple of times then it takes the same number of times to bring it down again with alt+down it should stop stacking ranges when the range covers the full cu
resolved fixed
9328a0f
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-19T12:29:36Z
2002-03-20T16:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/structureselection/StructureSelectionAction.java
package org.eclipse.jdt.internal.ui.javaeditor.structureselection; import java.util.Collection; import org.eclipse.jface.action.Action; import org.eclipse.jface.text.ITextSelection; import org.eclipse.jface.util.Assert; import org.eclipse.jdt.core.ICompilationUnit; import org.eclipse.jdt.core.ISourceRange; import org.e...
11,882
Bug 11882 structured selection: remembering history should stop on 'whole-cu-selected' case
credit goes to Erich for finding this one when you press alt+up many times you select the whole cu when you press it again a couple of times then it takes the same number of times to bring it down again with alt+down it should stop stacking ranges when the range covers the full cu
resolved fixed
9328a0f
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-19T12:29:36Z
2002-03-20T16:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/structureselection/StructureSelectionAction.java
public static final String NEXT= "SelectNextElement"; public static final String PREVIOUS= "SelectPreviousElement"; public static final String ENCLOSING= "SelectEnclosingElement"; public static final String HISTORY= "RestoreLastSelection"; private CompilationUnitEditor fEditor; private SelectionHistory fSelect...
11,882
Bug 11882 structured selection: remembering history should stop on 'whole-cu-selected' case
credit goes to Erich for finding this one when you press alt+up many times you select the whole cu when you press it again a couple of times then it takes the same number of times to bring it down again with alt+down it should stop stacking ranges when the range covers the full cu
resolved fixed
9328a0f
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-19T12:29:36Z
2002-03-20T16:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/structureselection/StructureSelectionAction.java
fSelectionHistory.ignoreSelectionChanges(); fEditor.selectAndReveal(newRange.getOffset(), newRange.getLength()); } finally { fSelectionHistory.listenToSelectionChanges(); } } public final ISourceRange getNewSelectionRange(ISourceRange oldSourceRange, ICompilationUnit cu){ try{ if (! cu.isStructureKno...
11,882
Bug 11882 structured selection: remembering history should stop on 'whole-cu-selected' case
credit goes to Erich for finding this one when you press alt+up many times you select the whole cu when you press it again a couple of times then it takes the same number of times to bring it down again with alt+down it should stop stacking ranges when the range covers the full cu
resolved fixed
9328a0f
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-19T12:29:36Z
2002-03-20T16:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/structureselection/StructureSelectionAction.java
} protected final ITextSelection getTextSelection() { return (ITextSelection)fEditor.getSelectionProvider().getSelection(); } protected static ISourceRange getLastCoveringNodeRange(ISourceRange oldSourceRange, ICompilationUnit cu, StructureSelectionAnalyzer selAnalyzer) throws JavaModelException { if (selAna...
11,882
Bug 11882 structured selection: remembering history should stop on 'whole-cu-selected' case
credit goes to Erich for finding this one when you press alt+up many times you select the whole cu when you press it again a couple of times then it takes the same number of times to bring it down again with alt+down it should stop stacking ranges when the range covers the full cu
resolved fixed
9328a0f
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-19T12:29:36Z
2002-03-20T16:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/structureselection/StructureSelectionAction.java
static ISourceRange createSourceRange(int offset, int end){ int length= end - offset + 1; if (length == 0) length= 1; return new SourceRange(Math.max(0, offset), length); } static ASTNode[] getChildNodes(ASTNode node){ if (node instanceof Block) return convertToNodeArray(((Block)node).statements()); ...
14,236
Bug 14236 Unable to log info messages during jar packaging
Using the 04/18 Integration build, I still can't get an info message into the status maintained by JarFileExportOperation. In my JarWriter implementation, the close() method is throwing a CoreException which contains a status whose severity is set to IStatus.INFO. However, note that JarFileExportOperation.addToStatus()...
resolved fixed
202c3f9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-19T16:07:06Z
2002-04-19T15:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/CreateJarActionDelegate.java
/* * (c) Copyright IBM Corp. 2000, 2002. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.jarpackager; import java.lang.reflect.InvocationTargetException; import java.util.ArrayList; import java.util.List; import org.eclipse.core.resources.IFile; import org.eclipse.core.runtime.CoreException; import org...
14,236
Bug 14236 Unable to log info messages during jar packaging
Using the 04/18 Integration build, I still can't get an info message into the status maintained by JarFileExportOperation. In my JarWriter implementation, the close() method is throwing a CoreException which contains a status whose severity is set to IStatus.INFO. However, note that JarFileExportOperation.addToStatus()...
resolved fixed
202c3f9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-19T16:07:06Z
2002-04-19T15:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/CreateJarActionDelegate.java
/* * @see IActionDelegate */ public void run(IAction action) { IFile[] descriptions= getDescriptionFiles(getSelection()); MultiStatus mergedStatus; int length= descriptions.length; if (length < 1) return; String message; if (length > 1) message= JarPackagerMessages.getString("JarFileExportOp...
14,236
Bug 14236 Unable to log info messages during jar packaging
Using the 04/18 Integration build, I still can't get an info message into the status maintained by JarFileExportOperation. In my JarWriter implementation, the close() method is throwing a CoreException which contains a status whose severity is set to IStatus.INFO. However, note that JarFileExportOperation.addToStatus()...
resolved fixed
202c3f9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-19T16:07:06Z
2002-04-19T15:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/CreateJarActionDelegate.java
if (jarPackages.length > 0) { IStatus status= export(jarPackages); if (status == null) return; if (readStatus.getSeverity() == IStatus.ERROR) message= readStatus.getMessage(); else message= status.getMessage(); mergedStatus= new MultiStatus(JavaPlugin.getPluginId(), status.getCode(), rea...
14,236
Bug 14236 Unable to log info messages during jar packaging
Using the 04/18 Integration build, I still can't get an info message into the status maintained by JarFileExportOperation. In my JarWriter implementation, the close() method is throwing a CoreException which contains a status whose severity is set to IStatus.INFO. However, note that JarFileExportOperation.addToStatus()...
resolved fixed
202c3f9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-19T16:07:06Z
2002-04-19T15:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/CreateJarActionDelegate.java
ProgressMonitorDialog dialog= new ProgressMonitorDialog(shell); dialog.run(true, true, op); } catch (InvocationTargetException ex) { if (ex.getTargetException() != null) { ExceptionHandler.handle(ex, shell, JarPackagerMessages.getString("CreateJarActionDelegate.jarExportError.title"), JarPackagerMessages.ge...
14,236
Bug 14236 Unable to log info messages during jar packaging
Using the 04/18 Integration build, I still can't get an info message into the status maintained by JarFileExportOperation. In my JarWriter implementation, the close() method is throwing a CoreException which contains a status whose severity is set to IStatus.INFO. However, note that JarFileExportOperation.addToStatus()...
resolved fixed
202c3f9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-19T16:07:06Z
2002-04-19T15:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/CreateJarActionDelegate.java
String message= JarPackagerMessages.getFormattedString("JarFileExportOperation.errorReadingFile", description.getFullPath(), ex.getStatus().getException().getLocalizedMessage()); addToStatus(readStatus, jarPackage, message, ex); return null; } finally { if ((jarPackage == null || jarPackage.logWarnings())...
14,236
Bug 14236 Unable to log info messages during jar packaging
Using the 04/18 Integration build, I still can't get an info message into the status maintained by JarFileExportOperation. In my JarWriter implementation, the close() method is throwing a CoreException which contains a status whose severity is set to IStatus.INFO. However, note that JarFileExportOperation.addToStatus()...
resolved fixed
202c3f9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-19T16:07:06Z
2002-04-19T15:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
/* * (c) Copyright IBM Corp. 2000, 2002. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.jarpackager; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.lang.reflect.InvocationTargetException; import java.util.ArrayList; import java.util.A...
14,236
Bug 14236 Unable to log info messages during jar packaging
Using the 04/18 Integration build, I still can't get an info message into the status maintained by JarFileExportOperation. In my JarWriter implementation, the close() method is throwing a CoreException which contains a status whose severity is set to IStatus.INFO. However, note that JarFileExportOperation.addToStatus()...
resolved fixed
202c3f9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-19T16:07:06Z
2002-04-19T15:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
import org.eclipse.core.resources.IContainer; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IFolder; import org.eclipse.core.resources.IMarker; import org.eclipse.core.resources.IProject; import org.eclipse.core.resources.IResource; import org.eclipse.core.resources.IWorkspace; import org.e...
14,236
Bug 14236 Unable to log info messages during jar packaging
Using the 04/18 Integration build, I still can't get an info message into the status maintained by JarFileExportOperation. In my JarWriter implementation, the close() method is throwing a CoreException which contains a status whose severity is set to IStatus.INFO. However, note that JarFileExportOperation.addToStatus()...
resolved fixed
202c3f9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-19T16:07:06Z
2002-04-19T15:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
import org.eclipse.jdt.core.IPackageFragmentRoot; import org.eclipse.jdt.core.JavaCore; import org.eclipse.jdt.core.JavaModelException; import org.eclipse.jdt.ui.jarpackager.IJarDescriptionWriter; import org.eclipse.jdt.ui.jarpackager.IJarExportRunnable; import org.eclipse.jdt.ui.jarpackager.JarPackageData; import org....
14,236
Bug 14236 Unable to log info messages during jar packaging
Using the 04/18 Integration build, I still can't get an info message into the status maintained by JarFileExportOperation. In my JarWriter implementation, the close() method is throwing a CoreException which contains a status whose severity is set to IStatus.INFO. However, note that JarFileExportOperation.addToStatus()...
resolved fixed
202c3f9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-19T16:07:06Z
2002-04-19T15:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
private Shell fParentShell; private Map fJavaNameToClassFilesMap; private IContainer fClassFilesMapContainer; private Set fExportedClassContainers; private MessageMultiStatus fStatus; /** * Creates an instance of this class. * * @param jarPackage the JAR package specification * @param parent the parent f...
14,236
Bug 14236 Unable to log info messages during jar packaging
Using the 04/18 Integration build, I still can't get an info message into the status maintained by JarFileExportOperation. In my JarWriter implementation, the close() method is throwing a CoreException which contains a status whose severity is set to IStatus.INFO. However, note that JarFileExportOperation.addToStatus()...
resolved fixed
202c3f9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-19T16:07:06Z
2002-04-19T15:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
} protected void addToStatus(CoreException ex) { IStatus status= ex.getStatus(); int severity= status.getSeverity(); if (fJarPackage == null || (severity == IStatus.ERROR && fJarPackage.logErrors()) || (severity == IStatus.WARNING && fJarPackage.logWarnings())) { String message= ex.getLocalizedMessage(); i...
14,236
Bug 14236 Unable to log info messages during jar packaging
Using the 04/18 Integration build, I still can't get an info message into the status maintained by JarFileExportOperation. In my JarWriter implementation, the close() method is throwing a CoreException which contains a status whose severity is set to IStatus.INFO. However, note that JarFileExportOperation.addToStatus()...
resolved fixed
202c3f9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-19T16:07:06Z
2002-04-19T15:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
protected void addError(String message, Throwable error) { if (fJarPackage == null || fJarPackage.logErrors()) fStatus.add(new Status(IStatus.ERROR, JavaPlugin.getPluginId(), JavaStatusConstants.INTERNAL_ERROR, message, error)); } /** * Answers the number of file resources specified by the JAR package. * *...
14,236
Bug 14236 Unable to log info messages during jar packaging
Using the 04/18 Integration build, I still can't get an info message into the status maintained by JarFileExportOperation. In my JarWriter implementation, the close() method is throwing a CoreException which contains a status whose severity is set to IStatus.INFO. However, note that JarFileExportOperation.addToStatus()...
resolved fixed
202c3f9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-19T16:07:06Z
2002-04-19T15:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
} return count; } private int getTotalChildCount(IContainer container) { IResource[] members; try { members= container.members(); } catch (CoreException ex) { return 0; } int count= 0; for (int i= 0; i < members.length; i++) { if (members[i].getType() == IResource.FILE) count++; else ...
14,236
Bug 14236 Unable to log info messages during jar packaging
Using the 04/18 Integration build, I still can't get an info message into the status maintained by JarFileExportOperation. In my JarWriter implementation, the close() method is throwing a CoreException which contains a status whose severity is set to IStatus.INFO. However, note that JarFileExportOperation.addToStatus()...
resolved fixed
202c3f9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-19T16:07:06Z
2002-04-19T15:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
IJavaProject jProject= null; if (element instanceof IJavaElement) { isInJavaProject= true; IJavaElement je= (IJavaElement)element; try { resource= je.getUnderlyingResource(); } catch (JavaModelException ex) { addWarning(JarPackagerMessages.getFormattedString("JarFileExportOperation.underlyingResou...
14,236
Bug 14236 Unable to log info messages during jar packaging
Using the 04/18 Integration build, I still can't get an info message into the status maintained by JarFileExportOperation. In my JarWriter implementation, the close() method is throwing a CoreException which contains a status whose severity is set to IStatus.INFO. However, note that JarFileExportOperation.addToStatus()...
resolved fixed
202c3f9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-19T16:07:06Z
2002-04-19T15:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
isInJavaProject= resource.getProject().hasNature(JavaCore.NATURE_ID); } catch (CoreException ex) { addWarning(JarPackagerMessages.getFormattedString("JarFileExportOperation.projectNatureNotDeterminable", resource.getFullPath()), ex); return; } if (isInJavaProject) { jProject= JavaCore.create...
14,236
Bug 14236 Unable to log info messages during jar packaging
Using the 04/18 Integration build, I still can't get an info message into the status maintained by JarFileExportOperation. In my JarWriter implementation, the close() method is throwing a CoreException which contains a status whose severity is set to IStatus.INFO. However, note that JarFileExportOperation.addToStatus()...
resolved fixed
202c3f9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-19T16:07:06Z
2002-04-19T15:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
try { isInOutputFolder= jProject.getOutputLocation().isPrefixOf(resource.getFullPath()); } catch (JavaModelException ex) { isInOutputFolder= false; } } exportClassFiles(progressMonitor, pkgRoot, resource, jProject, destinationPath); exportResource(progressMonitor, pkgRoot, isInJavaProject...
14,236
Bug 14236 Unable to log info messages during jar packaging
Using the 04/18 Integration build, I still can't get an info message into the status maintained by JarFileExportOperation. In my JarWriter implementation, the close() method is throwing a CoreException which contains a status whose severity is set to IStatus.INFO. However, note that JarFileExportOperation.addToStatus()...
resolved fixed
202c3f9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-19T16:07:06Z
2002-04-19T15:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
private void exportContainer(IProgressMonitor progressMonitor, IContainer container) throws java.lang.InterruptedException { if (container.getType() == IResource.FOLDER && isOutputFolder((IFolder)container)) return; IResource[] children= null; try { children= container.members(); } catch (CoreException...
14,236
Bug 14236 Unable to log info messages during jar packaging
Using the 04/18 Integration build, I still can't get an info message into the status maintained by JarFileExportOperation. In my JarWriter implementation, the close() method is throwing a CoreException which contains a status whose severity is set to IStatus.INFO. However, note that JarFileExportOperation.addToStatus()...
resolved fixed
202c3f9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-19T16:07:06Z
2002-04-19T15:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
} if ((fJarPackage.areClassFilesExported() && ((isNonJavaResource || (pkgRoot != null && !isJavaFile(resource) && !isClassFile(resource))) || isInClassFolder && isClassFile(resource))) || (fJarPackage.areJavaFilesExported() && (isNonJavaResource || (pkgRoot != null && !isClassFile(resource))))) { try ...
14,236
Bug 14236 Unable to log info messages during jar packaging
Using the 04/18 Integration build, I still can't get an info message into the status maintained by JarFileExportOperation. In my JarWriter implementation, the close() method is throwing a CoreException which contains a status whose severity is set to IStatus.INFO. However, note that JarFileExportOperation.addToStatus()...
resolved fixed
202c3f9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-19T16:07:06Z
2002-04-19T15:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
if (!resource.isLocal(IResource.DEPTH_ZERO)) file.setLocal(true , IResource.DEPTH_ZERO, progressMonitor); IPath classFilePath= baseDestinationPath.append(file.getName()); progressMonitor.subTask(JarPackagerMessages.getFormattedString("JarFileExportOperation.exporting", classFilePath.toString())); ...
14,236
Bug 14236 Unable to log info messages during jar packaging
Using the 04/18 Integration build, I still can't get an info message into the status maintained by JarFileExportOperation. In my JarWriter implementation, the close() method is throwing a CoreException which contains a status whose severity is set to IStatus.INFO. However, note that JarFileExportOperation.addToStatus()...
resolved fixed
202c3f9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-19T16:07:06Z
2002-04-19T15:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
IFile[] classFiles= fJarPackage.findClassfilesFor(file); if (classFiles != null) return Arrays.asList(classFiles).iterator(); if (!isJavaFile(file)) return Collections.EMPTY_LIST.iterator(); IPath outputPath= javaProject.getOutputLocation(); IContainer outputContainer; if (javaProject.getProject()....
14,236
Bug 14236 Unable to log info messages during jar packaging
Using the 04/18 Integration build, I still can't get an info message into the status maintained by JarFileExportOperation. In my JarWriter implementation, the close() method is throwing a CoreException which contains a status whose severity is set to IStatus.INFO. However, note that JarFileExportOperation.addToStatus()...
resolved fixed
202c3f9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-19T16:07:06Z
2002-04-19T15:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
return Collections.EMPTY_LIST.iterator(); if (fClassFilesMapContainer == null || !fClassFilesMapContainer.equals(classContainer)) { fJavaNameToClassFilesMap= buildJavaToClassMap(classContainer); if (fJavaNameToClassFilesMap == null) { String msg= JarPackagerMessages.getFormattedString("JarFileExpor...
14,236
Bug 14236 Unable to log info messages during jar packaging
Using the 04/18 Integration build, I still can't get an info message into the status maintained by JarFileExportOperation. In my JarWriter implementation, the close() method is throwing a CoreException which contains a status whose severity is set to IStatus.INFO. However, note that JarFileExportOperation.addToStatus()...
resolved fixed
202c3f9
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-04-19T16:07:06Z
2002-04-19T15:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
* The resource must be a file whose file name ends with ".java". * * @return a <code>true<code> if the given resource is a Java file */ boolean isJavaFile(IResource file) { return file != null && file.getType() == IFile.FILE && file.getFileExtension() != null && file.getFileExtension().equalsIgnoreCa...