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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
14,113 | Bug 14113 Should listen to F_SOURCEATTACHED and F_SOURCEDETACHED java deltas | Build 20020416 Right now, when one change the attached source of a jar, a F_REMOVED_FROM_CLASSPATH java delta is fired, which is obviously wrong. As a consequence, the UI reacts by closing the class file editors opened on this jar, which is right for a F_REMOVED_FROM_CLASSPATH java delta. However I tried to fix the del... | verified fixed | e529085 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-14T17:36:17Z | 2002-04-18T14:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | /**
* Creates a source attachment form for a class file.
*/
public SourceAttachmentForm(IClassFile file) {
fFile= file;
}
/**
* Returns the package fragment root of this file.
*/
private IPackageFragmentRoot getPackageFragmentRoot(IClassFile file) {
IJavaElement element= file.... |
14,113 | Bug 14113 Should listen to F_SOURCEATTACHED and F_SOURCEDETACHED java deltas | Build 20020416 Right now, when one change the attached source of a jar, a F_REMOVED_FROM_CLASSPATH java delta is fired, which is obviously wrong. As a consequence, the UI reacts by closing the class file editors opened on this jar, which is right for a F_REMOVED_FROM_CLASSPATH java delta. However I tried to fix the del... | verified fixed | e529085 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-14T17:36:17Z | 2002-04-18T14:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | fScrolledComposite= new ScrolledComposite(parent, SWT.H_SCROLL | SWT.V_SCROLL);
fScrolledComposite.setAlwaysShowScrollBars(false);
fScrolledComposite.setExpandHorizontal(true);
fScrolledComposite.setExpandVertical(true);
fScrolledComposite.addDisposeListener(new DisposeListener() {
public void widg... |
14,113 | Bug 14113 Should listen to F_SOURCEATTACHED and F_SOURCEDETACHED java deltas | Build 20020416 Right now, when one change the attached source of a jar, a F_REMOVED_FROM_CLASSPATH java delta is fired, which is obviously wrong. As a consequence, the UI reacts by closing the class file editors opened on this jar, which is right for a F_REMOVED_FROM_CLASSPATH java delta. However I tried to fix the del... | verified fixed | e529085 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-14T17:36:17Z | 2002-04-18T14:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | final IPackageFragmentRoot root= getPackageFragmentRoot(fFile);
if (root != null) {
if (!root.isArchive()) {
createLabel(composite, JavaEditorMessages.getFormattedString("SourceAttachmentForm.message.noSource", fFile.getElementName()));
} else {
try {
Button button;
... |
14,113 | Bug 14113 Should listen to F_SOURCEATTACHED and F_SOURCEDETACHED java deltas | Build 20020416 Right now, when one change the attached source of a jar, a F_REMOVED_FROM_CLASSPATH java delta is fired, which is obviously wrong. As a consequence, the UI reacts by closing the class file editors opened on this jar, which is right for a F_REMOVED_FROM_CLASSPATH java delta. However I tried to fix the del... | verified fixed | e529085 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-14T17:36:17Z | 2002-04-18T14:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | try {
SourceAttachmentDialog dialog= new SourceAttachmentDialog(fScrolledComposite.getShell(), root);
if (dialog.open() == SourceAttachmentDialog.OK)
verifyInput(getEditorInput());
} catch (CoreException e) {
String title= JavaEditorMessages.getString("SourceAttachme... |
14,113 | Bug 14113 Should listen to F_SOURCEATTACHED and F_SOURCEDETACHED java deltas | Build 20020416 Right now, when one change the attached source of a jar, a F_REMOVED_FROM_CLASSPATH java delta is fired, which is obviously wrong. As a consequence, the UI reacts by closing the class file editors opened on this jar, which is right for a F_REMOVED_FROM_CLASSPATH java delta. However I tried to fix the del... | verified fixed | e529085 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-14T17:36:17Z | 2002-04-18T14:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | * @see IPropertyChangeListener#propertyChange(PropertyChangeEvent)
*/
public void propertyChange(PropertyChangeEvent event) {
for (Iterator iterator = fBannerLabels.iterator(); iterator.hasNext();) {
Label label = (Label) iterator.next();
label.setFont(JFaceResources.getBannerFont());
}
... |
14,113 | Bug 14113 Should listen to F_SOURCEATTACHED and F_SOURCEDETACHED java deltas | Build 20020416 Right now, when one change the attached source of a jar, a F_REMOVED_FROM_CLASSPATH java delta is fired, which is obviously wrong. As a consequence, the UI reacts by closing the class file editors opened on this jar, which is right for a F_REMOVED_FROM_CLASSPATH java delta. However I tried to fix the del... | verified fixed | e529085 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-14T17:36:17Z | 2002-04-18T14:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | return composite;
}
private Composite createCompositeSeparator(Composite parent) {
Composite composite = new Composite(parent, SWT.NONE);
composite.setBackground(fSeparatorColor);
return composite;
}
private Label createLabel(Composite parent, String text) {
Label label = new Label(p... |
14,113 | Bug 14113 Should listen to F_SOURCEATTACHED and F_SOURCEDETACHED java deltas | Build 20020416 Right now, when one change the attached source of a jar, a F_REMOVED_FROM_CLASSPATH java delta is fired, which is obviously wrong. As a consequence, the UI reacts by closing the class file editors opened on this jar, which is right for a F_REMOVED_FROM_CLASSPATH java delta. However I tried to fix the del... | verified fixed | e529085 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-14T17:36:17Z | 2002-04-18T14:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | private Label createHeadingLabel(Composite parent, String text) {
Label label = new Label(parent, SWT.NONE);
if (text != null)
label.setText(text);
label.setBackground(fBackgroundColor);
label.setForeground(fForegroundColor);
label.setFont(JFaceResources.getBannerFont());
fBannerLabels.add(... |
14,113 | Bug 14113 Should listen to F_SOURCEATTACHED and F_SOURCEDETACHED java deltas | Build 20020416 Right now, when one change the attached source of a jar, a F_REMOVED_FROM_CLASSPATH java delta is fired, which is obviously wrong. As a consequence, the UI reacts by closing the class file editors opened on this jar, which is right for a F_REMOVED_FROM_CLASSPATH java delta. However I tried to fix the del... | verified fixed | e529085 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-14T17:36:17Z | 2002-04-18T14:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | /**
* Default constructor.
*/
public ClassFileEditor() {
super();
setDocumentProvider(JavaPlugin.getDefault().getClassFileDocumentProvider());
setEditorContextMenuId("#ClassFileEditorContext");
setRulerContextMenuId("#ClassFileRulerContext");
setOutlinerContextMenuId("#ClassFileOutlinerContext");
... |
14,113 | Bug 14113 Should listen to F_SOURCEATTACHED and F_SOURCEDETACHED java deltas | Build 20020416 Right now, when one change the attached source of a jar, a F_REMOVED_FROM_CLASSPATH java delta is fired, which is obviously wrong. As a consequence, the UI reacts by closing the class file editors opened on this jar, which is right for a F_REMOVED_FROM_CLASSPATH java delta. However I tried to fix the del... | verified fixed | e529085 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-14T17:36:17Z | 2002-04-18T14:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | */
setAction(ITextEditorActionConstants.BOOKMARK, null);
setAction(ITextEditorActionConstants.ADD_TASK, null);
}
/*
* @see JavaEditor#getElementAt(int)
*/
protected IJavaElement getElementAt(int offset) {
if (getEditorInput() instanceof IClassFileEditorInput) {
try {
IClassFileEditorInput input=... |
14,113 | Bug 14113 Should listen to F_SOURCEATTACHED and F_SOURCEDETACHED java deltas | Build 20020416 Right now, when one change the attached source of a jar, a F_REMOVED_FROM_CLASSPATH java delta is fired, which is obviously wrong. As a consequence, the UI reacts by closing the class file editors opened on this jar, which is right for a F_REMOVED_FROM_CLASSPATH java delta. However I tried to fix the del... | verified fixed | e529085 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-14T17:36:17Z | 2002-04-18T14:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | }
/*
* @see IEditorPart#saveState(IMemento)
*/
public void saveState(IMemento memento) {
}
/*
* @see JavaEditor#setOutlinePageInput(JavaOutlinePage, IEditorInput)
*/
protected void setOutlinePageInput(JavaOutlinePage page, IEditorInput input) {
if (page != null && input instanceof IClassFileEditorInp... |
14,113 | Bug 14113 Should listen to F_SOURCEATTACHED and F_SOURCEDETACHED java deltas | Build 20020416 Right now, when one change the attached source of a jar, a F_REMOVED_FROM_CLASSPATH java delta is fired, which is obviously wrong. As a consequence, the UI reacts by closing the class file editors opened on this jar, which is right for a F_REMOVED_FROM_CLASSPATH java delta. However I tried to fix the del... | verified fixed | e529085 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-14T17:36:17Z | 2002-04-18T14:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | /**
* Translates the given editor input into an <code>ExternalClassFileEditorInput</code>
* if it is a file editor input representing an external class file.
*
* @param input the editor input to be transformed if necessary
* @return the transformed editor input
*/
protected IEditorInput transformEditorInp... |
14,113 | Bug 14113 Should listen to F_SOURCEATTACHED and F_SOURCEDETACHED java deltas | Build 20020416 Right now, when one change the attached source of a jar, a F_REMOVED_FROM_CLASSPATH java delta is fired, which is obviously wrong. As a consequence, the UI reacts by closing the class file editors opened on this jar, which is right for a F_REMOVED_FROM_CLASSPATH java delta. However I tried to fix the del... | verified fixed | e529085 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-14T17:36:17Z | 2002-04-18T14:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | /*
* @see IWorkbenchPart#createPartControl(Composite)
*/
public void createPartControl(Composite parent) {
fParent= new Composite(parent, SWT.NONE);
fStackLayout= new StackLayout();
fParent.setLayout(fStackLayout);
fViewerComposite= new Composite(fParent, SWT.NONE);
fViewerComposite.setLayout(new FillLay... |
14,113 | Bug 14113 Should listen to F_SOURCEATTACHED and F_SOURCEDETACHED java deltas | Build 20020416 Right now, when one change the attached source of a jar, a F_REMOVED_FROM_CLASSPATH java delta is fired, which is obviously wrong. As a consequence, the UI reacts by closing the class file editors opened on this jar, which is right for a F_REMOVED_FROM_CLASSPATH java delta. However I tried to fix the del... | verified fixed | e529085 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-14T17:36:17Z | 2002-04-18T14:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | /**
* Checks if the class file input has no source attached. If so, a source attachment form is shown.
*/
private void verifyInput(IEditorInput input) throws CoreException {
if (fParent == null || input == null)
return;
IClassFileEditorInput classFileEditorInput= (IClassFileEditorInput) input;
IClassFile ... |
15,638 | Bug 15638 Drag & Drop: Packages view doesn't update on move | Build: 20020508 If I move a file from the packages view using drag & drop, the packages view does not update to show that the file has been removed. After I refresh the packages view shows the file is no longer there. | resolved fixed | 71efaac | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-15T10:01:07Z | 2002-05-09T16:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/FileTransferDragAdapter.java | /*
* (c) Copyright IBM Corp. 2000, 2002.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.packageview;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.ResourceBundle;
import java.... |
15,638 | Bug 15638 Drag & Drop: Packages view doesn't update on move | Build: 20020508 If I move a file from the packages view using drag & drop, the packages view does not update to show that the file has been removed. After I refresh the packages view shows the file is no longer there. | resolved fixed | 71efaac | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-15T10:01:07Z | 2002-05-09T16:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/FileTransferDragAdapter.java | import org.eclipse.swt.dnd.DragSourceEvent;
import org.eclipse.swt.dnd.FileTransfer;
import org.eclipse.swt.dnd.Transfer;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.jface.dialogs.ProgressMonitorDialog;
import org.eclipse.jface.operation.IRunnableWithProgress;
import org.eclipse.jface.util.Assert;
import o... |
15,638 | Bug 15638 Drag & Drop: Packages view doesn't update on move | Build: 20020508 If I move a file from the packages view using drag & drop, the packages view does not update to show that the file has been removed. After I refresh the packages view shows the file is no longer there. | resolved fixed | 71efaac | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-15T10:01:07Z | 2002-05-09T16:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/FileTransferDragAdapter.java | private ISelectionProvider fProvider;
FileTransferDragAdapter(ISelectionProvider provider) {
fProvider= provider;
Assert.isNotNull(fProvider);
}
public Transfer getTransfer() {
return FileTransfer.getInstance();
}
public void dragStart(DragSourceEvent event) {
event.doit= isDragable(fProvider.getSelect... |
15,638 | Bug 15638 Drag & Drop: Packages view doesn't update on move | Build: 20020508 If I move a file from the packages view using drag & drop, the packages view does not update to show that the file has been removed. After I refresh the packages view shows the file is no longer there. | resolved fixed | 71efaac | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-15T10:01:07Z | 2002-05-09T16:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/FileTransferDragAdapter.java | }
return true;
}
return false;
}
public void dragSetData(DragSourceEvent event){
List elements= getResources();
if (elements == null || elements.size() == 0) {
event.data= null;
return;
}
String[] result= new String[elements.size()];
Iterator iter= elements.iterator();
for(int i= 0; iter... |
15,638 | Bug 15638 Drag & Drop: Packages view doesn't update on move | Build: 20020508 If I move a file from the packages view using drag & drop, the packages view does not update to show that the file has been removed. After I refresh the packages view shows the file is no longer there. | resolved fixed | 71efaac | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-15T10:01:07Z | 2002-05-09T16:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/FileTransferDragAdapter.java | }
}
private void handleDropMove(DragSourceEvent event) {
final List elements= getResources();
if (elements == null || elements.size() == 0)
return;
WorkspaceModifyOperation op= new WorkspaceModifyOperation() {
public void execute(IProgressMonitor monitor) throws CoreException {
try {
monitor... |
15,638 | Bug 15638 Drag & Drop: Packages view doesn't update on move | Build: 20020508 If I move a file from the packages view using drag & drop, the packages view does not update to show that the file has been removed. After I refresh the packages view shows the file is no longer there. | resolved fixed | 71efaac | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-15T10:01:07Z | 2002-05-09T16:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/FileTransferDragAdapter.java | monitor.done();
}
}
};
runOperation(op, true, false);
}
private void handleRefresh(DragSourceEvent event) {
final Set roots= collectRoots(getResources());
WorkspaceModifyOperation op= new WorkspaceModifyOperation() {
public void execute(IProgressMonitor monitor) throws CoreException {
try ... |
15,638 | Bug 15638 Drag & Drop: Packages view doesn't update on move | Build: 20020508 If I move a file from the packages view using drag & drop, the packages view does not update to show that the file has been removed. After I refresh the packages view shows the file is no longer there. | resolved fixed | 71efaac | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-15T10:01:07Z | 2002-05-09T16:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/FileTransferDragAdapter.java | }
};
runOperation(op, true, false);
}
protected Set collectRoots(final List elements) {
final Set roots= new HashSet(10);
Iterator iter= elements.iterator();
while (iter.hasNext()) {
IResource resource= (IResource)iter.next();
IResource parent= resource.getParent();
if (parent == null) {
... |
15,638 | Bug 15638 Drag & Drop: Packages view doesn't update on move | Build: 20020508 If I move a file from the packages view using drag & drop, the packages view does not update to show that the file has been removed. After I refresh the packages view shows the file is no longer there. | resolved fixed | 71efaac | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-15T10:01:07Z | 2002-05-09T16:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/FileTransferDragAdapter.java | IResource r= null;
if (o instanceof IResource) {
r= (IResource)o;
} else if (o instanceof IAdaptable) {
r= (IResource)((IAdaptable)o).getAdapter(IResource.class);
}
if (r != null)
result.add(r);
}
return result;
}
private MultiStatus createMultiStatus() {
return new MultiStatus(JavaPlu... |
9,112 | Bug 9112 goto type presents items not visible | stable 20020125 In the packages view Choose Go To > Type from the popup The resulting dialog displays things you cannot go to - it shows classes in referenced libraries even if you are not currenrtly showing referenced libraries - it shows classes not in your working set As a result if you pick that class nothing actua... | resolved fixed | 4824d92 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-15T12:04:47Z | 2002-02-05T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/GotoPackageAction.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.packageview;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.jface.action.Action;
import org.eclipse.jface... |
9,112 | Bug 9112 goto type presents items not visible | stable 20020125 In the packages view Choose Go To > Type from the popup The resulting dialog displays things you cannot go to - it shows classes in referenced libraries even if you are not currenrtly showing referenced libraries - it shows classes not in your working set As a result if you pick that class nothing actua... | resolved fixed | 4824d92 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-15T12:04:47Z | 2002-02-05T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/GotoPackageAction.java | private PackageExplorerPart fPackageExplorer;
private EmptyInnerPackageFilter fFilter;
GotoPackageAction(PackageExplorerPart part) {
super(PackagesMessages.getString("GotoPackage.action.label"));
setDescription(PackagesMessages.getString("GotoPackage.action.description"));
fPackageExplorer= part;
fFilter=... |
9,112 | Bug 9112 goto type presents items not visible | stable 20020125 In the packages view Choose Go To > Type from the popup The resulting dialog displays things you cannot go to - it shows classes in referenced libraries even if you are not currenrtly showing referenced libraries - it shows classes not in your working set As a result if you pick that class nothing actua... | resolved fixed | 4824d92 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-15T12:04:47Z | 2002-02-05T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/GotoPackageAction.java | Shell shell= JavaPlugin.getActiveWorkbenchShell();
SelectionDialog dialog= createAllPackagesDialog(shell);
dialog.setTitle(PackagesMessages.getString("GotoPackage.dialog.title"));
dialog.setMessage(PackagesMessages.getString("GotoPackage.dialog.message"));
dialog.open();
Object[] res= dialog.getResul... |
9,112 | Bug 9112 goto type presents items not visible | stable 20020125 In the packages view Choose Go To > Type from the popup The resulting dialog displays things you cannot go to - it shows classes in referenced libraries even if you are not currenrtly showing referenced libraries - it shows classes not in your working set As a result if you pick that class nothing actua... | resolved fixed | 4824d92 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-15T12:04:47Z | 2002-02-05T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/GotoPackageAction.java | for (int j= 0; j < roots.length; j++) {
IPackageFragmentRoot root= roots[j];
if (root.isArchive() && !showLibraries())
continue;
if (!set.contains(root)) {
set.add(root);
IJavaElement[] packages= root.getChildren();
appendPackages(allPackages, packages);
}
}
}
return allPack... |
9,112 | Bug 9112 goto type presents items not visible | stable 20020125 In the packages view Choose Go To > Type from the popup The resulting dialog displays things you cannot go to - it shows classes in referenced libraries even if you are not currenrtly showing referenced libraries - it shows classes not in your working set As a result if you pick that class nothing actua... | resolved fixed | 4824d92 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-15T12:04:47Z | 2002-02-05T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/GotoTypeAction.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.packageview;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.dialogs.IDialogConstants;
import org.eclipse.jface.dialogs.ProgressMonitorDialog;
import org.eclip... |
9,112 | Bug 9112 goto type presents items not visible | stable 20020125 In the packages view Choose Go To > Type from the popup The resulting dialog displays things you cannot go to - it shows classes in referenced libraries even if you are not currenrtly showing referenced libraries - it shows classes not in your working set As a result if you pick that class nothing actua... | resolved fixed | 4824d92 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-15T12:04:47Z | 2002-02-05T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/GotoTypeAction.java | private PackageExplorerPart fPackageExplorer;
GotoTypeAction(PackageExplorerPart part) {
super();
setText(PackagesMessages.getString("GotoType.action.label"));
setDescription(PackagesMessages.getString("GotoType.action.description"));
fPackageExplorer= part;
}
public void run() {
Shell shell= JavaPlugi... |
9,112 | Bug 9112 goto type presents items not visible | stable 20020125 In the packages view Choose Go To > Type from the popup The resulting dialog displays things you cannot go to - it shows classes in referenced libraries even if you are not currenrtly showing referenced libraries - it shows classes not in your working set As a result if you pick that class nothing actua... | resolved fixed | 4824d92 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-15T12:04:47Z | 2002-02-05T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/GotoTypeAction.java | if (dialog.open() == IDialogConstants.CANCEL_ID) {
return;
}
Object[] types= dialog.getResult();
if (types != null && types.length > 0) {
gotoType((IType) types[0]);
}
}
private void gotoType(IType type) {
ICompilationUnit cu= (ICompilationUnit) type.getAncestor(IJavaElement.COMPILATION_UNIT);
... |
9,112 | Bug 9112 goto type presents items not visible | stable 20020125 In the packages view Choose Go To > Type from the popup The resulting dialog displays things you cannot go to - it shows classes in referenced libraries even if you are not currenrtly showing referenced libraries - it shows classes not in your working set As a result if you pick that class nothing actua... | resolved fixed | 4824d92 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-15T12:04:47Z | 2002-02-05T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerActionGroup.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... |
9,112 | Bug 9112 goto type presents items not visible | stable 20020125 In the packages view Choose Go To > Type from the popup The resulting dialog displays things you cannot go to - it shows classes in referenced libraries even if you are not currenrtly showing referenced libraries - it shows classes not in your working set As a result if you pick that class nothing actua... | resolved fixed | 4824d92 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-15T12:04:47Z | 2002-02-05T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerActionGroup.java | import org.eclipse.jface.viewers.TreeViewer;
import org.eclipse.core.resources.IContainer;
import org.eclipse.core.resources.IResource;
import org.eclipse.ui.IActionBars;
import org.eclipse.ui.IMemento;
import org.eclipse.ui.IWorkbenchActionConstants;
import org.eclipse.ui.IWorkbenchPartSite;
import org.eclipse.ui.IWor... |
9,112 | Bug 9112 goto type presents items not visible | stable 20020125 In the packages view Choose Go To > Type from the popup The resulting dialog displays things you cannot go to - it shows classes in referenced libraries even if you are not currenrtly showing referenced libraries - it shows classes not in your working set As a result if you pick that class nothing actua... | resolved fixed | 4824d92 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-15T12:04:47Z | 2002-02-05T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerActionGroup.java | import org.eclipse.jdt.ui.actions.BuildActionGroup;
import org.eclipse.jdt.ui.actions.CCPActionGroup;
import org.eclipse.jdt.ui.actions.GenerateActionGroup;
import org.eclipse.jdt.ui.actions.ImportActionGroup;
import org.eclipse.jdt.ui.actions.JavaSearchActionGroup;
import org.eclipse.jdt.ui.actions.JdtActionConstants;... |
9,112 | Bug 9112 goto type presents items not visible | stable 20020125 In the packages view Choose Go To > Type from the popup The resulting dialog displays things you cannot go to - it shows classes in referenced libraries even if you are not currenrtly showing referenced libraries - it shows classes not in your working set As a result if you pick that class nothing actua... | resolved fixed | 4824d92 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-15T12:04:47Z | 2002-02-05T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerActionGroup.java | private ShowLibrariesAction fShowLibrariesAction;
private FilterSelectionAction fFilterAction;
public PackageExplorerActionGroup(PackageExplorerPart part) {
super();
fPart= part;
IWorkbenchPartSite site = fPart.getSite();
Shell shell= site.getShell();
ISelectionProvider provider= site.getSelectionProv... |
9,112 | Bug 9112 goto type presents items not visible | stable 20020125 In the packages view Choose Go To > Type from the popup The resulting dialog displays things you cannot go to - it shows classes in referenced libraries even if you are not currenrtly showing referenced libraries - it shows classes not in your working set As a result if you pick that class nothing actua... | resolved fixed | 4824d92 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-15T12:04:47Z | 2002-02-05T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerActionGroup.java | fRenameResourceAction= new RenameResourceAction(shell);
fMoveResourceAction= new MoveResourceAction(shell);
fGotoTypeAction= new GotoTypeAction(fPart);
fGotoPackageAction= new GotoPackageAction(fPart);
fMemberFilterActionGroup= new MemberFilterActionGroup(fPart.getViewer(), "PackageView");
fShowL... |
9,112 | Bug 9112 goto type presents items not visible | stable 20020125 In the packages view Choose Go To > Type from the popup The resulting dialog displays things you cannot go to - it shows classes in referenced libraries even if you are not currenrtly showing referenced libraries - it shows classes not in your working set As a result if you pick that class nothing actua... | resolved fixed | 4824d92 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-15T12:04:47Z | 2002-02-05T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerActionGroup.java | int size= selection.size();
Object element= selection.getFirstElement();
IActionBars actionBars= fPart.getViewSite().getActionBars();
if (size == 1 && element instanceof IResource) {
actionBars.setGlobalActionHandler(IWorkbenchActionConstants.RENAME, fRenameResourceAction);
actionBars.setGlobalActionHandler... |
9,112 | Bug 9112 goto type presents items not visible | stable 20020125 In the packages view Choose Go To > Type from the popup The resulting dialog displays things you cannot go to - it shows classes in referenced libraries even if you are not currenrtly showing referenced libraries - it shows classes not in your working set As a result if you pick that class nothing actua... | resolved fixed | 4824d92 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-15T12:04:47Z | 2002-02-05T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerActionGroup.java | actionBars.setGlobalActionHandler(IWorkbenchActionConstants.GO_INTO, fZoomInAction);
actionBars.setGlobalActionHandler(IWorkbenchActionConstants.BACK, fBackAction);
actionBars.setGlobalActionHandler(IWorkbenchActionConstants.FORWARD, fForwardAction);
actionBars.setGlobalActionHandler(IWorkbenchActionConstants.UP,... |
9,112 | Bug 9112 goto type presents items not visible | stable 20020125 In the packages view Choose Go To > Type from the popup The resulting dialog displays things you cannot go to - it shows classes in referenced libraries even if you are not currenrtly showing referenced libraries - it shows classes not in your working set As a result if you pick that class nothing actua... | resolved fixed | 4824d92 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-15T12:04:47Z | 2002-02-05T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerActionGroup.java | }
public void fillContextMenu(IMenuManager menu) {
IStructuredSelection selection= (IStructuredSelection)getContext().getSelection();
int size= selection.size();
Object element= selection.getFirstElement();
IJavaElement jElement= element instanceof IJavaElement ? (IJavaElement)element : null;
if (size... |
9,112 | Bug 9112 goto type presents items not visible | stable 20020125 In the packages view Choose Go To > Type from the popup The resulting dialog displays things you cannot go to - it shows classes in referenced libraries even if you are not currenrtly showing referenced libraries - it shows classes not in your working set As a result if you pick that class nothing actua... | resolved fixed | 4824d92 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-15T12:04:47Z | 2002-02-05T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerActionGroup.java | int type= element.getElementType();
return type == IJavaElement.JAVA_PROJECT ||
type == IJavaElement.PACKAGE_FRAGMENT_ROOT ||
type == IJavaElement.PACKAGE_FRAGMENT ||
type == IJavaElement.COMPILATION_UNIT ||
type == IJavaElement.TYPE;
}
private boolean isGoIntoTarget(Object element) {
if (element =... |
9,112 | Bug 9112 goto type presents items not visible | stable 20020125 In the packages view Choose Go To > Type from the popup The resulting dialog displays things you cannot go to - it shows classes in referenced libraries even if you are not currenrtly showing referenced libraries - it shows classes not in your working set As a result if you pick that class nothing actua... | resolved fixed | 4824d92 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-15T12:04:47Z | 2002-02-05T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerActionGroup.java | new OpenInNewWindowAction(fPart.getSite().getWorkbenchWindow(), (IContainer)element));
}
void handleDoubleClick(DoubleClickEvent event) {
TreeViewer viewer= fPart.getViewer();
Object element= ((IStructuredSelection)event.getSelection()).getFirstElement();
if (viewer.isExpandable(element)) {
if (JavaBasePr... |
9,112 | Bug 9112 goto type presents items not visible | stable 20020125 In the packages view Choose Go To > Type from the popup The resulting dialog displays things you cannot go to - it shows classes in referenced libraries even if you are not currenrtly showing referenced libraries - it shows classes not in your working set As a result if you pick that class nothing actua... | resolved fixed | 4824d92 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-15T12:04:47Z | 2002-02-05T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerActionGroup.java | return;
if (event.keyCode == SWT.F5) {
RefreshAction action= fBuildActionGroup.getRefreshAction();
if (action.isEnabled())
action.run();
} else if (event.character == SWT.DEL) {
IAction delete= fCCPActionGroup.getDeleteAction();
if (delete.isEnabled())
delete.run();
}
}
private IPrope... |
9,112 | Bug 9112 goto type presents items not visible | stable 20020125 In the packages view Choose Go To > Type from the popup The resulting dialog displays things you cannot go to - it shows classes in referenced libraries even if you are not currenrtly showing referenced libraries - it shows classes not in your working set As a result if you pick that class nothing actua... | resolved fixed | 4824d92 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-15T12:04:47Z | 2002-02-05T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ImportActionGroup.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... |
9,112 | Bug 9112 goto type presents items not visible | stable 20020125 In the packages view Choose Go To > Type from the popup The resulting dialog displays things you cannot go to - it shows classes in referenced libraries even if you are not currenrtly showing referenced libraries - it shows classes not in your working set As a result if you pick that class nothing actua... | resolved fixed | 4824d92 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-15T12:04:47Z | 2002-02-05T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ImportActionGroup.java | * context menu.
*
* @sine 2.0
*/
public class ImportActionGroup extends ActionGroup {
private static final String GROUP_IMPORT= "group.import";
private ImportResourcesAction fImportAction;
private ExportResourcesAction fExportAction;
/**
* Creates a new <code>ImportActionGroup</code>.
*
* @param part th... |
9,112 | Bug 9112 goto type presents items not visible | stable 20020125 In the packages view Choose Go To > Type from the popup The resulting dialog displays things you cannot go to - it shows classes in referenced libraries even if you are not currenrtly showing referenced libraries - it shows classes not in your working set As a result if you pick that class nothing actua... | resolved fixed | 4824d92 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-15T12:04:47Z | 2002-02-05T17:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ImportActionGroup.java | menu.appendToGroup(GROUP_IMPORT, fExportAction);
}
super.fillContextMenu(menu);
}
private void appendToGroup(IMenuManager menu, IAction action) {
if (action.isEnabled())
menu.appendToGroup(GROUP_IMPORT, action);
}
private IStructuredSelection getStructuredSelection() {
ISelection selection= getContex... |
14,680 | Bug 14680 Compare unreadable in high contrast black | If you are in High Contrast Black the differences in the Compare browser are shown in Grey - this is unreadable with White text. STEPS 1) Change your system colors to High Contrast Black 2) Compare two editions of a project from a repository 3) Select one of the differences - all of the highlights are shown with a grey... | resolved fixed | f15094c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T11:06:55Z | 2002-04-25T21:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaMergeViewer.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.compare;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.jface.text.IDocumentPartitioner;
import org.eclipse.jface.text.TextViewer;
import org.eclipse.jface.text.source.SourceViewer;
import org.eclipse... |
14,680 | Bug 14680 Compare unreadable in high contrast black | If you are in High Contrast Black the differences in the Compare browser are shown in Grey - this is unreadable with White text. STEPS 1) Change your system colors to High Contrast Black 2) Compare two editions of a project from a repository 3) Select one of the differences - all of the highlights are shown with a grey... | resolved fixed | f15094c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T11:06:55Z | 2002-04-25T21:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaMergeViewer.java | public JavaMergeViewer(Composite parent, int styles, CompareConfiguration mp) {
super(parent, styles, mp);
}
public String getTitle() {
return CompareMessages.getString("JavaMergeViewer.title");
}
protected ITokenComparator createTokenComparator(String s) {
return new JavaTokenComparator(s, true);
}
pr... |
16,075 | Bug 16075 Strange Cut/Copy and Paste behavior | I was trying to move to compilation units from one project to another in the Java Browsing perspective. I selected them in the types brwoser and selected Cut. I then tried to Paste them in another package by selecting the target package in the packages view but paste wasn't enabled. I tried to paste them in the navigat... | resolved fixed | 5032af8 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T11:54:09Z | 2002-05-15T19:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/CutSourceReferencesToClipboardAction.java | package org.eclipse.jdt.internal.ui.reorg;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.swt.dnd.Clipboard;
import org.eclipse.ui.IWorkbenchSite;
import org.eclipse.jdt.internal.corext.refactoring.Assert;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jdt.ui.actions.Select... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.preferences;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
impor... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | import org.eclipse.swt.graphics.RGB;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.layout.RowLayout;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Display;... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | import org.eclipse.jdt.ui.text.JavaSourceViewerConfiguration;
import org.eclipse.jdt.ui.text.JavaTextTools;
import org.eclipse.jdt.internal.ui.IJavaHelpContextIds;
import org.eclipse.jdt.internal.ui.JavaPlugin;
import org.eclipse.jdt.internal.ui.JavaPluginImages;
import org.eclipse.jdt.internal.ui.JavaUIMessages;
impor... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN, IJavaColorConstants.JAVA_MULTI_LINE_COMMENT + BOLD),
new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.STRING, IJavaColorConstants.JAVA_SINGLE_LINE_COMMENT),
new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN, IJav... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.STRING, CompilationUnitEditor.PRINT_MARGIN_COLOR),
new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.INT, CompilationUnitEditor.PRINT_MARGIN_COLUMN),
new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN, CompilationUnitEditor.PR... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN, ContentAssistPreference.ORDER_PROPOSALS),
new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN, ContentAssistPreference.CASE_SENSITIVITY),
new OverlayPreferenceStore.OverlayKey(OverlayPreferenceStore.BOOLEAN, ContentAssistPreferen... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | private Map fColorButtons= new HashMap();
private SelectionListener fColorButtonListener= new SelectionListener() {
public void widgetDefaultSelected(SelectionEvent e) {
}
public void widgetSelected(SelectionEvent e) {
ColorEditor editor= (ColorEditor) e.widget.getData();
PreferenceConverter.setValue(fOver... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | public void modifyText(ModifyEvent e) {
numberFieldChanged((Text) e.widget);
}
};
private WorkbenchChainedTextFontFieldEditor fFontEditor;
private List fSyntaxColorList;
private List fAppearanceColorList;
private ColorEditor fSyntaxForegroundColorEditor;
private ColorEditor fAppearanceForegroundColorEditor... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | final RGB[] rgbs= new RGB[3];
final Display display= Display.getDefault();
display.syncExec(new Runnable() {
public void run() {
Color c= display.getSystemColor(SWT.COLOR_GRAY);
rgbs[0]= c.getRGB();
c= display.getSystemColor(SWT.COLOR_LIST_FOREGROUND);
rgbs[1]= c.getRGB();
c= display.getSyste... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | PreferenceConverter.setDefault(store, CompilationUnitEditor.PROBLEM_INDICATION_COLOR, new RGB(255, 0 , 128));
store.setDefault(CompilationUnitDocumentProvider.HANDLE_TEMPORARY_PROBLEMS, true);
store.setDefault(CompilationUnitEditor.OVERVIEW_RULER, true);
store.setDefault(JavaEditor.LINE_NUMBER_RULER, fal... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | PreferenceConverter.setDefault(store, IJavaColorConstants.JAVA_STRING, new RGB(42, 0, 255));
store.setDefault(IJavaColorConstants.JAVA_STRING + "_bold", false);
PreferenceConverter.setDefault(store, IJavaColorConstants.JAVA_DEFAULT, new RGB(0, 0, 0));
store.setDefault(IJavaColorConstants.JAVA_DEFAULT + "_bold... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | store.setDefault(ContentAssistPreference.ORDER_PROPOSALS, false);
store.setDefault(ContentAssistPreference.ADD_IMPORT, true);
store.setDefault(ExperimentalPreference.CODE_ASSIST_EXPERIMENTAL, false);
}
/*
* @see IWorkbenchPreferencePage#init()
*/
public void init(IWorkbench workbench) {
}
/*
* @see Pref... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | private Control createColorPage(Composite parent) {
Composite colorComposite= new Composite(parent, SWT.NULL);
colorComposite.setLayout(new GridLayout());
Composite backgroundComposite= new Composite(colorComposite, SWT.NULL);
backgroundComposite.setLayout(new RowLayout());
Label label= new Label(backgroun... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | layout.marginHeight= 0;
layout.marginWidth= 0;
editorComposite.setLayout(layout);
GridData gd= new GridData(GridData.FILL_BOTH);
editorComposite.setLayoutData(gd);
fSyntaxColorList= new List(editorComposite, SWT.SINGLE | SWT.V_SCROLL | SWT.BORDER);
gd= new GridData(GridData.FILL_BOTH);
gd.heightHint= co... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | gd= new GridData();
gd.horizontalAlignment= GridData.BEGINNING;
label.setLayoutData(gd);
fBoldCheckBox= new Button(stylesComposite, SWT.CHECK);
gd= new GridData(GridData.FILL_HORIZONTAL);
gd.horizontalAlignment= GridData.BEGINNING;
fBoldCheckBox.setLayoutData(gd);
label= new Label(colorComposite, SW... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | }
public void widgetSelected(SelectionEvent e) {
int i= fSyntaxColorList.getSelectionIndex();
String key= fSyntaxColorListModel[i][1];
PreferenceConverter.setValue(fOverlayStore, key, fSyntaxForegroundColorEditor.getColorValue());
}
});
fBackgroundColorButton.addSelectionListener(new Selectio... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | private Control createPreviewer(Composite parent) {
fJavaTextTools= new JavaTextTools(fOverlayStore);
fPreviewViewer= new SourceViewer(parent, null, SWT.V_SCROLL | SWT.H_SCROLL | SWT.BORDER);
fPreviewViewer.configure(new JavaSourceViewerConfiguration(fJavaTextTools, null));
fPreviewViewer.getTextWidget().... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | }
});
return fPreviewViewer.getControl();
}
/**
* Initializes the given viewer's colors.
*
* @param viewer the viewer to be initialized
*/
private void initializeViewerColors(ISourceViewer viewer) {
IPreferenceStore store= fOverlayStore;
if (store != null) {
StyledText styledText= vie... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | /**
* Creates a color from the information stored in the given preference store.
* Returns <code>null</code> if there is no such information available.
*/
private Color createColor(IPreferenceStore store, String key, Display display) {
RGB rgb= null;
if (store.contains(key)) {
if (store.isDefau... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | }
}
private Control createBehaviorPage(Composite parent) {
Composite behaviorComposite= new Composite(parent, SWT.NONE);
GridLayout layout= new GridLayout(); layout.numColumns= 2;
behaviorComposite.setLayout(layout);
String label= JavaUIMessages.getString("JavaEditorPreferencePage.textFont");
addTextFon... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | addCheckBox(behaviorComposite, label, CompilationUnitEditor.MATCHING_BRACKETS, 0);
label= JavaUIMessages.getString("JavaEditorPreferencePage.highlightCurrentLine");
addCheckBox(behaviorComposite, label, CompilationUnitEditor.CURRENT_LINE, 0);
label= JavaUIMessages.getString("JavaEditorPreferencePage.show... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | Composite stylesComposite= new Composite(editorComposite, SWT.NONE);
layout= new GridLayout();
layout.marginHeight= 0;
layout.marginWidth= 0;
layout.numColumns= 2;
stylesComposite.setLayout(layout);
stylesComposite.setLayoutData(new GridData(GridData.FILL_BOTH));
l= new Label(stylesComposite, SWT.LEFT)... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | }
public void widgetSelected(SelectionEvent e) {
int i= fAppearanceColorList.getSelectionIndex();
String key= fAppearanceColorListModel[i][1];
PreferenceConverter.setValue(fOverlayStore, key, fAppearanceForegroundColorEditor.getColorValue());
}
});
return behaviorComposite;
}
private Cont... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | label= "&Fill argument names on method completion";
addCheckBox(contentAssistComposite, label, ExperimentalPreference.CODE_ASSIST_EXPERIMENTAL, 0);
label= JavaUIMessages.getString("JavaEditorPreferencePage.autoActivationDelay");
addTextField(contentAssistComposite, label, ContentAssistPreference.AUTOACTIVATIO... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | protected Control createContents(Composite parent) {
fOverlayStore.load();
fOverlayStore.start();
TabFolder folder= new TabFolder(parent, SWT.NONE);
folder.setLayout(new TabFolderLayout());
folder.setLayoutData(new GridData(GridData.FILL_BOTH));
TabItem item= new TabItem(folder, SWT.NONE);
item.... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | fFontEditor.setPreferenceStore(getPreferenceStore());
fFontEditor.setPreferencePage(this);
fFontEditor.load();
initializeFields();
for (int i= 0; i < fSyntaxColorListModel.length; i++)
fSyntaxColorList.add(fSyntaxColorListModel[i][0]);
fSyntaxColorList.getDisplay().asyncExec(new Runnable() {
p... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | Iterator e= fColorButtons.keySet().iterator();
while (e.hasNext()) {
ColorEditor c= (ColorEditor) e.next();
String key= (String) fColorButtons.get(c);
RGB rgb= PreferenceConverter.getColor(fOverlayStore, key);
c.setColorValue(rgb);
}
e= fCheckBoxes.keySet().iterator();
while (e.hasNext()) {
Bu... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | }
/*
* @see PreferencePage#performOk()
*/
public boolean performOk() {
fFontEditor.store();
fOverlayStore.propagate();
JavaPlugin.getDefault().savePluginPreferences();
return true;
}
/*
* @see PreferencePage#performDefaults()
*/
protected void performDefaults() {
fFontEditor.loadDefault();... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | */
public void dispose() {
if (fJavaTextTools != null) {
fJavaTextTools= null;
}
fFontEditor.setPreferencePage(null);
fFontEditor.setPreferenceStore(null);
if (fOverlayStore != null) {
fOverlayStore.stop();
fOverlayStore= null;
}
super.dispose();
}
private Control addColorButton(... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | gd= new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING);
button.setLayoutData(gd);
button.addSelectionListener(fColorButtonListener);
fColorButtons.put(editor, key);
return composite;
}
private Button addCheckBox(Composite parent, String label, String key, int indentation) {
Button checkBox= new But... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | labelControl.setLayoutData(gd);
Text textControl= new Text(composite, SWT.BORDER | SWT.SINGLE);
gd= new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING);
gd.widthHint= convertWidthInCharsToPixels(textLimit + 1);
textControl.setLayoutData(gd);
textControl.setTextLimit(textLimit);
fTextFields.put(textContro... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | }
private String loadPreviewContentFromFile(String filename) {
String line;
String separator= System.getProperty("line.separator");
StringBuffer buffer= new StringBuffer(512);
BufferedReader reader= null;
try {
reader= new BufferedReader(new InputStreamReader(getClass().getResourceAsStream(filename)));... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java | private IStatus validatePositiveNumber(String number) {
StatusInfo status= new StatusInfo();
if (number.length() == 0) {
status.setError(JavaUIMessages.getString("JavaEditorPreferencePage.empty_input"));
} else {
try {
int value= Integer.parseInt(number);
if (value < 0)
status.setError(JavaUIM... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/WorkInProgressPreferencePage.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.preferences;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.jface.preference.BooleanFieldEditor;
import org.eclipse.jface.preference.FieldEditorPreferencePage;
import org.eclipse.jface.preference.IPre... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/WorkInProgressPreferencePage.java | public static final String PREF_SYNC_OUTLINE_ON_CURSOR_MOVE= "JavaEditor.SyncOutlineOnCursorMove";
public static final String PREF_SHOW_TEMP_PROBLEMS= "JavaEditor.ShowTemporaryProblem";
public WorkInProgressPreferencePage() {
super(GRID);
setPreferenceStore(JavaPlugin.getDefault().getPreferenceStore());
setDe... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/WorkInProgressPreferencePage.java | PREF_SYNC_OUTLINE_ON_CURSOR_MOVE,
"Synchronize &outline selection on cursor move",
parent
);
addField(boolEditor);
}
/*
* @see IWorkbenchPreferencePage#init(IWorkbench)
*/
public void init(IWorkbench workbench) {
}
public static boolean synchronizeOutlineOnCursorMove() {
return JavaPlugi... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/ContentAssistPreference.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.text;
import org.eclipse.swt.graphics.Color;
import org.eclipse.swt.graphics.RGB;
import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.jface.preference.PreferenceConverter;
import org.eclipse.jf... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/ContentAssistPreference.java | public final static String AUTOACTIVATION= "content_assist_autoactivation";
public final static String AUTOACTIVATION_DELAY= "content_assist_autoactivation_delay";
public final static String PROPOSALS_FOREGROUND= "content_assist_proposals_foreground";
public final static String PROPOSALS_BACKGROUND= "co... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/ContentAssistPreference.java | public final static String ADD_IMPORT= "content_assist_add_import";
private static Color getColor(IPreferenceStore store, String key, IColorManager manager) {
RGB rgb= PreferenceConverter.getColor(store, key);
return manager.getColor(rgb);
}
private static Color getColor(IPreferenceStore store, String key)... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/ContentAssistPreference.java | String triggers= store.getString(AUTOACTIVATION_TRIGGERS_JAVA);
if (triggers != null)
jcp.setCompletionProposalAutoActivationCharacters(triggers.toCharArray());
boolean enabled= store.getBoolean(SHOW_VISIBLE_PROPOSALS);
jcp.restrictProposalsToVisibility(enabled);
enabled= store.getBoolean(CASE_SENSITI... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/ContentAssistPreference.java | enabled= store.getBoolean(ORDER_PROPOSALS);
jdcp.orderProposalsAlphabetically(enabled);
}
/**
* Configure the given content assistant from the given store.
*/
public static void configure(ContentAssistant assistant, IPreferenceStore store) {
JavaTextTools textTools= JavaPlugin.getDefault().getJavaTextTo... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/ContentAssistPreference.java | assistant.setContextInformationPopupBackground(c);
assistant.setContextSelectorBackground(c);
enabled= store.getBoolean(AUTOINSERT);
assistant.enableAutoInsert(enabled);
configureJavaProcessor(assistant, store);
configureJavaDocProcessor(assistant, store);
}
private static void changeJavaProcessor(Co... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/ContentAssistPreference.java | jcp.allowAddingImports(enabled);
}
}
private static void changeJavaDocProcessor(ContentAssistant assistant, IPreferenceStore store, String key) {
JavaDocCompletionProcessor jdcp= getJavaDocProcessor(assistant);
if (jdcp == null)
return;
if (AUTOACTIVATION_TRIGGERS_JAVADOC.equals(key)) {
String tri... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/ContentAssistPreference.java | if (AUTOACTIVATION.equals(p)) {
boolean enabled= store.getBoolean(AUTOACTIVATION);
assistant.enableAutoActivation(enabled);
} else if (AUTOACTIVATION_DELAY.equals(p)) {
int delay= store.getInt(AUTOACTIVATION_DELAY);
assistant.setAutoActivationDelay(delay);
} else if (PROPOSALS_FOREGROUND.equals(p)) {
... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ExperimentalPreference.java | package org.eclipse.jdt.internal.ui.text.java;
import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.jdt.internal.ui.JavaPlugin;
/**
* Preference for experimental code assist method completion.
*/
public class ExperimentalPreference {
public static final String CODE_ASSIST_EXPERIMENTAL= "org.eclip... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProcessor.java | package org.eclipse.jdt.internal.ui.text.java;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Hashtable; |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProcessor.java | import java.util.List;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.graphics.Point;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.jface.dialogs.ErrorDialog;
import org.eclipse.jface.text.IDocument;
import org.eclipse.jface.text.ITextViewer;
import org.eclipse.jface.text.contentassist.IComple... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProcessor.java | private int fPosition;
public ContextInformationWrapper(IContextInformation contextInformation) {
fContextInformation= contextInformation;
}
/*
* @see IContextInformation#getContextDisplayString()
*/
public String getContextDisplayString() {
return fContextInformation.getContextDisplayString()... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProcessor.java | public void setContextInformationPosition(int position) {
fPosition= position;
}
};
private final static String VISIBILITY= JavaCore.CODEASSIST_VISIBILITY_CHECK;
private final static String ENABLED= "enabled";
private final static String DISABLED= "disabled";
private IEditorPart fEditor;
private... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProcessor.java | fCollector= new ResultCollector();
fManager= JavaPlugin.getDefault().getWorkingCopyManager();
ContextType contextType= ContextTypeRegistry.getInstance().getContextType("java");
if (contextType != null)
fTemplateEngine= new TemplateEngine(contextType);
fExperimentalCollector= new ExperimentalResultCollector(... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProcessor.java | if (value instanceof String) {
String newValue= restrict ? ENABLED : DISABLED;
if ( !newValue.equals((String) value)) {
options.put(VISIBILITY, newValue);
JavaCore.setOptions(options);
}
}
}
/**
* Tells this processor to order the proposals alphabetically.
*
* @param order <code>true</code... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProcessor.java | * a fully qualified type name
*
* @param restrict <code>true</code> if import can be added
*/
public void allowAddingImports(boolean allowAddingImports) {
fAllowAddImports= allowAddingImports;
}
/**
* @see IContentAssistProcessor#getErrorMessage()
*/
public String getErrorMessage() {
if (fNumberO... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProcessor.java | /**
* @see IContentAssistProcessor#getCompletionProposalAutoActivationCharacters()
*/
public char[] getCompletionProposalAutoActivationCharacters() {
return fProposalAutoActivationSet;
}
private boolean looksLikeMethod(JavaCodeReader reader) throws IOException {
int curr= reader.read();
while (curr != Ja... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProcessor.java | ++ nestingLevel;
else if ('(' == (char) curr) {
-- nestingLevel;
if (nestingLevel < 0) {
int start= reader.getOffset();
if (looksLikeMethod(reader))
return start + 1;
}
}
curr= reader.read();
}
} catch (IOException e) {
}
return contextPosition;
}
... |
15,604 | Bug 15604 Promote Fill arguments on method completion to a real preference | It is still in work in progress but it has become an established feature by now. Promote the preference to the code assist preference page. | resolved fixed | 4820fe3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-05-16T13:23:20Z | 2002-05-09T13:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProcessor.java | }
/**
* @see IContentAssistProcessor#computeContextInformation(ITextViewer, int)
*/
public IContextInformation[] computeContextInformation(ITextViewer viewer, int offset) {
int contextInformationPosition= guessContextInformationPosition(viewer, offset);
List result= addContextInformations(viewer, contextInf... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.