org.eclipse.emf.cdo.ui.ide
Class Node.ResourcesNode
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.emf.cdo.ui.ide.Node
org.eclipse.emf.cdo.ui.ide.Node.ResourcesNode
- All Implemented Interfaces:
- IAdaptable
- Enclosing class:
- Node
public static final class Node.ResourcesNode
- extends Node
- Author:
- Eike Stepper
|
Constructor Summary |
Node.ResourcesNode(org.eclipse.emf.cdo.team.IRepositoryProject repositoryProject)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Node.ResourcesNode
public Node.ResourcesNode(org.eclipse.emf.cdo.team.IRepositoryProject repositoryProject)
getType
public Node.Type getType()
- Specified by:
getType in class Node
getText
public String getText()
- Specified by:
getText in class Node
getImageKey
public String getImageKey()
- Specified by:
getImageKey in class Node
getAdapter
public Object getAdapter(Class adapter)
- Description copied from class:
org.eclipse.core.runtime.PlatformObject
- Returns an object which is an instance of the given class
associated with this object. Returns
null if
no such object can be found.
This implementation of the method declared by IAdaptable
passes the request along to the platform's adapter manager; roughly
Platform.getAdapterManager().getAdapter(this, adapter).
Subclasses may override this method (however, if they do so, they
should invoke the method on their superclass to ensure that the
Platform's adapter manager is consulted).
- Specified by:
getAdapter in interface IAdaptable- Overrides:
getAdapter in class PlatformObject
- Parameters:
adapter - the class to adapt to
- Returns:
- the adapted object or
null - See Also:
IAdaptable.getAdapter(Class)
getChildren
public CDOResourceNode[] getChildren()
- Overrides:
getChildren in class Node
Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.