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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
24,421 | Bug 24421 Better UI feedback when class path entries are missing [icons] | Build 2.1.M1. I get a nice message at the top of the Project/Properties/Java Build Path when I have missing entries on my HD from what I have specified on the class path: "Class path entries are missing." BUT the dialog provides no feedback as to which ones are missing, which can be a burden to figure out if you have a... | resolved fixed | b638c8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T11:59:41Z | 2002-10-04T22:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | }
classpath[i]= entry.getClasspathEntry();
URL javadocLocation= entry.getJavadocLocation();
if (javadocLocation != null) {
IPath path= entry.getPath();
if (entry.getEntryKind() == IClasspathEntry.CPE_VARIABLE) {
path= JavaCore.getResolvedVariablePath(path);
}
if (path != null) {... |
24,421 | Bug 24421 Better UI feedback when class path entries are missing [icons] | Build 2.1.M1. I get a nice message at the top of the Project/Properties/Java Build Path when I have missing entries on my HD from what I have specified on the class path: "Class path entries are missing." BUT the dialog provides no feedback as to which ones are missing, which can be a burden to figure out if you have a... | resolved fixed | b638c8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T11:59:41Z | 2002-10-04T22:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | }
}
return false;
}
public static void removeOldClassfiles(IResource resource) throws CoreException {
if (resource.isDerived()) {
resource.delete(false, null);
} else if (resource instanceof IContainer) {
IResource[] members= ((IContainer) resource).members();
for (int i= 0; i < members.length; i++... |
24,421 | Bug 24421 Better UI feedback when class path entries are missing [icons] | Build 2.1.M1. I get a nice message at the top of the Project/Properties/Java Build Path when I have missing entries on my HD from what I have specified on the class path: "Class path entries are missing." BUT the dialog provides no feedback as to which ones are missing, which can be a burden to figure out if you have a... | resolved fixed | b638c8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T11:59:41Z | 2002-10-04T22:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | } else if (res[0] == 1) {
return false;
}
throw new InterruptedException();
}
};
}
private IContainer chooseContainer() {
Class[] acceptedClasses= new Class[] { IProject.class, IFolder.class };
ISelectionStatusValidator validator= new TypedElementSelectionValidator(acceptedClasses, false... |
24,421 | Bug 24421 Better UI feedback when class path entries are missing [icons] | Build 2.1.M1. I get a nice message at the top of the Project/Properties/Java Build Path when I have missing entries on my HD from what I have specified on the class path: "Class path entries are missing." BUT the dialog provides no feedback as to which ones are missing, which can be a burden to figure out if you have a... | resolved fixed | b638c8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T11:59:41Z | 2002-10-04T22:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | dialog.setTitle(NewWizardMessages.getString("BuildPathsBlock.ChooseOutputFolderDialog.title"));
dialog.setValidator(validator);
dialog.setMessage(NewWizardMessages.getString("BuildPathsBlock.ChooseOutputFolderDialog.description"));
dialog.addFilter(filter);
dialog.setInput(fWorkspaceRoot);
dialog.setInitial... |
24,421 | Bug 24421 Better UI feedback when class path entries are missing [icons] | Build 2.1.M1. I get a nice message at the top of the Project/Properties/Java Build Path when I have missing entries on my HD from what I have specified on the class path: "Class path entries are missing." BUT the dialog provides no feedback as to which ones are missing, which can be a burden to figure out if you have a... | resolved fixed | b638c8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T11:59:41Z | 2002-10-04T22:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/CPListLabelProvider.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.wizards.buildpaths;
import org.eclipse.swt.graphics.Image;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IFolder;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.res... |
24,421 | Bug 24421 Better UI feedback when class path entries are missing [icons] | Build 2.1.M1. I get a nice message at the top of the Project/Properties/Java Build Path when I have missing entries on my HD from what I have specified on the class path: "Class path entries are missing." BUT the dialog provides no feedback as to which ones are missing, which can be a burden to figure out if you have a... | resolved fixed | b638c8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T11:59:41Z | 2002-10-04T22:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/CPListLabelProvider.java | private String fNewLabel, fClassLabel, fCreateLabel;
private Image fJarIcon, fExtJarIcon, fJarWSrcIcon, fExtJarWSrcIcon;
private Image fFolderImage, fProjectImage, fVariableImage, fContainerImage;
private Image fMissingLibaryImage, fMissingVariableImage;
private Image fMissingFolderImage, fMissingProjectImage, fMis... |
24,421 | Bug 24421 Better UI feedback when class path entries are missing [icons] | Build 2.1.M1. I get a nice message at the top of the Project/Properties/Java Build Path when I have missing entries on my HD from what I have specified on the class path: "Class path entries are missing." BUT the dialog provides no feedback as to which ones are missing, which can be a burden to figure out if you have a... | resolved fixed | b638c8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T11:59:41Z | 2002-10-04T22:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/CPListLabelProvider.java | fFolderImage= reg.get(JavaPluginImages.IMG_OBJS_PACKFRAG_ROOT);
fVariableImage= reg.get(JavaPluginImages.IMG_OBJS_ENV_VAR);
IWorkbench workbench= JavaPlugin.getDefault().getWorkbench();
fProjectImage= workbench.getSharedImages().getImage(ISharedImages.IMG_OBJ_PROJECT);
fMissingLibaryImage= reg.get... |
24,421 | Bug 24421 Better UI feedback when class path entries are missing [icons] | Build 2.1.M1. I get a nice message at the top of the Project/Properties/Java Build Path when I have missing entries on my HD from what I have specified on the class path: "Class path entries are missing." BUT the dialog provides no feedback as to which ones are missing, which can be a burden to figure out if you have a... | resolved fixed | b638c8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T11:59:41Z | 2002-10-04T22:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/CPListLabelProvider.java | buf.append(' ');
if (cpentry.isMissing()) {
buf.append(fCreateLabel);
} else {
buf.append(fNewLabel);
}
}
return buf.toString();
} else if (resource instanceof IFile) {
if (ArchiveFileFilter.isArchivePath(path)) {
String[] args= new String[] { path.last... |
24,421 | Bug 24421 Better UI feedback when class path entries are missing [icons] | Build 2.1.M1. I get a nice message at the top of the Project/Properties/Java Build Path when I have missing entries on my HD from what I have specified on the class path: "Class path entries are missing." BUT the dialog provides no feedback as to which ones are missing, which can be a burden to figure out if you have a... | resolved fixed | b638c8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T11:59:41Z | 2002-10-04T22:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/CPListLabelProvider.java | return buf.toString();
}
case IClasspathEntry.CPE_PROJECT:
return path.lastSegment();
case IClasspathEntry.CPE_CONTAINER:
try {
IClasspathContainer container= JavaCore.getClasspathContainer(cpentry.getPath(), cpentry.getJavaProject());
if (container != null) {
return container.g... |
24,421 | Bug 24421 Better UI feedback when class path entries are missing [icons] | Build 2.1.M1. I get a nice message at the top of the Project/Properties/Java Build Path when I have missing entries on my HD from what I have specified on the class path: "Class path entries are missing." BUT the dialog provides no feedback as to which ones are missing, which can be a burden to figure out if you have a... | resolved fixed | b638c8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T11:59:41Z | 2002-10-04T22:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/CPListLabelProvider.java | }
return super.getText(element);
}
public Image getImage(Object element) {
if (element instanceof CPListElement) {
CPListElement cpentry= (CPListElement)element;
switch (cpentry.getEntryKind()) {
case IClasspathEntry.CPE_SOURCE:
if (!cpentry.isMissing()) {
return fFolderImage;
} e... |
24,421 | Bug 24421 Better UI feedback when class path entries are missing [icons] | Build 2.1.M1. I get a nice message at the top of the Project/Properties/Java Build Path when I have missing entries on my HD from what I have specified on the class path: "Class path entries are missing." BUT the dialog provides no feedback as to which ones are missing, which can be a burden to figure out if you have a... | resolved fixed | b638c8f | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T11:59:41Z | 2002-10-04T22:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/CPListLabelProvider.java | return fFolderImage;
}
} else {
return fMissingLibaryImage;
}
case IClasspathEntry.CPE_PROJECT:
if (!cpentry.isMissing()) {
return fProjectImage;
} else {
return fMissingProjectImage;
}
case IClasspathEntry.CPE_VARIABLE:
if (!cpentry.isMissing()) {
... |
24,712 | Bug 24712 status bar doesn't show project of PackageFragmentRoots | The status bar doesn't show the project of selected PackageFragmentRoots. For every other JavaElement, the project is appended after a separator " - ". Remedy: StatusBarUpdater.LABEL_FLAGS should include JavaElementLabels.ROOT_POST_QUALIFIED | verified fixed | 2b7bf3c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T13:38:36Z | 2002-10-11T18:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/StatusBarUpdater.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.viewsupport;
import org.eclipse.core.resources.IResource;
import org.eclipse.jface.action.IStatusLineManager;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.ISelectionChangedListener;... |
24,712 | Bug 24712 status bar doesn't show project of PackageFragmentRoots | The status bar doesn't show the project of selected PackageFragmentRoots. For every other JavaElement, the project is appended after a separator " - ". Remedy: StatusBarUpdater.LABEL_FLAGS should include JavaElementLabels.ROOT_POST_QUALIFIED | verified fixed | 2b7bf3c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T13:38:36Z | 2002-10-11T18:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/StatusBarUpdater.java | private final int LABEL_FLAGS= JavaElementLabels.DEFAULT_QUALIFIED | JavaElementLabels.APPEND_ROOT_PATH |
JavaElementLabels.M_PARAMETER_TYPES | JavaElementLabels.M_PARAMETER_NAMES | JavaElementLabels.M_APP_RETURNTYPE | JavaElementLabels.M_EXCEPTIONS |
JavaElementLabels.F_APP_TYPE_SIGNATURE;
private IStatu... |
24,712 | Bug 24712 status bar doesn't show project of PackageFragmentRoots | The status bar doesn't show the project of selected PackageFragmentRoots. For every other JavaElement, the project is appended after a separator " - ". Remedy: StatusBarUpdater.LABEL_FLAGS should include JavaElementLabels.ROOT_POST_QUALIFIED | verified fixed | 2b7bf3c | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T13:38:36Z | 2002-10-11T18:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/StatusBarUpdater.java | }
private String formatMessage(ISelection sel) {
if (sel instanceof IStructuredSelection && !sel.isEmpty()) {
IStructuredSelection selection= (IStructuredSelection) sel;
int nElements= selection.size();
if (nElements > 1) {
return JavaUIMessages.getFormattedString("StatusBarUpdater.num_elements_... |
18,220 | Bug 18220 Build 20020529 Error importing from source | When I import org.eclipse.jdt.debug from source I get the following error This resource is a duplicate and was not copied to the output folder MANIFEST.MF org.eclipse.jdt.debug/src-jdimodel/META-INF STEPS 1) Select Import - Plug-ins 2) Choose "Extraxt source archives" 3) Import org.eclipse.jdt.debug | resolved fixed | f9a6cc6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:07:13Z | 2002-05-29T19:20: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.Arrays;
import java.util.Hashtable;
import java.util.StringTokenizer;
import org.eclipse.core.resources.... |
18,220 | Bug 18220 Build 20020529 Error importing from source | When I import org.eclipse.jdt.debug from source I get the following error This resource is a duplicate and was not copied to the output folder MANIFEST.MF org.eclipse.jdt.debug/src-jdimodel/META-INF STEPS 1) Select Import - Plug-ins 2) Choose "Extraxt source archives" 3) Import org.eclipse.jdt.debug | resolved fixed | f9a6cc6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:07:13Z | 2002-05-29T19:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | import org.eclipse.swt.widgets.Group;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.TabFolder;
import org.eclipse.swt.widgets.TabItem;
import org.eclipse.swt.widgets.Text;
import org.eclipse.swt.widgets.Widget;
import org.eclipse.jface.dialogs.IDialogConstant... |
18,220 | Bug 18220 Build 20020529 Error importing from source | When I import org.eclipse.jdt.debug from source I get the following error This resource is a duplicate and was not copied to the output folder MANIFEST.MF org.eclipse.jdt.debug/src-jdimodel/META-INF STEPS 1) Select Import - Plug-ins 2) Choose "Extraxt source archives" 3) Import org.eclipse.jdt.debug | resolved fixed | f9a6cc6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:07:13Z | 2002-05-29T19:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | private static final String PREF_LOCAL_VARIABLE_ATTR= JavaCore.COMPILER_LOCAL_VARIABLE_ATTR;
private static final String PREF_LINE_NUMBER_ATTR= JavaCore.COMPILER_LINE_NUMBER_ATTR;
private static final String PREF_SOURCE_FILE_ATTR= JavaCore.COMPILER_SOURCE_FILE_ATTR;
private static final String PREF_CODEGEN_UNUSED_L... |
18,220 | Bug 18220 Build 20020529 Error importing from source | When I import org.eclipse.jdt.debug from source I get the following error This resource is a duplicate and was not copied to the output folder MANIFEST.MF org.eclipse.jdt.debug/src-jdimodel/META-INF STEPS 1) Select Import - Plug-ins 2) Choose "Extraxt source archives" 3) Import org.eclipse.jdt.debug | resolved fixed | f9a6cc6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:07:13Z | 2002-05-29T19:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | private static final String PREF_RESOURCE_FILTER= JavaCore.CORE_JAVA_BUILD_RESOURCE_COPY_FILTER;
private static final String PREF_BUILD_INVALID_CLASSPATH= JavaCore.CORE_JAVA_BUILD_INVALID_CLASSPATH;
private static final String PREF_PB_INCOMPLETE_BUILDPATH= JavaCore.CORE_INCOMPLETE_CLASSPATH;
private static final Str... |
18,220 | Bug 18220 Build 20020529 Error importing from source | When I import org.eclipse.jdt.debug from source I get the following error This resource is a duplicate and was not copied to the output folder MANIFEST.MF org.eclipse.jdt.debug/src-jdimodel/META-INF STEPS 1) Select Import - Plug-ins 2) Choose "Extraxt source archives" 3) Import org.eclipse.jdt.debug | resolved fixed | f9a6cc6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:07:13Z | 2002-05-29T19:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | PREF_LOCAL_VARIABLE_ATTR, PREF_LINE_NUMBER_ATTR, PREF_SOURCE_FILE_ATTR, PREF_CODEGEN_UNUSED_LOCAL,
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_... |
18,220 | Bug 18220 Build 20020529 Error importing from source | When I import org.eclipse.jdt.debug from source I get the following error This resource is a duplicate and was not copied to the output folder MANIFEST.MF org.eclipse.jdt.debug/src-jdimodel/META-INF STEPS 1) Select Import - Plug-ins 2) Choose "Extraxt source archives" 3) Import org.eclipse.jdt.debug | resolved fixed | f9a6cc6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:07:13Z | 2002-05-29T19:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | }
public String getValue(int index) {
return fValues[index];
}
public int getSelection(String value) {
for (int i= 0; i < fValues.length; i++) {
if (value.equals(fValues[i])) {
return i;
}
}
throw new IllegalArgumentException();
}
}
private Hashtable fWorkingValues;
private... |
18,220 | Bug 18220 Build 20020529 Error importing from source | When I import org.eclipse.jdt.debug from source I get the following error This resource is a duplicate and was not copied to the output folder MANIFEST.MF org.eclipse.jdt.debug/src-jdimodel/META-INF STEPS 1) Select Import - Plug-ins 2) Choose "Extraxt source archives" 3) Import org.eclipse.jdt.debug | resolved fixed | f9a6cc6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:07:13Z | 2002-05-29T19:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | fWorkingValues= JavaCore.getOptions();
fWorkingValues.put(INTR_DEFAULT_COMPLIANCE, getCurrentCompliance());
fCheckBoxes= new ArrayList();
fComboBoxes= new ArrayList();
fTextBoxes= new ArrayList(2);
fComplianceControls= new ArrayList();
fSelectionListener= new SelectionListener() {
public void w... |
18,220 | Bug 18220 Build 20020529 Error importing from source | When I import org.eclipse.jdt.debug from source I get the following error This resource is a duplicate and was not copied to the output folder MANIFEST.MF org.eclipse.jdt.debug/src-jdimodel/META-INF STEPS 1) Select Import - Plug-ins 2) Choose "Extraxt source archives" 3) Import org.eclipse.jdt.debug | resolved fixed | f9a6cc6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:07:13Z | 2002-05-29T19:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | */
public void init(IWorkbench workbench) {
}
/**
* @see PreferencePage#createControl(Composite)
*/
public void createControl(Composite parent) {
super.createControl(parent);
WorkbenchHelp.setHelp(getControl(), IJavaHelpContextIds.COMPILER_PREFERENCE_PAGE);
}
/**
* @see PreferencePage#createContent... |
18,220 | Bug 18220 Build 20020529 Error importing from source | When I import org.eclipse.jdt.debug from source I get the following error This resource is a duplicate and was not copied to the output folder MANIFEST.MF org.eclipse.jdt.debug/src-jdimodel/META-INF STEPS 1) Select Import - Plug-ins 2) Choose "Extraxt source archives" 3) Import org.eclipse.jdt.debug | resolved fixed | f9a6cc6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:07:13Z | 2002-05-29T19:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | item.setText(JavaUIMessages.getString("CompilerPreferencePage.markers.tabtitle"));
item.setControl(markersComposite);
item= new TabItem(folder, SWT.NONE);
item.setText(JavaUIMessages.getString("CompilerPreferencePage.generation.tabtitle"));
item.setControl(codeGenComposite);
item= new TabItem(folder, SWT.... |
18,220 | Bug 18220 Build 20020529 Error importing from source | When I import org.eclipse.jdt.debug from source I get the following error This resource is a duplicate and was not copied to the output folder MANIFEST.MF org.eclipse.jdt.debug/src-jdimodel/META-INF STEPS 1) Select Import - Plug-ins 2) Choose "Extraxt source archives" 3) Import org.eclipse.jdt.debug | resolved fixed | f9a6cc6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:07:13Z | 2002-05-29T19:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | markersComposite.setLayout(new GridLayout());
GridLayout layout= new GridLayout();
layout.numColumns= 2;
Group group= new Group(markersComposite, SWT.NONE);
group.setText(JavaUIMessages.getString("CompilerPreferencePage.markers.deprecated.label"));
group.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
... |
18,220 | Bug 18220 Build 20020529 Error importing from source | When I import org.eclipse.jdt.debug from source I get the following error This resource is a duplicate and was not copied to the output folder MANIFEST.MF org.eclipse.jdt.debug/src-jdimodel/META-INF STEPS 1) Select Import - Plug-ins 2) Choose "Extraxt source archives" 3) Import org.eclipse.jdt.debug | resolved fixed | f9a6cc6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:07:13Z | 2002-05-29T19:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | group.setLayout(layout);
label= JavaUIMessages.getString("CompilerPreferencePage.pb_non_externalized_strings.label");
addComboBox(group, label, PREF_PB_NON_EXTERNALIZED_STRINGS, errorWarningIgnore, errorWarningIgnoreLabels, 0);
return markersComposite;
}
private Composite createOthersTabContent(TabFolder fol... |
18,220 | Bug 18220 Build 20020529 Error importing from source | When I import org.eclipse.jdt.debug from source I get the following error This resource is a duplicate and was not copied to the output folder MANIFEST.MF org.eclipse.jdt.debug/src-jdimodel/META-INF STEPS 1) Select Import - Plug-ins 2) Choose "Extraxt source archives" 3) Import org.eclipse.jdt.debug | resolved fixed | f9a6cc6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:07:13Z | 2002-05-29T19:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | gd.horizontalSpan= 2;
combos.setLayoutData(gd);
GridLayout cl= new GridLayout();
cl.numColumns=2; cl.marginWidth= 0; cl.marginHeight= 0;
combos.setLayout(cl);
String label= JavaUIMessages.getString("CompilerPreferencePage.pb_incomplete_build_path.label");
addComboBox(combos, label, PREF_PB_INCOMPLETE_BU... |
18,220 | Bug 18220 Build 20020529 Error importing from source | When I import org.eclipse.jdt.debug from source I get the following error This resource is a duplicate and was not copied to the output folder MANIFEST.MF org.eclipse.jdt.debug/src-jdimodel/META-INF STEPS 1) Select Import - Plug-ins 2) Choose "Extraxt source archives" 3) Import org.eclipse.jdt.debug | resolved fixed | f9a6cc6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:07:13Z | 2002-05-29T19:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | private Composite createWarningsTabContent(Composite folder) {
String[] errorWarningIgnore= new String[] { ERROR, WARNING, IGNORE };
String[] errorWarningIgnoreLabels= new String[] {
JavaUIMessages.getString("CompilerPreferencePage.error"),
JavaUIMessages.getString("CompilerPreferencePage.warning"),
... |
18,220 | Bug 18220 Build 20020529 Error importing from source | When I import org.eclipse.jdt.debug from source I get the following error This resource is a duplicate and was not copied to the output folder MANIFEST.MF org.eclipse.jdt.debug/src-jdimodel/META-INF STEPS 1) Select Import - Plug-ins 2) Choose "Extraxt source archives" 3) Import org.eclipse.jdt.debug | resolved fixed | f9a6cc6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:07:13Z | 2002-05-29T19:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | addComboBox(warningsComposite, label, PREF_PB_METHOD_WITH_CONSTRUCTOR_NAME, errorWarningIgnore, errorWarningIgnoreLabels, 0);
label= JavaUIMessages.getString("CompilerPreferencePage.pb_hidden_catchblock.label");
addComboBox(warningsComposite, label, PREF_PB_HIDDEN_CATCH_BLOCK, errorWarningIgnore, errorWarningIg... |
18,220 | Bug 18220 Build 20020529 Error importing from source | When I import org.eclipse.jdt.debug from source I get the following error This resource is a duplicate and was not copied to the output folder MANIFEST.MF org.eclipse.jdt.debug/src-jdimodel/META-INF STEPS 1) Select Import - Plug-ins 2) Choose "Extraxt source archives" 3) Import org.eclipse.jdt.debug | resolved fixed | f9a6cc6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:07:13Z | 2002-05-29T19:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | label= JavaUIMessages.getString("CompilerPreferencePage.line_number_attr.label");
addCheckBox(codeGenComposite, label, PREF_LINE_NUMBER_ATTR, generateValues, 0);
label= JavaUIMessages.getString("CompilerPreferencePage.source_file_attr.label");
addCheckBox(codeGenComposite, label, PREF_SOURCE_FILE_ATTR, genera... |
18,220 | Bug 18220 Build 20020529 Error importing from source | When I import org.eclipse.jdt.debug from source I get the following error This resource is a duplicate and was not copied to the output folder MANIFEST.MF org.eclipse.jdt.debug/src-jdimodel/META-INF STEPS 1) Select Import - Plug-ins 2) Choose "Extraxt source archives" 3) Import org.eclipse.jdt.debug | resolved fixed | f9a6cc6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:07:13Z | 2002-05-29T19:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | JavaUIMessages.getString("CompilerPreferencePage.version11"),
JavaUIMessages.getString("CompilerPreferencePage.version12"),
JavaUIMessages.getString("CompilerPreferencePage.version13"),
JavaUIMessages.getString("CompilerPreferencePage.version14")
};
label= JavaUIMessages.getString("CompilerPreferen... |
18,220 | Bug 18220 Build 20020529 Error importing from source | When I import org.eclipse.jdt.debug from source I get the following error This resource is a duplicate and was not copied to the output folder MANIFEST.MF org.eclipse.jdt.debug/src-jdimodel/META-INF STEPS 1) Select Import - Plug-ins 2) Choose "Extraxt source archives" 3) Import org.eclipse.jdt.debug | resolved fixed | f9a6cc6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:07:13Z | 2002-05-29T19:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | gd.horizontalSpan= 2;
gd.horizontalIndent= indent;
Button checkBox= new Button(parent, SWT.CHECK);
checkBox.setText(label);
checkBox.setData(data);
checkBox.setLayoutData(gd);
checkBox.addSelectionListener(fSelectionListener);
String currValue= (String)fWorkingValues.get(key);
checkBox.setSelecti... |
18,220 | Bug 18220 Build 20020529 Error importing from source | When I import org.eclipse.jdt.debug from source I get the following error This resource is a duplicate and was not copied to the output folder MANIFEST.MF org.eclipse.jdt.debug/src-jdimodel/META-INF STEPS 1) Select Import - Plug-ins 2) Choose "Extraxt source archives" 3) Import org.eclipse.jdt.debug | resolved fixed | f9a6cc6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:07:13Z | 2002-05-29T19:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | String currValue= (String)fWorkingValues.get(key);
comboBox.select(data.getSelection(currValue));
fComboBoxes.add(comboBox);
}
private Text addTextField(Composite parent, String label, String key) {
Label labelControl= new Label(parent, SWT.NONE);
labelControl.setText(label);
labelControl.setLayoutDa... |
18,220 | Bug 18220 Build 20020529 Error importing from source | When I import org.eclipse.jdt.debug from source I get the following error This resource is a duplicate and was not copied to the output folder MANIFEST.MF org.eclipse.jdt.debug/src-jdimodel/META-INF STEPS 1) Select Import - Plug-ins 2) Choose "Extraxt source archives" 3) Import org.eclipse.jdt.debug | resolved fixed | f9a6cc6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:07:13Z | 2002-05-29T19:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | } else if (widget instanceof Combo) {
newValue= data.getValue(((Combo)widget).getSelectionIndex());
} else {
return;
}
fWorkingValues.put(data.getKey(), newValue);
validateSettings(data.getKey(), newValue);
}
private void textChanged(Text textControl) {
String key= (String) textControl.getData();... |
18,220 | Bug 18220 Build 20020529 Error importing from source | When I import org.eclipse.jdt.debug from source I get the following error This resource is a duplicate and was not copied to the output folder MANIFEST.MF org.eclipse.jdt.debug/src-jdimodel/META-INF STEPS 1) Select Import - Plug-ins 2) Choose "Extraxt source archives" 3) Import org.eclipse.jdt.debug | resolved fixed | f9a6cc6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:07:13Z | 2002-05-29T19:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | } else if (PREF_COMPLIANCE.equals(changedKey)) {
if (checkValue(INTR_DEFAULT_COMPLIANCE, DEFAULT)) {
updateComplianceDefaultSettings();
}
fComplianceStatus= validateCompliance();
} else if (PREF_SOURCE_COMPATIBILITY.equals(changedKey) ||
PREF_CODEGEN_TARGET_PLATFORM.equals(changedKey) ||
P... |
18,220 | Bug 18220 Build 20020529 Error importing from source | When I import org.eclipse.jdt.debug from source I get the following error This resource is a duplicate and was not copied to the output folder MANIFEST.MF org.eclipse.jdt.debug/src-jdimodel/META-INF STEPS 1) Select Import - Plug-ins 2) Choose "Extraxt source archives" 3) Import org.eclipse.jdt.debug | resolved fixed | f9a6cc6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:07:13Z | 2002-05-29T19:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | StatusInfo status= new StatusInfo();
if (checkValue(PREF_COMPLIANCE, VERSION_1_3)) {
if (checkValue(PREF_SOURCE_COMPATIBILITY, VERSION_1_4)) {
status.setError(JavaUIMessages.getString("CompilerPreferencePage.cpl13src14.error"));
return status;
} else if (checkValue(PREF_CODEGEN_TARGET_PLATFORM, VERSION... |
18,220 | Bug 18220 Build 20020529 Error importing from source | When I import org.eclipse.jdt.debug from source I get the following error This resource is a duplicate and was not copied to the output folder MANIFEST.MF org.eclipse.jdt.debug/src-jdimodel/META-INF STEPS 1) Select Import - Plug-ins 2) Choose "Extraxt source archives" 3) Import org.eclipse.jdt.debug | resolved fixed | f9a6cc6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:07:13Z | 2002-05-29T19:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | } else {
try {
int value= Integer.parseInt(number);
if (value <= 0) {
status.setError(JavaUIMessages.getFormattedString("CompilerPreferencePage.invalid_input", number));
}
} catch (NumberFormatException e) {
status.setError(JavaUIMessages.getFormattedString("CompilerPreferencePage.invalid_in... |
18,220 | Bug 18220 Build 20020529 Error importing from source | When I import org.eclipse.jdt.debug from source I get the following error This resource is a duplicate and was not copied to the output folder MANIFEST.MF org.eclipse.jdt.debug/src-jdimodel/META-INF STEPS 1) Select Import - Plug-ins 2) Choose "Extraxt source archives" 3) Import org.eclipse.jdt.debug | resolved fixed | f9a6cc6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:07:13Z | 2002-05-29T19:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | }
}
return new StatusInfo();
}
private IStatus validateTaskTags() {
String text= (String) fWorkingValues.get(PREF_COMPILER_TASK_TAGS);
IWorkspace workspace= ResourcesPlugin.getWorkspace();
String[] tags= getFilters(text);
for (int i= 0; i < tags.length; i++) {
if (tags[i].length() == 0) {
Stri... |
18,220 | Bug 18220 Build 20020529 Error importing from source | When I import org.eclipse.jdt.debug from source I get the following error This resource is a duplicate and was not copied to the output folder MANIFEST.MF org.eclipse.jdt.debug/src-jdimodel/META-INF STEPS 1) Select Import - Plug-ins 2) Choose "Extraxt source archives" 3) Import org.eclipse.jdt.debug | resolved fixed | f9a6cc6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:07:13Z | 2002-05-29T19:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | */
private void updateComplianceEnableState() {
boolean enabled= checkValue(INTR_DEFAULT_COMPLIANCE, USER);
for (int i= fComplianceControls.size() - 1; i >= 0; i--) {
Control curr= (Control) fComplianceControls.get(i);
curr.setEnabled(enabled);
}
}
/*
* Set the default compliance values derived from ... |
18,220 | Bug 18220 Build 20020529 Error importing from source | When I import org.eclipse.jdt.debug from source I get the following error This resource is a duplicate and was not copied to the output folder MANIFEST.MF org.eclipse.jdt.debug/src-jdimodel/META-INF STEPS 1) Select Import - Plug-ins 2) Choose "Extraxt source archives" 3) Import org.eclipse.jdt.debug | resolved fixed | f9a6cc6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:07:13Z | 2002-05-29T19:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | if ((VERSION_1_3.equals(complianceLevel)
&& checkValue(PREF_PB_ASSERT_AS_IDENTIFIER, IGNORE)
&& checkValue(PREF_SOURCE_COMPATIBILITY, VERSION_1_3)
&& checkValue(PREF_CODEGEN_TARGET_PLATFORM, VERSION_1_1))
|| (VERSION_1_4.equals(complianceLevel)
&& checkValue(PREF_PB_ASSERT_AS_IDENTIFIER, ERROR)
&... |
18,220 | Bug 18220 Build 20020529 Error importing from source | When I import org.eclipse.jdt.debug from source I get the following error This resource is a duplicate and was not copied to the output folder MANIFEST.MF org.eclipse.jdt.debug/src-jdimodel/META-INF STEPS 1) Select Import - Plug-ins 2) Choose "Extraxt source archives" 3) Import org.eclipse.jdt.debug | resolved fixed | f9a6cc6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:07:13Z | 2002-05-29T19:20: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");
MessageDialog dialog= new MessageDialog(getShell(), title, null, message, MessageDialog.QUESTION, new Strin... |
18,220 | Bug 18220 Build 20020529 Error importing from source | When I import org.eclipse.jdt.debug from source I get the following error This resource is a duplicate and was not copied to the output folder MANIFEST.MF org.eclipse.jdt.debug/src-jdimodel/META-INF STEPS 1) Select Import - Plug-ins 2) Choose "Extraxt source archives" 3) Import org.eclipse.jdt.debug | resolved fixed | f9a6cc6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:07:13Z | 2002-05-29T19:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | try {
dialog.run(true, true, new IRunnableWithProgress() {
public void run(IProgressMonitor monitor) throws InvocationTargetException {
try {
JavaPlugin.getWorkspace().build(IncrementalProjectBuilder.FULL_BUILD, monitor);
} catch (CoreException e) {
throw new InvocationTargetException(e);
... |
18,220 | Bug 18220 Build 20020529 Error importing from source | When I import org.eclipse.jdt.debug from source I get the following error This resource is a duplicate and was not copied to the output folder MANIFEST.MF org.eclipse.jdt.debug/src-jdimodel/META-INF STEPS 1) Select Import - Plug-ins 2) Choose "Extraxt source archives" 3) Import org.eclipse.jdt.debug | resolved fixed | f9a6cc6 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:07:13Z | 2002-05-29T19:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java | private void updateControls() {
for (int i= fCheckBoxes.size() - 1; i >= 0; i--) {
Button curr= (Button) fCheckBoxes.get(i);
ControlData data= (ControlData) curr.getData();
String currValue= (String) fWorkingValues.get(data.getKey());
curr.setSelection(data.getSelection(currValue) == 0);
}
... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | /*******************************************************************************
* Copyright (c) 2000, 2002 International Business Machines Corp. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanie... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | * Contributors:
* IBM Corporation - initial API and implementation
******************************************************************************/
package org.eclipse.jdt.ui.wizards;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.core.runt... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | import org.eclipse.jdt.core.IPackageFragmentRoot;
import org.eclipse.jdt.core.ISourceRange;
import org.eclipse.jdt.core.IType;
import org.eclipse.jdt.core.ITypeHierarchy;
import org.eclipse.jdt.core.JavaConventions;
import org.eclipse.jdt.core.JavaModelException;
import org.eclipse.jdt.core.Signature;
import org.eclips... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | import org.eclipse.jdt.internal.ui.wizards.SuperInterfaceSelectionDialog;
import org.eclipse.jdt.internal.ui.wizards.dialogfields.DialogField;
import org.eclipse.jdt.internal.ui.wizards.dialogfields.IDialogFieldListener;
import org.eclipse.jdt.internal.ui.wizards.dialogfields.IListAdapter;
import org.eclipse.jdt.intern... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | /**
* Class used in stub creation routines to add needed imports to a
* compilation unit.
*/
public static class ImportsManager {
private IImportsStructure fImportsStructure;
ImportsManager(IImportsStructure structure) {
fImportsStructure= structure;
}
IImportsStructure getImportsStructure() {
r... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | public int F_PUBLIC = Flags.AccPublic;
public int F_PRIVATE = Flags.AccPrivate;
public int F_PROTECTED = Flags.AccProtected;
public int F_STATIC = Flags.AccStatic;
public int F_FINAL = Flags.AccFinal;
public int F_ABSTRACT = Flags.AccAbstract;
private final static String PAGE_NAME= "NewTypeWizardPage"; ... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | private Image fInterfaceImage;
public InterfacesListLabelProvider() {
super();
fInterfaceImage= JavaPluginImages.get(JavaPluginImages.IMG_OBJS_INTERFACE);
}
public Image getImage(Object element) {
return fInterfaceImage;
}
}
private StringButtonStatusDialogField fPackageDialogField;
private... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | private StringDialogField fTypeNameDialogField;
private StringButtonDialogField fSuperClassDialogField;
private ListDialogField fSuperInterfacesDialogField;
private IType fSuperClass;
private SelectionButtonDialogFieldGroup fAccMdfButtons;
private SelectionButtonDialogFieldGroup fOtherMdfButtons;
private ... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | */
public NewTypeWizardPage(boolean isClass, String pageName) {
super(pageName);
fCreatedType= null;
fIsClass= isClass;
TypeFieldsAdapter adapter= new TypeFieldsAdapter();
fPackageDialogField= new StringButtonStatusDialogField(adapter);
fPackageDialogField.setDialogFieldListener(adapter);
fPacka... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | fSuperClassDialogField.setButtonLabel(NewWizardMessages.getString("NewTypeWizardPage.superclass.button"));
String[] addButtons= new String[] {
NewWizardMessages.getString("NewTypeWizardPage.interfaces.add"),
null,
NewWizardMessages.getString("NewTypeWizardPage.interfaces.remove")
};
fSuperInter... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | };
fStaticMdfIndex= 2;
} else {
buttonNames2= new String[] {
NewWizardMessages.getString("NewTypeWizardPage.modifiers.static")
};
fStaticMdfIndex= 0;
}
fOtherMdfButtons= new SelectionButtonDialogFieldGroup(SWT.CHECK, buttonNames2, 4);
fOtherMdfButtons.setDialogFieldListener(adapter);
fAc... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | * @param elem the selection used to intialize this page or <code>
* null</code> if no selection was available
*/
protected void initTypePage(IJavaElement elem) {
String initSuperclass= "java.lang.Object";
ArrayList initSuperinterfaces= new ArrayList(5);
IPackageFragment pack= null;
IType enclosingType= nu... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | if (type.isInterface()) {
initSuperinterfaces.add(superName);
} else {
initSuperclass= superName;
}
}
}
} catch (JavaModelException e) {
JavaPlugin.log(e);
}
}
setPackageFragment(pack, true);
setEnclosingType(enclosingType, true);
setEnclosingTypeSelection(fa... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | (new Separator(SWT.SEPARATOR | SWT.HORIZONTAL)).doFillIntoGrid(composite, nColumns, convertHeightInCharsToPixels(1));
}
/**
* Creates the controls for the package name field. Expects a <code>GridLayout</code> with at
* least 4 columns.
*
* @param composite the parent composite
* @param nColumns number o... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | GridData gd= new GridData(GridData.FILL_HORIZONTAL);
gd.widthHint= getMaxFieldWidth();
gd.horizontalSpan= 2;
c.setLayoutData(gd);
Button button= fEnclosingTypeDialogField.getChangeControl(composite);
gd= new GridData(GridData.HORIZONTAL_ALIGN_FILL);
gd.heightHint = SWTUtil.getButtonHeigthHint(button);
... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | */
protected void createModifierControls(Composite composite, int nColumns) {
LayoutUtil.setHorizontalSpan(fAccMdfButtons.getLabelControl(composite), 1);
Control control= fAccMdfButtons.getSelectionButtonsGroup(composite);
GridData gd= new GridData(GridData.HORIZONTAL_ALIGN_FILL);
gd.horizontalSpan= nColu... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | /**
* Creates the controls for the superclass name field. Expects a <code>GridLayout</code> with
* at least 3 columns.
*
* @param composite the parent composite
* @param nColumns number of columns to span
*/
protected void createSuperInterfacesControls(Composite composite, int nColumns) {
fSuperInte... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | public void changeControlPressed(DialogField field) {
typePageChangeControlPressed(field);
}
public void customButtonPressed(DialogField field, int index) {
typePageCustomButtonPressed(field, index);
}
public void selectionChanged(DialogField field) {}
public void dialogFieldChanged(Dialo... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | if (type != null) {
fSuperClassDialogField.setText(JavaModelUtil.getFullyQualifiedName(type));
}
}
}
private void typePageCustomButtonPressed(DialogField field, int index) {
if (field == fSuperInterfacesDialogField) {
chooseSuperInterfaces();
}
}
/*
* A field on the type has changed. The fie... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | updateEnableState();
boolean isEnclosedType= isEnclosingTypeSelected();
if (!isEnclosedType) {
if (fAccMdfButtons.isSelected(PRIVATE_INDEX) || fAccMdfButtons.isSelected(PROTECTED_INDEX)) {
fAccMdfButtons.setSelection(PRIVATE_INDEX, false);
fAccMdfButtons.setSelection(PROTECTED_INDEX, false);
f... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | } else {
fieldName= METHODS;
}
handleFieldChanged(fieldName);
}
/*
* @see org.eclipse.jdt.ui.wizards.NewContainerWizardPage#handleFieldChanged(String)
*/
protected void handleFieldChanged(String fieldName) {
super.handleFieldChanged(fieldName);
if (fieldName == CONTAINER) {
fPackageSta... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | public String getPackageText() {
return fPackageDialogField.getText();
}
/**
* Returns the text of the enclosing type input field.
*
* @return the text of the enclosing type input field
*/
public String getEnclosingTypeText() {
return fEnclosingTypeDialogField.getText();
}
/**
* Returns the pa... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | /**
* Sets the package fragment to the given value. The method updates the model
* and the text of the control.
*
* @param pack the package fragement to be set
* @param canBeModified if <code>true</code> the package fragment is
* editable; otherwise it is read-only.
*/
public void setPackageFragment(IP... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | *
* @param type the enclosing type
* @param canBeModified if <code>true</code> the enclosing type field is
* editable; otherwise it is read-only.
*/
public void setEnclosingType(IType type, boolean canBeModified) {
fCurrEnclosingType= type;
fCanModifyEnclosingType= canBeModified;
String str= (type == n... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | fEnclosingTypeSelection.setEnabled(canBeModified);
updateEnableState();
}
/**
* Returns the type name entered into the type input field.
*
* @return the type name
*/
public String getTypeName() {
return fTypeNameDialogField.getText();
}
/**
* Sets the type name input field's text to the given valu... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | */
public int getModifiers() {
int mdf= 0;
if (fAccMdfButtons.isSelected(PUBLIC_INDEX)) {
mdf+= F_PUBLIC;
} else if (fAccMdfButtons.isSelected(PRIVATE_INDEX)) {
mdf+= F_PRIVATE;
} else if (fAccMdfButtons.isSelected(PROTECTED_INDEX)) {
mdf+= F_PROTECTED;
}
if (fOtherMdfButtons.isSelected(ABSTRACT... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | */
public void setModifiers(int modifiers, boolean canBeModified) {
if (Flags.isPublic(modifiers)) {
fAccMdfButtons.setSelection(PUBLIC_INDEX, true);
} else if (Flags.isPrivate(modifiers)) {
fAccMdfButtons.setSelection(PRIVATE_INDEX, true);
} else if (Flags.isProtected(modifiers)) {
fAccMdfButtons.set... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | public String getSuperClass() {
return fSuperClassDialogField.getText();
}
/**
* Sets the super class name.
*
* @param name the new superclass name
* @param canBeModified if <code>true</code> the superclass name field is
* editable; otherwise it is read-only.
*/
public void setSuperClass(String nam... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | * editable; otherwise it is read-only.
*/
public void setSuperInterfaces(List interfacesNames, boolean canBeModified) {
fSuperInterfacesDialogField.setElements(interfacesNames);
fSuperInterfacesDialogField.setEnabled(canBeModified);
}
/**
* A hook method that gets called when the package field has ... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | status.setWarning(NewWizardMessages.getFormattedString("NewTypeWizardPage.warning.DiscouragedPackageName", val.getMessage()));
}
}
IPackageFragmentRoot root= getPackageFragmentRoot();
if (root != null) {
if (root.getJavaProject().exists() && packName.length() > 0) {
try {
IPath rootPath= r... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | return status;
}
/*
* Updates the 'default' label next to the package field.
*/
private void updatePackageStatusLabel() {
String packName= getPackageText();
if (packName.length() == 0) {
fPackageDialogField.setStatus(NewWizardMessages.getString("NewTypeWizardPage.default"));
} else {
fPackageDia... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | *
* @return the status of the validation
*/
protected IStatus enclosingTypeChanged() {
StatusInfo status= new StatusInfo();
fCurrEnclosingType= null;
IPackageFragmentRoot root= getPackageFragmentRoot();
fEnclosingTypeDialogField.enableButton(root != null);
if (root == null) {
status.setError(""... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | if (!JavaModelUtil.isEditable(type.getCompilationUnit())) {
status.setError(NewWizardMessages.getString("NewTypeWizardPage.error.EnclosingNotEditable"));
return status;
}
fCurrEnclosingType= type;
IPackageFragmentRoot enclosingRoot= JavaModelUtil.getPackageFragmentRoot(type);
if (!enclosingR... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | if (typeName.length() == 0) {
status.setError(NewWizardMessages.getString("NewTypeWizardPage.error.EnterTypeName"));
return status;
}
if (typeName.indexOf('.') != -1) {
status.setError(NewWizardMessages.getString("NewTypeWizardPage.error.QualifiedName"));
return status;
}
IStatus val= JavaConventi... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | IType member= type.getType(typeName);
if (member.exists()) {
status.setError(NewWizardMessages.getString("NewTypeWizardPage.error.TypeNameExists"));
return status;
}
}
}
return status;
}
/**
* Hook method that gets called when the superclass name has changed. The method
* validates th... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | }
IStatus val= JavaConventions.validateJavaTypeName(sclassName);
if (val.getSeverity() == IStatus.ERROR) {
status.setError(NewWizardMessages.getString("NewTypeWizardPage.error.InvalidSuperClassName"));
return status;
}
if (root != null) {
try {
IType type= resolveSuperTypeName(root.getJavaProje... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | }
} else {
status.setError("");
}
return status;
}
private IType resolveSuperTypeName(IJavaProject jproject, String sclassName) throws JavaModelException {
IType type= null;
if (isEnclosingTypeSelected()) {
IType enclosingType= getEnclosingType();
if (enclosingType != null) {
S... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | }
}
if (type == null) {
type= jproject.findType(sclassName);
}
}
return type;
}
/**
* Hook method that gets called when the list of super interface has changed. The method
* validates the superinterfaces and returns the status of the validation.
* <p>
* Subclasses may extend this met... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | try {
IType type= root.getJavaProject().findType(intfname);
if (type == null) {
status.setWarning(NewWizardMessages.getFormattedString("NewTypeWizardPage.warning.InterfaceNotExists", intfname));
return status;
} else {
if (type.isClass()) {
status.setWarning(NewWizardMessages.ge... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | * @return the status of the validation
*/
protected IStatus modifiersChanged() {
StatusInfo status= new StatusInfo();
int modifiers= getModifiers();
if (Flags.isFinal(modifiers) && Flags.isAbstract(modifiers)) {
status.setError(NewWizardMessages.getString("NewTypeWizardPage.error.ModifiersFinalAndAbstract")... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | dialog.setMessage(NewWizardMessages.getString("NewTypeWizardPage.ChoosePackageDialog.description"));
dialog.setEmptyListMessage(NewWizardMessages.getString("NewTypeWizardPage.ChoosePackageDialog.empty"));
dialog.setElements(packages);
IPackageFragment pack= getPackageFragment();
if (pack != null) {
dialog.... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | }
private IType chooseSuperType() {
IPackageFragmentRoot root= getPackageFragmentRoot();
if (root == null) {
return null;
}
IJavaElement[] elements= new IJavaElement[] { root.getJavaProject() };
IJavaSearchScope scope= SearchEngine.createJavaSearchScope(elements);
TypeSelectionDialog dialog= new Typ... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | }
/**
* Creates the new type using the entered field values.
*
* @param monitor a progress monitor to report progress.
*/
public void createType(IProgressMonitor monitor) throws CoreException, InterruptedException {
if (monitor == null) {
monitor= new NullProgressMonitor();
}
monitor.beg... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | String clName= getTypeName();
boolean isInnerClass= isEnclosingTypeSelected();
IType createdType;
ImportsStructure imports;
int indent= 0;
String[] prefOrder= ImportOrganizePreferencePage.getImportOrderPreference();
int threshold= ImportOrganizePreferencePage.getImportNumberThreshold();
... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | IType workingCopy= (IType) EditorUtility.getWorkingCopy(enclosingType);
if (workingCopy != null) {
enclosingType= workingCopy;
}
ICompilationUnit parentCU= enclosingType.getCompilationUnit();
imports= new ImportsStructure(parentCU, prefOrder, threshold, true);
IType[] topLevelTypes= pa... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | synchronized(cu) {
cu.reconcile();
}
createTypeMembers(createdType, new ImportsManager(imports), new SubProgressMonitor(monitor, 1));
imports.create(false, new SubProgressMonitor(monitor, 1));
synchronized(cu) {
cu.reconcile();
}
ISourceRange range= createdType.getSourceRange();
... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | }
monitor.done();
}
}
/**
* Returns the created type. The method only returns a valid type
* after <code>createType</code> has been called.
*
* @return the created type
* @see #createType(IProgressMonitor)
*/
public IType getCreatedType() {
return fCreatedType;
}
private void writeS... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | if (last >= 0) {
if (fIsClass) {
buf.append(" implements ");
} else {
buf.append(" extends ");
}
for (int i= 0; i <= last; i++) {
String typename= (String) interfaces.get(i);
buf.append(imports.addImport(typename));
if (i < last) {
buf.append(',');
}
}
}
}
/*
* Called... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | }
buf.append(fIsClass ? "class " : "interface ");
buf.append(getTypeName());
writeSuperClass(buf, imports);
writeSuperInterfaces(buf, imports);
buf.append('{');
buf.append(lineDelimiter);
buf.append(lineDelimiter);
buf.append('}');
buf.append(lineDelimiter);
return buf.toString();
}
/**
* @dep... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | * </p>
*
* @param newType the new type created via <code>createType</code>
* @param imports an import manager which can be used to add new imports
* @param monitor a progress monitor to report progress. Must not be <code>null</code>
*
* @see #createType(IProgressMonitor)
*/
protected void createTypeM... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | return getTemplate("filecomment", parentCU, 0);
}
return null;
}
/**
* Hook method that gets called from <code>createType</code> to retrieve
* a type comment. This default implementation returns the content of the
* 'typecomment' template.
*
* @return the type comment or <code>null</code> if a typ... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | *
* @param name the template to be evaluated
* @param parentCU the templates evaluation context
* @param pos a source offset into the parent compilation unit. The
* template is evalutated at the given source offset
*/
protected String getTemplate(String name, ICompilationUnit parentCU, int pos) {
try {
... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | * @param doConstructors if <code>true</code> unimplemented constructors are created
* @param doUnimplementedMethods if <code>true</code> unimplemented methods are created
* @param imports an import manager to add all neded import statements
* @param monitor a progress monitor to report progress
*/
protected IM... |
22,260 | Bug 22260 Internal Error during creation of class using New Class Wizard [code manipulation] | When trying to create the class "URLs" by means of New Class Wizard I get the error "Invalid Contents specified.". Source file is created with only package statement. So far I've figured out that it happens if second letter of the class is uppercased. After that Error Log contains the Internal Error: Java Model Excepti... | resolved fixed | d0e47fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-14T14:25:41Z | 2002-08-08T09:46:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java | for (int i= 0; i < newMethods.size(); i++) {
String content= (String) newMethods.get(i) + '\n';
createdMethods[i]= type.createMethod(content, null, false, null);
}
return createdMethods;
}
/**
* Returns the runnable that creates the type using the current settings.
* The returned runnable must be e... |
24,799 | Bug 24799 Java structure compare fails too many times | Using 1009, when I synchronize with the cvs server and I compare my outgoing changes with the repository contents, I get too many times "Java Structure Compare (Can't Compare Structures)". This didn't happen in the past. I don't know what changed, but this is frustrating and make the whole synchronization process very ... | resolved fixed | 84a2411 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-16T10:04:45Z | 2002-10-15T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureCreator.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.compare;
import java.io.UnsupportedEncodingException;
import java.util.*;
import org.eclipse.jface.text.*;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
import or... |
24,799 | Bug 24799 Java structure compare fails too many times | Using 1009, when I synchronize with the cvs server and I compare my outgoing changes with the repository contents, I get too many times "Java Structure Compare (Can't Compare Structures)". This didn't happen in the past. I don't know what changed, but this is frustrating and make the whole synchronization process very ... | resolved fixed | 84a2411 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-16T10:04:45Z | 2002-10-15T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureCreator.java | }
/**
* This problem factory aborts parsing on first error.
*/
static class ProblemFactory implements IProblemFactory {
public IProblem createProblem(char[] originatingFileName, int problemId, String[] arguments, String[] messageArguments, int severity, int startPosition, int endPosition, int lineNumber) {... |
24,799 | Bug 24799 Java structure compare fails too many times | Using 1009, when I synchronize with the cvs server and I compare my outgoing changes with the repository contents, I get too many times "Java Structure Compare (Can't Compare Structures)". This didn't happen in the past. I don't know what changed, but this is frustrating and make the whole synchronization process very ... | resolved fixed | 84a2411 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-16T10:04:45Z | 2002-10-15T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureCreator.java | boolean fIsOut= false;
JavaNode fAncestor= null;
JavaNode fLeft= null;
JavaNode fRight= null;
ArrayList fChildren= new ArrayList();
void add(IDiffElement diff) {
fChildren.add(diff);
}
void setDiff(ICompareInput diff) {
if (fIsOut)
return; |
24,799 | Bug 24799 Java structure compare fails too many times | Using 1009, when I synchronize with the cvs server and I compare my outgoing changes with the repository contents, I get too many times "Java Structure Compare (Can't Compare Structures)". This didn't happen in the past. I don't know what changed, but this is frustrating and make the whole synchronization process very ... | resolved fixed | 84a2411 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-10-16T10:04:45Z | 2002-10-15T16:40:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureCreator.java | fIsOut= true;
JavaNode a= (JavaNode) diff.getAncestor();
JavaNode y= (JavaNode) diff.getLeft();
JavaNode m= (JavaNode) diff.getRight();
if (a != null) {
if (fAncestor != null)
return;
fAncestor= a;
}
if (y != null) {
if (fLeft != null)
return;
fLeft= y;
}
if (m ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.