Class PackageTreeContentProvider.PackageStructureNode
- java.lang.Object
-
- com._1c.g5.v8.dt.xdto.ui.aef.models.PackageTreeContentProvider.PackageStructureNode
-
- All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable
- Enclosing class:
- PackageTreeContentProvider
public static class PackageTreeContentProvider.PackageStructureNode extends Object implements org.eclipse.core.runtime.IAdaptable
Package tree folder node. May be adapted to node parent.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
<T> T
getAdapter(Class<T> adapter)
org.eclipse.swt.graphics.Image
getImage()
Returns the node image.Object
getParent()
Returns the node parent.org.eclipse.emf.ecore.EReference
getReference()
Returns the node reference.String
getText()
Returns the node text.int
hashCode()
static PackageTreeContentProvider.PackageStructureNode
of(Object nodeParent, org.eclipse.emf.ecore.EReference nodeReference)
Creates a new instance with the given node parent and type.String
toString()
-
-
-
Method Detail
-
of
public static PackageTreeContentProvider.PackageStructureNode of(Object nodeParent, org.eclipse.emf.ecore.EReference nodeReference)
Creates a new instance with the given node parent and type.- Parameters:
nodeParent
- the node parent. Cannot benull
.nodeReference
- the node reference. Cannot benull
.- Returns:
- a newly created node. Never
null
.
-
getAdapter
public <T> T getAdapter(Class<T> adapter)
- Specified by:
getAdapter
in interfaceorg.eclipse.core.runtime.IAdaptable
-
getImage
public org.eclipse.swt.graphics.Image getImage()
Returns the node image.- Returns:
- the node image. Cannot be
null
.
-
getParent
public Object getParent()
Returns the node parent.- Returns:
- the node parent. Cannot be
null
.
-
getReference
public org.eclipse.emf.ecore.EReference getReference()
Returns the node reference.- Returns:
- the node reference. Cannot be
null
.
-
getText
public String getText()
Returns the node text.- Returns:
- the node text. Cannot be
null
.
-
-