Package com._1c.g5.v8.dt.ui.wizards
Class MdModelTypesExtension
- java.lang.Object
-
- com._1c.g5.v8.dt.ui.wizards.MdModelTypesExtension
-
public class MdModelTypesExtension extends Object
Provides type information for MD classes. Types are special use cases of model classes. TODO: rename extension point.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
MdModelTypesExtension.Feature
Provides feature information for a model type.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static List<MdModelTypesExtension>
get(IDtNewWizardContext<?> context)
Returns types associated accepted for specified contextString
getDefaultFeature()
String
getDescription()
Returns the wizard page description for type extension.String
getEClassName()
IDtNewWizardContextPredicate
getEnablementPredicate()
Enablement predicate of this type extension for specifed Dt wizart contextList<MdModelTypesExtension.Feature>
getFeatures()
String
getId()
String
getInitialName()
String
getLabel()
IDtNewWizardContextPredicate
getVisibilityPredicate()
Visibility predicate of this type extension for specifed Dt wizart contextint
hashCode()
-
-
-
Method Detail
-
get
public static List<MdModelTypesExtension> get(IDtNewWizardContext<?> context)
Returns types associated accepted for specified context- Parameters:
context
- theIDtNewWizardContext
instance, cannot benull
- Returns:
- list of found types, never
null
-
getId
public String getId()
- Returns:
- ID of this type.
-
getLabel
public String getLabel()
- Returns:
- human readable label.
-
getEClassName
public String getEClassName()
- Returns:
EClass
name of target object, cannotnull
-
getDescription
public String getDescription()
Returns the wizard page description for type extension.- Returns:
- the wizard page description or
null
if none
-
getInitialName
public String getInitialName()
- Returns:
- initial model name for this type.
-
getDefaultFeature
public String getDefaultFeature()
- Returns:
- default feature where to place the model of this type.
-
getFeatures
public List<MdModelTypesExtension.Feature> getFeatures()
- Returns:
- feature information for this type.
-
getEnablementPredicate
public IDtNewWizardContextPredicate getEnablementPredicate()
Enablement predicate of this type extension for specifed Dt wizart context- Returns:
- predicate of enablement, or
null
not registred
-
getVisibilityPredicate
public IDtNewWizardContextPredicate getVisibilityPredicate()
Visibility predicate of this type extension for specifed Dt wizart context- Returns:
- predicate of visibility, or
null
not registred
-
-