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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
11,689 | Bug 11689 NPE creating a test case in empty workbench | If you create a project and then a JUnit TestCase when there are no other classes in the image you will get a NullPointerException when you select the browse button on the Test Class entry. STEPS 1) Create a ConfigurableProject 2) Create a JUnit Test class. In the creation dialog select the 3rd browse button. Walkback:... | resolved fixed | 4f1a191 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-27T10:34:12Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java | status.setError(Messages.getString("NewTestClassWizPage.error.superclass.is_interface"));
fSuperClassStatus= status;
}
if (!TestSearchEngine.isTestImplementor(type)) {
status.setError(Messages.getFormattedString("NewTestClassWizPage.error.superclass.not_implementing_test_interface", JUnitPlugin.T... |
11,689 | Bug 11689 NPE creating a test case in empty workbench | If you create a project and then a JUnit TestCase when there are no other classes in the image you will get a NullPointerException when you select the browse button on the Test Class entry. STEPS 1) Create a ConfigurableProject 2) Create a JUnit Test class. In the creation dialog select the 3rd browse button. Walkback:... | resolved fixed | 4f1a191 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-27T10:34:12Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java | fTestClassText.setFont(composite.getFont());
fTestClassText.addModifyListener(new ModifyListener() {
public void modifyText(ModifyEvent e) {
handleFieldChanged(TEST_CLASS);
}
});
gd= new GridData();
gd.horizontalAlignment= gd.FILL;
gd.grabExcessHorizontalSpace= true;
gd.horizontalSpan= nColumns - ... |
11,689 | Bug 11689 NPE creating a test case in empty workbench | If you create a project and then a JUnit TestCase when there are no other classes in the image you will get a NullPointerException when you select the browse button on the Test Class entry. STEPS 1) Create a ConfigurableProject 2) Create a JUnit Test class. In the creation dialog select the 3rd browse button. Walkback:... | resolved fixed | 4f1a191 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-27T10:34:12Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java | fTestClassTextInitialValue= name;
}
else {
fTestClassText.setText(name);
fTestClassText.setEnabled(canBeModified);
}
}
/**
* Called when the type name has changed.
* The method validates the type name and returns the status of the validation.
* Can be extended to add more validation
*/
protecte... |
11,689 | Bug 11689 NPE creating a test case in empty workbench | If you create a project and then a JUnit TestCase when there are no other classes in the image you will get a NullPointerException when you select the browse button on the Test Class entry. STEPS 1) Create a ConfigurableProject 2) Create a JUnit Test class. In the creation dialog select the 3rd browse button. Walkback:... | resolved fixed | 4f1a191 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-27T10:34:12Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java | }
IPackageFragment pack= getPackageFragment();
if (pack != null) {
ICompilationUnit cu= pack.getCompilationUnit(typeName + ".java");
if (cu.exists()) {
status.setError(Messages.getString("NewTestClassWizPage.error.testcase.already_exists"));
return status;
}
}
return status;
}
/**
* ... |
11,689 | Bug 11689 NPE creating a test case in empty workbench | If you create a project and then a JUnit TestCase when there are no other classes in the image you will get a NullPointerException when you select the browse button on the Test Class entry. STEPS 1) Create a ConfigurableProject 2) Create a JUnit Test class. In the creation dialog select the 3rd browse button. Walkback:... | resolved fixed | 4f1a191 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-27T10:34:12Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java | return status;
}
IStatus val= JavaConventions.validateJavaTypeName(classToTestName);
if (val.getSeverity() == IStatus.ERROR) {
status.setError(Messages.getString("NewTestClassWizPage.error.class_to_test.not_valid"));
return status;
}
if (root != null) {
try {
IType type= NewTestCaseCreation... |
11,689 | Bug 11689 NPE creating a test case in empty workbench | If you create a project and then a JUnit TestCase when there are no other classes in the image you will get a NullPointerException when you select the browse button on the Test Class entry. STEPS 1) Create a ConfigurableProject 2) Create a JUnit Test class. In the creation dialog select the 3rd browse button. Walkback:... | resolved fixed | 4f1a191 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-27T10:34:12Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java | }
return status;
}
static public IType resolveClassNameToType(IJavaProject jproject, IPackageFragment pack, String classToTestName) throws JavaModelException {
IType type= null;
if (type == null && pack != null) {
String packName= pack.getElementName();
if (!pack.isDefaultPackage()) {
type= JavaMo... |
11,689 | Bug 11689 NPE creating a test case in empty workbench | If you create a project and then a JUnit TestCase when there are no other classes in the image you will get a NullPointerException when you select the browse button on the Test Class entry. STEPS 1) Create a ConfigurableProject 2) Create a JUnit Test class. In the creation dialog select the 3rd browse button. Walkback:... | resolved fixed | 4f1a191 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-27T10:34:12Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java | /**
* Use the dialog store to restore widget values to the values that they held
* last time this wizard was used to completion
*/
private void restoreWidgetValues() {
IDialogSettings settings= getDialogSettings();
if (settings != null) {
boolean generateMain= settings.getBoolean(STORE_GENERATE_MAIN);
... |
11,689 | Bug 11689 NPE creating a test case in empty workbench | If you create a project and then a JUnit TestCase when there are no other classes in the image you will get a NullPointerException when you select the browse button on the Test Class entry. STEPS 1) Create a ConfigurableProject 2) Create a JUnit Test class. In the creation dialog select the 3rd browse button. Walkback:... | resolved fixed | 4f1a191 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-27T10:34:12Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestSuiteCreationWizard.java | /*
* (c) Copyright 2001 MyCorporation.
* All Rights Reserved.
*/
package org.eclipse.jdt.junit.wizards;
import java.lang.reflect.InvocationTargetException;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.IWorkspace;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.... |
11,689 | Bug 11689 NPE creating a test case in empty workbench | If you create a project and then a JUnit TestCase when there are no other classes in the image you will get a NullPointerException when you select the browse button on the Test Class entry. STEPS 1) Create a ConfigurableProject 2) Create a JUnit Test class. In the creation dialog select the 3rd browse button. Walkback:... | resolved fixed | 4f1a191 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-27T10:34:12Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestSuiteCreationWizard.java | private NewTestSuiteCreationWizardPage fPage;
public NewTestSuiteCreationWizard() {
super();
setWindowTitle(Messages.getString("Wizard.title.new"));
}
/*
* @see Wizard#createPages
*/
public void addPages() {
super.addPages(); |
11,689 | Bug 11689 NPE creating a test case in empty workbench | If you create a project and then a JUnit TestCase when there are no other classes in the image you will get a NullPointerException when you select the browse button on the Test Class entry. STEPS 1) Create a ConfigurableProject 2) Create a JUnit Test class. In the creation dialog select the 3rd browse button. Walkback:... | resolved fixed | 4f1a191 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-27T10:34:12Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestSuiteCreationWizard.java | IWorkspace workspace= ResourcesPlugin.getWorkspace();
fPage= new NewTestSuiteCreationWizardPage();
addPage(fPage);
fPage.init(getSelection());
}
/*
* @see Wizard#performFinish
*/
public boolean performFinish() {
IPackageFragment pack= fPage.getPackageFragment();
String filename= fPage.getTypeName() ... |
11,689 | Bug 11689 NPE creating a test case in empty workbench | If you create a project and then a JUnit TestCase when there are no other classes in the image you will get a NullPointerException when you select the browse button on the Test Class entry. STEPS 1) Create a ConfigurableProject 2) Create a JUnit Test class. In the creation dialog select the 3rd browse button. Walkback:... | resolved fixed | 4f1a191 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-27T10:34:12Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestSuiteCreationWizard.java | ISourceRange range= suiteMethod.getSourceRange();
IBuffer buf= cu.getBuffer();
String originalContent= buf.getText(range.getOffset(), range.getLength());
int start= originalContent.indexOf(NewTestSuiteCreationWizardPage.startMarker);
if (start > -1) {
int end= originalContent.indexOf(NewTestSuiteCr... |
11,689 | Bug 11689 NPE creating a test case in empty workbench | If you create a project and then a JUnit TestCase when there are no other classes in the image you will get a NullPointerException when you select the browse button on the Test Class entry. STEPS 1) Create a ConfigurableProject 2) Create a JUnit Test class. In the creation dialog select the 3rd browse button. Walkback:... | resolved fixed | 4f1a191 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-27T10:34:12Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestSuiteCreationWizard.java | ICompilationUnit cu= newClass.getCompilationUnit();
if (cu.isWorkingCopy()) {
cu= (ICompilationUnit) cu.getOriginalElement();
}
try {
IResource resource= cu.getUnderlyingResource();
selectAndReveal(resource);
openResource(resource);
} catch (JavaModelException e) {
JUnitPlugin.log(e);
}
}
... |
11,689 | Bug 11689 NPE creating a test case in empty workbench | If you create a project and then a JUnit TestCase when there are no other classes in the image you will get a NullPointerException when you select the browse button on the Test Class entry. STEPS 1) Create a ConfigurableProject 2) Create a JUnit Test class. In the creation dialog select the 3rd browse button. Walkback:... | resolved fixed | 4f1a191 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-27T10:34:12Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestSuiteCreationWizardPage.java | /*
* (c) Copyright 2001 MyCorporation.
* All Rights Reserved.
*/
package org.eclipse.jdt.junit.wizards;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.ISta... |
11,689 | Bug 11689 NPE creating a test case in empty workbench | If you create a project and then a JUnit TestCase when there are no other classes in the image you will get a NullPointerException when you select the browse button on the Test Class entry. STEPS 1) Create a ConfigurableProject 2) Create a JUnit Test class. In the creation dialog select the 3rd browse button. Walkback:... | resolved fixed | 4f1a191 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-27T10:34:12Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestSuiteCreationWizardPage.java | import org.eclipse.jdt.internal.junit.ui.JUnitPlugin;
import org.eclipse.jdt.internal.junit.util.JUnitStatus;
import org.eclipse.jdt.internal.junit.util.JUnitStubUtility;
import org.eclipse.jdt.internal.junit.util.TestSearchEngine;
import org.eclipse.jdt.ui.JavaElementLabelProvider;
import org.eclipse.jdt.ui.wizards.Ne... |
11,689 | Bug 11689 NPE creating a test case in empty workbench | If you create a project and then a JUnit TestCase when there are no other classes in the image you will get a NullPointerException when you select the browse button on the Test Class entry. STEPS 1) Create a ConfigurableProject 2) Create a JUnit Test class. In the creation dialog select the 3rd browse button. Walkback:... | resolved fixed | 4f1a191 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-27T10:34:12Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestSuiteCreationWizardPage.java | private final static String PAGE_NAME= "NewTestSuiteCreationWizardPage";
private final static String CLASSES_IN_SUITE= PAGE_NAME + ".classesinsuite";
private final static String SUITE_NAME= PAGE_NAME + ".suitename";
private final static String SELECTED_CLASSES_LABEL_TEXT_ONE= " class selected.";
private final s... |
11,689 | Bug 11689 NPE creating a test case in empty workbench | If you create a project and then a JUnit TestCase when there are no other classes in the image you will get a NullPointerException when you select the browse button on the Test Class entry. STEPS 1) Create a ConfigurableProject 2) Create a JUnit Test class. In the creation dialog select the 3rd browse button. Walkback:... | resolved fixed | 4f1a191 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-27T10:34:12Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestSuiteCreationWizardPage.java | setTitle(Messages.getString("NewTestSuiteWizPage.title"));
setDescription(Messages.getString("NewTestSuiteWizPage.description"));
fClassesInSuiteStatus= new JUnitStatus();
}
/*
* @see IDialogPage#createControl(Composite)
*/
public void createControl(Composite parent) {
initializeDialogUnits(parent);
... |
11,689 | Bug 11689 NPE creating a test case in empty workbench | If you create a project and then a JUnit TestCase when there are no other classes in the image you will get a NullPointerException when you select the browse button on the Test Class entry. STEPS 1) Create a ConfigurableProject 2) Create a JUnit Test class. In the creation dialog select the 3rd browse button. Walkback:... | resolved fixed | 4f1a191 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-27T10:34:12Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestSuiteCreationWizardPage.java | IJavaElement jelem= getInitialJavaElement(selection);
initContainerPage(jelem);
initTypePage(jelem);
doStatusUpdate();
}
/**
* @see NewContainerWizardPage#handleFieldChanged
*/
protected void handleFieldChanged(String fieldName) {
super.handleFieldChanged(fieldName);
if (fieldName.equals(PACKAGE) || ... |
11,689 | Bug 11689 NPE creating a test case in empty workbench | If you create a project and then a JUnit TestCase when there are no other classes in the image you will get a NullPointerException when you select the browse button on the Test Class entry. STEPS 1) Create a ConfigurableProject 2) Create a JUnit Test class. In the creation dialog select the 3rd browse button. Walkback:... | resolved fixed | 4f1a191 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-27T10:34:12Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestSuiteCreationWizardPage.java | fClassesInSuiteStatus
};
updateStatus(status);
}
public void setVisible(boolean visible) {
super.setVisible(visible);
if (visible) {
setFocus();
updateClassesInSuiteTable();
}
}
protected void updateClassesInSuiteTable() {
if (fClassesInSuiteTable != null) {
IPackageFragment pack= ge... |
11,689 | Bug 11689 NPE creating a test case in empty workbench | If you create a project and then a JUnit TestCase when there are no other classes in the image you will get a NullPointerException when you select the browse button on the Test Class entry. STEPS 1) Create a ConfigurableProject 2) Create a JUnit Test class. In the creation dialog select the 3rd browse button. Walkback:... | resolved fixed | 4f1a191 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-27T10:34:12Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestSuiteCreationWizardPage.java | protected void createClassesInSuiteControl(Composite parent, int nColumns) {
if (fClassesInSuiteTable == null) {
Label label = new Label(parent, SWT.LEFT);
label.setText(Messages.getString("NewTestSuiteWizPage.classes_in_suite.label"));
GridData gd= new GridData();
gd.horizontalAlignment = GridData.FILL;... |
11,689 | Bug 11689 NPE creating a test case in empty workbench | If you create a project and then a JUnit TestCase when there are no other classes in the image you will get a NullPointerException when you select the browse button on the Test Class entry. STEPS 1) Create a ConfigurableProject 2) Create a JUnit Test class. In the creation dialog select the 3rd browse button. Walkback:... | resolved fixed | 4f1a191 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-27T10:34:12Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestSuiteCreationWizardPage.java | GridData bgd= new GridData(GridData.FILL_HORIZONTAL | GridData.VERTICAL_ALIGN_BEGINNING);
fSelectAllButton.setLayoutData(bgd);
fSelectAllButton.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
fClassesInSuiteTable.setAllChecked(true);
handleFieldChanged(CL... |
11,689 | Bug 11689 NPE creating a test case in empty workbench | If you create a project and then a JUnit TestCase when there are no other classes in the image you will get a NullPointerException when you select the browse button on the Test Class entry. STEPS 1) Create a ConfigurableProject 2) Create a JUnit Test class. In the creation dialog select the 3rd browse button. Walkback:... | resolved fixed | 4f1a191 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-27T10:34:12Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestSuiteCreationWizardPage.java | private Object[] fTypes;
public ClassesInSuitContentProvider() {
super();
}
public Object[] getElements(Object parent) {
try {
if (parent instanceof IPackageFragment) {
IPackageFragment pack= (IPackageFragment) parent;
ICompilationUnit[] cuArray= pack.getCompilationUnits();
ArrayLi... |
11,689 | Bug 11689 NPE creating a test case in empty workbench | If you create a project and then a JUnit TestCase when there are no other classes in the image you will get a NullPointerException when you select the browse button on the Test Class entry. STEPS 1) Create a ConfigurableProject 2) Create a JUnit Test class. In the creation dialog select the 3rd browse button. Walkback:... | resolved fixed | 4f1a191 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-27T10:34:12Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestSuiteCreationWizardPage.java | public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
}
}
/*
* @see TypePage#evalMethods
*/
protected void createTypeMembers(IType type, IImportsStructure imports, IProgressMonitor monitor) throws CoreException {
writeImports(imports);
type.createMethod(getSuiteMethodString(), null, f... |
11,689 | Bug 11689 NPE creating a test case in empty workbench | If you create a project and then a JUnit TestCase when there are no other classes in the image you will get a NullPointerException when you select the browse button on the Test Class entry. STEPS 1) Create a ConfigurableProject 2) Create a JUnit Test class. In the creation dialog select the 3rd browse button. Walkback:... | resolved fixed | 4f1a191 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-27T10:34:12Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestSuiteCreationWizardPage.java | suite.append("suite.addTest("+testType.getElementName()+".suite());");
}
}
}
suite.append("\n"+endMarker);
return suite.toString();
}
public IRunnableWithProgress getRunnable() {
return new IRunnableWithProgress() {
public void run(IProgressMonitor monitor) throws InvocationTargetException, Interr... |
11,689 | Bug 11689 NPE creating a test case in empty workbench | If you create a project and then a JUnit TestCase when there are no other classes in the image you will get a NullPointerException when you select the browse button on the Test Class entry. STEPS 1) Create a ConfigurableProject 2) Create a JUnit Test class. In the creation dialog select the 3rd browse button. Walkback:... | resolved fixed | 4f1a191 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-27T10:34:12Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestSuiteCreationWizardPage.java | return;
}
IType suiteType= cu.getType(getTypeName());
monitor.beginTask(Messages.getString("NewTestSuiteWizPage.createType.beginTask"), 10);
IMethod suiteMethod= suiteType.getMethod("suite", new String[] {});
monitor.worked(1);
String lineDelimiter= JUnitStubUtility.getLineDelimiterUsed(cu);... |
11,689 | Bug 11689 NPE creating a test case in empty workbench | If you create a project and then a JUnit TestCase when there are no other classes in the image you will get a NullPointerException when you select the browse button on the Test Class entry. STEPS 1) Create a ConfigurableProject 2) Create a JUnit Test class. In the creation dialog select the 3rd browse button. Walkback:... | resolved fixed | 4f1a191 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-27T10:34:12Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestSuiteCreationWizardPage.java | monitor.worked(1);
String formattedContent=
JUnitStubUtility.codeFormat(originalContent, 0, lineDelimiter);
buf.replace(0, buf.getLength(), formattedContent);
monitor.worked(1);
cu.save(new SubProgressMonitor(monitor, 1), false);
} else {
cannotUpdateSuiteError();
... |
11,689 | Bug 11689 NPE creating a test case in empty workbench | If you create a project and then a JUnit TestCase when there are no other classes in the image you will get a NullPointerException when you select the browse button on the Test Class entry. STEPS 1) Create a ConfigurableProject 2) Create a JUnit Test class. In the creation dialog select the 3rd browse button. Walkback:... | resolved fixed | 4f1a191 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-27T10:34:12Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestSuiteCreationWizardPage.java | JUnitPlugin.log(e);
}
}
public boolean hasUpdatedExistingClass() {
return fUpdatedExistingClassButton;
}
private IStatus classesInSuiteChanged() {
JUnitStatus status= new JUnitStatus();
if (fClassesInSuiteTable.getCheckedElements().length <= 0)
status.setWarning(Messages.getString("NewTestSuiteWizPage.... |
11,689 | Bug 11689 NPE creating a test case in empty workbench | If you create a project and then a JUnit TestCase when there are no other classes in the image you will get a NullPointerException when you select the browse button on the Test Class entry. STEPS 1) Create a ConfigurableProject 2) Create a JUnit Test class. In the creation dialog select the 3rd browse button. Walkback:... | resolved fixed | 4f1a191 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-27T10:34:12Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestSuiteCreationWizardPage.java | public void modifyText(ModifyEvent e) {
handleFieldChanged(SUITE_NAME);
}
});
gd= new GridData();
gd.horizontalAlignment= gd.FILL;
gd.grabExcessHorizontalSpace= true;
gd.horizontalSpan= nColumns - 2;
fSuiteNameText.setLayoutData(gd);
Label space= new Label(composite, SWT.LEFT);
space.setText("... |
11,689 | Bug 11689 NPE creating a test case in empty workbench | If you create a project and then a JUnit TestCase when there are no other classes in the image you will get a NullPointerException when you select the browse button on the Test Class entry. STEPS 1) Create a ConfigurableProject 2) Create a JUnit Test class. In the creation dialog select the 3rd browse button. Walkback:... | resolved fixed | 4f1a191 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-27T10:34:12Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestSuiteCreationWizardPage.java | fSuiteNameTextInitialValue= name;
} else {
fSuiteNameText.setText(name);
fSuiteNameText.setEnabled(canBeModified);
}
}
/**
* Called when the type name has changed.
* The method validates the type name and returns the status of the validation.
* Can be extended to add more validation
*/
protected I... |
11,689 | Bug 11689 NPE creating a test case in empty workbench | If you create a project and then a JUnit TestCase when there are no other classes in the image you will get a NullPointerException when you select the browse button on the Test Class entry. STEPS 1) Create a ConfigurableProject 2) Create a JUnit Test class. In the creation dialog select the 3rd browse button. Walkback:... | resolved fixed | 4f1a191 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-27T10:34:12Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestSuiteCreationWizardPage.java | }
IPackageFragment pack= getPackageFragment();
if (pack != null) {
ICompilationUnit cu= pack.getCompilationUnit(typeName + ".java");
if (cu.exists()) {
status.setWarning(Messages.getString("NewTestSuiteWizPage.typeName.warning.already_exists"));
return status;
}
}
return status;
}
/**
*... |
11,689 | Bug 11689 NPE creating a test case in empty workbench | If you create a project and then a JUnit TestCase when there are no other classes in the image you will get a NullPointerException when you select the browse button on the Test Class entry. STEPS 1) Create a ConfigurableProject 2) Create a JUnit Test class. In the creation dialog select the 3rd browse button. Walkback:... | resolved fixed | 4f1a191 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-27T10:34:12Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestSuiteCreationWizardPage.java | }
/*
}
}
} |
11,689 | Bug 11689 NPE creating a test case in empty workbench | If you create a project and then a JUnit TestCase when there are no other classes in the image you will get a NullPointerException when you select the browse button on the Test Class entry. STEPS 1) Create a ConfigurableProject 2) Create a JUnit Test class. In the creation dialog select the 3rd browse button. Walkback:... | resolved fixed | 4f1a191 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-27T10:34:12Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/UpdateTestSuite.java | /*
* (c) Copyright 2001 MyCorporation.
* All Rights Reserved.
*/
package org.eclipse.jdt.junit.wizards;
import java.lang.reflect.InvocationTargetException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus; |
11,689 | Bug 11689 NPE creating a test case in empty workbench | If you create a project and then a JUnit TestCase when there are no other classes in the image you will get a NullPointerException when you select the browse button on the Test Class entry. STEPS 1) Create a ConfigurableProject 2) Create a JUnit Test class. In the creation dialog select the 3rd browse button. Walkback:... | resolved fixed | 4f1a191 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-27T10:34:12Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/UpdateTestSuite.java | import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.core.runtime.SubProgressMonitor;
import org.eclipse.jdt.core.IBuffer;
import org.eclipse.jdt.core.ICompilationUnit;
import org.eclipse.jdt.core.IJavaElement;
import org.eclipse.jdt.core.IMethod;
import org.eclipse.jdt.core.IPackageFragment;
import ... |
11,689 | Bug 11689 NPE creating a test case in empty workbench | If you create a project and then a JUnit TestCase when there are no other classes in the image you will get a NullPointerException when you select the browse button on the Test Class entry. STEPS 1) Create a ConfigurableProject 2) Create a JUnit Test class. In the creation dialog select the 3rd browse button. Walkback:... | resolved fixed | 4f1a191 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-27T10:34:12Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/UpdateTestSuite.java | private Shell fShell;
private IPackageFragment fPack;
private ICompilationUnit fTestSuite;
private IMethod fSuiteMethod;
private static boolean fEmptySelectionAllowed= false;
private Object[] fSelectedTestCases;
private class UpdateAllTestsValidator implements ISelectionValidator {
/*
* @see ISelectionValid... |
11,689 | Bug 11689 NPE creating a test case in empty workbench | If you create a project and then a JUnit TestCase when there are no other classes in the image you will get a NullPointerException when you select the browse button on the Test Class entry. STEPS 1) Create a ConfigurableProject 2) Create a JUnit Test class. In the creation dialog select the 3rd browse button. Walkback:... | resolved fixed | 4f1a191 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-27T10:34:12Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/UpdateTestSuite.java | }
}
public UpdateTestSuite() {
super();
}
/*
* @see IObjectActionDelegate#setActivePart(IAction, IWorkbenchPart)
*/
public void setActivePart(IAction action, IWorkbenchPart targetPart) {
}
/*
* @see IActionDelegate#run(IAction)
*/
public void run(IAction action) {
ILabelProvider lprovider= new JavaE... |
11,689 | Bug 11689 NPE creating a test case in empty workbench | If you create a project and then a JUnit TestCase when there are no other classes in the image you will get a NullPointerException when you select the browse button on the Test Class entry. STEPS 1) Create a ConfigurableProject 2) Create a JUnit Test class. In the creation dialog select the 3rd browse button. Walkback:... | resolved fixed | 4f1a191 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-27T10:34:12Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/UpdateTestSuite.java | dialog.setTitle(Messages.getString("UpdateAllTests.title"));
dialog.setMessage(Messages.getString("UpdateAllTests.message"));
dialog.setInitialSelections(cprovider.getElements(fPack));
dialog.setSize(60, 25);
dialog.setInput(fPack);
if (dialog.open() == dialog.OK) {
fSelectedTestCases= ... |
11,689 | Bug 11689 NPE creating a test case in empty workbench | If you create a project and then a JUnit TestCase when there are no other classes in the image you will get a NullPointerException when you select the browse button on the Test Class entry. STEPS 1) Create a ConfigurableProject 2) Create a JUnit Test class. In the creation dialog select the 3rd browse button. Walkback:... | resolved fixed | 4f1a191 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-27T10:34:12Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/UpdateTestSuite.java | public void selectionChanged(IAction action, ISelection selection) {
fShell= JUnitPlugin.getActiveWorkbenchShell();
if (selection instanceof IStructuredSelection) {
Object testSuiteObj= ((IStructuredSelection) selection).getFirstElement();
if (testSuiteObj != null && testSuiteObj instanceof ICompilationUnit... |
11,689 | Bug 11689 NPE creating a test case in empty workbench | If you create a project and then a JUnit TestCase when there are no other classes in the image you will get a NullPointerException when you select the browse button on the Test Class entry. STEPS 1) Create a ConfigurableProject 2) Create a JUnit Test class. In the creation dialog select the 3rd browse button. Walkback:... | resolved fixed | 4f1a191 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-27T10:34:12Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/UpdateTestSuite.java | end += NewTestSuiteCreationWizardPage.endMarker.length();
source.replace(start, end, getUpdatableString());
buf.replace(range.getOffset(), range.getLength(), source.toString());
monitor.worked(1);
fTestSuite.reconcile(null);
originalContent= buf.getText(0, buf.getLength());
monitor.w... |
11,689 | Bug 11689 NPE creating a test case in empty workbench | If you create a project and then a JUnit TestCase when there are no other classes in the image you will get a NullPointerException when you select the browse button on the Test Class entry. STEPS 1) Create a ConfigurableProject 2) Create a JUnit Test class. In the creation dialog select the 3rd browse button. Walkback:... | resolved fixed | 4f1a191 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-27T10:34:12Z | 2002-03-19T20:33:20Z | org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/UpdateTestSuite.java | }
};
}
public String getUpdatableString() throws JavaModelException {
StringBuffer suite= new StringBuffer();
suite.append(NewTestSuiteCreationWizardPage.startMarker+"\n");
for (int i= 0; i < fSelectedTestCases.length; i++) {
if (fSelectedTestCases[i] instanceof IType) {
IType testType= (IType) fSel... |
12,336 | Bug 12336 Java Browsing views get cleared in combination with type hierarchy | 1. Add Type Hierarchy view to Java Browsing perspective 2. Select a type in the type hierarchy ==> Java Browsing views show correct state 3. Click on a Java Browsing view "Types" or "Packages" ==> Java Browsing views get cleared. | resolved fixed | a91b4fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T11:52:07Z | 2002-03-27T09:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/SelectionProviderMediator.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.typehierarchy;
import org.eclipse.swt.events.FocusEvent;
import org.eclipse.swt.events.FocusListener;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Widget;
import org.eclipse.jface.util.Ass... |
12,336 | Bug 12336 Java Browsing views get cleared in combination with type hierarchy | 1. Add Type Hierarchy view to Java Browsing perspective 2. Select a type in the type hierarchy ==> Java Browsing views show correct state 3. Click on a Java Browsing view "Types" or "Packages" ==> Java Browsing views get cleared. | resolved fixed | a91b4fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T11:52:07Z | 2002-03-27T09:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/SelectionProviderMediator.java | */
public void selectionChanged(SelectionChangedEvent event) {
doSelectionChanged(event);
}
/*
* @see FocusListener#focusGained
*/
public void focusGained(FocusEvent e) {
doFocusChanged(e.widget);
}
/*
* @see FocusListener#focusLost
*/
public voi... |
12,336 | Bug 12336 Java Browsing views get cleared in combination with type hierarchy | 1. Add Type Hierarchy view to Java Browsing perspective 2. Select a type in the type hierarchy ==> Java Browsing views show correct state 3. Click on a Java Browsing view "Types" or "Packages" ==> Java Browsing views get cleared. | resolved fixed | a91b4fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T11:52:07Z | 2002-03-27T09:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/SelectionProviderMediator.java | Assert.isNotNull(viewers);
fViewers= viewers;
fListener= new InternalListener();
fSelectionChangedListeners= new ListenerList(4);
fViewerInFocus= null;
for (int i= 0; i < fViewers.length; i++) {
Viewer viewer= fViewers[i];
viewer.addSelectionChangedListener(fListener);
Control control= viewer.getCo... |
12,336 | Bug 12336 Java Browsing views get cleared in combination with type hierarchy | 1. Add Type Hierarchy view to Java Browsing perspective 2. Select a type in the type hierarchy ==> Java Browsing views show correct state 3. Click on a Java Browsing view "Types" or "Packages" ==> Java Browsing views get cleared. | resolved fixed | a91b4fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T11:52:07Z | 2002-03-27T09:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/SelectionProviderMediator.java | private void propagateFocusChanged(Viewer viewer) {
if (viewer != fViewerInFocus) {
fViewerInFocus= viewer;
fireSelectionChanged();
}
}
private void fireSelectionChanged() {
if (fSelectionChangedListeners != null) {
SelectionChangedEvent event= new SelectionChangedEvent(this, getSelection());
... |
12,336 | Bug 12336 Java Browsing views get cleared in combination with type hierarchy | 1. Add Type Hierarchy view to Java Browsing perspective 2. Select a type in the type hierarchy ==> Java Browsing views show correct state 3. Click on a Java Browsing view "Types" or "Packages" ==> Java Browsing views get cleared. | resolved fixed | a91b4fa | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T11:52:07Z | 2002-03-27T09:06:40Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/SelectionProviderMediator.java | fSelectionChangedListeners.remove(listener);
}
/*
* @see ISelectionProvider#getSelection
*/
public ISelection getSelection() {
if (fViewerInFocus != null) {
return fViewerInFocus.getSelection();
} else {
return StructuredSelection.EMPTY;
}
}
/*
* @see ISelectionProvider#setSelection
*/
p... |
10,403 | Bug 10403 Project creation should confirm the bin directory can be scrubbed | When a user creates a new project for an existing directory structure, we should confirm that the output directory can be deleted then rebuilt. Some users are creating projects & pointing the output folder at a bin directory which contains more than just .class files which can be rebuilt from the available .java files. | resolved fixed | 7007de3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T12:14:00Z | 2002-02-27T17:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.wizards.buildpaths;
import java.lang.reflect.InvocationTargetException;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.core.resources.IContainer;
import org.eclipse.core.... |
10,403 | Bug 10403 Project creation should confirm the bin directory can be scrubbed | When a user creates a new project for an existing directory structure, we should confirm that the output directory can be deleted then rebuilt. Some users are creating projects & pointing the output folder at a bin directory which contains more than just .class files which can be rebuilt from the available .java files. | resolved fixed | 7007de3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T12:14:00Z | 2002-02-27T17:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | import org.eclipse.core.resources.IWorkspaceRoot;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.core.runtime.Path;
im... |
10,403 | Bug 10403 Project creation should confirm the bin directory can be scrubbed | When a user creates a new project for an existing directory structure, we should confirm that the output directory can be deleted then rebuilt. Some users are creating projects & pointing the output folder at a bin directory which contains more than just .class files which can be rebuilt from the available .java files. | resolved fixed | 7007de3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T12:14:00Z | 2002-02-27T17:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | import org.eclipse.jdt.core.JavaConventions;
import org.eclipse.jdt.core.JavaCore;
import org.eclipse.jdt.launching.JavaRuntime;
import org.eclipse.jdt.internal.corext.javadoc.JavaDocLocations;
import org.eclipse.jdt.internal.ui.IJavaHelpContextIds;
import org.eclipse.jdt.internal.ui.JavaPlugin;
import org.eclipse.jdt.... |
10,403 | Bug 10403 Project creation should confirm the bin directory can be scrubbed | When a user creates a new project for an existing directory structure, we should confirm that the output directory can be deleted then rebuilt. Some users are creating projects & pointing the output folder at a bin directory which contains more than just .class files which can be rebuilt from the available .java files. | resolved fixed | 7007de3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T12:14:00Z | 2002-02-27T17:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | private IWorkspaceRoot fWorkspaceRoot;
private CheckedListDialogField fClassPathList;
private StringButtonDialogField fBuildPathDialogField;
private StatusInfo fClassPathStatus;
private StatusInfo fBuildPathStatus;
private IJavaProject fCurrJProject;
private IPath fOutputLocationPath;
private IStatusChang... |
10,403 | Bug 10403 Project creation should confirm the bin directory can be scrubbed | When a user creates a new project for an existing directory structure, we should confirm that the output directory can be deleted then rebuilt. Some users are creating projects & pointing the output folder at a bin directory which contains more than just .class files which can be rebuilt from the available .java files. | resolved fixed | 7007de3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T12:14:00Z | 2002-02-27T17:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | fProjectsPage= null;
fCurrPage= null;
BuildPathAdapter adapter= new BuildPathAdapter();
String[] buttonLabels= new String[] {
NewWizardMessages.getString("BuildPathsBlock.classpath.up.button"),
NewWizardMessages.getString("BuildPathsBlock.classpath.down.button"),
null,
NewWizardMessage... |
10,403 | Bug 10403 Project creation should confirm the bin directory can be scrubbed | When a user creates a new project for an existing directory structure, we should confirm that the output directory can be deleted then rebuilt. Some users are creating projects & pointing the output folder at a bin directory which contains more than just .class files which can be rebuilt from the available .java files. | resolved fixed | 7007de3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T12:14:00Z | 2002-02-27T17:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | }
public Control createControl(Composite parent) {
fSWTWidget= parent;
PixelConverter converter= new PixelConverter(parent);
Composite composite= new Composite(parent, SWT.NONE);
GridLayout layout= new GridLayout();
layout.marginWidth= 0;
layout.numColumns= 1;
composite.setLayout(layout... |
10,403 | Bug 10403 Project creation should confirm the bin directory can be scrubbed | When a user creates a new project for an existing directory structure, we should confirm that the output directory can be deleted then rebuilt. Some users are creating projects & pointing the output folder at a bin directory which contains more than just .class files which can be rebuilt from the available .java files. | resolved fixed | 7007de3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T12:14:00Z | 2002-02-27T17:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | item= new TabItem(folder, SWT.NONE);
item.setText(NewWizardMessages.getString("BuildPathsBlock.tab.source"));
item.setImage(imageRegistry.get(JavaPluginImages.IMG_OBJS_PACKFRAG_ROOT));
item.setData(fSourceContainerPage);
item.setControl(fSourceContainerPage.getControl(folder));
IWorkbench workbench= Jav... |
10,403 | Bug 10403 Project creation should confirm the bin directory can be scrubbed | When a user creates a new project for an existing directory structure, we should confirm that the output directory can be deleted then rebuilt. Some users are creating projects & pointing the output folder at a bin directory which contains more than just .class files which can be rebuilt from the available .java files. | resolved fixed | 7007de3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T12:14:00Z | 2002-02-27T17:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | item.setImage(cpoImage);
item.setData(ordpage);
item.setControl(ordpage.getControl(folder));
if (fCurrJProject != null) {
fSourceContainerPage.init(fCurrJProject);
fLibrariesPage.init(fCurrJProject);
fProjectsPage.init(fCurrJProject);
}
Composite editorcomp= new Composite(composite, SWT... |
10,403 | Bug 10403 Project creation should confirm the bin directory can be scrubbed | When a user creates a new project for an existing directory structure, we should confirm that the output directory can be deleted then rebuilt. Some users are creating projects & pointing the output folder at a bin directory which contains more than just .class files which can be rebuilt from the available .java files. | resolved fixed | 7007de3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T12:14:00Z | 2002-02-27T17:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | return composite;
}
private Shell getShell() {
if (fSWTWidget != null) {
return fSWTWidget.getShell();
}
return JavaPlugin.getActiveWorkbenchShell();
}
/**
* Initializes the classpath for the given project. Multiple calls to init are allowed,
* but all existing settings will be cleared and replac... |
10,403 | Bug 10403 Project creation should confirm the bin directory can be scrubbed | When a user creates a new project for an existing directory structure, we should confirm that the output directory can be deleted then rebuilt. Some users are creating projects & pointing the output folder at a bin directory which contains more than just .class files which can be rebuilt from the available .java files. | resolved fixed | 7007de3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T12:14:00Z | 2002-02-27T17:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | outputLocation= fCurrJProject.getOutputLocation();
}
if (classpathEntries == null) {
classpathEntries= fCurrJProject.getRawClasspath();
}
}
} catch (CoreException e) {
JavaPlugin.log(e.getStatus());
}
if (outputLocation == null) {
outputLocation= getDefaultBuildPath(jproject);
}
... |
10,403 | Bug 10403 Project creation should confirm the bin directory can be scrubbed | When a user creates a new project for an existing directory structure, we should confirm that the output directory can be deleted then rebuilt. Some users are creating projects & pointing the output folder at a bin directory which contains more than just .class files which can be rebuilt from the available .java files. | resolved fixed | 7007de3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T12:14:00Z | 2002-02-27T17:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | isMissing= (entryKind != IClasspathEntry.CPE_LIBRARY || !path.toFile().isFile());
}
} else {
IPath resolvedPath= JavaCore.getResolvedVariablePath(path);
isMissing= (resolvedPath == null) || !resolvedPath.toFile().isFile();
}
CPListElement elem= new CPListElement(entryKind, path, r... |
10,403 | Bug 10403 Project creation should confirm the bin directory can be scrubbed | When a user creates a new project for an existing directory structure, we should confirm that the output directory can be deleted then rebuilt. Some users are creating projects & pointing the output folder at a bin directory which contains more than just .class files which can be rebuilt from the available .java files. | resolved fixed | 7007de3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T12:14:00Z | 2002-02-27T17:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | doStatusLineUpdate();
}
/**
* Returns the Java project. Can return <code>null<code> if the page has not
* been initialized.
*/
public IJavaProject getJavaProject() {
return fCurrJProject;
}
/**
* Returns the current output location. Note that the path returned must not be valid.
*/
public IP... |
10,403 | Bug 10403 Project creation should confirm the bin directory can be scrubbed | When a user creates a new project for an existing directory structure, we should confirm that the output directory can be deleted then rebuilt. Some users are creating projects & pointing the output folder at a bin directory which contains more than just .class files which can be rebuilt from the available .java files. | resolved fixed | 7007de3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T12:14:00Z | 2002-02-27T17:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | entries[i]= currElement.getClasspathEntry();
}
return entries;
}
private List getDefaultClassPath(IJavaProject jproj) {
List list= new ArrayList();
IResource srcFolder;
if (JavaBasePreferencePage.useSrcAndBinFolders()) {
String sourceFolderName= JavaBasePreferencePage.getSourceFolderName();
s... |
10,403 | Bug 10403 Project creation should confirm the bin directory can be scrubbed | When a user creates a new project for an existing directory structure, we should confirm that the output directory can be deleted then rebuilt. Some users are creating projects & pointing the output folder at a bin directory which contains more than just .class files which can be rebuilt from the available .java files. | resolved fixed | 7007de3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T12:14:00Z | 2002-02-27T17:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | } else {
return jproj.getProject().getFullPath();
}
}
private class BuildPathAdapter implements IStringButtonAdapter, IDialogFieldListener {
public void changeControlPressed(DialogField field) {
buildPathChangeControlPressed(field);
}
public void dialogFieldChanged(DialogField field) {
b... |
10,403 | Bug 10403 Project creation should confirm the bin directory can be scrubbed | When a user creates a new project for an existing directory structure, we should confirm that the output directory can be deleted then rebuilt. Some users are creating projects & pointing the output folder at a bin directory which contains more than just .class files which can be rebuilt from the available .java files. | resolved fixed | 7007de3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T12:14:00Z | 2002-02-27T17:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | } else if (field == fBuildPathDialogField) {
updateBuildPathStatus();
}
doStatusLineUpdate();
}
private void doStatusLineUpdate() {
IStatus res= findMostSevereStatus();
fContext.statusChanged(res);
}
private IStatus findMostSevereStatus() {
return StatusUtil.getMoreSevere(fClassPathStatus, f... |
10,403 | Bug 10403 Project creation should confirm the bin directory can be scrubbed | When a user creates a new project for an existing directory structure, we should confirm that the output directory can be deleted then rebuilt. Some users are creating projects & pointing the output folder at a bin directory which contains more than just .class files which can be rebuilt from the available .java files. | resolved fixed | 7007de3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T12:14:00Z | 2002-02-27T17:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | CPListElement currElement= (CPListElement)elements.get(i);
boolean isChecked= fClassPathList.isChecked(currElement);
if (currElement.getEntryKind() == IClasspathEntry.CPE_SOURCE) {
if (!isChecked) {
fClassPathList.setCheckedWithoutUpdate(currElement, true);
}
} else {
currElement.setExported(i... |
10,403 | Bug 10403 Project creation should confirm the bin directory can be scrubbed | When a user creates a new project for an existing directory structure, we should confirm that the output directory can be deleted then rebuilt. Some users are creating projects & pointing the output folder at a bin directory which contains more than just .class files which can be rebuilt from the available .java files. | resolved fixed | 7007de3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T12:14:00Z | 2002-02-27T17:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | return;
}
IPath path= getOutputLocation();
IResource res= fWorkspaceRoot.findMember(path);
if (res != null) {
if (res.getType() == IResource.FILE) {
fBuildPathStatus.setError(NewWizardMessages.getString("BuildPathsBlock.error.InvalidBuildPath"));
return;
}
}
fOutputLocationPath= path;
... |
10,403 | Bug 10403 Project creation should confirm the bin directory can be scrubbed | When a user creates a new project for an existing directory structure, we should confirm that the output directory can be deleted then rebuilt. Some users are creating projects & pointing the output folder at a bin directory which contains more than just .class files which can be rebuilt from the available .java files. | resolved fixed | 7007de3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T12:14:00Z | 2002-02-27T17:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | /**
* Creates a runnable that sets the configured build paths.
*/
public IRunnableWithProgress getRunnable() {
final List classPathEntries= fClassPathList.getElements();
final IPath path= getOutputLocation();
return new IRunnableWithProgress() {
public void run(IProgressMonitor monitor) throws Invocati... |
10,403 | Bug 10403 Project creation should confirm the bin directory can be scrubbed | When a user creates a new project for an existing directory structure, we should confirm that the output directory can be deleted then rebuilt. Some users are creating projects & pointing the output folder at a bin directory which contains more than just .class files which can be rebuilt from the available .java files. | resolved fixed | 7007de3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T12:14:00Z | 2002-02-27T17:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | */
private void createJavaProject(List classPathEntries, IPath buildPath, IProgressMonitor monitor) throws CoreException {
if (!fWorkspaceRoot.exists(buildPath)) {
IFolder folder= fWorkspaceRoot.getFolder(buildPath);
CoreUtility.createFolder(folder, true, true, null);
}
monitor.worked(2);
... |
10,403 | Bug 10403 Project creation should confirm the bin directory can be scrubbed | When a user creates a new project for an existing directory structure, we should confirm that the output directory can be deleted then rebuilt. Some users are creating projects & pointing the output folder at a bin directory which contains more than just .class files which can be rebuilt from the available .java files. | resolved fixed | 7007de3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T12:14:00Z | 2002-02-27T17:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | if (path != null) {
JavaDocLocations.setLibraryJavadocLocation(path, javadocLocation);
}
}
}
monitor.worked(1);
fCurrJProject.setRawClasspath(classpath, buildPath, new SubProgressMonitor(monitor, 7));
}
private IContainer chooseContainer() {
Class[] acceptedClasses= new Class[] { IPr... |
10,403 | Bug 10403 Project creation should confirm the bin directory can be scrubbed | When a user creates a new project for an existing directory structure, we should confirm that the output directory can be deleted then rebuilt. Some users are creating projects & pointing the output folder at a bin directory which contains more than just .class files which can be rebuilt from the available .java files. | resolved fixed | 7007de3 | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T12:14:00Z | 2002-02-27T17:13:20Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | ElementTreeSelectionDialog dialog= new ElementTreeSelectionDialog(getShell(), lp, cp);
dialog.setTitle(NewWizardMessages.getString("BuildPathsBlock.ChooseOutputFolderDialog.title"));
dialog.setValidator(validator);
dialog.setMessage(NewWizardMessages.getString("BuildPathsBlock.ChooseOutputFolderDialog.descriptio... |
10,458 | Bug 10458 Support DND to set focus in Hierarchy View | Please enable Hierarchy view to support DND as a way to "focus on" something, whether it be a project, source folder, package, or type. | resolved fixed | bc9934a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T14:04:37Z | 2002-02-28T04:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyTransferDropAdapter.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.typehierarchy;
import org.eclipse.swt.SWT;
import org.eclipse.swt.dnd.DND;
import org.eclipse.swt.dnd.DropTargetEvent;
import org.eclipse.swt.dnd.Transfer;
import org.eclipse.jface.viewers.AbstractTreeViewer;
impor... |
10,458 | Bug 10458 Support DND to set focus in Hierarchy View | Please enable Hierarchy view to support DND as a way to "focus on" something, whether it be a project, source folder, package, or type. | resolved fixed | bc9934a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T14:04:37Z | 2002-02-28T04:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyTransferDropAdapter.java | }
public void validateDrop(Object target, DropTargetEvent event, int operation) {
event.detail= DND.DROP_NONE;
ISelection selection= LocalSelectionTransfer.getInstance().getSelection();
if (target instanceof IType) {
if (AddMethodStubAction.canActionBeAdded((IType)target, selection)) {
if (oper... |
10,458 | Bug 10458 Support DND to set focus in Hierarchy View | Please enable Hierarchy view to support DND as a way to "focus on" something, whether it be a project, source folder, package, or type. | resolved fixed | bc9934a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T14:04:37Z | 2002-02-28T04:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | /*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.ui.typehierarchy;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.CoreException;
import org.ecli... |
10,458 | Bug 10458 Support DND to set focus in Hierarchy View | Please enable Hierarchy view to support DND as a way to "focus on" something, whether it be a project, source folder, package, or type. | resolved fixed | bc9934a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T14:04:37Z | 2002-02-28T04:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | import org.eclipse.swt.widgets.ToolBar;
import org.eclipse.jface.action.IMenuListener;
import org.eclipse.jface.action.IMenuManager;
import org.eclipse.jface.action.IStatusLineManager;
import org.eclipse.jface.action.IToolBarManager;
import org.eclipse.jface.action.MenuManager;
import org.eclipse.jface.action.Separator... |
10,458 | Bug 10458 Support DND to set focus in Hierarchy View | Please enable Hierarchy view to support DND as a way to "focus on" something, whether it be a project, source folder, package, or type. | resolved fixed | bc9934a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T14:04:37Z | 2002-02-28T04:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | import org.eclipse.ui.part.ViewPart;
import org.eclipse.jdt.core.IClassFile;
import org.eclipse.jdt.core.ICompilationUnit;
import org.eclipse.jdt.core.IJavaElement;
import org.eclipse.jdt.core.IMember;
import org.eclipse.jdt.core.IType;
import org.eclipse.jdt.core.JavaCore;
import org.eclipse.jdt.core.JavaModelExceptio... |
10,458 | Bug 10458 Support DND to set focus in Hierarchy View | Please enable Hierarchy view to support DND as a way to "focus on" something, whether it be a project, source folder, package, or type. | resolved fixed | bc9934a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T14:04:37Z | 2002-02-28T04:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | public static final int VIEW_ID_TYPE= 2;
public static final int VIEW_ID_SUPER= 0;
public static final int VIEW_ID_SUB= 1;
public static final int VIEW_ORIENTATION_VERTICAL= 0;
public static final int VIEW_ORIENTATION_HORIZONTAL= 1;
public static final int VIEW_ORIENTATION_SINGLE= 2;
private static final Stri... |
10,458 | Bug 10458 Support DND to set focus in Hierarchy View | Please enable Hierarchy view to support DND as a way to "focus on" something, whether it be a project, source folder, package, or type. | resolved fixed | bc9934a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T14:04:37Z | 2002-02-28T04:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | private ArrayList fInputHistory;
private IMemento fMemento;
private IProblemChangedListener fHierarchyProblemListener;
private TypeHierarchyLifeCycle fHierarchyLifeCycle;
private ITypeHierarchyLifeCycleListener fTypeHierarchyLifeCycleListener;
private MethodsViewer fMethodsViewer;
private int fCurren... |
10,458 | Bug 10458 Support DND to set focus in Hierarchy View | Please enable Hierarchy view to support DND as a way to "focus on" something, whether it be a project, source folder, package, or type. | resolved fixed | bc9934a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T14:04:37Z | 2002-02-28T04:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | private JavaUILabelProvider fPaneLabelProvider;
private IDialogSettings fDialogSettings;
private ToggleViewAction[] fViewActions;
private HistoryDropDownAction fHistoryDropDownAction;
private ToggleOrientationAction[] fToggleOrientationActions;
private int fCurrentOrientation;
private EnableMemberFilter... |
10,458 | Bug 10458 Support DND to set focus in Hierarchy View | Please enable Hierarchy view to support DND as a way to "focus on" something, whether it be a project, source folder, package, or type. | resolved fixed | bc9934a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T14:04:37Z | 2002-02-28T04:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | fHierarchyProblemListener= null;
fIsEnableMemberFilter= false;
fInputHistory= new ArrayList();
fAllViewers= null;
fViewActions= new ToggleViewAction[] {
new ToggleViewAction(this, VIEW_ID_TYPE),
new ToggleViewAction(this, VIEW_ID_SUPER),
new ToggleViewAction(this, VIEW_ID_SUB)
};
fDia... |
10,458 | Bug 10458 Support DND to set focus in Hierarchy View | Please enable Hierarchy view to support DND as a way to "focus on" something, whether it be a project, source folder, package, or type. | resolved fixed | bc9934a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T14:04:37Z | 2002-02-28T04:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | fAddStubAction= new AddMethodStubAction();
fFocusOnSelectionAction= new FocusOnSelectionAction(this);
fPartListener= new IPartListener() {
public void partActivated(IWorkbenchPart part) {
if (part instanceof IEditorPart)
editorActivated((IEditorPart) part);
}
public void partBroughtToTop(IWorkb... |
10,458 | Bug 10458 Support DND to set focus in Hierarchy View | Please enable Hierarchy view to support DND as a way to "focus on" something, whether it be a project, source folder, package, or type. | resolved fixed | bc9934a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T14:04:37Z | 2002-02-28T04:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | fHistoryDropDownAction.setEnabled(true);
}
private void updateHistoryEntries() {
for (int i= fInputHistory.size() - 1; i >= 0; i--) {
IJavaElement type= (IJavaElement) fInputHistory.get(i);
if (!type.exists()) {
fInputHistory.remove(i);
}
}
fHistoryDropDownAction.setEnabled(!fInputHistory.isEmpty... |
10,458 | Bug 10458 Support DND to set focus in Hierarchy View | Please enable Hierarchy view to support DND as a way to "focus on" something, whether it be a project, source folder, package, or type. | resolved fixed | bc9934a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T14:04:37Z | 2002-02-28T04:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | }
/**
* Sets the history entries
*/
public void setHistoryEntries(IJavaElement[] elems) {
fInputHistory.clear();
for (int i= 0; i < elems.length; i++) {
fInputHistory.add(elems[i]);
}
updateHistoryEntries();
}
/**
* Selects an member in the methods list or in the current hierarchy.
*/
publi... |
10,458 | Bug 10458 Support DND to set focus in Hierarchy View | Please enable Hierarchy view to support DND as a way to "focus on" something, whether it be a project, source folder, package, or type. | resolved fixed | bc9934a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T14:04:37Z | 2002-02-28T04:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | } else {
Control viewerControl= getCurrentViewer().getControl();
if (viewerControl != null && !viewerControl.isDisposed()) {
viewerControl.setFocus();
}
getCurrentViewer().setSelection(new StructuredSelection(member), true);
}
}
/**
* @deprecated
*/
public IType getInput() {
if (fInputElem... |
10,458 | Bug 10458 Support DND to set focus in Hierarchy View | Please enable Hierarchy view to support DND as a way to "focus on" something, whether it be a project, source folder, package, or type. | resolved fixed | bc9934a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T14:04:37Z | 2002-02-28T04:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | public IJavaElement getInputElement() {
return fInputElement;
}
/**
* Sets the input to a new element.
*/
public void setInputElement(IJavaElement element) {
if (element != null) {
if (element instanceof IMember) {
ICompilationUnit cu= ((IMember) element).getCompilationUnit();
if (cu != nul... |
10,458 | Bug 10458 Support DND to set focus in Hierarchy View | Please enable Hierarchy view to support DND as a way to "focus on" something, whether it be a project, source folder, package, or type. | resolved fixed | bc9934a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T14:04:37Z | 2002-02-28T04:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | /**
* Changes the input to a new type
*/
private void updateInput(IJavaElement inputElement) {
IJavaElement prevInput= fInputElement;
fInputElement= inputElement;
if (fInputElement == null) {
clearInput();
} else {
try {
fHierarchyLifeCycle.ensureRefreshedTypeHierarchy(fInputElement);
}... |
10,458 | Bug 10458 Support DND to set focus in Hierarchy View | Please enable Hierarchy view to support DND as a way to "focus on" something, whether it be a project, source folder, package, or type. | resolved fixed | bc9934a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T14:04:37Z | 2002-02-28T04:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | updateMethodViewer(root);
updateToolbarButtons();
updateTitle();
enableMemberFilter(false);
}
}
private void clearInput() {
fInputElement= null;
fHierarchyLifeCycle.freeHierarchy();
updateHierarchyViewer();
updateToolbarButtons();
}
/*
* @see IWorbenchPart#setFocus
*/
public void setFo... |
10,458 | Bug 10458 Support DND to set focus in Hierarchy View | Please enable Hierarchy view to support DND as a way to "focus on" something, whether it be a project, source folder, package, or type. | resolved fixed | bc9934a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T14:04:37Z | 2002-02-28T04:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | }
if (fMethodsViewer != null) {
JavaPlugin.getDefault().getProblemMarkerManager().removeListener(fMethodsViewer);
}
super.dispose();
}
private Control createTypeViewerControl(Composite parent) {
fViewerbook= new PageBook(parent, SWT.NULL);
KeyListener keyListener= createKeyListener();
... |
10,458 | Bug 10458 Support DND to set focus in Hierarchy View | Please enable Hierarchy view to support DND as a way to "focus on" something, whether it be a project, source folder, package, or type. | resolved fixed | bc9934a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T14:04:37Z | 2002-02-28T04:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | currViewerIndex= VIEW_ID_TYPE;
}
} catch (NumberFormatException e) {
currViewerIndex= VIEW_ID_TYPE;
}
fEmptyTypesViewer= new Label(fViewerbook, SWT.LEFT);
for (int i= 0; i < fAllViewers.length; i++) {
fAllViewers[i].setInput(fAllViewers[i]);
}
fCurrentViewerIndex= -1;
setView(currVie... |
10,458 | Bug 10458 Support DND to set focus in Hierarchy View | Please enable Hierarchy view to support DND as a way to "focus on" something, whether it be a project, source folder, package, or type. | resolved fixed | bc9934a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T14:04:37Z | 2002-02-28T04:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | }
viewPartKeyShortcuts(event);
}
};
}
private void initializeTypesViewer(final TypeHierarchyViewer typesViewer, KeyListener keyListener, String cotextHelpId) {
typesViewer.getControl().setVisible(false);
typesViewer.getControl().addKeyListener(keyListener);
typesViewer.initContextMenu(new IMen... |
10,458 | Bug 10458 Support DND to set focus in Hierarchy View | Please enable Hierarchy view to support DND as a way to "focus on" something, whether it be a project, source folder, package, or type. | resolved fixed | bc9934a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T14:04:37Z | 2002-02-28T04:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | return control;
}
private void initDragAndDrop() {
Transfer[] transfers= new Transfer[] { LocalSelectionTransfer.getInstance() };
int ops= DND.DROP_COPY;
DragSource source= new DragSource(fMethodsViewer.getControl(), ops);
source.setTransfer(transfers);
source.addDragListener(new BasicSelectionTransferDra... |
10,458 | Bug 10458 Support DND to set focus in Hierarchy View | Please enable Hierarchy view to support DND as a way to "focus on" something, whether it be a project, source folder, package, or type. | resolved fixed | bc9934a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T14:04:37Z | 2002-02-28T04:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | /**
* Returns the inner component in a workbench part.
* @see IWorkbenchPart#createPartControl
*/
public void createPartControl(Composite container) {
fPagebook= new PageBook(container, SWT.NONE);
fTypeMethodsSplitter= new SashForm(fPagebook, SWT.VERTICAL);
fTypeMethodsSplitter.setVisible(... |
10,458 | Bug 10458 Support DND to set focus in Hierarchy View | Please enable Hierarchy view to support DND as a way to "focus on" something, whether it be a project, source folder, package, or type. | resolved fixed | bc9934a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T14:04:37Z | 2002-02-28T04:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | fNoHierarchyShownLabel= new Label(fPagebook, SWT.TOP + SWT.LEFT + SWT.WRAP);
fNoHierarchyShownLabel.setText(TypeHierarchyMessages.getString("TypeHierarchyViewPart.empty"));
MenuManager menu= new MenuManager();
menu.add(fFocusOnTypeAction);
fNoHierarchyShownLabel.setMenu(menu.createContextMenu(fNoHierarchyS... |
10,458 | Bug 10458 Support DND to set focus in Hierarchy View | Please enable Hierarchy view to support DND as a way to "focus on" something, whether it be a project, source folder, package, or type. | resolved fixed | bc9934a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T14:04:37Z | 2002-02-28T04:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | ToolBarManager lowertbmanager= new ToolBarManager(methodViewerToolBar);
lowertbmanager.add(fEnableMemberFilterAction);
lowertbmanager.add(new Separator());
fMethodsViewer.contributeToToolBar(lowertbmanager);
lowertbmanager.update(true);
int nHierarchyViewers= fAllViewers.length;
Viewer[] trac... |
10,458 | Bug 10458 Support DND to set focus in Hierarchy View | Please enable Hierarchy view to support DND as a way to "focus on" something, whether it be a project, source folder, package, or type. | resolved fixed | bc9934a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T14:04:37Z | 2002-02-28T04:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | ReorgGroup.addGlobalReorgActions(getViewSite().getActionBars(), getViewSite().getSelectionProvider());
WorkbenchHelp.setHelp(fPagebook, IJavaHelpContextIds.TYPE_HIERARCHY_VIEW);
}
/**
* called from ToggleOrientationAction.
* @param orientation VIEW_ORIENTATION_SINGLE, VIEW_ORIENTATION_HORIZONTAL or VIEW_ORIE... |
10,458 | Bug 10458 Support DND to set focus in Hierarchy View | Please enable Hierarchy view to support DND as a way to "focus on" something, whether it be a project, source folder, package, or type. | resolved fixed | bc9934a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T14:04:37Z | 2002-02-28T04:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | fToggleOrientationActions[i].setChecked(orientation == fToggleOrientationActions[i].getOrientation());
}
fCurrentOrientation= orientation;
if (methodViewerNeedsUpdate) {
updateMethodViewer(fSelectedType);
}
fDialogSettings.put(DIALOGSTORE_VIEWORIENTATION, orientation);
}
}
private void updat... |
10,458 | Bug 10458 Support DND to set focus in Hierarchy View | Please enable Hierarchy view to support DND as a way to "focus on" something, whether it be a project, source folder, package, or type. | resolved fixed | bc9934a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T14:04:37Z | 2002-02-28T04:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | tbmanager.add(fViewActions[i]);
}
tbmanager.update(false);
}
private void clearMainToolBar(IToolBarManager tbmanager) {
tbmanager.removeAll();
tbmanager.update(false);
}
/**
* Creates the context menu for the hierarchy viewers
*/
private void fillTypesViewerContextMenu(TypeHierarchyViewer viewe... |
10,458 | Bug 10458 Support DND to set focus in Hierarchy View | Please enable Hierarchy view to support DND as a way to "focus on" something, whether it be a project, source folder, package, or type. | resolved fixed | bc9934a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T14:04:37Z | 2002-02-28T04:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | /**
* Creates the context menu for the method viewer
*/
private void fillMethodsViewerContextMenu(IMenuManager menu) {
JavaPlugin.createStandardGroups(menu);
fMethodsViewer.contributeToContextMenu(menu);
if (fSelectedType != null && fAddStubAction.init(fSelectedType, fMethodsViewer.getSelection())) {
... |
10,458 | Bug 10458 Support DND to set focus in Hierarchy View | Please enable Hierarchy view to support DND as a way to "focus on" something, whether it be a project, source folder, package, or type. | resolved fixed | bc9934a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T14:04:37Z | 2002-02-28T04:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | return;
IResource resource= null;
try {
resource= ((IJavaElement)element).getUnderlyingResource();
} catch(JavaModelException e) {
}
if (!(resource instanceof IFile))
return;
MenuManager submenu= new MenuManager(TypeHierarchyMessages.getString("TypeHierarchyViewPart.menu.open"));
submenu.a... |
10,458 | Bug 10458 Support DND to set focus in Hierarchy View | Please enable Hierarchy view to support DND as a way to "focus on" something, whether it be a project, source folder, package, or type. | resolved fixed | bc9934a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T14:04:37Z | 2002-02-28T04:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | * Sets the member filter. <code>null</code> disables member filtering.
*/
private void setMemberFilter(IMember[] memberFilter) {
Assert.isNotNull(fAllViewers);
for (int i= 0; i < fAllViewers.length; i++) {
fAllViewers[i].setMemberFilter(memberFilter);
}
}
private IType getSelectableType(IJavaElement e... |
10,458 | Bug 10458 Support DND to set focus in Hierarchy View | Please enable Hierarchy view to support DND as a way to "focus on" something, whether it be a project, source folder, package, or type. | resolved fixed | bc9934a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T14:04:37Z | 2002-02-28T04:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | /**
* When the input changed or the hierarchy pane becomes visible,
* <code>updateHierarchyViewer<code> brings up the correct view and refreshes
* the current tree
*/
private void updateHierarchyViewer() {
if (fInputElement == null) {
fPagebook.showPage(fNoHierarchyShownLabel);
} else {
if (getCurren... |
10,458 | Bug 10458 Support DND to set focus in Hierarchy View | Please enable Hierarchy view to support DND as a way to "focus on" something, whether it be a project, source folder, package, or type. | resolved fixed | bc9934a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T14:04:37Z | 2002-02-28T04:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | fMethodViewerPaneLabel.setText(fPaneLabelProvider.getText(input));
fMethodViewerPaneLabel.setImage(fPaneLabelProvider.getImage(input));
} else {
fMethodViewerPaneLabel.setText("");
fMethodViewerPaneLabel.setImage(null);
}
fMethodsViewer.setInput(input);
}
}
private void doSelectionChanged(Se... |
10,458 | Bug 10458 Support DND to set focus in Hierarchy View | Please enable Hierarchy view to support DND as a way to "focus on" something, whether it be a project, source folder, package, or type. | resolved fixed | bc9934a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T14:04:37Z | 2002-02-28T04:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | setMemberFilter(memberFilter);
updateHierarchyViewer();
updateTitle();
internalSelectType(fSelectedType, true);
}
if (nSelected == 1) {
revealElementInEditor(selected.get(0), fMethodsViewer);
}
}
}
private void typeSelectionChanged(ISelection sel) {
if (sel instanceof IStructuredSelect... |
10,458 | Bug 10458 Support DND to set focus in Hierarchy View | Please enable Hierarchy view to support DND as a way to "focus on" something, whether it be a project, source folder, package, or type. | resolved fixed | bc9934a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T14:04:37Z | 2002-02-28T04:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | revealElementInEditor(selected.get(0), getCurrentViewer());
}
} else {
fSelectedType= null;
updateMethodViewer(null);
}
}
}
private void revealElementInEditor(Object elem, Viewer originViewer) {
if (getSite().getPage().getActivePart() != this) {
return;
}
if (fSelectionProvider... |
10,458 | Bug 10458 Support DND to set focus in Hierarchy View | Please enable Hierarchy view to support DND as a way to "focus on" something, whether it be a project, source folder, package, or type. | resolved fixed | bc9934a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T14:04:37Z | 2002-02-28T04:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | }
}
private Display getDisplay() {
if (fPagebook != null && !fPagebook.isDisposed()) {
return fPagebook.getDisplay();
}
return null;
}
private boolean isChildVisible(Composite pb, Control child) {
Control[] children= pb.getChildren();
for (int i= 0; i < children.length; i++) {
if (children[i] ... |
10,458 | Bug 10458 Support DND to set focus in Hierarchy View | Please enable Hierarchy view to support DND as a way to "focus on" something, whether it be a project, source folder, package, or type. | resolved fixed | bc9934a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T14:04:37Z | 2002-02-28T04:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | tooltip= viewerTitle;
}
setTitle(title);
setTitleToolTip(tooltip);
}
private void updateToolbarButtons() {
boolean isType= fInputElement instanceof IType;
for (int i= 0; i < fViewActions.length; i++) {
ToggleViewAction action= fViewActions[i];
if (action.getViewerIndex() == VIEW_ID_TYPE) {
actio... |
10,458 | Bug 10458 Support DND to set focus in Hierarchy View | Please enable Hierarchy view to support DND as a way to "focus on" something, whether it be a project, source folder, package, or type. | resolved fixed | bc9934a | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | 2002-03-29T14:04:37Z | 2002-02-28T04:20:00Z | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | if (currSelection == null || currSelection.isEmpty()) {
internalSelectType(getSelectableType(fInputElement), false);
currSelection= getCurrentViewer().getSelection();
}
if (!fIsEnableMemberFilter) {
typeSelectionChanged(currSelection);
}
}
updateTitle();
if (fHierarchyProblemLi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.