Interface RankedAdapterFactoryDescriptor
- All Superinterfaces:
ComposedAdapterFactory.Descriptor
A descriptor that can create an adapter factory. They are used as the values in a
registry.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA registry is an index that takes a collection of keys, typically a pair consisting of an EPackage or java.lang.Package, and a java.lang.Class, and maps it to adescriptor. -
Method Summary
Modifier and TypeMethodDescriptionThe context tester of the adapter factory binded to this descriptor.Returns a human readable description for this adapter factory.getId()Gets a unique id for this descriptor.getLabel()Returns a human readable label for this adapter factory.intThe ranking of the adapter factory binded to this descriptor.booleanReturnstrueif the adapter factory is optional.Methods inherited from interface org.eclipse.emf.edit.provider.ComposedAdapterFactory.Descriptor
createAdapterFactory
-
Method Details
-
getRanking
int getRanking()The ranking of the adapter factory binded to this descriptor.- Returns:
- the ranking of the adapter factory binded to this descriptor.
-
getContextTester
IContextTester getContextTester()The context tester of the adapter factory binded to this descriptor. The context tester may be null.- Returns:
- the context tester of the adapter factory binded to this descriptor.
-
getId
String getId()Gets a unique id for this descriptor.- Returns:
- an unique id.
-
getLabel
String getLabel()Returns a human readable label for this adapter factory.- Returns:
- a label.
-
getDescription
String getDescription()Returns a human readable description for this adapter factory.- Returns:
- a description or null if none.
-
isOptional
boolean isOptional()Returnstrueif the adapter factory is optional.- Returns:
trueif optional orfalseotherwise.
-