org.eclipse.emf.cdo.ui.ide
Class RepositoryContentProvider
java.lang.Object
org.eclipse.net4j.util.ui.StructuredContentProvider<IWorkspaceRoot>
org.eclipse.emf.cdo.ui.ide.RepositoryContentProvider
- All Implemented Interfaces:
- EventListener, IContentProvider, IStructuredContentProvider, ITreeContentProvider, IListener
- public class RepositoryContentProvider
- extends StructuredContentProvider<IWorkspaceRoot>
- implements ITreeContentProvider
ITreeContentProvider
implementation for the CDO Team
integration. Capable of providing containment information for an project
synchronized with a repository. Understands containment information of the node
abstraction.
Methods inherited from class org.eclipse.net4j.util.ui.StructuredContentProvider |
connectInput, disconnectInput, getDisplay, getInput, getItalicFont, getViewer, inputChanged, notifyEvent, refreshElement, refreshSynced, refreshViewer, revealElement, selectElement, updateLabels |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepositoryContentProvider
public RepositoryContentProvider()
dispose
public void dispose()
- Specified by:
dispose
in interface IContentProvider
- Overrides:
dispose
in class StructuredContentProvider<IWorkspaceRoot>
isSessionsNodeHidden
public boolean isSessionsNodeHidden()
setSessionsNodeHidden
public void setSessionsNodeHidden(boolean sessionNodesHidden)
isPackagesNodeHidden
public boolean isPackagesNodeHidden()
setPackagesNodeHidden
public void setPackagesNodeHidden(boolean packageNodesHidden)
isResourcesNodeHidden
public boolean isResourcesNodeHidden()
setResourcesNodeHidden
public void setResourcesNodeHidden(boolean resourceNodesHidden)
getChildren
public Object[] getChildren(Object parentElement)
- Specified by:
getChildren
in interface ITreeContentProvider
getElements
public Object[] getElements(Object parentElement)
- Specified by:
getElements
in interface IStructuredContentProvider
- Specified by:
getElements
in interface ITreeContentProvider
getParent
public Object getParent(Object element)
- Specified by:
getParent
in interface ITreeContentProvider
createAdapterFactory
public static ComposedAdapterFactory createAdapterFactory()
hasChildren
public boolean hasChildren(Object parentElement)
- Specified by:
hasChildren
in interface ITreeContentProvider
Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.