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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
10,597 | Bug 10597 JavaModelException after renaming method | 20020228 I renamed a method and the parent type was showing in the type hierarchy. 4 org.eclipse.jdt.ui 1 Internal Error Java Model Exception: Java Model Status [createRetryQueryWithNoWorkingDirectory does not exist.] at org.eclipse.jdt.internal.core.JavaElement.newNotPresentException (JavaElement.java:452) at org.ecli... | resolved fixed | ec28e09 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T17:22:41Z | 2002-03-01T16:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java | * e.g. <code>java.lang.Vector - c:\java\lib\rt.jar</code>
* Option only applies to getElementLabel
*/
public final static int PREPEND_ROOT_PATH= 1 << 28;
/**
* Package names are compressed.
* e.g. <code>o*.e*.search</code>
*/
public final static int P_COMPRESSED= 1 << 29;
/**
* Qualify all elements
... |
10,597 | Bug 10597 JavaModelException after renaming method | 20020228 I renamed a method and the parent type was showing in the type hierarchy. 4 org.eclipse.jdt.ui 1 Internal Error Java Model Exception: Java Model Status [createRetryQueryWithNoWorkingDirectory does not exist.] at org.eclipse.jdt.internal.core.JavaElement.newNotPresentException (JavaElement.java:452) at org.ecli... | resolved fixed | ec28e09 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T17:22:41Z | 2002-03-01T16:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java | private final static String CONCAT_STRING= JavaUIMessages.getString("JavaElementLabels.concat_string");
private final static String COMMA_STRING= JavaUIMessages.getString("JavaElementLabels.comma_string");
private final static String DECL_STRING= JavaUIMessages.getString("JavaElementLabels.declseparator_string");
... |
10,597 | Bug 10597 JavaModelException after renaming method | 20020228 I renamed a method and the parent type was showing in the type hierarchy. 4 org.eclipse.jdt.ui 1 Internal Error Java Model Exception: Java Model Status [createRetryQueryWithNoWorkingDirectory does not exist.] at org.eclipse.jdt.internal.core.JavaElement.newNotPresentException (JavaElement.java:452) at org.ecli... | resolved fixed | ec28e09 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T17:22:41Z | 2002-03-01T16:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java | */
public static String getElementLabel(IJavaElement element, int flags) {
StringBuffer buf= new StringBuffer();
getElementLabel(element, flags, buf);
return buf.toString();
}
/**
* Returns the label for a Java element. Flags as defined above.
*/
public static void getElementLabel(IJavaElement element, in... |
10,597 | Bug 10597 JavaModelException after renaming method | 20020228 I renamed a method and the parent type was showing in the type hierarchy. 4 org.eclipse.jdt.ui 1 Internal Error Java Model Exception: Java Model Status [createRetryQueryWithNoWorkingDirectory does not exist.] at org.eclipse.jdt.internal.core.JavaElement.newNotPresentException (JavaElement.java:452) at org.ecli... | resolved fixed | ec28e09 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T17:22:41Z | 2002-03-01T16:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java | case IJavaElement.TYPE:
getTypeLabel((IType) element, flags, buf);
break;
case IJavaElement.CLASS_FILE:
getClassFileLabel((IClassFile) element, flags, buf);
break;
case IJavaElement.COMPILATION_UNIT:
getCompilationUnitLabel((ICompilationUnit) element, flags, buf);
break;
case I... |
10,597 | Bug 10597 JavaModelException after renaming method | 20020228 I renamed a method and the parent type was showing in the type hierarchy. 4 org.eclipse.jdt.ui 1 Internal Error Java Model Exception: Java Model Status [createRetryQueryWithNoWorkingDirectory does not exist.] at org.eclipse.jdt.internal.core.JavaElement.newNotPresentException (JavaElement.java:452) at org.ecli... | resolved fixed | ec28e09 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T17:22:41Z | 2002-03-01T16:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java | getPackageFragmentRootLabel(root, ROOT_QUALIFIED, buf);
}
}
/**
* Appends the label for a method to a StringBuffer. Considers the M_* flags.
*/
public static void getMethodLabel(IMethod method, int flags, StringBuffer buf) {
try {
boolean isConstructor= method.isConstructor();
if (getFlag(fla... |
10,597 | Bug 10597 JavaModelException after renaming method | 20020228 I renamed a method and the parent type was showing in the type hierarchy. 4 org.eclipse.jdt.ui 1 Internal Error Java Model Exception: Java Model Status [createRetryQueryWithNoWorkingDirectory does not exist.] at org.eclipse.jdt.internal.core.JavaElement.newNotPresentException (JavaElement.java:452) at org.ecli... | resolved fixed | ec28e09 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T17:22:41Z | 2002-03-01T16:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java | int nParams= types != null ? types.length : names.length;
for (int i= 0; i < nParams; i++) {
if (i > 0) {
buf.append(COMMA_STRING);
}
if (types != null) {
buf.append(Signature.getSimpleName(Signature.toString(types[i])));
}
if (names != null) {
if (types != null) {
... |
10,597 | Bug 10597 JavaModelException after renaming method | 20020228 I renamed a method and the parent type was showing in the type hierarchy. 4 org.eclipse.jdt.ui 1 Internal Error Java Model Exception: Java Model Status [createRetryQueryWithNoWorkingDirectory does not exist.] at org.eclipse.jdt.internal.core.JavaElement.newNotPresentException (JavaElement.java:452) at org.ecli... | resolved fixed | ec28e09 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T17:22:41Z | 2002-03-01T16:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java | }
if (getFlag(flags, M_APP_RETURNTYPE) && !isConstructor) {
buf.append(DECL_STRING);
buf.append(Signature.getSimpleName(Signature.toString(method.getReturnType())));
}
if (getFlag(flags, M_POST_QUALIFIED)) {
buf.append(CONCAT_STRING);
getTypeLabel(method.getDeclaringType(), T_FU... |
10,597 | Bug 10597 JavaModelException after renaming method | 20020228 I renamed a method and the parent type was showing in the type hierarchy. 4 org.eclipse.jdt.ui 1 Internal Error Java Model Exception: Java Model Status [createRetryQueryWithNoWorkingDirectory does not exist.] at org.eclipse.jdt.internal.core.JavaElement.newNotPresentException (JavaElement.java:452) at org.ecli... | resolved fixed | ec28e09 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T17:22:41Z | 2002-03-01T16:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java | getTypeLabel(field.getDeclaringType(), T_FULLY_QUALIFIED, buf);
buf.append('.');
}
buf.append(field.getElementName());
if (getFlag(flags, F_APP_TYPE_SIGNATURE)) {
buf.append(DECL_STRING);
buf.append(Signature.toString(field.getTypeSignature()));
}
if (getFlag(flags, F_POST_QUALIF... |
10,597 | Bug 10597 JavaModelException after renaming method | 20020228 I renamed a method and the parent type was showing in the type hierarchy. 4 org.eclipse.jdt.ui 1 Internal Error Java Model Exception: Java Model Status [createRetryQueryWithNoWorkingDirectory does not exist.] at org.eclipse.jdt.internal.core.JavaElement.newNotPresentException (JavaElement.java:452) at org.ecli... | resolved fixed | ec28e09 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T17:22:41Z | 2002-03-01T16:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java | if (getFlag(flags, I_POST_QUALIFIED)) {
buf.append(CONCAT_STRING);
getTypeLabel(initializer.getDeclaringType(), T_FULLY_QUALIFIED, buf);
}
}
/**
* Appends the label for a type to a StringBuffer. Considers the T_* flags.
*/
public static void getTypeLabel(IType type, int flags, StringBuffer buf) {
if ... |
10,597 | Bug 10597 JavaModelException after renaming method | 20020228 I renamed a method and the parent type was showing in the type hierarchy. 4 org.eclipse.jdt.ui 1 Internal Error Java Model Exception: Java Model Status [createRetryQueryWithNoWorkingDirectory does not exist.] at org.eclipse.jdt.internal.core.JavaElement.newNotPresentException (JavaElement.java:452) at org.ecli... | resolved fixed | ec28e09 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T17:22:41Z | 2002-03-01T16:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java | */
public static void getDeclararionLabel(IJavaElement declaration, int flags, StringBuffer buf) {
if (getFlag(flags, D_QUALIFIED)) {
IJavaElement openable= (IJavaElement) JavaModelUtil.getOpenable(declaration);
if (openable != null) {
buf.append(getElementLabel(openable, CF_QUALIFIED | CU_QUALIFIED));
... |
10,597 | Bug 10597 JavaModelException after renaming method | 20020228 I renamed a method and the parent type was showing in the type hierarchy. 4 org.eclipse.jdt.ui 1 Internal Error Java Model Exception: Java Model Status [createRetryQueryWithNoWorkingDirectory does not exist.] at org.eclipse.jdt.internal.core.JavaElement.newNotPresentException (JavaElement.java:452) at org.ecli... | resolved fixed | ec28e09 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T17:22:41Z | 2002-03-01T16:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java | if (!pack.isDefaultPackage()) {
buf.append(pack.getElementName());
buf.append('.');
}
}
buf.append(classFile.getElementName());
if (getFlag(flags, CF_POST_QUALIFIED)) {
buf.append(CONCAT_STRING);
getPackageFragmentLabel((IPackageFragment) classFile.getParent(), 0, buf);
}
}
/**
* Appends... |
10,597 | Bug 10597 JavaModelException after renaming method | 20020228 I renamed a method and the parent type was showing in the type hierarchy. 4 org.eclipse.jdt.ui 1 Internal Error Java Model Exception: Java Model Status [createRetryQueryWithNoWorkingDirectory does not exist.] at org.eclipse.jdt.internal.core.JavaElement.newNotPresentException (JavaElement.java:452) at org.ecli... | resolved fixed | ec28e09 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T17:22:41Z | 2002-03-01T16:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java | /**
* Appends the label for a package fragment to a StringBuffer. Considers the P_* flags.
*/
public static void getPackageFragmentLabel(IPackageFragment pack, int flags, StringBuffer buf) {
if (getFlag(flags, P_QUALIFIED)) {
getPackageFragmentRootLabel((IPackageFragmentRoot) pack.getParent(), ROOT_QUALIFIED... |
10,597 | Bug 10597 JavaModelException after renaming method | 20020228 I renamed a method and the parent type was showing in the type hierarchy. 4 org.eclipse.jdt.ui 1 Internal Error Java Model Exception: Java Model Status [createRetryQueryWithNoWorkingDirectory does not exist.] at org.eclipse.jdt.internal.core.JavaElement.newNotPresentException (JavaElement.java:452) at org.ecli... | resolved fixed | ec28e09 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T17:22:41Z | 2002-03-01T16:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java | }
}
/**
* Appends the label for a package fragment root to a StringBuffer. Considers the ROOT_* flags.
*/
public static void getPackageFragmentRootLabel(IPackageFragmentRoot root, int flags, StringBuffer buf) {
if (root.isArchive() && getFlag(flags, ROOT_VARIABLE)) {
try {
IClasspathEntry rawEntry= Jav... |
10,597 | Bug 10597 JavaModelException after renaming method | 20020228 I renamed a method and the parent type was showing in the type hierarchy. 4 org.eclipse.jdt.ui 1 Internal Error Java Model Exception: Java Model Status [createRetryQueryWithNoWorkingDirectory does not exist.] at org.eclipse.jdt.internal.core.JavaElement.newNotPresentException (JavaElement.java:452) at org.ecli... | resolved fixed | ec28e09 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T17:22:41Z | 2002-03-01T16:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java | buf.append(CONCAT_STRING);
buf.append(root.getParent().getElementName());
}
}
}
private static void refreshPackageNamePattern() {
String pattern= WorkInProgressPreferencePage.getPkgNamePatternForPackagesView();
if (pattern.equals(fgPkgNamePattern))
return;
fgPkgNamePattern= pattern;
int i= 0;
... |
10,957 | Bug 10957 IllegalArgumentException from drawing Highlight Line | 20020305 Dont know if reproducible: 1. create new project with 2 classes pack.A & pack.B 2. add a long comment to B 3. Open Browser perspective, no editors open 4. Select B (opens editor), select comment, now switch to A ->IAE (Editor is reused) java.lang.IllegalArgumentException: Index out of bounds Stack trace: java/... | resolved fixed | 2188ec3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T17:34:50Z | 2002-03-07T16:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/LinePainter.java | package org.eclipse.jdt.internal.ui.javaeditor;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
import org.eclipse.swt.custom.LineBackgroundEvent;
import org.eclipse.swt.custom.LineBackgroundListener;
import org.eclipse.swt.custom.StyledText;
import org.eclipse.swt.custom.StyledTextContent;
import... |
10,957 | Bug 10957 IllegalArgumentException from drawing Highlight Line | 20020305 Dont know if reproducible: 1. create new project with 2 classes pack.A & pack.B 2. add a long comment to B 3. Open Browser perspective, no editors open 4. Select B (opens editor), select comment, now switch to A ->IAE (Editor is reused) java.lang.IllegalArgumentException: Index out of bounds Stack trace: java/... | resolved fixed | 2188ec3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T17:34:50Z | 2002-03-07T16:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/LinePainter.java | public void setHighlightColor(Color highlightColor) {
fHighlightColor= highlightColor;
}
/*
* @see LineBackgroundListener#lineGetBackground(LineBackgroundEvent)
*/
public void lineGetBackground(LineBackgroundEvent event) {
if (fTextWidget != null) {
int caret= fTextWidget.getCaretOffset();
... |
10,957 | Bug 10957 IllegalArgumentException from drawing Highlight Line | 20020305 Dont know if reproducible: 1. create new project with 2 classes pack.A & pack.B 2. add a long comment to B 3. Open Browser perspective, no editors open 4. Select B (opens editor), select comment, now switch to A ->IAE (Editor is reused) java.lang.IllegalArgumentException: Index out of bounds Stack trace: java/... | resolved fixed | 2188ec3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T17:34:50Z | 2002-03-07T16:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/LinePainter.java | fLine[1]= content.getOffsetAtLine(fLineNumber + 1) - fLine[0];
} catch (IllegalArgumentException x) {
fLine[1]= -1;
}
}
private void drawHighlightLine() {
if (fLine[1] == -1 || (fLineNumber + 1) == fTextWidget.getLineCount()) {
Point upperLeft= fTextWidget.getLocationAtOffset(fLine[0]);
int width= fT... |
10,957 | Bug 10957 IllegalArgumentException from drawing Highlight Line | 20020305 Dont know if reproducible: 1. create new project with 2 classes pack.A & pack.B 2. add a long comment to B 3. Open Browser perspective, no editors open 4. Select B (opens editor), select comment, now switch to A ->IAE (Editor is reused) java.lang.IllegalArgumentException: Index out of bounds Stack trace: java/... | resolved fixed | 2188ec3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T17:34:50Z | 2002-03-07T16:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/LinePainter.java | * @see IPainter#dispose()
*/
public void dispose() {
fTextWidget= null;
}
/*
* @see IPainter#paint()
*/
public void paint() {
if (!fIsActive) {
fIsActive= true;
fTextWidget.addLineBackgroundListener(this);
}
if (fLine[0] != -1 || fLine[1] != -1)
drawHighlightLine();
updateHighlightL... |
10,387 | Bug 10387 Code Assist crashes on constructor parameters | Using Nightly 0227 (but it's been present for since before the previous stable build) I get an exception thrown whenever I do code-assist on constructor parameters. example: throw new FlowHandlerException(<code-assist> "fillin argument names on completion" doesn't appear to change this. FlowHandlerException is a standa... | resolved fixed | 9a77a01 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T18:07:35Z | 2002-02-27T14:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/AnonymousTypeCompletionProposal.java | package org.eclipse.jdt.internal.ui.text.java;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.swt.graphics.Image;
import org.eclipse.jface.text.BadLocationException;
import org.eclipse.jface.text.IDocument;
import org.eclipse.jface.text.IRegion;
import org.eclipse.jface.util.Assert;
import org.eclips... |
10,387 | Bug 10387 Code Assist crashes on constructor parameters | Using Nightly 0227 (but it's been present for since before the previous stable build) I get an exception thrown whenever I do code-assist on constructor parameters. example: throw new FlowHandlerException(<code-assist> "fillin argument names on completion" doesn't appear to change this. FlowHandlerException is a standa... | resolved fixed | 9a77a01 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T18:07:35Z | 2002-02-27T14:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/AnonymousTypeCompletionProposal.java | private IType fDeclaringType;
private ICompilationUnit fCompilationUnit;
private ImportsStructure fImportStructure;
public AnonymousTypeCompletionProposal(ICompilationUnit cu, int start, int length, String constructorCompletion, String displayName, String declaringTypeName) {
super(constructorCompletion, start, ... |
10,387 | Bug 10387 Code Assist crashes on constructor parameters | Using Nightly 0227 (but it's been present for since before the previous stable build) I get an exception thrown whenever I do code-assist on constructor parameters. example: throw new FlowHandlerException(<code-assist> "fillin argument names on completion" doesn't appear to change this. FlowHandlerException is a standa... | resolved fixed | 9a77a01 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T18:07:35Z | 2002-02-27T14:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/AnonymousTypeCompletionProposal.java | }
} catch (JavaModelException e) {
JavaPlugin.log(e);
}
}
return JavaPluginImages.get(imageName);
}
private IType getDeclaringType(IJavaProject project, String typeName) {
try {
return JavaModelUtil.findType(project, typeName);
} catch (JavaModelException e) {
JavaPlugin.log(e);
}
return... |
10,387 | Bug 10387 Code Assist crashes on constructor parameters | Using Nightly 0227 (but it's been present for since before the previous stable build) I get an exception thrown whenever I do code-assist on constructor parameters. example: throw new FlowHandlerException(<code-assist> "fillin argument names on completion" doesn't appear to change this. FlowHandlerException is a standa... | resolved fixed | 9a77a01 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T18:07:35Z | 2002-02-27T14:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/AnonymousTypeCompletionProposal.java | * @see ICompletionProposalExtension#apply(IDocument, char)
*/
public void apply(IDocument document, char trigger, int offset) {
try {
String[] prefOrder= ImportOrganizePreferencePage.getImportOrderPreference();
int threshold= ImportOrganizePreferencePage.getImportNumberThreshold();
fImportStructure= ... |
10,387 | Bug 10387 Code Assist crashes on constructor parameters | Using Nightly 0227 (but it's been present for since before the previous stable build) I get an exception thrown whenever I do code-assist on constructor parameters. example: throw new FlowHandlerException(<code-assist> "fillin argument names on completion" doesn't appear to change this. FlowHandlerException is a standa... | resolved fixed | 9a77a01 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T18:07:35Z | 2002-02-27T14:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/AnonymousTypeCompletionProposal.java | setReplacementString(replacement);
} catch (BadLocationException e) {
JavaPlugin.log(e);
} catch (CoreException e) {
JavaPlugin.log(e);
}
super.apply(document, trigger, offset);
}
private boolean createStubs(StringBuffer buf, ImportsStructure imports) throws JavaModelException {
if (fDeclaringTy... |
10,387 | Bug 10387 Code Assist crashes on constructor parameters | Using Nightly 0227 (but it's been present for since before the previous stable build) I get an exception thrown whenever I do code-assist on constructor parameters. example: throw new FlowHandlerException(<code-assist> "fillin argument names on completion" doesn't appear to change this. FlowHandlerException is a standa... | resolved fixed | 9a77a01 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T18:07:35Z | 2002-02-27T14:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java | package org.eclipse.jdt.internal.ui.text.java;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Comparator;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.graphics.Point;
import org.eclipse.jface.resource.ImageD... |
10,387 | Bug 10387 Code Assist crashes on constructor parameters | Using Nightly 0227 (but it's been present for since before the previous stable build) I get an exception thrown whenever I do code-assist on constructor parameters. example: throw new FlowHandlerException(<code-assist> "fillin argument names on completion" doesn't appear to change this. FlowHandlerException is a standa... | resolved fixed | 9a77a01 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T18:07:35Z | 2002-02-27T14:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java | private class ProposalComparator implements Comparator {
public int compare(Object o1, Object o2) {
ICompletionProposal c1= (ICompletionProposal) o1;
ICompletionProposal c2= (ICompletionProposal) o2;
return c1.getDisplayString().compareToIgnoreCase(c2.getDisplayString()); |
10,387 | Bug 10387 Code Assist crashes on constructor parameters | Using Nightly 0227 (but it's been present for since before the previous stable build) I get an exception thrown whenever I do code-assist on constructor parameters. example: throw new FlowHandlerException(<code-assist> "fillin argument names on completion" doesn't appear to change this. FlowHandlerException is a standa... | resolved fixed | 9a77a01 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T18:07:35Z | 2002-02-27T14:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java | }
};
private final static char[] METHOD_WITH_ARGUMENTS_TRIGGERS= new char[] { '(', '-', ' ' };
private final static char[] METHOD_TRIGGERS= new char[] { ';', ',', '.', '\t', '[', ' ' };
private final static char[] TYPE_TRIGGERS= new char[] { '.', '\t', '[', '(', ' ' };
private final static char[] VAR_TRIGGER= new ... |
10,387 | Bug 10387 Code Assist crashes on constructor parameters | Using Nightly 0227 (but it's been present for since before the previous stable build) I get an exception thrown whenever I do code-assist on constructor parameters. example: throw new FlowHandlerException(<code-assist> "fillin argument names on completion" doesn't appear to change this. FlowHandlerException is a standa... | resolved fixed | 9a77a01 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T18:07:35Z | 2002-02-27T14:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java | * @see ICompletionRequestor#acceptClass
*/
public void acceptClass(char[] packageName, char[] typeName, char[] completionName, int modifiers, int start, int end) {
ImageDescriptor descriptor= JavaPluginImages.DESC_OBJS_CLASS;
if (Flags.isDeprecated(modifiers))
descriptor= getDeprecatedDescriptor(descriptor);... |
10,387 | Bug 10387 Code Assist crashes on constructor parameters | Using Nightly 0227 (but it's been present for since before the previous stable build) I get an exception thrown whenever I do code-assist on constructor parameters. example: throw new FlowHandlerException(<code-assist> "fillin argument names on completion" doesn't appear to change this. FlowHandlerException is a standa... | resolved fixed | 9a77a01 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T18:07:35Z | 2002-02-27T14:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java | if (typeName.length > 0) {
nameBuffer.append(" ");
nameBuffer.append(typeName);
}
if (declaringTypeName != null && declaringTypeName.length > 0) {
nameBuffer.append(" - ");
nameBuffer.append(declaringTypeName);
}
JavaCompletionProposal proposal= createCompletion(start, end, new String(comple... |
10,387 | Bug 10387 Code Assist crashes on constructor parameters | Using Nightly 0227 (but it's been present for since before the previous stable build) I get an exception thrown whenever I do code-assist on constructor parameters. example: throw new FlowHandlerException(<code-assist> "fillin argument names on completion" doesn't appear to change this. FlowHandlerException is a standa... | resolved fixed | 9a77a01 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T18:07:35Z | 2002-02-27T14:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java | public void acceptAnonymousType(char[] superTypePackageName, char[] superTypeName, char[][] parameterPackageNames, char[][] parameterTypeNames, char[][] parameterNames,
char[] completionName, int modifiers, int completionStart, int completionEnd) {
JavaCompletionProposal proposal= createAnonymousTypeCompletion(supe... |
10,387 | Bug 10387 Code Assist crashes on constructor parameters | Using Nightly 0227 (but it's been present for since before the previous stable build) I get an exception thrown whenever I do code-assist on constructor parameters. example: throw new FlowHandlerException(<code-assist> "fillin argument names on completion" doesn't appear to change this. FlowHandlerException is a standa... | resolved fixed | 9a77a01 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T18:07:35Z | 2002-02-27T14:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java | buf.append(" ");
buf.append(typeName);
}
JavaCompletionProposal proposal= createCompletion(start, end, new String(name), null, buf.toString());
proposal.setTriggerCharacters(VAR_TRIGGER);
fVariables.add(proposal);
}
private String getParameterSignature(char[][] parameterTypeNames, char[][] parameterN... |
10,387 | Bug 10387 Code Assist crashes on constructor parameters | Using Nightly 0227 (but it's been present for since before the previous stable build) I get an exception thrown whenever I do code-assist on constructor parameters. example: throw new FlowHandlerException(<code-assist> "fillin argument names on completion" doesn't appear to change this. FlowHandlerException is a standa... | resolved fixed | 9a77a01 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T18:07:35Z | 2002-02-27T14:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java | char[][] parameterPackageNames, char[][] parameterTypeNames, char[][] parameterNames,
char[] returnTypePackageName, char[] returnTypeName, char[] completionName, int modifiers,
int start, int end) {
JavaCompletionProposal proposal= createMethodCompletion(declaringTypeName, name, parameterTypeNames, parameterNam... |
10,387 | Bug 10387 Code Assist crashes on constructor parameters | Using Nightly 0227 (but it's been present for since before the previous stable build) I get an exception thrown whenever I do code-assist on constructor parameters. example: throw new FlowHandlerException(<code-assist> "fillin argument names on completion" doesn't appear to change this. FlowHandlerException is a standa... | resolved fixed | 9a77a01 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T18:07:35Z | 2002-02-27T14:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java | * @see ICompletionRequestor#acceptModifier
*/
public void acceptModifier(char[] modifier, int start, int end) {
String mod= new String(modifier);
fModifiers.add(createCompletion(start, end, mod, null, mod));
}
/*
* @see ICompletionRequestor#acceptPackage
*/
public void acceptPackage(char[] packageName... |
10,387 | Bug 10387 Code Assist crashes on constructor parameters | Using Nightly 0227 (but it's been present for since before the previous stable build) I get an exception thrown whenever I do code-assist on constructor parameters. example: throw new FlowHandlerException(<code-assist> "fillin argument names on completion" doesn't appear to change this. FlowHandlerException is a standa... | resolved fixed | 9a77a01 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T18:07:35Z | 2002-02-27T14:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java | /*
* @see ICodeCompletionRequestor#acceptVariableName(char[], char[], char[], char[], int, int)
*/
public void acceptVariableName(char[] typePackageName, char[] typeName, char[] name, char[] completionName, int start, int end) {
StringBuffer buf= new StringBuffer();
buf.append(name);
if (typeName != null ... |
10,387 | Bug 10387 Code Assist crashes on constructor parameters | Using Nightly 0227 (but it's been present for since before the previous stable build) I get an exception thrown whenever I do code-assist on constructor parameters. example: throw new FlowHandlerException(<code-assist> "fillin argument names on completion" doesn't appear to change this. FlowHandlerException is a standa... | resolved fixed | 9a77a01 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T18:07:35Z | 2002-02-27T14:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java | } else if (size > 1) {
Object[] sortedBucket = new Object[size];
bucket.toArray(sortedBucket);
Arrays.sort(sortedBucket, comperator);
for (int j= 0; j < sortedBucket.length; j++)
result.add(sortedBucket[j]);
}
}
return (JavaCompletionProposal[]) result.toArray(new JavaCompletionProposal[re... |
10,387 | Bug 10387 Code Assist crashes on constructor parameters | Using Nightly 0227 (but it's been present for since before the previous stable build) I get an exception thrown whenever I do code-assist on constructor parameters. example: throw new FlowHandlerException(<code-assist> "fillin argument names on completion" doesn't appear to change this. FlowHandlerException is a standa... | resolved fixed | 9a77a01 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T18:07:35Z | 2002-02-27T14:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java | }
protected JavaCompletionProposal createAnonymousTypeCompletion(char[] declaringTypePackageName, char[] declaringTypeName, char[][] parameterTypeNames, char[][] parameterNames, char[] completionName, int start, int end) {
StringBuffer declTypeBuf= new StringBuffer();
if (declaringTypePackageName.length > 0) {
... |
10,387 | Bug 10387 Code Assist crashes on constructor parameters | Using Nightly 0227 (but it's been present for since before the previous stable build) I get an exception thrown whenever I do code-assist on constructor parameters. example: throw new FlowHandlerException(<code-assist> "fillin argument names on completion" doesn't appear to change this. FlowHandlerException is a standa... | resolved fixed | 9a77a01 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T18:07:35Z | 2002-02-27T14:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java | }
}
StringBuffer buf= new StringBuffer(typeName);
if (containerName != null) {
buf.append(" - ");
if (containerName.length() > 0) {
buf.append(containerName);
} else {
buf.append(JavaTextMessages.getString("ResultCollector.default_package"));
}
}
String name= buf.toString();
JavaComp... |
10,387 | Bug 10387 Code Assist crashes on constructor parameters | Using Nightly 0227 (but it's been present for since before the previous stable build) I get an exception thrown whenever I do code-assist on constructor parameters. example: throw new FlowHandlerException(<code-assist> "fillin argument names on completion" doesn't appear to change this. FlowHandlerException is a standa... | resolved fixed | 9a77a01 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T18:07:35Z | 2002-02-27T14:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java | protected ImageDescriptor getDeprecatedDescriptor(ImageDescriptor descriptor) {
Point size= new Point(16, 16);
return new JavaElementImageDescriptor(descriptor, JavaElementImageDescriptor.WARNING, size);
}
protected JavaCompletionProposal createCompletion(int start, int end, String completion, ImageDescrip... |
10,387 | Bug 10387 Code Assist crashes on constructor parameters | Using Nightly 0227 (but it's been present for since before the previous stable build) I get an exception thrown whenever I do code-assist on constructor parameters. example: throw new FlowHandlerException(<code-assist> "fillin argument names on completion" doesn't appear to change this. FlowHandlerException is a standa... | resolved fixed | 9a77a01 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T18:07:35Z | 2002-02-27T14:26:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java | public void reset(int codeAssistOffset, IJavaProject jproject, ICompilationUnit cu) {
fJavaProject= jproject;
fCompilationUnit= cu;
fCodeAssistOffset= codeAssistOffset;
fUserReplacementLength= -1;
fLastProblem= null;
for (int i= 0; i < fResults.length; i++)
fResults[i].clear();
}
/**
* If ... |
10,762 | Bug 10762 Generate getter and setter of a field starting with the 'F' letter | null | resolved fixed | 73fae0b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T18:10:05Z | 2002-03-05T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeGenerationPreferencePage.java | package org.eclipse.jdt.internal.ui.preferences;
import java.util.StringTokenizer;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.jface.preference.IPrefere... |
10,762 | Bug 10762 Generate getter and setter of a field starting with the 'F' letter | null | resolved fixed | 73fae0b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T18:10:05Z | 2002-03-05T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeGenerationPreferencePage.java | private static final String PREF_USE_GETTERSETTER_PREFIX= JavaUI.ID_PLUGIN + ".gettersetter.prefix.enable";
private static final String PREF_GETTERSETTER_PREFIX= JavaUI.ID_PLUGIN + ".gettersetter.prefix.list";
private static final String PREF_USE_GETTERSETTER_SUFFIX= JavaUI.ID_PLUGIN + ".gettersetter.suffix.enable"... |
10,762 | Bug 10762 Generate getter and setter of a field starting with the 'F' letter | null | resolved fixed | 73fae0b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T18:10:05Z | 2002-03-05T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeGenerationPreferencePage.java | if (str != null) {
return unpackOrderList(str);
}
}
return new String[0];
}
public static String[] getGetterStetterSuffixes() {
IPreferenceStore prefs= JavaPlugin.getDefault().getPreferenceStore();
if (prefs.getBoolean(PREF_USE_GETTERSETTER_SUFFIX)) {
String str= prefs.getString(PREF_GETTERSETTER_... |
10,762 | Bug 10762 Generate getter and setter of a field starting with the 'F' letter | null | resolved fixed | 73fae0b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T18:10:05Z | 2002-03-05T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeGenerationPreferencePage.java | return prefs.getBoolean(PREF_FILE_COMMENTS);
}
private static String[] unpackOrderList(String str) {
StringTokenizer tok= new StringTokenizer(str, ",");
int nTokens= tok.countTokens();
String[] res= new String[nTokens];
for (int i= 0; i < nTokens; i++) {
res[i]= tok.nextToken().trim();
}
return... |
10,762 | Bug 10762 Generate getter and setter of a field starting with the 'F' letter | null | resolved fixed | 73fae0b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T18:10:05Z | 2002-03-05T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeGenerationPreferencePage.java | private SelectionButtonDialogField fCreateJavaDocComments;
private SelectionButtonDialogField fCreateSeeComments;
private SelectionButtonDialogField fCreateFileComments;
private IStatus fGetterSetterPrefixStatus;
private IStatus fGetterSetterSuffixStatus;
public CodeGenerationPreferencePage() {
setPreferenc... |
10,762 | Bug 10762 Generate getter and setter of a field starting with the 'F' letter | null | resolved fixed | 73fae0b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T18:10:05Z | 2002-03-05T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeGenerationPreferencePage.java | fUseGetterSetterSuffix.setDialogFieldListener(listener);
fUseGetterSetterSuffix.setLabelText(JavaUIMessages.getString("CodeGenerationPreferencePage.gettersetter.suffix.checkbox"));
fGetterSetterSuffix= new StringDialogField();
fGetterSetterSuffix.setDialogFieldListener(listener);
fGetterSetterSuffix.setLabelTe... |
10,762 | Bug 10762 Generate getter and setter of a field starting with the 'F' letter | null | resolved fixed | 73fae0b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T18:10:05Z | 2002-03-05T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeGenerationPreferencePage.java | fCreateJavaDocComments.setSelection(prefs.getBoolean(PREF_JAVADOC_STUBS));
fCreateSeeComments.setSelection(prefs.getBoolean(PREF_SEE_COMMENTS));
fCreateFileComments.setSelection(prefs.getBoolean(PREF_FILE_COMMENTS));
}
/*
* @see PreferencePage#createControl(Composite)
*/
public void createControl(Composite... |
10,762 | Bug 10762 Generate getter and setter of a field starting with the 'F' letter | null | resolved fixed | 73fae0b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T18:10:05Z | 2002-03-05T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeGenerationPreferencePage.java | fCreateJavaDocComments.doFillIntoGrid(composite, 2);
fCreateSeeComments.doFillIntoGrid(composite, 2);
fCreateFileComments.doFillIntoGrid(composite, 2);
(new Separator()).doFillIntoGrid(composite, 2, 4);
DialogField getterSetterLabel= new DialogField();
getterSetterLabel.setLabelText(JavaUIMessages.getSt... |
10,762 | Bug 10762 Generate getter and setter of a field starting with the 'F' letter | null | resolved fixed | 73fae0b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T18:10:05Z | 2002-03-05T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeGenerationPreferencePage.java | } else {
fGetterSetterPrefixStatus= new StatusInfo();
}
}
if (field == fGetterSetterSuffix || field == fUseGetterSetterSuffix) {
fGetterSetterSuffix.setEnabled(fUseGetterSetterSuffix.isSelected());
if (fUseGetterSetterSuffix.isSelected()) {
String[] prefixes= unpackOrderList(fGetterSetterSuffix.get... |
10,762 | Bug 10762 Generate getter and setter of a field starting with the 'F' letter | null | resolved fixed | 73fae0b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T18:10:05Z | 2002-03-05T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeGenerationPreferencePage.java | }
}
String name= prefix ? val + "x" : "x" + val;
IStatus status= JavaConventions.validateFieldName(name);
if (status.matches(IStatus.ERROR)) {
if (prefix) {
return new StatusInfo(IStatus.ERROR, JavaUIMessages.getFormattedString("CodeGenerationPreferencePage.gettersetter.error.invalidprefix"... |
10,762 | Bug 10762 Generate getter and setter of a field starting with the 'F' letter | null | resolved fixed | 73fae0b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T18:10:05Z | 2002-03-05T14:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeGenerationPreferencePage.java | prefs.setValue(PREF_JAVADOC_STUBS, fCreateJavaDocComments.isSelected());
prefs.setValue(PREF_SEE_COMMENTS, fCreateSeeComments.isSelected());
prefs.setValue(PREF_FILE_COMMENTS, fCreateFileComments.isSelected());
return super.performOk();
}
/*
* @see PreferencePage#performDefaults()
*/
protected void perf... |
10,970 | Bug 10970 Index out of bounds exception when deleting code | Build 20020305 with latest stuff from 20020307 (catchup) - created a new file using the create CU wizard - selected the copyright using the shift down key combination - deleted it - selected the class comment using the shift down combination - deleted it Got the following exception: java.lang.IllegalArgumentException: ... | resolved fixed | 320a2e7 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T19:30:54Z | 2002-03-07T16:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/LinePainter.java | package org.eclipse.jdt.internal.ui.javaeditor;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
import org.eclipse.swt.custom.LineBackgroundEvent;
import org.eclipse.swt.custom.LineBackgroundListener;
import org.eclipse.swt.custom.StyledText;
import org.eclipse.swt.custom.StyledTextContent;
import... |
10,970 | Bug 10970 Index out of bounds exception when deleting code | Build 20020305 with latest stuff from 20020307 (catchup) - created a new file using the create CU wizard - selected the copyright using the shift down key combination - deleted it - selected the class comment using the shift down combination - deleted it Got the following exception: java.lang.IllegalArgumentException: ... | resolved fixed | 320a2e7 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T19:30:54Z | 2002-03-07T16:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/LinePainter.java | }
public void setHighlightColor(Color highlightColor) {
fHighlightColor= highlightColor;
}
/*
* @see LineBackgroundListener#lineGetBackground(LineBackgroundEvent)
*/
public void lineGetBackground(LineBackgroundEvent event) {
if (fTextWidget != null) {
int caret= fTextWidget.getCaretOffset()... |
10,970 | Bug 10970 Index out of bounds exception when deleting code | Build 20020305 with latest stuff from 20020307 (catchup) - created a new file using the create CU wizard - selected the copyright using the shift down key combination - deleted it - selected the class comment using the shift down combination - deleted it Got the following exception: java.lang.IllegalArgumentException: ... | resolved fixed | 320a2e7 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T19:30:54Z | 2002-03-07T16:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/LinePainter.java | try {
fLine[1]= content.getOffsetAtLine(fLineNumber + 1) - fLine[0];
} catch (IllegalArgumentException x) {
fLine[1]= -1;
}
}
private void drawHighlightLine() {
if (fLine[1] == -1 || (fLineNumber + 1) == fTextWidget.getLineCount()) {
Point upperLeft= fTextWidget.getLocationAtOffset(fLine[0]);
int ... |
10,970 | Bug 10970 Index out of bounds exception when deleting code | Build 20020305 with latest stuff from 20020307 (catchup) - created a new file using the create CU wizard - selected the copyright using the shift down key combination - deleted it - selected the class comment using the shift down combination - deleted it Got the following exception: java.lang.IllegalArgumentException: ... | resolved fixed | 320a2e7 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T19:30:54Z | 2002-03-07T16:53:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/LinePainter.java | /*
* @see IPainter#dispose()
*/
public void dispose() {
fTextWidget= null;
}
/*
* @see IPainter#paint()
*/
public void paint() {
if (!fIsActive) {
fIsActive= true;
fTextWidget.addLineBackgroundListener(this);
} else if (fLine[0] != -1) {
drawHighlightLine();
}
updateHighlightLine();
... |
9,510 | Bug 9510 Improve option settings for JDK 1.4 | What we currently offer isn't sufficient. We should discuss with Philippe, this is important for the next milestone | resolved fixed | 66a7cef | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T22:03:08Z | 2002-02-13T06:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.preferences;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.Hashtable;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.... |
9,510 | Bug 9510 Improve option settings for JDK 1.4 | What we currently offer isn't sufficient. We should discuss with Philippe, this is important for the next milestone | resolved fixed | 66a7cef | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T22:03:08Z | 2002-02-13T06:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | import org.eclipse.swt.widgets.Widget;
import org.eclipse.core.resources.IncrementalProjectBuilder;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.dialogs.ProgressMonitorDialog;
import org.eclipse.... |
9,510 | Bug 9510 Improve option settings for JDK 1.4 | What we currently offer isn't sufficient. We should discuss with Philippe, this is important for the next milestone | resolved fixed | 66a7cef | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T22:03:08Z | 2002-02-13T06:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | private static final String PREF_PB_UNREACHABLE_CODE= "org.eclipse.jdt.core.compiler.problem.unreachableCode";
private static final String PREF_PB_INVALID_IMPORT= "org.eclipse.jdt.core.compiler.problem.invalidImport";
private static final String PREF_PB_OVERRIDING_PACKAGE_DEFAULT_METHOD= "org.eclipse.jdt.core.compi... |
9,510 | Bug 9510 Improve option settings for JDK 1.4 | What we currently offer isn't sufficient. We should discuss with Philippe, this is important for the next milestone | resolved fixed | 66a7cef | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T22:03:08Z | 2002-02-13T06:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | PREF_CODEGEN_TARGET_PLATFORM, PREF_PB_UNREACHABLE_CODE, PREF_PB_INVALID_IMPORT, PREF_PB_OVERRIDING_PACKAGE_DEFAULT_METHOD,
PREF_PB_METHOD_WITH_CONSTRUCTOR_NAME, PREF_PB_DEPRECATION, PREF_PB_HIDDEN_CATCH_BLOCK, PREF_PB_UNUSED_LOCAL,
PREF_PB_UNUSED_PARAMETER, PREF_PB_SYNTHETIC_ACCESS_EMULATION, PREF_PB_NON_EXTERNAL... |
9,510 | Bug 9510 Improve option settings for JDK 1.4 | What we currently offer isn't sufficient. We should discuss with Philippe, this is important for the next milestone | resolved fixed | 66a7cef | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T22:03:08Z | 2002-02-13T06:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | private String fKey;
private String[] fValues;
public ControlData(String key, String[] values) {
fKey= key;
fValues= values;
}
public String getKey() {
return fKey;
}
public String getValue(boolean selection) {
int index= selection ? 0 : 1;
return fValues[index];
}
public Stri... |
9,510 | Bug 9510 Improve option settings for JDK 1.4 | What we currently offer isn't sufficient. We should discuss with Philippe, this is important for the next milestone | resolved fixed | 66a7cef | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T22:03:08Z | 2002-02-13T06:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | }
private Hashtable fWorkingValues;
private ArrayList fCheckBoxes;
private ArrayList fComboBoxes;
private SelectionListener fSelectionListener;
public CompilerPreferencePage() {
setPreferenceStore(JavaPlugin.getDefault().getPreferenceStore());
setDescription(JavaUIMessages.getString("CompilerPreferencePage... |
9,510 | Bug 9510 Improve option settings for JDK 1.4 | What we currently offer isn't sufficient. We should discuss with Philippe, this is important for the next milestone | resolved fixed | 66a7cef | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T22:03:08Z | 2002-02-13T06:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | */
public void createControl(Composite parent) {
super.createControl(parent);
WorkbenchHelp.setHelp(getControl(), IJavaHelpContextIds.COMPILER_PREFERENCE_PAGE);
}
/**
* @see PreferencePage#createContents(Composite)
*/
protected Control createContents(Composite parent) {
TabFolder folder= new TabFolder... |
9,510 | Bug 9510 Improve option settings for JDK 1.4 | What we currently offer isn't sufficient. We should discuss with Philippe, this is important for the next milestone | resolved fixed | 66a7cef | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T22:03:08Z | 2002-02-13T06:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | gd.widthHint= convertWidthInCharsToPixels(60);
description.setLayoutData(gd);
String label= JavaUIMessages.getString("CompilerPreferencePage.pb_unreachable_code.label");
addComboBox(warningsComposite, label, PREF_PB_UNREACHABLE_CODE, errorWarningIgnore, errorWarningIgnoreLabels);
label= JavaUIMessages.getS... |
9,510 | Bug 9510 Improve option settings for JDK 1.4 | What we currently offer isn't sufficient. We should discuss with Philippe, this is important for the next milestone | resolved fixed | 66a7cef | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T22:03:08Z | 2002-02-13T06:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | String[] generateValues= new String[] { GENERATE, DO_NOT_GENERATE };
layout= new GridLayout();
layout.numColumns= 2;
Composite codeGenComposite= new Composite(folder, SWT.NULL);
codeGenComposite.setLayout(layout);
label= JavaUIMessages.getString("CompilerPreferencePage.variable_attr.label");
addCheckBox(co... |
9,510 | Bug 9510 Improve option settings for JDK 1.4 | What we currently offer isn't sufficient. We should discuss with Philippe, this is important for the next milestone | resolved fixed | 66a7cef | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T22:03:08Z | 2002-02-13T06:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | label= JavaUIMessages.getString("CompilerPreferencePage.source_compatibility.label");
addComboBox(codeGenComposite, label, PREF_SOURCE_COMPATIBILITY, values, valuesLabels);
TabItem item= new TabItem(folder, SWT.NONE);
item.setText(JavaUIMessages.getString("CompilerPreferencePage.warnings.tabtitle"));
item.se... |
9,510 | Bug 9510 Improve option settings for JDK 1.4 | What we currently offer isn't sufficient. We should discuss with Philippe, this is important for the next milestone | resolved fixed | 66a7cef | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T22:03:08Z | 2002-02-13T06:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | fCheckBoxes.add(checkBox);
}
private void addComboBox(Composite parent, String label, String key, String[] values, String[] valueLabels) {
ControlData data= new ControlData(key, values);
Label labelControl= new Label(parent, SWT.NONE);
labelControl.setText(label);
labelControl.setLayoutData(new GridData(... |
9,510 | Bug 9510 Improve option settings for JDK 1.4 | What we currently offer isn't sufficient. We should discuss with Philippe, this is important for the next milestone | resolved fixed | 66a7cef | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T22:03:08Z | 2002-02-13T06:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | newValue= data.getValue(((Button)widget).getSelection());
} else if (widget instanceof Combo) {
newValue= data.getValue(((Combo)widget).getSelectionIndex());
} else {
return;
}
fWorkingValues.put(data.getKey(), newValue);
}
/*
* @see IPreferencePage#performOk()
*/
public boolean performOk() {
... |
9,510 | Bug 9510 Improve option settings for JDK 1.4 | What we currently offer isn't sufficient. We should discuss with Philippe, this is important for the next milestone | resolved fixed | 66a7cef | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T22:03:08Z | 2002-02-13T06:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | if (hasChanges) {
String title= JavaUIMessages.getString("CompilerPreferencePage.needsbuild.title");
String message= JavaUIMessages.getString("CompilerPreferencePage.needsbuild.message");
if (MessageDialog.openQuestion(getShell(), title, message)) {
doFullBuild();
}
}
return super.performOk();
}
... |
9,510 | Bug 9510 Improve option settings for JDK 1.4 | What we currently offer isn't sufficient. We should discuss with Philippe, this is important for the next milestone | resolved fixed | 66a7cef | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-07T22:03:08Z | 2002-02-13T06:00:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | /*
* @see PreferencePage#performDefaults()
*/
protected void performDefaults() {
fWorkingValues= JavaCore.getDefaultOptions();
updateControls();
super.performDefaults();
}
private void updateControls() {
for (int i= fCheckBoxes.size() - 1; i >= 0; i--) {
Button curr= (Button) fCheckBoxes.get(i);
... |
9,646 | Bug 9646 open type: no progress should be shown if no searching is done | there used to be no progress monitor dialog in the 'fast access' mode (when stuff was actually in the cache and no searching was done) now, i see the progress monitor everytime which makes no sense (takes more time to open the PM dialog then the type dialog) and it looks extremally flashy | resolved fixed | cf40a94 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-11T17:02:30Z | 2002-02-13T17:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeSelectionDialog.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.dialogs;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.Iterator;
import java.util.List;
import org.eclipse.core.runtime.IProgressMonit... |
9,646 | Bug 9646 open type: no progress should be shown if no searching is done | there used to be no progress monitor dialog in the 'fast access' mode (when stuff was actually in the cache and no searching was done) now, i see the progress monitor everytime which makes no sense (takes more time to open the PM dialog then the type dialog) and it looks extremally flashy | resolved fixed | cf40a94 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-11T17:02:30Z | 2002-02-13T17:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeSelectionDialog.java | private static class TypeFilterMatcher implements FilteredList.FilterMatcher {
private StringMatcher fMatcher;
private StringMatcher fQualifierMatcher;
/*
* @see FilteredList.FilterMatcher#setFilter(String, boolean)
*/
public void setFilter(String pattern, boolean ignoreCase, boolean igoreWildCards) {
... |
9,646 | Bug 9646 open type: no progress should be shown if no searching is done | there used to be no progress monitor dialog in the 'fast access' mode (when stuff was actually in the cache and no searching was done) now, i see the progress monitor everytime which makes no sense (takes more time to open the PM dialog then the type dialog) and it looks extremally flashy | resolved fixed | cf40a94 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-11T17:02:30Z | 2002-02-13T17:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeSelectionDialog.java | } else {
fQualifierMatcher= new StringMatcher(pattern.substring(0, qualifierIndex), ignoreCase, igoreWildCards);
fMatcher= new StringMatcher(pattern.substring(qualifierIndex + 1), ignoreCase, igoreWildCards);
}
}
/*
* @see FilteredList.FilterMatcher#match(Object)
*/
public boolean match(Object el... |
9,646 | Bug 9646 open type: no progress should be shown if no searching is done | there used to be no progress monitor dialog in the 'fast access' mode (when stuff was actually in the cache and no searching was done) now, i see the progress monitor everytime which makes no sense (takes more time to open the PM dialog then the type dialog) and it looks extremally flashy | resolved fixed | cf40a94 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-11T17:02:30Z | 2002-02-13T17:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeSelectionDialog.java | if (Character.isLowerCase(leftString.charAt(0)) &&
!Character.isLowerCase(rightString.charAt(0)))
return +1;
if (Character.isLowerCase(rightString.charAt(0)) &&
!Character.isLowerCase(leftString.charAt(0)))
return -1;
return leftString.compareToIgnoreCase(rightString);
... |
9,646 | Bug 9646 open type: no progress should be shown if no searching is done | there used to be no progress monitor dialog in the 'fast access' mode (when stuff was actually in the cache and no searching was done) now, i see the progress monitor everytime which makes no sense (takes more time to open the PM dialog then the type dialog) and it looks extremally flashy | resolved fixed | cf40a94 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-11T17:02:30Z | 2002-02-13T17:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeSelectionDialog.java | setUpperListLabel(JavaUIMessages.getString("TypeSelectionDialog.upperLabel"));
setLowerListLabel(JavaUIMessages.getString("TypeSelectionDialog.lowerLabel"));
}
public void create() {
if (getFilter() == null)
setFilter("A");
super.create();
}
/*
* @see AbstractElementListSelectionDialog#createFilt... |
9,646 | Bug 9646 open type: no progress should be shown if no searching is done | there used to be no progress monitor dialog in the 'fast access' mode (when stuff was actually in the cache and no searching was done) now, i see the progress monitor everytime which makes no sense (takes more time to open the PM dialog then the type dialog) and it looks extremally flashy | resolved fixed | cf40a94 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-11T17:02:30Z | 2002-02-13T17:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeSelectionDialog.java | AllTypesCache.getTypes(fScope, fElementKinds, monitor, typeList);
} catch (JavaModelException e) {
throw new InvocationTargetException(e);
}
if (monitor.isCanceled()) {
throw new InterruptedException();
}
}
};
try {
fRunnableContext.run(true, true, runnable);
} catch (Invocation... |
9,646 | Bug 9646 open type: no progress should be shown if no searching is done | there used to be no progress monitor dialog in the 'fast access' mode (when stuff was actually in the cache and no searching was done) now, i see the progress monitor everytime which makes no sense (takes more time to open the PM dialog then the type dialog) and it looks extremally flashy | resolved fixed | cf40a94 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-11T17:02:30Z | 2002-02-13T17:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeSelectionDialog.java | /**
* @see SelectionStatusDialog#computeResult()
*/
protected void computeResult() {
TypeInfo ref= (TypeInfo) getLowerSelectedElement();
if (ref == null)
return;
try {
IType type= ref.resolveType(fScope);
if (type == null) {
String title= JavaUIMessages.getString("TypeSelectionDialog.err... |
11,109 | Bug 11109 F1 no longer works in Packages view | new context ID? | resolved fixed | 902f54b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-12T10:32:04Z | 2002-03-11T18:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/IJavaHelpContextIds.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui;
import org.eclipse.jdt.ui.JavaUI;
/**
* Help context ids for the Java UI.
* <p>
* This interface contains constants only; it is not intended to be implemented
* or extended.
* </p>
*
*/
public interface IJ... |
11,109 | Bug 11109 F1 no longer works in Packages view | new context ID? | resolved fixed | 902f54b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-12T10:32:04Z | 2002-03-11T18:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/IJavaHelpContextIds.java | public static final String FILTER_STATIC_ACTION= PREFIX + "filter_static_action";
public static final String SHOW_INHERITED_ACTION= PREFIX + "show_inherited_action";
public static final String SHOW_SUPERTYPES= PREFIX + "show_supertypes_action";
public static final String SHOW_SUBTYPES= PREFIX + "show_subtypes_act... |
11,109 | Bug 11109 F1 no longer works in Packages view | new context ID? | resolved fixed | 902f54b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-12T10:32:04Z | 2002-03-11T18:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/IJavaHelpContextIds.java | public static final String MEMBERS_VIEW= PREFIX + "members_view_context";
public static final String APPEARANCE_PREFERENCE_PAGE= PREFIX + "appearance_preference_page_context";
public static final String BUILD_PATH_PROPERTY_PAGE= PREFIX + "build_path_property_page_context";
public static final String CP_VARIABLE... |
11,109 | Bug 11109 F1 no longer works in Packages view | new context ID? | resolved fixed | 902f54b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-12T10:32:04Z | 2002-03-11T18:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/IJavaHelpContextIds.java | public static final String MOVE_CU_WIZARD_PAGE= PREFIX + "move_cu_wizard_page_context";
public static final String MOVE_CU_ERROR_WIZARD_PAGE= PREFIX + "move_cu_error_wizard_page_context";
public static final String RENAME_PARAMS_WIZARD_PAGE= PREFIX + "rename_params_wizard_page";
public static final String RENAME_... |
11,109 | Bug 11109 F1 no longer works in Packages view | new context ID? | resolved fixed | 902f54b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-12T10:32:04Z | 2002-03-11T18:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.packageview;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.eclipse.core.resources.IContainer;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IR... |
11,109 | Bug 11109 F1 no longer works in Packages view | new context ID? | resolved fixed | 902f54b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-12T10:32:04Z | 2002-03-11T18:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Menu;
import org.eclipse.swt.widgets.ScrollBar;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Tree;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.action.IMenuListener;
import org.eclipse.jface.action.IMenuMa... |
11,109 | Bug 11109 F1 no longer works in Packages view | new context ID? | resolved fixed | 902f54b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-12T10:32:04Z | 2002-03-11T18:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | import org.eclipse.ui.IEditorPart;
import org.eclipse.ui.IFileEditorInput;
import org.eclipse.ui.IMemento;
import org.eclipse.ui.IPartListener;
import org.eclipse.ui.IViewPart;
import org.eclipse.ui.IViewSite;
import org.eclipse.ui.IWorkbenchActionConstants;
import org.eclipse.ui.IWorkbenchPage;
import org.eclipse.ui.I... |
11,109 | Bug 11109 F1 no longer works in Packages view | new context ID? | resolved fixed | 902f54b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-12T10:32:04Z | 2002-03-11T18:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | import org.eclipse.jdt.core.IMember;
import org.eclipse.jdt.core.IOpenable;
import org.eclipse.jdt.core.IType;
import org.eclipse.jdt.core.IWorkingCopy;
import org.eclipse.jdt.core.JavaCore;
import org.eclipse.jdt.core.JavaModelException;
import org.eclipse.jdt.ui.IContextMenuConstants;
import org.eclipse.jdt.ui.IPacka... |
11,109 | Bug 11109 F1 no longer works in Packages view | new context ID? | resolved fixed | 902f54b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-12T10:32:04Z | 2002-03-11T18:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | import org.eclipse.jdt.internal.ui.search.JavaSearchGroup;
import org.eclipse.jdt.internal.ui.util.OpenTypeHierarchyUtil;
import org.eclipse.jdt.internal.ui.viewsupport.JavaElementImageProvider;
import org.eclipse.jdt.internal.ui.viewsupport.JavaElementLabels;
import org.eclipse.jdt.internal.ui.viewsupport.MemberFilter... |
11,109 | Bug 11109 F1 no longer works in Packages view | new context ID? | resolved fixed | 902f54b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-12T10:32:04Z | 2002-03-11T18:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | private JavaElementPatternFilter fPatternFilter= new JavaElementPatternFilter();
private LibraryFilter fLibraryFilter= new LibraryFilter();
private BinaryProjectFilter fBinaryFilter= new BinaryProjectFilter();
private WorkingSetFilter fWorkingSetFilter= new WorkingSetFilter();
private MemberFilterActionGroup fMem... |
11,109 | Bug 11109 F1 no longer works in Packages view | new context ID? | resolved fixed | 902f54b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-12T10:32:04Z | 2002-03-11T18:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | private FilterWorkingSetAction fFilterWorkingSetAction;
private RemoveWorkingSetFilterAction fRemoveWorkingSetAction;
private IMemento fMemento;
private ISelectionChangedListener fSelectionListener;
private IPartListener fPartListener= new IPartListener() {
public void partActivated(IWorkbenchPart part) {
... |
11,109 | Bug 11109 F1 no longer works in Packages view | new context ID? | resolved fixed | 902f54b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-12T10:32:04Z | 2002-03-11T18:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | }
};
public PackageExplorerPart() {
}
/* (non-Javadoc)
* Method declared on IViewPart.
*/
public void init(IViewSite site, IMemento memento) throws PartInitException {
super.init(site, memento);
fMemento= memento;
}
/**
* Initializes the default preferences
*/
public static void initDefaults(I... |
11,109 | Bug 11109 F1 no longer works in Packages view | new context ID? | resolved fixed | 902f54b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-12T10:32:04Z | 2002-03-11T18:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | /**
* Makes the package explorer part visible in the active perspective. If there
* isn't a package explorer part registered <code>null</code> is returned.
* Otherwise the opened view part is returned.
*/
public static PackageExplorerPart openInActivePerspective() {
try {
return (PackageExplorerPart)JavaP... |
11,109 | Bug 11109 F1 no longer works in Packages view | new context ID? | resolved fixed | 902f54b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-12T10:32:04Z | 2002-03-11T18:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | boolean showCUChildren= JavaBasePreferencePage.showCompilationUnitChildren();
fViewer.setContentProvider(new JavaElementContentProvider(showCUChildren, false));
JavaPlugin.getDefault().getProblemMarkerManager().addListener(fViewer);
JavaPlugin.getDefault().getPreferenceStore().addPropertyChangeListener(this)... |
11,109 | Bug 11109 F1 no longer works in Packages view | new context ID? | resolved fixed | 902f54b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-12T10:32:04Z | 2002-03-11T18:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | fViewer.setInput(findInputElement());
initDragAndDrop();
initFrameList();
initKeyListener();
updateTitle();
MenuManager menuMgr= new MenuManager("#PopupMenu");
menuMgr.setRemoveAllWhenShown(true);
menuMgr.addMenuListener(this);
fContextMenu= menuMgr.createContextMenu(fViewer.getTree());
fViewer.ge... |
11,109 | Bug 11109 F1 no longer works in Packages view | new context ID? | resolved fixed | 902f54b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-12T10:32:04Z | 2002-03-11T18:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | getSite().setSelectionProvider(fViewer);
getSite().getPage().addPartListener(fPartListener);
IStatusLineManager slManager= getViewSite().getActionBars().getStatusLineManager();
fViewer.addSelectionChangedListener(new StatusBarUpdater(slManager));
fViewer.addTreeListener(fExpansionListener);
if (fMemento != ... |
11,109 | Bug 11109 F1 no longer works in Packages view | new context ID? | resolved fixed | 902f54b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-12T10:32:04Z | 2002-03-11T18:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | private void fillToolBar(IToolBarManager toolBar) {
toolBar.removeAll();
toolBar.add(fBackAction);
toolBar.add(fForwardAction);
toolBar.add(fUpAction);
if (JavaBasePreferencePage.showCompilationUnitChildren()) {
toolBar.add(new Separator());
fMemberFilterActionGroup.contributeToToolBar(toolBar);
... |
11,109 | Bug 11109 F1 no longer works in Packages view | new context ID? | resolved fixed | 902f54b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-12T10:32:04Z | 2002-03-11T18:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | */
public Object getAdapter(Class key) {
if (key.equals(ISelectionProvider.class))
return fViewer;
return super.getAdapter(key);
}
/**
* Returns the tool tip text for the given element.
*/
String getToolTipText(Object element) {
String result;
if (!(element instanceof IResource)) {
result= JavaEle... |
11,109 | Bug 11109 F1 no longer works in Packages view | new context ID? | resolved fixed | 902f54b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-12T10:32:04Z | 2002-03-11T18:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | public String getTitleToolTip() {
if (fViewer == null)
return super.getTitleToolTip();
return getToolTipText(fViewer.getInput());
}
/**
* @see IWorkbenchPart#setFocus()
*/
public void setFocus() {
fViewer.getTree().setFocus();
}
/**
* Sets the working set to be used for filtering this part
*/
p... |
11,109 | Bug 11109 F1 no longer works in Packages view | new context ID? | resolved fixed | 902f54b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-12T10:32:04Z | 2002-03-11T18:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | * Returns the selection provider.
*/
private ISelectionProvider getSelectionProvider() {
return fViewer;
}
/**
* Returns the current selection.
*/
private ISelection getSelection() {
return fViewer.getSelection();
}
/**
* Called when the context menu is about to open. Override
* to add you... |
11,109 | Bug 11109 F1 no longer works in Packages view | new context ID? | resolved fixed | 902f54b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-12T10:32:04Z | 2002-03-11T18:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | menu.appendToGroup(IContextMenuConstants.GROUP_GOTO, fZoomInAction);
addGotoMenu(menu);
fOpenCUAction.update();
if (fOpenCUAction.isEnabled())
menu.appendToGroup(IContextMenuConstants.GROUP_OPEN, fOpenCUAction);
addOpenWithMenu(menu, selection);
addOpenToMenu(menu, selection);
addRefactoring(menu)... |
11,109 | Bug 11109 F1 no longer works in Packages view | new context ID? | resolved fixed | 902f54b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-12T10:32:04Z | 2002-03-11T18:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | private void makeActions() {
ISelectionProvider provider= getSelectionProvider();
fOpenCUAction= new OpenResourceAction(provider);
fPropertyDialogAction= new PropertyDialogAction(getShell(), provider);
fShowNavigatorAction= new ShowInNavigatorAction(provider);
fAddBookmarkAction= new AddBookmarkAction(prov... |
11,109 | Bug 11109 F1 no longer works in Packages view | new context ID? | resolved fixed | 902f54b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-12T10:32:04Z | 2002-03-11T18:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | actionService.setGlobalActionHandler(IWorkbenchActionConstants.DELETE, fDeleteAction);
ReorgGroup.addGlobalReorgActions(actionService, getSelectionProvider());
}
private void addRefactoring(IMenuManager menu){
MenuManager refactoring= new MenuManager(PackagesMessages.getString("PackageExplorer.refactoringTitle"... |
11,109 | Bug 11109 F1 no longer works in Packages view | new context ID? | resolved fixed | 902f54b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-12T10:32:04Z | 2002-03-11T18:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | IAdaptable element= (IAdaptable)selection.getFirstElement();
Object resource= element.getAdapter(IResource.class);
if (!(resource instanceof IFile))
return;
MenuManager submenu= new MenuManager(PackagesMessages.getString("PackageExplorer.openWith"));
submenu.add(new OpenWithMenu(getSite().getPage(), (IF... |
11,109 | Bug 11109 F1 no longer works in Packages view | new context ID? | resolved fixed | 902f54b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-12T10:32:04Z | 2002-03-11T18:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | return true;
}
private void initDragAndDrop() {
int ops= DND.DROP_COPY | DND.DROP_MOVE;
final LocalSelectionTransfer lt= LocalSelectionTransfer.getInstance();
Transfer[] transfers= new Transfer[] {
lt,
ResourceTransfer.getInstance(),
FileTransfer.getInstance()};
TransferDropTargetListen... |
11,109 | Bug 11109 F1 no longer works in Packages view | new context ID? | resolved fixed | 902f54b | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-12T10:32:04Z | 2002-03-11T18:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java | }
/**
* Handles double clicks in viewer.
* Opens editor if file double-clicked.
*/
private void handleDoubleClick(DoubleClickEvent event) {
IStructuredSelection s= (IStructuredSelection) event.getSelection();
Object element= s.getFirstElement();
if (fOpenCUAction.isEnabled()) {
fOpenCUAction.run();
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.