Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ protected void handleSelectAll() {
if (tree == null) {
return;
}

tree.selectAll();
selectionChanged(viewer.getStructuredSelection());
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
import org.eclipse.jface.action.Action;
import org.eclipse.jface.action.IMenuManager;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.IStructuredContentProvider;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.viewers.ITableLabelProvider;
import org.eclipse.jface.viewers.ITreeContentProvider;
import org.eclipse.jface.viewers.LabelProvider;
import org.eclipse.jface.viewers.StructuredSelection;
import org.eclipse.jface.viewers.TableViewer;
Expand Down Expand Up @@ -74,9 +74,9 @@
private Image fImage;
private Button fVisibleButton;

static class TableContentProvider implements IStructuredContentProvider {
static class TreeContentProvider implements ITreeContentProvider {

Check warning on line 77 in ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/plugin/ExportPackageVisibilitySection.java

View check run for this annotation

Jenkins - eclipse-pde / Compiler

Member

ERROR: The type ExportPackageVisibilitySection.TreeContentProvider must implement the inherited abstract method ITreeContentProvider.hasChildren(Object)

Check warning on line 77 in ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/plugin/ExportPackageVisibilitySection.java

View check run for this annotation

Jenkins - eclipse-pde / Compiler

Member

ERROR: The type ExportPackageVisibilitySection.TreeContentProvider must implement the inherited abstract method ITreeContentProvider.getElements(Object)

Check warning on line 77 in ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/plugin/ExportPackageVisibilitySection.java

View check run for this annotation

Jenkins - eclipse-pde / Compiler

Member

ERROR: The type ExportPackageVisibilitySection.TreeContentProvider must implement the inherited abstract method ITreeContentProvider.getParent(Object)
@Override
public Object[] getElements(Object parent) {
public Object[] getChildren(Object parent) {
ExportPackageObject object = (ExportPackageObject) parent;
if (object == null || !object.isInternal()) {
return new Object[0];
Expand Down Expand Up @@ -137,7 +137,7 @@
tablePart.setEditable(model != null && model.isEditable());
createViewerPartControl(container, SWT.MULTI, 2, toolkit);
fFriendViewer = tablePart.getTableViewer();
fFriendViewer.setContentProvider(new TableContentProvider());

Check warning on line 140 in ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/plugin/ExportPackageVisibilitySection.java

View check run for this annotation

Jenkins - eclipse-pde / Compiler

Type

ERROR: TableContentProvider cannot be resolved to a type
fFriendViewer.setLabelProvider(new TableLabelProvider());
toolkit.paintBordersFor(container);

Expand Down
Loading