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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
16,554 | Bug 16554 "Reconcile Java views" preference is meaningless | "Window->Preferences->Java->Reconcile Java views" I don't think anyone will know what this preference does. It should be given a more meaningful title. | verified fixed | ffcc0a4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T16:17:07Z | 2002-05-21T14:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/PreferenceConstants.java | * @see org.eclipse.jface.resource.StringConverter
* @see org.eclipse.jface.preference.PreferenceConverter
*/
public final static String EDITOR_BACKGROUND_DEFAULT_COLOR= AbstractTextEditor.PREFERENCE_COLOR_BACKGROUND_SYSTEM_DEFAULT;
/**
* Color used for multi line comments. RGB color encoded using PreferenceConv... |
16,554 | Bug 16554 "Reconcile Java views" preference is meaningless | "Window->Preferences->Java->Reconcile Java views" I don't think anyone will know what this preference does. It should be given a more meaningful title. | verified fixed | ffcc0a4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T16:17:07Z | 2002-05-21T14:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/PreferenceConstants.java | /**
* Enable / Disable the usage of bold style for java keywords. Boolean value.
*/
public final static String EDITOR_JAVA_KEYWORD_BOLD= IJavaColorConstants.JAVA_KEYWORD + JavaEditorPreferencePage.BOLD;
/**
* Color used for string constants. RGB color encoded using PreferenceConverter.
* @see org.eclipse.jfac... |
16,554 | Bug 16554 "Reconcile Java views" preference is meaningless | "Window->Preferences->Java->Reconcile Java views" I don't think anyone will know what this preference does. It should be given a more meaningful title. | verified fixed | ffcc0a4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T16:17:07Z | 2002-05-21T14:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/PreferenceConstants.java | /**
* Enable / Disable the usage of bold style for javadoc keywords. Boolean value.
*/
public final static String EDITOR_JAVADOC_KEYWORD_BOLD= IJavaColorConstants.JAVADOC_KEYWORD + JavaEditorPreferencePage.BOLD;
/**
* Color used for javadoc tags. RGB color encoded using PreferenceConverter.
* @see org.eclipse... |
16,554 | Bug 16554 "Reconcile Java views" preference is meaningless | "Window->Preferences->Java->Reconcile Java views" I don't think anyone will know what this preference does. It should be given a more meaningful title. | verified fixed | ffcc0a4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T16:17:07Z | 2002-05-21T14:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/PreferenceConstants.java | public final static String EDITOR_JAVADOC_DEFAULT_COLOR= IJavaColorConstants.JAVADOC_DEFAULT;
/**
* Enable / Disable the usage of bold style for javadoc default text. Boolean value.
*/
public final static String EDITOR_JAVADOC_DEFAULT_BOLD= IJavaColorConstants.JAVADOC_DEFAULT + JavaEditorPreferencePage.BOLD;
/**... |
16,554 | Bug 16554 "Reconcile Java views" preference is meaningless | "Window->Preferences->Java->Reconcile Java views" I don't think anyone will know what this preference does. It should be given a more meaningful title. | verified fixed | ffcc0a4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T16:17:07Z | 2002-05-21T14:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/PreferenceConstants.java | /**
* Enable / Disable ordering of code assist proposals. Boolean value.
*/
public final static String CODEASSIST_ORDER_PROPOSALS= ContentAssistPreference.ORDER_PROPOSALS;
/**
* Enable / Disable filling argument names for method completions. Boolean value.
*/
public final static String CODEASSIST_FILL_ARGUME... |
16,554 | Bug 16554 "Reconcile Java views" preference is meaningless | "Window->Preferences->Java->Reconcile Java views" I don't think anyone will know what this preference does. It should be given a more meaningful title. | verified fixed | ffcc0a4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T16:17:07Z | 2002-05-21T14:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/PreferenceConstants.java | * Background color used for parameter hints. RGB color encoded using PreferenceConverter.
* @see org.eclipse.jface.resource.StringConverter
* @see org.eclipse.jface.preference.PreferenceConverter
*/
public final static String CODEASSIST_PARAMETERS_BACKGROUND= ContentAssistPreference.PARAMETERS_BACKGROUND;
/**
... |
16,554 | Bug 16554 "Reconcile Java views" preference is meaningless | "Window->Preferences->Java->Reconcile Java views" I don't think anyone will know what this preference does. It should be given a more meaningful title. | verified fixed | ffcc0a4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T16:17:07Z | 2002-05-21T14:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/PreferenceConstants.java | * String value used by REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD.
*/
public static final String REFACTOR_INFO_SEVERITY= RefactoringPreferencePage.INFO_SEVERITY;
/**
* String value used by REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD.
*/
public static final String REFACTOR_OK_SEVERITY= RefactoringPreferencePage.OK_SEVER... |
16,554 | Bug 16554 "Reconcile Java views" preference is meaningless | "Window->Preferences->Java->Reconcile Java views" I don't think anyone will know what this preference does. It should be given a more meaningful title. | verified fixed | ffcc0a4 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T16:17:07Z | 2002-05-21T14:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/PreferenceConstants.java | */
public static String encodeJRELibrary(String description, IClasspathEntry[] entries) {
return NewJavaProjectPreferencePage.encodeJRELibrary(description, entries);
}
/**
* Decodes an encoded JRE library and returns its description string.
*/
public static String decodeJRELibraryDescription(String encodedL... |
18,936 | Bug 18936 Assertion failed in MonoReconciler thread | Build F1 I just noticed the following exception in the debugger when I was launching a runtime WSADIE workspace. It looks like the MonoReconciler is running before the Display has been initialized. The assertion which failed was: Display display = Display.getCurrent(); Assert.isNotNull(display); -----------------------... | verified fixed | 719cc91 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T17:24:39Z | 2002-06-03T21:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | package org.eclipse.jdt.internal.ui.javaeditor;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Hashtable;
import java.util.Iterator;
... |
18,936 | Bug 18936 Assertion failed in MonoReconciler thread | Build F1 I just noticed the following exception in the debugger when I was launching a runtime WSADIE workspace. It looks like the MonoReconciler is running before the Display has been initialized. The assertion which failed was: Display display = Display.getCurrent(); Assert.isNotNull(display); -----------------------... | verified fixed | 719cc91 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T17:24:39Z | 2002-06-03T21:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.core.runtime.Status;
import org.eclipse.swt.SWT;
import org.eclipse.swt.graphics.GC;
import org.eclipse.swt.gr... |
18,936 | Bug 18936 Assertion failed in MonoReconciler thread | Build F1 I just noticed the following exception in the debugger when I was launching a runtime WSADIE workspace. It looks like the MonoReconciler is running before the Display has been initialized. The assertion which failed was: Display display = Display.getCurrent(); Assert.isNotNull(display); -----------------------... | verified fixed | 719cc91 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T17:24:39Z | 2002-06-03T21:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | import org.eclipse.ui.part.FileEditorInput;
import org.eclipse.ui.texteditor.AbstractMarkerAnnotationModel;
import org.eclipse.ui.texteditor.MarkerAnnotation;
import org.eclipse.ui.texteditor.ResourceMarkerAnnotationModel;
import org.eclipse.jdt.core.IBuffer;
import org.eclipse.jdt.core.IBufferFactory;
import org.eclip... |
18,936 | Bug 18936 Assertion failed in MonoReconciler thread | Build F1 I just noticed the following exception in the debugger when I was launching a runtime WSADIE workspace. It looks like the MonoReconciler is running before the Display has been initialized. The assertion which failed was: Display display = Display.getCurrent(); Assert.isNotNull(display); -----------------------... | verified fixed | 719cc91 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T17:24:39Z | 2002-06-03T21:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | public _FileSynchronizer(IFileEditorInput fileEditorInput) {
super(fileEditorInput);
}
};
/**
* Bundle of all required informations to allow working copy management.
*/
protected class CompilationUnitInfo extends FileInfo {
ICompilationUnit fCopy;
CompilationUnitInfo(IDocument docum... |
18,936 | Bug 18936 Assertion failed in MonoReconciler thread | Build F1 I just noticed the following exception in the debugger when I was launching a runtime WSADIE workspace. It looks like the MonoReconciler is running before the Display has been initialized. The assertion which failed was: Display display = Display.getCurrent(); Assert.isNotNull(display); -----------------------... | verified fixed | 719cc91 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T17:24:39Z | 2002-06-03T21:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | private List fOverlaids;
private IProblem fProblem;
private Image fImage;
private static Image fgImage;
public ProblemAnnotation(IProblem problem) {
fProblem= problem;
setLayer(MarkerAnnotation.PROBLEM_LAYER + 1);
if (fgImage == null)
fgImage= JavaPluginImages.get(JavaPluginImages.... |
18,936 | Bug 18936 Assertion failed in MonoReconciler thread | Build F1 I just noticed the following exception in the debugger when I was launching a runtime WSADIE workspace. It looks like the MonoReconciler is running before the Display has been initialized. The assertion which failed was: Display display = Display.getCurrent(); Assert.isNotNull(display); -----------------------... | verified fixed | 719cc91 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T17:24:39Z | 2002-06-03T21:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | /*
* @see IProblemAnnotation#getImage(Display)
*/
public Image getImage(Display display) {
return fImage;
}
/*
* @see IProblemAnnotation#getMessage()
*/
public String getMessage() {
return fProblem.getMessage();
}
/*
* @see IProblemAnnotation#isTemporaryProblem()
*/... |
18,936 | Bug 18936 Assertion failed in MonoReconciler thread | Build F1 I just noticed the following exception in the debugger when I was launching a runtime WSADIE workspace. It looks like the MonoReconciler is running before the Display has been initialized. The assertion which failed was: Display display = Display.getCurrent(); Assert.isNotNull(display); -----------------------... | verified fixed | 719cc91 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T17:24:39Z | 2002-06-03T21:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | }
/*
* @see IProblemAnnotation#getArguments()
*/
public String[] getArguments() {
return fProblem.getArguments();
}
/*
* @see IProblemAnnotation#getId()
*/
public int getId() {
return fProblem.getID();
}
/*
* @see IProblemAnnotation#isProblem()
*/
public boole... |
18,936 | Bug 18936 Assertion failed in MonoReconciler thread | Build F1 I just noticed the following exception in the debugger when I was launching a runtime WSADIE workspace. It looks like the MonoReconciler is running before the Display has been initialized. The assertion which failed was: Display display = Display.getCurrent(); Assert.isNotNull(display); -----------------------... | verified fixed | 719cc91 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T17:24:39Z | 2002-06-03T21:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | */
public boolean hasOverlay() {
return false;
}
/*
* @see IProblemAnnotation#addOverlaid(IProblemAnnotation)
*/
public void addOverlaid(IProblemAnnotation annotation) {
if (fOverlaids == null)
fOverlaids= new ArrayList(1);
fOverlaids.add(annotation);
}
/*
* @see IProb... |
18,936 | Bug 18936 Assertion failed in MonoReconciler thread | Build F1 I just noticed the following exception in the debugger when I was launching a runtime WSADIE workspace. It looks like the MonoReconciler is running before the Display has been initialized. The assertion which failed was: Display display = Display.getCurrent(); Assert.isNotNull(display); -----------------------... | verified fixed | 719cc91 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T17:24:39Z | 2002-06-03T21:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | return null;
}
};
/**
* Internal structure for mapping positions to some value.
* The reason for this specific structure is that positions can
* change over time. Thus a lookup is based on value and not
* on hash value.
*/
protected static class ReverseMap {
static class Entry {
P... |
18,936 | Bug 18936 Assertion failed in MonoReconciler thread | Build F1 I just noticed the following exception in the debugger when I was launching a runtime WSADIE workspace. It looks like the MonoReconciler is running before the Display has been initialized. The assertion which failed was: Display display = Display.getCurrent(); Assert.isNotNull(display); -----------------------... | verified fixed | 719cc91 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T17:24:39Z | 2002-06-03T21:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | entry= (Entry) fList.get(i);
if (entry.fPosition.equals(position)) {
fAnchor= i;
return entry.fValue;
}
}
for (int i= 0; i < fAnchor; i++) {
entry= (Entry) fList.get(i);
if (entry.fPosition.equals(position)) {
fAnchor= i;
return entry.fValue;
}
}
... |
18,936 | Bug 18936 Assertion failed in MonoReconciler thread | Build F1 I just noticed the following exception in the debugger when I was launching a runtime WSADIE workspace. It looks like the MonoReconciler is running before the Display has been initialized. The assertion which failed was: Display display = Display.getCurrent(); Assert.isNotNull(display); -----------------------... | verified fixed | 719cc91 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T17:24:39Z | 2002-06-03T21:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | public void put(Position position, Object value) {
int index= getIndex(position);
if (index == -1) {
Entry entry= new Entry();
entry.fPosition= position;
entry.fValue= value;
fList.add(entry);
} else {
Entry entry= (Entry) fList.get(index);
entry.fValue= value;
}
}
... |
18,936 | Bug 18936 Assertion failed in MonoReconciler thread | Build F1 I just noticed the following exception in the debugger when I was launching a runtime WSADIE workspace. It looks like the MonoReconciler is running before the Display has been initialized. The assertion which failed was: Display display = Display.getCurrent(); Assert.isNotNull(display); -----------------------... | verified fixed | 719cc91 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T17:24:39Z | 2002-06-03T21:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | private IFileEditorInput fInput;
private List fCollectedProblems;
private List fGeneratedAnnotations;
private IProgressMonitor fProgressMonitor;
private boolean fIsActive= false;
private ReverseMap fReverseMap= new ReverseMap();
private List fPreviouslyShadowed= null;
private List fCurrentlySh... |
18,936 | Bug 18936 Assertion failed in MonoReconciler thread | Build F1 I just noticed the following exception in the debugger when I was launching a runtime WSADIE workspace. It looks like the MonoReconciler is running before the Display has been initialized. The assertion which failed was: Display display = Display.getCurrent(); Assert.isNotNull(display); -----------------------... | verified fixed | 719cc91 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T17:24:39Z | 2002-06-03T21:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | protected Position createPositionFromProblem(IProblem problem) {
int start= problem.getSourceStart();
if (start < 0)
return null;
int length= problem.getSourceEnd() - problem.getSourceStart() + 1;
if (length < 0)
return null;
return new Position(start, length);
}
/*
... |
18,936 | Bug 18936 Assertion failed in MonoReconciler thread | Build F1 I just noticed the following exception in the debugger when I was launching a runtime WSADIE workspace. It looks like the MonoReconciler is running before the Display has been initialized. The assertion which failed was: Display display = Display.getCurrent(); Assert.isNotNull(display); -----------------------... | verified fixed | 719cc91 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T17:24:39Z | 2002-06-03T21:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | public void acceptProblem(IProblem problem) {
if (isActive())
fCollectedProblems.add(problem);
}
/*
* @see IProblemRequestor#endReporting()
*/
public void endReporting() {
if (!isActive())
return;
if (fProgressMonitor != null && fProgressMonitor.isCanceled())
return;
... |
18,936 | Bug 18936 Assertion failed in MonoReconciler thread | Build F1 I just noticed the following exception in the debugger when I was launching a runtime WSADIE workspace. It looks like the MonoReconciler is running before the Display has been initialized. The assertion which failed was: Display display = Display.getCurrent(); Assert.isNotNull(display); -----------------------... | verified fixed | 719cc91 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T17:24:39Z | 2002-06-03T21:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | Iterator e= fCollectedProblems.iterator();
while (e.hasNext()) {
IProblem problem= (IProblem) e.next();
if (fProgressMonitor != null && fProgressMonitor.isCanceled()) {
isCanceled= true;
break;
}
Position position= createPositionFromProblem(prob... |
18,936 | Bug 18936 Assertion failed in MonoReconciler thread | Build F1 I just noticed the following exception in the debugger when I was launching a runtime WSADIE workspace. It looks like the MonoReconciler is running before the Display has been initialized. The assertion which failed was: Display display = Display.getCurrent(); Assert.isNotNull(display); -----------------------... | verified fixed | 719cc91 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T17:24:39Z | 2002-06-03T21:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | if (temporaryProblemsChanged)
fireModelChanged(new CompilationUnitAnnotationModelEvent(this, getResource(), false));
}
private void removeMarkerOverlays(boolean isCanceled) {
if (isCanceled) {
fCurrentlyShadowed.addAll(fPreviouslyShadowed);
} else {
Iterator e= fPreviouslyShadowed.itera... |
18,936 | Bug 18936 Assertion failed in MonoReconciler thread | Build F1 I just noticed the following exception in the debugger when I was launching a runtime WSADIE workspace. It looks like the MonoReconciler is running before the Display has been initialized. The assertion which failed was: Display display = Display.getCurrent(); Assert.isNotNull(display); -----------------------... | verified fixed | 719cc91 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T17:24:39Z | 2002-06-03T21:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | List list= (List) value;
for (Iterator e = list.iterator(); e.hasNext();)
setOverlay(e.next(), problemAnnotation);
} else {
setOverlay(value, problemAnnotation);
}
}
/**
* Tells this annotation model to collect temporary problems from now on.
*/
private void startCollectingP... |
18,936 | Bug 18936 Assertion failed in MonoReconciler thread | Build F1 I just noticed the following exception in the debugger when I was launching a runtime WSADIE workspace. It looks like the MonoReconciler is running before the Display has been initialized. The assertion which failed was: Display display = Display.getCurrent(); Assert.isNotNull(display); -----------------------... | verified fixed | 719cc91 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T17:24:39Z | 2002-06-03T21:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | */
protected void fireModelChanged() {
fireModelChanged(new CompilationUnitAnnotationModelEvent(this, getResource(), true));
}
/*
* @see IProblemRequestor#isActive()
*/
public boolean isActive() {
return fIsActive && (fCollectedProblems != null);
}
/*
* @see IProblemRequest... |
18,936 | Bug 18936 Assertion failed in MonoReconciler thread | Build F1 I just noticed the following exception in the debugger when I was launching a runtime WSADIE workspace. It looks like the MonoReconciler is running before the Display has been initialized. The assertion which failed was: Display display = Display.getCurrent(); Assert.isNotNull(display); -----------------------... | verified fixed | 719cc91 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T17:24:39Z | 2002-06-03T21:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | }
private Object getAnnotations(Position position) {
return fReverseMap.get(position);
}
/*
* @see AnnotationModel#addAnnotation(Annotation, Position, boolean)
*/
protected void addAnnotation(Annotation annotation, Position position, boolean fireModelChanged) {
super.addAnnotation... |
18,936 | Bug 18936 Assertion failed in MonoReconciler thread | Build F1 I just noticed the following exception in the debugger when I was launching a runtime WSADIE workspace. It looks like the MonoReconciler is running before the Display has been initialized. The assertion which failed was: Display display = Display.getCurrent(); Assert.isNotNull(display); -----------------------... | verified fixed | 719cc91 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T17:24:39Z | 2002-06-03T21:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | super.removeAllAnnotations(fireModelChanged);
fReverseMap.clear();
}
/*
* @see AnnotationModel#removeAnnotation(Annotation, boolean)
*/
protected void removeAnnotation(Annotation annotation, boolean fireModelChanged) {
Position position= getPosition(annotation);
Object cached= fReverseM... |
18,936 | Bug 18936 Assertion failed in MonoReconciler thread | Build F1 I just noticed the following exception in the debugger when I was launching a runtime WSADIE workspace. It looks like the MonoReconciler is running before the Display has been initialized. The assertion which failed was: Display display = Display.getCurrent(); Assert.isNotNull(display); -----------------------... | verified fixed | 719cc91 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T17:24:39Z | 2002-06-03T21:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | private IDocument internalGetDocument(IFileEditorInput input) throws CoreException {
IDocument document= getDocument(input);
if (document != null)
return document;
return CompilationUnitDocumentProvider.this.createDocument(input);
}
public IBuffer createBuffer(IOpenable owner) {
if (owner... |
18,936 | Bug 18936 Assertion failed in MonoReconciler thread | Build F1 I just noticed the following exception in the debugger when I was launching a runtime WSADIE workspace. It looks like the MonoReconciler is running before the Display has been initialized. The assertion which failed was: Display display = Display.getCurrent(); Assert.isNotNull(display); -----------------------... | verified fixed | 719cc91 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T17:24:39Z | 2002-06-03T21:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | ICompilationUnit original= (ICompilationUnit) unit.getOriginalElement();
IResource resource= original.getCorrespondingResource();
if (resource instanceof IFile) {
IFileEditorInput providerKey= new FileEditorInput((IFile) resource);
IDocument document= null;
IStatus status= null;... |
18,936 | Bug 18936 Assertion failed in MonoReconciler thread | Build F1 I just noticed the following exception in the debugger when I was launching a runtime WSADIE workspace. It looks like the MonoReconciler is running before the Display has been initialized. The assertion which failed was: Display display = Display.getCurrent(); Assert.isNotNull(display); -----------------------... | verified fixed | 719cc91 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T17:24:39Z | 2002-06-03T21:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | private ListenerList fListenerList;
public GlobalAnnotationModelListener() {
fListenerList= new ListenerList();
}
/**
* @see IAnnotationModelListener#modelChanged(IAnnotationModel)
*/
public void modelChanged(IAnnotationModel model) {
Object[] listeners= fListenerList.getListeners();... |
18,936 | Bug 18936 Assertion failed in MonoReconciler thread | Build F1 I just noticed the following exception in the debugger when I was launching a runtime WSADIE workspace. It looks like the MonoReconciler is running before the Display has been initialized. The assertion which failed was: Display display = Display.getCurrent(); Assert.isNotNull(display); -----------------------... | verified fixed | 719cc91 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T17:24:39Z | 2002-06-03T21:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | public void addListener(IAnnotationModelListener listener) {
fListenerList.add(listener);
}
public void removeListener(IAnnotationModelListener listener) {
fListenerList.remove(listener);
}
};
/**
* Document that can also be used by a background reconciler.
*/
protected static... |
18,936 | Bug 18936 Assertion failed in MonoReconciler thread | Build F1 I just noticed the following exception in the debugger when I was launching a runtime WSADIE workspace. It looks like the MonoReconciler is running before the Display has been initialized. The assertion which failed was: Display display = Display.getCurrent(); Assert.isNotNull(display); -----------------------... | verified fixed | 719cc91 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T17:24:39Z | 2002-06-03T21:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | /*
* @see IDocument#get()
*/
synchronized public String get() {
return super.get();
}
/*
* @see IDocument#get(int, int)
*/
synchronized public String get(int offset, int length) throws BadLocationException {
return super.get(offset, length);
}
/*
* @see IDocument#ge... |
18,936 | Bug 18936 Assertion failed in MonoReconciler thread | Build F1 I just noticed the following exception in the debugger when I was launching a runtime WSADIE workspace. It looks like the MonoReconciler is running before the Display has been initialized. The assertion which failed was: Display display = Display.getCurrent(); Assert.isNotNull(display); -----------------------... | verified fixed | 719cc91 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T17:24:39Z | 2002-06-03T21:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | */
synchronized public void set(String text) {
super.set(text);
}
};
public final static String HANDLE_TEMPORARY_PROBLEMS= "handleTemporaryProblems";
private IBufferFactory fBufferFactory= new BufferFactory();
private boolean fIsAboutToSave= false;
private ISavePolicy fSavePolicy;
... |
18,936 | Bug 18936 Assertion failed in MonoReconciler thread | Build F1 I just noticed the following exception in the debugger when I was launching a runtime WSADIE workspace. It looks like the MonoReconciler is running before the Display has been initialized. The assertion which failed was: Display display = Display.getCurrent(); Assert.isNotNull(display); -----------------------... | verified fixed | 719cc91 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T17:24:39Z | 2002-06-03T21:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | if (HANDLE_TEMPORARY_PROBLEMS.equals(event.getProperty()))
enableHandlingTemporaryProblems();
}
};
fGlobalAnnotationModelListener= new GlobalAnnotationModelListener();
JavaPlugin.getDefault().getPreferenceStore().addPropertyChangeListener(fPropertyListener);
}
/**
* Sets the document provider'... |
18,936 | Bug 18936 Assertion failed in MonoReconciler thread | Build F1 I just noticed the following exception in the debugger when I was launching a runtime WSADIE workspace. It looks like the MonoReconciler is running before the Display has been initialized. The assertion which failed was: Display display = Display.getCurrent(); Assert.isNotNull(display); -----------------------... | verified fixed | 719cc91 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T17:24:39Z | 2002-06-03T21:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | * Creates a line tracker working with the same line delimiters as the document
* of the given element. Assumes the element to be managed by this document provider.
*
* @param element the element serving as blue print
* @return a line tracker based on the same line delimiters as the element's document
*/
pub... |
18,936 | Bug 18936 Assertion failed in MonoReconciler thread | Build F1 I just noticed the following exception in the debugger when I was launching a runtime WSADIE workspace. It looks like the MonoReconciler is running before the Display has been initialized. The assertion which failed was: Display display = Display.getCurrent(); Assert.isNotNull(display); -----------------------... | verified fixed | 719cc91 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T17:24:39Z | 2002-06-03T21:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | IAnnotationModel m= createCompilationUnitAnnotationModel(input);
IProblemRequestor r= m instanceof IProblemRequestor ? (IProblemRequestor) m : null;
ICompilationUnit c= (ICompilationUnit) original.getSharedWorkingCopy(monitor, fBufferFactory, r);
DocumentAdapter a= null;
try {
a= (DocumentAdap... |
18,936 | Bug 18936 Assertion failed in MonoReconciler thread | Build F1 I just noticed the following exception in the debugger when I was launching a runtime WSADIE workspace. It looks like the MonoReconciler is running before the Display has been initialized. The assertion which failed was: Display display = Display.getCurrent(); Assert.isNotNull(display); -----------------------... | verified fixed | 719cc91 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T17:24:39Z | 2002-06-03T21:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | }
} else {
return super.createElementInfo(element);
}
}
/*
* @see AbstractDocumentProvider#disposeElementInfo(Object, ElementInfo)
*/
protected void disposeElementInfo(Object element, ElementInfo info) {
if (info instanceof CompilationUnitInfo) {
CompilationUnitInfo cuInfo= (CompilationUnitInf... |
18,936 | Bug 18936 Assertion failed in MonoReconciler thread | Build F1 I just noticed the following exception in the debugger when I was launching a runtime WSADIE workspace. It looks like the MonoReconciler is running before the Display has been initialized. The assertion which failed was: Display display = Display.getCurrent(); Assert.isNotNull(display); -----------------------... | verified fixed | 719cc91 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T17:24:39Z | 2002-06-03T21:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | info.fCopy.reconcile();
ICompilationUnit original= (ICompilationUnit) info.fCopy.getOriginalElement();
IResource resource= null;
try {
resource= original.getUnderlyingResource();
} catch (JavaModelException x) {
}
if (resource == null) {
super.doSaveDocument(monitor, element,... |
18,936 | Bug 18936 Assertion failed in MonoReconciler thread | Build F1 I just noticed the following exception in the debugger when I was launching a runtime WSADIE workspace. It looks like the MonoReconciler is running before the Display has been initialized. The assertion which failed was: Display display = Display.getCurrent(); Assert.isNotNull(display); -----------------------... | verified fixed | 719cc91 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T17:24:39Z | 2002-06-03T21:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | AbstractMarkerAnnotationModel model= (AbstractMarkerAnnotationModel) info.fModel;
model.updateMarkers(info.fDocument);
if (resource != null)
info.setModificationStamp(computeModificationStamp(resource));
if (fSavePolicy != null) {
ICompilationUnit unit= fSavePolicy.postSave(original);
if (... |
18,936 | Bug 18936 Assertion failed in MonoReconciler thread | Build F1 I just noticed the following exception in the debugger when I was launching a runtime WSADIE workspace. It looks like the MonoReconciler is running before the Display has been initialized. The assertion which failed was: Display display = Display.getCurrent(); Assert.isNotNull(display); -----------------------... | verified fixed | 719cc91 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T17:24:39Z | 2002-06-03T21:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | IFileEditorInput input= (IFileEditorInput) element;
return new CompilationUnitAnnotationModel(input);
}
protected void initializeDocument(IDocument document) {
if (document != null) {
JavaTextTools tools= JavaPlugin.getDefault().getJavaTextTools();
IDocumentPartitioner partitioner= tools.createDocumentPar... |
18,936 | Bug 18936 Assertion failed in MonoReconciler thread | Build F1 I just noticed the following exception in the debugger when I was launching a runtime WSADIE workspace. It looks like the MonoReconciler is running before the Display has been initialized. The assertion which failed was: Display display = Display.getCurrent(); Assert.isNotNull(display); -----------------------... | verified fixed | 719cc91 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T17:24:39Z | 2002-06-03T21:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | /*
* @see AbstractDocumentProvider#resetDocument(Object)
*/
public void resetDocument(Object element) throws CoreException {
if (element == null)
return;
ElementInfo elementInfo= getElementInfo(element);
if (elementInfo instanceof CompilationUnitInfo) {
CompilationUnitInfo info= (CompilationUnitI... |
18,936 | Bug 18936 Assertion failed in MonoReconciler thread | Build F1 I just noticed the following exception in the debugger when I was launching a runtime WSADIE workspace. It looks like the MonoReconciler is running before the Display has been initialized. The assertion which failed was: Display display = Display.getCurrent(); Assert.isNotNull(display); -----------------------... | verified fixed | 719cc91 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T17:24:39Z | 2002-06-03T21:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | IFileEditorInput input= new FileEditorInput(file);
document= super.createDocument(input);
} else {
document= new Document();
}
} catch (CoreException x) {
document= new Document();
status= x.getStatus();
}
fireElementContentAboutToBeReplaced(element);
removeUnch... |
18,936 | Bug 18936 Assertion failed in MonoReconciler thread | Build F1 I just noticed the following exception in the debugger when I was launching a runtime WSADIE workspace. It looks like the MonoReconciler is running before the Display has been initialized. The assertion which failed was: Display display = Display.getCurrent(); Assert.isNotNull(display); -----------------------... | verified fixed | 719cc91 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T17:24:39Z | 2002-06-03T21:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | *
* @param monitor the progress monitor
* @param element the element to which to save
* @param document the document to save
* @param overwrite <code>true</code> if the save should be enforced
*/
public void saveDocumentContent(IProgressMonitor monitor, Object element, IDocument document, boolean overwrite)... |
18,936 | Bug 18936 Assertion failed in MonoReconciler thread | Build F1 I just noticed the following exception in the debugger when I was launching a runtime WSADIE workspace. It looks like the MonoReconciler is running before the Display has been initialized. The assertion which failed was: Display display = Display.getCurrent(); Assert.isNotNull(display); -----------------------... | verified fixed | 719cc91 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T17:24:39Z | 2002-06-03T21:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | public IResource getUnderlyingResource(Object element) {
if (element instanceof IFileEditorInput) {
IFileEditorInput input= (IFileEditorInput) element;
return input.getFile();
}
return null;
}
/*
* @see IWorkingCopyManager#connect(IEditorInput)
*/
public void connect(IEditorInput input) throws Core... |
18,936 | Bug 18936 Assertion failed in MonoReconciler thread | Build F1 I just noticed the following exception in the debugger when I was launching a runtime WSADIE workspace. It looks like the MonoReconciler is running before the Display has been initialized. The assertion which failed was: Display display = Display.getCurrent(); Assert.isNotNull(display); -----------------------... | verified fixed | 719cc91 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T17:24:39Z | 2002-06-03T21:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | return info.fCopy;
}
return null;
}
/**
* Gets the BufferFactory.
*/
public IBufferFactory getBufferFactory() {
return fBufferFactory;
}
public void shutdown() {
JavaPlugin.getDefault().getPreferenceStore().removePropertyChangeListener(fPropertyListener);
Iterator e= getConnectedElements... |
18,936 | Bug 18936 Assertion failed in MonoReconciler thread | Build F1 I just noticed the following exception in the debugger when I was launching a runtime WSADIE workspace. It looks like the MonoReconciler is running before the Display has been initialized. The assertion which failed was: Display display = Display.getCurrent(); Assert.isNotNull(display); -----------------------... | verified fixed | 719cc91 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-10T17:24:39Z | 2002-06-03T21:33:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | * Switches the state of problem acceptance according to the value in the preference store.
*/
protected void enableHandlingTemporaryProblems() {
boolean enable= isHandlingTemporaryProblems();
for (Iterator iter= getConnectedElements(); iter.hasNext();) {
ElementInfo element= getElementInfo(iter.next());
if... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaUIStatus.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
/**
* Convenience class for error exceptions thrown inside JavaUI plugin.
*/
public class JavaUIStatus extends Status {
public Ja... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | package org.eclipse.jdt.internal.ui.javaeditor;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.ScrolledComposite;
import org.eclipse.swt.custom.StackLayout;
impo... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.ScrollBar;
import org.eclipse.core.resources.IFi... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | import org.eclipse.jdt.core.IJavaModelStatusConstants;
import org.eclipse.jdt.core.IPackageFragmentRoot;
import org.eclipse.jdt.core.JavaCore;
import org.eclipse.jdt.core.JavaModelException;
import org.eclipse.jdt.core.ToolFactory;
import org.eclipse.jdt.core.util.IClassFileDisassembler;
import org.eclipse.jdt.core.uti... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | private List fHeaderLabels= new ArrayList();
private Font fFont;
/**
* 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 g... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | fSeparatorColor= new Color(display, 152, 170, 203);
JFaceResources.getFontRegistry().addListener(this);
fScrolledComposite= new ScrolledComposite(parent, SWT.H_SCROLL | SWT.V_SCROLL);
fScrolledComposite.setAlwaysShowScrollBars(false);
fScrolledComposite.setExpandHorizontal(true);
fScrolledComp... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | verticalBar.setPageIncrement(clientArea.height - verticalBar.getIncrement());
ScrollBar horizontalBar= fScrolledComposite.getHorizontalBar();
horizontalBar.setIncrement(HORIZONTAL_SCROLL_INCREMENT);
horizontalBar.setPageIncrement(clientArea.width - horizontalBar.getIncrement());
}
});
... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | } else if (entry != null && entry.getEntryKind() == IClasspathEntry.CPE_CONTAINER) {
IClasspathContainer container= JavaCore.getClasspathContainer(entry.getPath(), root.getJavaProject());
String containerName= container == null ? entry.getPath().toString() : container.getDescription();
crea... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | if (dialog.open() == SourceAttachmentDialog.OK)
verifyInput(getEditorInput());
} catch (CoreException e) {
String title= JavaEditorMessages.getString("SourceAttachmentForm.error.title");
String message= JavaEditorMessages.getString("SourceAttachmentForm.error.message");
... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | fScrolledComposite.setContent(composite);
fScrolledComposite.setMinSize(composite.computeSize(SWT.DEFAULT, SWT.DEFAULT));
return fScrolledComposite;
}
/*
* @see IPropertyChangeListener#propertyChange(PropertyChangeEvent)
*/
public void propertyChange(PropertyChangeEvent event) {
... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | private Composite createComposite(Composite parent) {
Composite composite = new Composite(parent, SWT.NONE);
composite.setBackground(fBackgroundColor);
return composite;
}
private Composite createCompositeSeparator(Composite parent) {
Composite composite = new Composite(parent, S... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | if (store != null) {
FontData data= null;
if (store.contains(PREFERENCE_FONT) && !store.isDefault(PREFERENCE_FONT))
data= PreferenceConverter.getFontData(store, PREFERENCE_FONT);
else
data= PreferenceConverter.getDefaultFontData(store, PREFERENCE_FONT);
if (data != null) {
... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | label.setText(text);
label.setBackground(fBackgroundColor);
label.setForeground(fForegroundColor);
label.setFont(JFaceResources.getHeaderFont());
fHeaderLabels.add(label);
return label;
}
private Label createHeadingLabel(Composite parent, String text) {
Label label = new Label(parent, S... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | String content= null;
int flags= IClassFileReader.FIELD_INFOS | IClassFileReader.METHOD_INFOS | IClassFileReader.SUPER_INTERFACES;
IClassFileReader classFileReader= ToolFactory.createDefaultClassFileReader(classFile, flags);
if (classFileReader != null) {
IClassFileDisassembler disassembler= ToolF... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | /*
* @see AbstractTextEditor#createActions()
*/
protected void createActions() {
super.createActions();
setAction(ITextEditorActionConstants.SAVE, null);
setAction(ITextEditorActionConstants.REVERT_TO_SAVED, null);
/*
* 1GF82PL: ITPJUI:ALL - Need to be able to add bookmark to classfile
*
* ... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | return input.getClassFile().getElementAt(offset);
} catch (JavaModelException x) {
}
}
return null;
}
/*
* @see JavaEditor#getCorrespondingElement(IJavaElement)
*/
protected IJavaElement getCorrespondingElement(IJavaElement element) {
if (getEditorInput() instanceof IClassFileEditorInput) {
ICla... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | if (page != null && input instanceof IClassFileEditorInput) {
IClassFileEditorInput cfi= (IClassFileEditorInput) input;
page.setInput(cfi.getClassFile());
}
}
/*
* 1GEPKT5: ITPJUI:Linux - Source in editor for external classes is editable
* Removed methods isSaveOnClosedNeeded and isDirty.
* Added meth... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | if (classFileInput.getClassFile() != null)
input= classFileInput;
}
return input;
}
/*
* @see AbstractTextEditor#doSetInput(IEditorInput)
*/
protected void doSetInput(IEditorInput input) throws CoreException {
input= transformEditorInput(input);
if (!(input instanceof IClassFileEditorInput))
... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | ((ClassFileDocumentProvider) documentProvider).addInputChangeListener(this);
verifyInput(getEditorInput());
}
/*
* @see IWorkbenchPart#createPartControl(Composite)
*/
public void createPartControl(Composite parent) {
fParent= new Composite(parent, SWT.NONE);
fStackLayout= new StackLayout();
fParent.setLa... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | element= element.getParent();
return (IPackageFragmentRoot) element;
}
private JavaModelException probeInputForSource(IEditorInput input) {
if (input == null)
return null;
IClassFileEditorInput classFileEditorInput= (IClassFileEditorInput) input;
IClassFile file= classFileEditorInput.getClassFile();
... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | SourceAttachmentForm form= new SourceAttachmentForm(file);
fSourceAttachmentForm= form.createControl(fParent);
fStackLayout.topControl= fSourceAttachmentForm;
fParent.layout();
} else {
if (fSourceAttachmentForm != null) {
fSourceAttachmentForm.dispose();
fSourceAttachmentForm= null;
fSt... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java | }
}
}
/*
* @see JavaEditor#createJavaSourceViewer(Composite, IVerticalRuler, int)
*/
protected ISourceViewer createJavaSourceViewer(Composite parent, IVerticalRuler ruler, int styles) {
return new SourceViewer(parent, ruler, styles) {
public boolean requestWidgetToken(IWidgetTokenKeeper request... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | package org.eclipse.jdt.internal.ui.javaeditor;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Hashtable;
import java.util.Iterator;
... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | import org.eclipse.swt.widgets.Canvas;
import org.eclipse.swt.widgets.Display;
import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.jface.text.BadLocationException;
import org.eclipse.jface.text.DefaultLineTracker;
import org.eclipse.jface.text.Document;
import org.eclipse.jface.text.IDocument;
impo... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | import org.eclipse.jdt.core.IProblemRequestor;
import org.eclipse.jdt.core.JavaCore;
import org.eclipse.jdt.core.JavaModelException;
import org.eclipse.jdt.core.compiler.IProblem;
import org.eclipse.jdt.ui.IWorkingCopyManager;
import org.eclipse.jdt.ui.JavaUI;
import org.eclipse.jdt.ui.text.JavaTextTools;
import org.ec... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | ICompilationUnit fCopy;
CompilationUnitInfo(IDocument document, IAnnotationModel model, _FileSynchronizer fileSynchronizer, ICompilationUnit copy) {
super(document, model, fileSynchronizer);
fCopy= copy;
}
void setModificationStamp(long timeStamp) {
fModificationStamp= timeStamp;
}
};
... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | display.syncExec(new Runnable() {
public void run() {
fgImage= JavaPluginImages.get(JavaPluginImages.IMG_OBJS_FIXABLE_PROBLEM);
}
});
}
if (JavaEditorPreferencePage.showTempProblems() && JavaCorrectionProcessor.hasCorrections(fProblem.getID()))
fImage= fgImage;
}
/... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | return fProblem.getMessage();
}
/*
* @see IProblemAnnotation#isTemporaryProblem()
*/
public boolean isTemporaryProblem() {
return true;
}
/*
* @see IProblemAnnotation#isWarning()
*/
public boolean isWarning() {
return fProblem.isWarning();
}
/*
* @see IProblemAnnotati... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | public int getId() {
return fProblem.getID();
}
/*
* @see IProblemAnnotation#isProblem()
*/
public boolean isProblem() {
return true;
}
/*
* @see IProblemAnnotation#isRelevant()
*/
public boolean isRelevant() {
return true;
}
/*
* @see IProblemAnnotation#h... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | fOverlaids.add(annotation);
}
/*
* @see IProblemAnnotation#removeOverlaid(IProblemAnnotation)
*/
public void removeOverlaid(IProblemAnnotation annotation) {
if (fOverlaids != null) {
fOverlaids.remove(annotation);
if (fOverlaids.size() == 0)
fOverlaids= null;
}
}
/*
... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | static class Entry {
Position fPosition;
Object fValue;
};
private List fList= new ArrayList(2);
private int fAnchor= 0;
public ReverseMap() {
}
public Object get(Position position) {
Entry entry;
int length= fList.size();
for (int i= fAnchor; i < length;... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | entry= (Entry) fList.get(i);
if (entry.fPosition.equals(position)) {
fAnchor= i;
return entry.fValue;
}
}
for (int i= 0; i < fAnchor; i++) {
entry= (Entry) fList.get(i);
if (entry.fPosition.equals(position)) {
fAnchor= i;
return entry.fValue;
}
}
... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | public void put(Position position, Object value) {
int index= getIndex(position);
if (index == -1) {
Entry entry= new Entry();
entry.fPosition= position;
entry.fValue= value;
fList.add(entry);
} else {
Entry entry= (Entry) fList.get(index);
entry.fValue= value;
}
}
... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | private IFileEditorInput fInput;
private List fCollectedProblems;
private List fGeneratedAnnotations;
private IProgressMonitor fProgressMonitor;
private boolean fIsActive= false;
private ReverseMap fReverseMap= new ReverseMap();
private List fPreviouslyShadowed= null;
private List fCurrentlySh... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | protected Position createPositionFromProblem(IProblem problem) {
int start= problem.getSourceStart();
if (start < 0)
return null;
int length= problem.getSourceEnd() - problem.getSourceStart() + 1;
if (length < 0)
return null;
return new Position(start, length);
}
/*
... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | public void acceptProblem(IProblem problem) {
if (isActive())
fCollectedProblems.add(problem);
}
/*
* @see IProblemRequestor#endReporting()
*/
public void endReporting() {
if (!isActive())
return;
if (fProgressMonitor != null && fProgressMonitor.isCanceled())
return;
... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | Iterator e= fCollectedProblems.iterator();
while (e.hasNext()) {
IProblem problem= (IProblem) e.next();
if (fProgressMonitor != null && fProgressMonitor.isCanceled()) {
isCanceled= true;
break;
}
Position position= createPositionFromProblem(prob... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | if (temporaryProblemsChanged)
fireModelChanged(new CompilationUnitAnnotationModelEvent(this, getResource(), false));
}
private void removeMarkerOverlays(boolean isCanceled) {
if (isCanceled) {
fCurrentlyShadowed.addAll(fPreviouslyShadowed);
} else {
Iterator e= fPreviouslyShadowed.itera... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | List list= (List) value;
for (Iterator e = list.iterator(); e.hasNext();)
setOverlay(e.next(), problemAnnotation);
} else {
setOverlay(value, problemAnnotation);
}
}
/**
* Tells this annotation model to collect temporary problems from now on.
*/
private void startCollectingP... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | */
protected void fireModelChanged() {
fireModelChanged(new CompilationUnitAnnotationModelEvent(this, getResource(), true));
}
/*
* @see IProblemRequestor#isActive()
*/
public boolean isActive() {
return fIsActive && (fCollectedProblems != null);
}
/*
* @see IProblemRequest... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | }
private Object getAnnotations(Position position) {
return fReverseMap.get(position);
}
/*
* @see AnnotationModel#addAnnotation(Annotation, Position, boolean)
*/
protected void addAnnotation(Annotation annotation, Position position, boolean fireModelChanged) {
super.addAnnotation... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | super.removeAllAnnotations(fireModelChanged);
fReverseMap.clear();
}
/*
* @see AnnotationModel#removeAnnotation(Annotation, boolean)
*/
protected void removeAnnotation(Annotation annotation, boolean fireModelChanged) {
Position position= getPosition(annotation);
Object cached= fReverseM... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | private IDocument internalGetDocument(IFileEditorInput input) throws CoreException {
IDocument document= getDocument(input);
if (document != null)
return document;
return CompilationUnitDocumentProvider.this.createDocument(input);
}
public IBuffer createBuffer(IOpenable owner) {
if (owner... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | ICompilationUnit original= (ICompilationUnit) unit.getOriginalElement();
IResource resource= original.getCorrespondingResource();
if (resource instanceof IFile) {
IFileEditorInput providerKey= new FileEditorInput((IFile) resource);
IDocument document= null;
IStatus status= null;... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | private ListenerList fListenerList;
public GlobalAnnotationModelListener() {
fListenerList= new ListenerList();
}
/**
* @see IAnnotationModelListener#modelChanged(IAnnotationModel)
*/
public void modelChanged(IAnnotationModel model) {
Object[] listeners= fListenerList.getListeners();... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | public void addListener(IAnnotationModelListener listener) {
fListenerList.add(listener);
}
public void removeListener(IAnnotationModelListener listener) {
fListenerList.remove(listener);
}
};
/**
* Document that can also be used by a background reconciler.
*/
protected static... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | /*
* @see IDocument#get()
*/
synchronized public String get() {
return super.get();
}
/*
* @see IDocument#get(int, int)
*/
synchronized public String get(int offset, int length) throws BadLocationException {
return super.get(offset, length);
}
/*
* @see IDocument#ge... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | */
synchronized public void set(String text) {
super.set(text);
}
};
public final static String HANDLE_TEMPORARY_PROBLEMS= "handleTemporaryProblems";
private IBufferFactory fBufferFactory= new BufferFactory();
private boolean fIsAboutToSave= false;
private ISavePolicy fSavePolicy;
... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | if (HANDLE_TEMPORARY_PROBLEMS.equals(event.getProperty()))
enableHandlingTemporaryProblems();
}
};
fGlobalAnnotationModelListener= new GlobalAnnotationModelListener();
JavaPlugin.getDefault().getPreferenceStore().addPropertyChangeListener(fPropertyListener);
}
/**
* Sets the document provider'... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | * Creates a line tracker working with the same line delimiters as the document
* of the given element. Assumes the element to be managed by this document provider.
*
* @param element the element serving as blue print
* @return a line tracker based on the same line delimiters as the element's document
*/
pub... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | IAnnotationModel m= createCompilationUnitAnnotationModel(input);
IProblemRequestor r= m instanceof IProblemRequestor ? (IProblemRequestor) m : null;
ICompilationUnit c= (ICompilationUnit) original.getSharedWorkingCopy(monitor, fBufferFactory, r);
DocumentAdapter a= null;
try {
a= (DocumentAdap... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | }
} else {
return super.createElementInfo(element);
}
}
/*
* @see AbstractDocumentProvider#disposeElementInfo(Object, ElementInfo)
*/
protected void disposeElementInfo(Object element, ElementInfo info) {
if (info instanceof CompilationUnitInfo) {
CompilationUnitInfo cuInfo= (CompilationUnitInf... |
14,444 | Bug 14444 java editor refers to internal jcore classes | ClassFileEditor CompilationUnitDocumentProvider JavaMarkerAnnotation | verified fixed | 5c12b08 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-06-11T10:50:54Z | 2002-04-23T19:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java | info.fCopy.reconcile();
ICompilationUnit original= (ICompilationUnit) info.fCopy.getOriginalElement();
IResource resource= null;
try {
resource= original.getUnderlyingResource();
} catch (JavaModelException x) {
}
if (resource == null) {
super.doSaveDocument(monitor, element,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.