public class DelegatingContentProvider extends java.lang.Object implements IStructuredContentProvider
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NONE |
Constructor and Description |
---|
DelegatingContentProvider(IStructuredContentProvider delegate) |
DelegatingContentProvider(IStructuredContentProvider delegate,
boolean optional) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
IStructuredContentProvider |
getDelegate() |
java.lang.Object[] |
getElements(java.lang.Object inputElement) |
void |
inputChanged(Viewer viewer,
java.lang.Object oldInput,
java.lang.Object newInput) |
boolean |
isOptional() |
public static final java.lang.String NONE
public DelegatingContentProvider(IStructuredContentProvider delegate, boolean optional)
public DelegatingContentProvider(IStructuredContentProvider delegate)
public IStructuredContentProvider getDelegate()
public boolean isOptional()
public void dispose()
dispose
in interface IContentProvider
public java.lang.Object[] getElements(java.lang.Object inputElement)
getElements
in interface IStructuredContentProvider
public void inputChanged(Viewer viewer, java.lang.Object oldInput, java.lang.Object newInput)
inputChanged
in interface IContentProvider
Copyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html