public class TypedNotifier extends AbstractTypedElementAdapter
AbstractTypedElementAdapter
for notifiers.Modifier and Type | Field and Description |
---|---|
static String |
NODE_TYPE_EMF_COMPARISON
EMF Comparison type.
|
static String |
NODE_TYPE_EMF_EOBJECT
EMF EObject type.
|
static String |
NODE_TYPE_EMF_RESOURCE
EMF Resource type.
|
static String |
NODE_TYPE_EMF_RESOURCESET
EMF ResourceSet type.
|
FOLDER_TYPE, TEXT_TYPE, UNKNOWN_TYPE
Constructor and Description |
---|
TypedNotifier(AdapterFactory adapterFactory,
Notifier notifier)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.swt.graphics.Image |
getImage()
Returns an image for this object.
|
String |
getName()
Returns the name of this object.
|
String |
getType()
Returns the type of this object.
|
getAdapterFactory, getItemDelegator, getRootAdapterFactory
public static final String NODE_TYPE_EMF_RESOURCESET
public static final String NODE_TYPE_EMF_RESOURCE
public static final String NODE_TYPE_EMF_EOBJECT
public static final String NODE_TYPE_EMF_COMPARISON
public TypedNotifier(AdapterFactory adapterFactory, Notifier notifier)
adapterFactory
- the adapter factory to use to retrieve item.notifier
- the notifier to use to retrieve the type.public String getName()
ITypedElement.getName()
public org.eclipse.swt.graphics.Image getImage()
null
if this type of input has no imageITypedElement.getImage()
public String getType()
FOLDER_TYPE
. The type is used for determining a suitable viewer
for this object.ITypedElement.getType()
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.