|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl
org.eclipse.emf.codegen.ecore.genmodel.impl.GenModelImpl
An implementation of the model object 'GenModel'.
The following features are implemented:
Copyright Text
Model Directory
Creation Commands
Creation Icons
Edit Directory
Editor Directory
Model Plugin ID
Template Directory
Runtime Jar
Foreign Model
Dynamic Templates
Redirection
Force Overwrite
Non Externalized String Tag
Model Name
Model Plugin Class
Edit Plugin Class
Editor Plugin Class
Update Classpath
Generate Schema
Non NLS Markers
Static Packages
Model Plugin Variables
Root Extends Interface
Root Extends Class
Root Implements Interface
Suppress EMF Types
Feature Map Wrapper Interface
Feature Map Wrapper Internal Interface
Feature Map Wrapper Class
Runtime Compatibility
Rich Client Platform
Reflective Delegation
Code Formatting
Tests Directory
Test Suite Class
Boolean Flags Field
Boolean Flags Reserved Bits
Importer ID
Bundle Manifest
Gen Packages
Used Gen Packages
Nested Class Summary |
Nested classes inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl |
GenBaseImpl.AnnotationFilter, GenBaseImpl.AnnotationFilterImpl, GenBaseImpl.ColorInformation, GenBaseImpl.GenClassFilter, GenBaseImpl.GenConstraintFilter, GenBaseImpl.GenFeatureFilter, GenBaseImpl.GenOperationFilter, GenBaseImpl.GIFEmitter, GenBaseImpl.UniqueNameHelper |
Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderImpl |
Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
BasicNotifierImpl.EAdapterList |
Nested classes inherited from class org.eclipse.emf.ecore.InternalEObject |
InternalEObject.EStore |
Field Summary | |
protected JETEmitter |
actionBarContributorEmitter
|
protected java.lang.String |
actionBarContributorTemplateName
|
protected JETEmitter |
adapterFactoryClassEmitter
|
protected java.lang.String |
adapterFactoryClassTemplateName
|
protected JETEmitter |
advisorEmitter
|
protected java.lang.String |
advisorTemplateName
|
protected static java.lang.String |
BOOLEAN_FLAGS_FIELD_EDEFAULT
The default value of the ' Boolean Flags Field ' attribute |
protected static int |
BOOLEAN_FLAGS_RESERVED_BITS_EDEFAULT
The default value of the ' Boolean Flags Reserved Bits ' attribute |
protected java.lang.String |
booleanFlagsField
The cached value of the ' Boolean Flags Field ' attribute |
protected int |
booleanFlagsReservedBits
The cached value of the ' Boolean Flags Reserved Bits ' attribute |
protected JETEmitter |
buildPropertiesEmitter
|
protected java.lang.String |
buildPropertiesTemplateName
|
protected static boolean |
BUNDLE_MANIFEST_EDEFAULT
The default value of the ' Bundle Manifest ' attribute |
protected boolean |
bundleManifest
The cached value of the ' Bundle Manifest ' attribute |
protected boolean |
canGenerate
|
protected JETEmitter |
classEmitter
|
protected java.lang.String |
classTemplateName
|
protected static boolean |
CODE_FORMATTING_EDEFAULT
The default value of the ' Code Formatting ' attribute |
protected java.util.Map |
codeFormatterOptions
|
protected boolean |
codeFormatting
The cached value of the ' Code Formatting ' attribute |
protected static java.lang.String |
COPYRIGHT_TEXT_EDEFAULT
The default value of the ' Copyright Text ' attribute |
protected java.lang.String |
copyrightText
The cached value of the ' Copyright Text ' attribute |
protected GenBaseImpl.GIFEmitter |
createChildGIFEmitter
|
protected java.lang.String |
createChildGIFName
|
protected static boolean |
CREATION_COMMANDS_EDEFAULT
The default value of the ' Creation Commands ' attribute |
protected static boolean |
CREATION_ICONS_EDEFAULT
The default value of the ' Creation Icons ' attribute |
protected boolean |
creationCommands
The cached value of the ' Creation Commands ' attribute |
protected boolean |
creationIcons
The cached value of the ' Creation Icons ' attribute |
protected static boolean |
DYNAMIC_TEMPLATES_EDEFAULT
The default value of the ' Dynamic Templates ' attribute |
protected boolean |
dynamicTemplates
The cached value of the ' Dynamic Templates ' attribute |
protected static java.lang.String |
EDIT_DIRECTORY_EDEFAULT
The default value of the ' Edit Directory ' attribute |
protected static java.lang.String |
EDIT_PLUGIN_CLASS_EDEFAULT
The default value of the ' Edit Plugin Class ' attribute |
protected JETEmitter |
editBuildPropertiesEmitter
|
protected java.lang.String |
editBuildPropertiesTemplateName
|
protected java.lang.String |
editDirectory
The cached value of the ' Edit Directory ' attribute |
protected boolean |
editDirectoryESet
This is true if the Edit Directory attribute has been set |
protected JETEmitter |
editManifestMFEmitter
|
protected java.lang.String |
editManifestMFTemplateName
|
protected static java.lang.String |
EDITOR_DIRECTORY_EDEFAULT
The default value of the ' Editor Directory ' attribute |
protected static java.lang.String |
EDITOR_PLUGIN_CLASS_EDEFAULT
The default value of the ' Editor Plugin Class ' attribute |
protected JETEmitter |
editorBuildPropertiesEmitter
|
protected java.lang.String |
editorBuildPropertiesTemplateName
|
protected java.lang.String |
editorDirectory
The cached value of the ' Editor Directory ' attribute |
protected boolean |
editorDirectoryESet
This is true if the Editor Directory attribute has been set |
protected JETEmitter |
editorEmitter
|
protected JETEmitter |
editorManifestMFEmitter
|
protected java.lang.String |
editorManifestMFTemplateName
|
protected java.lang.String |
editorPluginClass
The cached value of the ' Editor Plugin Class ' attribute |
protected JETEmitter |
editorPluginClassEmitter
|
protected boolean |
editorPluginClassESet
This is true if the Editor Plugin Class attribute has been set |
protected JETEmitter |
editorPluginPropertiesEmitter
|
protected java.lang.String |
editorPluginPropertiesTemplateName
|
protected java.lang.String |
editorPluginTemplateName
|
protected JETEmitter |
editorPluginXMLEmitter
|
protected java.lang.String |
editorPluginXMLTemplateName
|
protected java.lang.String |
editorTemplateName
|
protected java.lang.String |
editPluginClass
The cached value of the ' Edit Plugin Class ' attribute |
protected JETEmitter |
editPluginClassEmitter
|
protected boolean |
editPluginClassESet
This is true if the Edit Plugin Class attribute has been set |
protected JETEmitter |
editPluginPropertiesEmitter
|
protected java.lang.String |
editPluginPropertiesTemplateName
|
protected java.lang.String |
editPluginTemplateName
|
protected JETEmitter |
editPluginXMLEmitter
|
protected java.lang.String |
editPluginXMLTemplateName
|
protected JETEmitter |
enumClassEmitter
|
protected java.lang.String |
enumClassTemplateName
|
protected ExtendedMetaData |
extendedMetaData
|
protected JETEmitter |
factoryClassEmitter
|
protected java.lang.String |
factoryClassTemplateName
|
protected JETEmitter |
factoryInterfaceEmitter
|
protected java.lang.String |
factoryInterfaceTemplateName
|
protected static java.lang.String |
FEATURE_MAP_WRAPPER_CLASS_EDEFAULT
The default value of the ' Feature Map Wrapper Class ' attribute |
protected static java.lang.String |
FEATURE_MAP_WRAPPER_INTERFACE_EDEFAULT
The default value of the ' Feature Map Wrapper Interface ' attribute |
protected static java.lang.String |
FEATURE_MAP_WRAPPER_INTERNAL_INTERFACE_EDEFAULT
The default value of the ' Feature Map Wrapper Internal Interface ' attribute |
protected java.lang.String |
featureMapWrapperClass
The cached value of the ' Feature Map Wrapper Class ' attribute |
protected java.lang.String |
featureMapWrapperInterface
The cached value of the ' Feature Map Wrapper Interface ' attribute |
protected java.lang.String |
featureMapWrapperInternalInterface
The cached value of the ' Feature Map Wrapper Internal Interface ' attribute |
protected static boolean |
FORCE_OVERWRITE_EDEFAULT
The default value of the ' Force Overwrite ' attribute |
protected boolean |
forceOverwrite
The cached value of the ' Force Overwrite ' attribute |
protected EList |
foreignModel
The cached value of the ' Foreign Model ' attribute list |
protected static boolean |
GENERATE_SCHEMA_EDEFAULT
The default value of the ' Generate Schema ' attribute |
protected boolean |
generateSchema
The cached value of the ' Generate Schema ' attribute |
protected EList |
genPackages
The cached value of the ' Gen Packages ' containment reference list |
protected static java.lang.String |
IMPORTER_ID_EDEFAULT
The default value of the ' Importer ID ' attribute |
protected java.lang.String |
importerID
The cached value of the ' Importer ID ' attribute |
protected int |
importInsertionPoint
|
protected ImportManager |
importManager
|
protected java.lang.StringBuffer |
importStringBuffer
|
protected JETEmitter |
interfaceEmitter
|
protected java.lang.String |
interfaceTemplateName
|
protected GenBaseImpl.GIFEmitter |
itemGIFEmitter
|
protected java.lang.String |
itemGIFName
|
protected JETEmitter |
itemProviderAdapterFactoryEmitter
|
protected java.lang.String |
itemProviderAdapterFactoryTemplateName
|
protected JETEmitter |
itemProviderEmitter
|
protected java.lang.String |
itemProviderTemplateName
|
protected JControlModel |
jControlModel
|
protected java.lang.String |
jControlModelName
|
protected JETEmitter |
manifestMFEmitter
|
protected java.lang.String |
manifestMFTemplateName
|
protected static java.lang.String |
MODEL_DIRECTORY_EDEFAULT
The default value of the ' Model Directory ' attribute |
protected static java.lang.String |
MODEL_NAME_EDEFAULT
The default value of the ' Model Name ' attribute |
protected static java.lang.String |
MODEL_PLUGIN_CLASS_EDEFAULT
The default value of the ' Model Plugin Class ' attribute |
protected static java.lang.String |
MODEL_PLUGIN_ID_EDEFAULT
The default value of the ' Model Plugin ID ' attribute |
protected java.lang.String |
modelDirectory
The cached value of the ' Model Directory ' attribute |
protected GenBaseImpl.GIFEmitter |
modelGIFEmitter
|
protected java.lang.String |
modelGIFName
|
protected java.lang.String |
modelName
The cached value of the ' Model Name ' attribute |
protected java.lang.String |
modelPluginClass
The cached value of the ' Model Plugin Class ' attribute |
protected JETEmitter |
modelPluginClassEmitter
|
protected java.lang.String |
modelPluginID
The cached value of the ' Model Plugin ID ' attribute |
protected java.lang.String |
modelPluginTemplateName
|
protected EList |
modelPluginVariables
The cached value of the ' Model Plugin Variables ' attribute list |
protected JETEmitter |
modelTestSuiteEmitter
|
protected java.lang.String |
modelTestSuiteTemplateName
|
protected JETEmitter |
modelWizardEmitter
|
protected GenBaseImpl.GIFEmitter |
modelWizardGIFEmitter
|
protected java.lang.String |
modelWizardGIFName
|
protected java.lang.String |
modelWizardTemplateName
|
protected static java.lang.String |
NON_EXTERNALIZED_STRING_TAG_EDEFAULT
The default value of the ' Non Externalized String Tag ' attribute |
protected static boolean |
NON_NLS_MARKERS_EDEFAULT
The default value of the ' Non NLS Markers ' attribute |
protected java.lang.String |
nonExternalizedStringTag
The cached value of the ' Non Externalized String Tag ' attribute |
protected boolean |
nonNLSMarkers
The cached value of the ' Non NLS Markers ' attribute |
static java.lang.Class[] |
OBJECT_ARGUMENT
|
protected JETEmitter |
packageClassEmitter
|
protected java.lang.String |
packageClassTemplateName
|
protected JETEmitter |
packageExampleEmitter
|
protected java.lang.String |
packageExampleTemplateName
|
protected JETEmitter |
packageInterfaceEmitter
|
protected java.lang.String |
packageInterfaceTemplateName
|
protected JETEmitter |
packageTestSuiteEmitter
|
protected java.lang.String |
packageTestSuiteTemplateName
|
protected JETEmitter |
pluginPropertiesEmitter
|
protected java.lang.String |
pluginPropertiesTemplateName
|
protected JETEmitter |
pluginXMLEmitter
|
protected java.lang.String |
pluginXMLTemplateName
|
protected java.lang.String |
redirection
The cached value of the ' Redirection ' attribute |
protected static java.lang.String |
REDIRECTION_EDEFAULT
The default value of the ' Redirection ' attribute |
protected static boolean |
REFLECTIVE_DELEGATION_EDEFAULT
The default value of the ' Reflective Delegation ' attribute |
protected boolean |
reflectiveDelegation
The cached value of the ' Reflective Delegation ' attribute |
protected JETEmitter |
resourceClassEmitter
|
protected JETEmitter |
resourceFactoryClassEmitter
|
protected java.lang.String |
resourceFactoryTemplateName
|
protected java.lang.String |
resourceTemplateName
|
protected static boolean |
RICH_CLIENT_PLATFORM_EDEFAULT
The default value of the ' Rich Client Platform ' attribute |
protected boolean |
richClientPlatform
The cached value of the ' Rich Client Platform ' attribute |
protected static java.lang.String |
ROOT_EXTENDS_CLASS_EDEFAULT
The default value of the ' Root Extends Class ' attribute |
protected static java.lang.String |
ROOT_EXTENDS_INTERFACE_EDEFAULT
The default value of the ' Root Extends Interface ' attribute |
protected static java.lang.String |
ROOT_IMPLEMENTS_INTERFACE_EDEFAULT
The default value of the ' Root Implements Interface ' attribute |
protected java.lang.String |
rootExtendsClass
The cached value of the ' Root Extends Class ' attribute |
protected java.lang.String |
rootExtendsInterface
The cached value of the ' Root Extends Interface ' attribute |
protected java.lang.String |
rootImplementsInterface
The cached value of the ' Root Implements Interface ' attribute |
protected GenClass |
rootImplementsInterfaceGenClass
|
protected static boolean |
RUNTIME_COMPATIBILITY_EDEFAULT
The default value of the ' Runtime Compatibility ' attribute |
protected static boolean |
RUNTIME_JAR_EDEFAULT
The default value of the ' Runtime Jar ' attribute |
protected boolean |
runtimeCompatibility
The cached value of the ' Runtime Compatibility ' attribute |
protected boolean |
runtimeJar
The cached value of the ' Runtime Jar ' attribute |
protected EList |
staticGenPackages
|
protected EList |
staticPackages
The cached value of the ' Static Packages ' attribute list |
protected static boolean |
SUPPRESS_EMF_TYPES_EDEFAULT
The default value of the ' Suppress EMF Types ' attribute |
protected boolean |
suppressEMFTypes
The cached value of the ' Suppress EMF Types ' attribute |
protected JETEmitter |
switchClassEmitter
|
protected java.lang.String |
switchClassTemplateName
|
protected static java.lang.String |
TEMPLATE_DIRECTORY_EDEFAULT
The default value of the ' Template Directory ' attribute |
protected java.lang.String |
templateDirectory
The cached value of the ' Template Directory ' attribute |
protected java.lang.String[] |
templatePath
|
protected static java.lang.String |
TEST_SUITE_CLASS_EDEFAULT
The default value of the ' Test Suite Class ' attribute |
protected JETEmitter |
testCaseEmitter
|
protected java.lang.String |
testCaseTemplateName
|
protected static java.lang.String |
TESTS_DIRECTORY_EDEFAULT
The default value of the ' Tests Directory ' attribute |
protected JETEmitter |
testsBuildPropertiesEmitter
|
protected java.lang.String |
testsBuildPropertiesTemplateName
|
protected java.lang.String |
testsDirectory
The cached value of the ' Tests Directory ' attribute |
protected boolean |
testsDirectoryESet
This is true if the Tests Directory attribute has been set |
protected JETEmitter |
testsManifestMFEmitter
|
protected java.lang.String |
testsManifestMFTemplateName
|
protected JETEmitter |
testsPluginPropertiesEmitter
|
protected java.lang.String |
testsPluginPropertiesTemplateName
|
protected JETEmitter |
testsPluginXMLEmitter
|
protected java.lang.String |
testsPluginXMLTemplateName
|
protected java.lang.String |
testSuiteClass
The cached value of the ' Test Suite Class ' attribute |
protected boolean |
testSuiteClassESet
This is true if the Test Suite Class attribute has been set |
protected static boolean |
UPDATE_CLASSPATH_EDEFAULT
The default value of the ' Update Classpath ' attribute |
protected boolean |
updateClasspath
The cached value of the ' Update Classpath ' attribute |
protected EList |
usedGenPackages
The cached value of the ' Used Gen Packages ' reference list |
protected JETEmitter |
validatorSwitchClassEmitter
|
protected java.lang.String |
validatorSwitchClassTemplateName
|
Fields inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl |
DEFAULT_ANNOTATION_FILTER, ecoreGenPackage, xmlNamespaceGenPackage, xmlTypeGenPackage |
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
EOPPOSITE_FEATURE_BASE |
Constructor Summary | |
protected |
GenModelImpl()
|
Method Summary | |
protected void |
addClasspathEntries(JETEmitter jetEmitter)
|
void |
addImport(java.lang.String qualifiedName)
|
void |
addPseudoImport(java.lang.String qualifiedName)
|
protected void |
addQualifiedEditorPackageNames(java.util.List packageNames,
GenPackage genPackage)
|
protected void |
addQualifiedEditPackageNames(java.util.List packageNames,
GenPackage genPackage)
|
protected void |
addQualifiedModelPackageNames(java.util.List packageNames,
GenPackage genPackage)
|
protected void |
addQualifiedTestsPackageNames(java.util.List packageNames,
GenPackage genPackage)
|
boolean |
canGenerate()
|
boolean |
canGenerateEdit()
|
boolean |
canGenerateEditor()
|
boolean |
canGenerateSchema()
|
boolean |
canGenerateTests()
|
java.util.List |
computeMissingUsedGenPackages()
|
org.eclipse.jdt.core.formatter.CodeFormatter |
createCodeFormatter()
Creates and returns a new JDT code formatter. |
GenClass |
createGenClass()
|
GenDataType |
createGenDataType()
|
GenEnum |
createGenEnum()
|
GenEnumLiteral |
createGenEnumLiteral()
|
GenFeature |
createGenFeature()
|
GenModel |
createGenModel()
|
GenOperation |
createGenOperation()
|
GenPackage |
createGenPackage()
|
GenParameter |
createGenParameter()
|
protected JETEmitter |
createJETEmitter(java.lang.String relativeTemplateURI)
|
protected java.lang.String |
createPackageName(java.lang.String text)
|
java.lang.Object |
eGet(EStructuralFeature eFeature,
boolean resolve)
|
NotificationChain |
eInverseAdd(InternalEObject otherEnd,
int featureID,
java.lang.Class baseClass,
NotificationChain msgs)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
java.lang.Class baseClass,
NotificationChain msgs)
|
boolean |
eIsSet(EStructuralFeature eFeature)
|
void |
emitSortedImports()
|
void |
eSet(EStructuralFeature eFeature,
java.lang.Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(EStructuralFeature eFeature)
|
void |
generate(IProgressMonitor progressMonitor)
|
void |
generateEdit(IProgressMonitor progressMonitor)
|
void |
generateEditor(IProgressMonitor progressMonitor)
|
void |
generateSchema(IProgressMonitor progressMonitor)
|
void |
generateTests(IProgressMonitor progressMonitor)
|
JETEmitter |
getActionBarContributorEmitter()
|
JETEmitter |
getAdapterFactoryClassEmitter()
|
java.util.List |
getAllGenAndUsedGenPackagesWithClassifiers()
|
java.util.List |
getAllGenFeatures()
|
java.util.List |
getAllGenPackagesWithClassifiers()
|
protected void |
getAllGenPackagesWithClassifiersHelper(java.util.List result,
java.util.List genPackages)
|
java.util.List |
getAllGenUsedAndStaticGenPackagesWithClassifiers()
|
java.util.List |
getAllUsedGenPackagesWithClassifiers()
|
java.lang.String |
getBooleanFlagsField()
|
int |
getBooleanFlagsReservedBits()
|
JETEmitter |
getBuildPropertiesEmitter()
|
JETEmitter |
getClassEmitter()
|
java.lang.String |
getCopyrightText()
|
GenBaseImpl.GIFEmitter |
getCreateChildGIFEmitter()
|
java.lang.String |
getDate()
|
java.lang.String |
getDriverNumber()
|
EModelElement |
getEcoreModelElement()
|
JETEmitter |
getEditBuildPropertiesEmitter()
|
java.lang.String |
getEditDirectory()
Returns the value of the 'Edit Directory' attribute |
java.lang.String |
getEditDirectoryGen()
|
java.lang.String |
getEditIconsDirectory()
|
JETEmitter |
getEditManifestMFEmitter()
|
java.lang.String |
getEditorAdvisorClassName()
|
JETEmitter |
getEditorAdvisorEmitter()
|
JETEmitter |
getEditorBuildPropertiesEmitter()
|
java.lang.String |
getEditorDirectory()
Returns the value of the 'Editor Directory' attribute |
java.lang.String |
getEditorDirectoryGen()
|
JETEmitter |
getEditorEmitter()
|
java.lang.String |
getEditorIconsDirectory()
|
JETEmitter |
getEditorManifestMFEmitter()
|
java.lang.String |
getEditorPluginClass()
Returns the value of the 'Editor Plugin Class' attribute |
JETEmitter |
getEditorPluginClassEmitter()
|
java.lang.String |
getEditorPluginClassGen()
|
java.lang.String |
getEditorPluginClassName()
|
protected java.lang.String |
getEditorPluginClassToUse()
|
protected java.lang.String |
getEditorPluginDirectory()
|
java.lang.String |
getEditorPluginID()
|
java.lang.String |
getEditorPluginPackageName()
|
JETEmitter |
getEditorPluginPropertiesEmitter()
|
JETEmitter |
getEditorPluginXMLEmitter()
|
java.lang.String |
getEditorProjectDirectory()
|
java.util.List |
getEditorQualifiedPackageNames()
|
java.util.List |
getEditorRequiredPlugins()
|
java.lang.String |
getEditPluginClass()
Returns the value of the 'Edit Plugin Class' attribute |
JETEmitter |
getEditPluginClassEmitter()
|
java.lang.String |
getEditPluginClassGen()
|
java.lang.String |
getEditPluginClassName()
|
protected java.lang.String |
getEditPluginClassToUse()
|
protected java.lang.String |
getEditPluginDirectory()
|
java.lang.String |
getEditPluginID()
|
java.lang.String |
getEditPluginPackageName()
|
JETEmitter |
getEditPluginPropertiesEmitter()
|
JETEmitter |
getEditPluginXMLEmitter()
|
java.lang.String |
getEditProjectDirectory()
|
java.util.List |
getEditQualifiedPackageNames()
|
java.util.List |
getEditRequiredPlugins()
|
java.util.List |
getEditResourceDelegateImportedPluginClassNames()
|
java.util.List |
getEffectiveModelPluginIDs()
|
java.util.List |
getEffectiveModelPluginVariables()
|
JETEmitter |
getEnumClassEmitter()
|
ExtendedMetaData |
getExtendedMetaData()
|
JETEmitter |
getFactoryClassEmitter()
|
JETEmitter |
getFactoryInterfaceEmitter()
|
java.lang.String |
getFeatureMapWrapperClass()
|
java.lang.String |
getFeatureMapWrapperInterface()
|
java.lang.String |
getFeatureMapWrapperInternalInterface()
|
java.util.List |
getFilteredAllGenFeatures()
|
EList |
getForeignModel()
|
EList |
getGenPackages()
|
java.lang.String |
getImportedName(java.lang.String qualifiedName)
|
java.lang.String |
getImporterID()
|
protected ImportManager |
getImportManager()
|
java.lang.String |
getIndentation(java.lang.StringBuffer stringBuffer)
|
JETEmitter |
getInterfaceEmitter()
|
GenBaseImpl.GIFEmitter |
getItemGIFEmitter()
|
JETEmitter |
getItemProviderAdapterFactoryEmitter()
|
JETEmitter |
getItemProviderEmitter()
|
JControlModel |
getJControlModel()
|
protected GenPackage |
getMainGenPackage()
|
protected java.lang.String |
getMainPackage()
|
JETEmitter |
getManifestMFEmitter()
|
java.util.List |
getMissingPackages()
|
protected void |
getMissingPackagesHelper(java.util.List ePackages,
java.util.List genPackages)
|
java.lang.String |
getModelDirectory()
|
java.lang.String |
getModelDirectoryGen()
|
GenBaseImpl.GIFEmitter |
getModelGIFEmitter()
|
java.lang.String |
getModelName()
|
java.lang.String |
getModelPluginClass()
|
JETEmitter |
getModelPluginClassEmitter()
|
java.lang.String |
getModelPluginClassName()
|
protected java.lang.String |
getModelPluginClassToUse()
|
java.lang.String |
getModelPluginID()
|
java.lang.String |
getModelPluginPackageName()
|
EList |
getModelPluginVariables()
|
protected java.lang.String |
getModelProject()
|
java.lang.String |
getModelProjectDirectory()
|
java.util.List |
getModelQualifiedPackageNames()
|
java.util.List |
getModelRequiredPlugins()
|
JETEmitter |
getModelTestSuiteEmitter()
|
JETEmitter |
getModelWizardEmitter()
|
GenBaseImpl.GIFEmitter |
getModelWizardGIFEmitter()
|
java.lang.String |
getName()
|
java.lang.String |
getNonExternalizedStringTag()
|
java.lang.String |
getNonNLS()
|
java.lang.String |
getNonNLS(int i)
|
java.lang.String |
getNonNLS(java.lang.String s)
|
java.lang.String |
getNonNLS(java.lang.String s,
int i)
|
JETEmitter |
getPackageClassEmitter()
|
JETEmitter |
getPackageExampleEmitter()
|
JETEmitter |
getPackageInterfaceEmitter()
|
JETEmitter |
getPackageTestSuiteEmitter()
|
protected java.lang.String |
getPluginClass(boolean isSet,
java.lang.String baseName,
java.lang.String packageSuffix,
java.lang.String classSuffix)
|
protected java.lang.String |
getPluginClassName(java.lang.String baseName,
java.lang.String defaultSuffix)
|
protected java.lang.String |
getPluginDirectory(boolean isSet,
java.lang.String baseDirectory,
java.lang.String suffix)
|
protected java.lang.String |
getPluginPackageName(java.lang.String baseName,
java.lang.String pluginID)
|
JETEmitter |
getPluginPropertiesEmitter()
|
JETEmitter |
getPluginXMLEmitter()
|
protected static java.lang.String |
getProjectPath(java.lang.String path)
|
java.util.Set |
getPropertyCategories()
|
java.lang.String |
getPropertyCategoryKey(java.lang.String category)
|
java.lang.String |
getQualifiedEditorAdvisorClassName()
|
java.lang.String |
getQualifiedEditorPluginClassName()
|
java.lang.String |
getQualifiedEditPluginClassName()
|
java.lang.String |
getQualifiedModelPluginClassName()
|
java.lang.String |
getQualifiedTestSuiteClassName()
|
java.lang.String |
getRedirection()
|
java.lang.String |
getRelativeGenModelLocation()
|
JETEmitter |
getResourceClassEmitter()
|
JETEmitter |
getResourceFactoryClassEmitter()
|
java.lang.String |
getRootExtendsClass()
|
java.lang.String |
getRootExtendsInterface()
|
java.lang.String |
getRootImplementsInterface()
|
GenClass |
getRootImplementsInterfaceGenClass()
|
protected java.lang.String |
getSourceFragmentPath()
|
EList |
getStaticGenPackages()
|
EList |
getStaticPackages()
|
JETEmitter |
getSwitchClassEmitter()
|
java.lang.String |
getTemplateDirectory()
|
protected java.lang.String[] |
getTemplatePath()
|
JETEmitter |
getTestCaseEmitter()
|
JETEmitter |
getTestsBuildPropertiesEmitter()
|
java.lang.String |
getTestsDirectory()
Returns the value of the 'Tests Directory' attribute |
java.lang.String |
getTestsDirectoryGen()
|
JETEmitter |
getTestsManifestMFEmitter()
|
java.lang.String |
getTestsPluginID()
|
JETEmitter |
getTestsPluginPropertiesEmitter()
|
JETEmitter |
getTestsPluginXMLEmitter()
|
java.lang.String |
getTestsProjectDirectory()
|
java.util.List |
getTestsQualifiedPackageNames()
|
java.util.List |
getTestsRequiredPlugins()
|
java.lang.String |
getTestSuiteClass()
Returns the value of the 'Test Suite Class' attribute |
java.lang.String |
getTestSuiteClassGen()
|
java.lang.String |
getTestSuiteClassName()
|
java.lang.String |
getTestSuitePackageName()
|
EList |
getUsedGenPackages()
|
JETEmitter |
getValidatorClassEmitter()
|
java.lang.String |
getXMLEncodingChoices()
|
boolean |
hasEditorSupport()
|
boolean |
hasEditSupport()
|
boolean |
hasLocalGenModel()
|
boolean |
hasModelPluginClass()
|
protected boolean |
hasModelSupport()
|
boolean |
hasPluginSupport()
|
boolean |
hasTestSupport()
|
boolean |
hasXMLDependency()
|
void |
initialize(java.util.Collection ePackages)
|
boolean |
isBooleanFlagsEnabled()
|
boolean |
isBundleManifest()
|
boolean |
isCodeFormatting()
|
boolean |
isCreationCommands()
|
boolean |
isCreationIcons()
|
boolean |
isDynamicTemplates()
|
boolean |
isForceOverwrite()
|
boolean |
isGenerateSchema()
|
boolean |
isNonNLSMarkers()
|
boolean |
isReflectiveDelegation()
|
boolean |
isRichClientPlatform()
|
boolean |
isRuntimeCompatibility()
|
boolean |
isRuntimeJar()
|
boolean |
isSetEditDirectory()
|
boolean |
isSetEditorDirectory()
|
boolean |
isSetEditorPluginClass()
|
boolean |
isSetEditPluginClass()
|
boolean |
isSetTestsDirectory()
|
boolean |
isSetTestSuiteClass()
|
boolean |
isSuppressEMFTypes()
|
boolean |
isUpdateClasspath()
|
void |
markImportLocation(java.lang.StringBuffer stringBuffer)
|
void |
markImportLocation(java.lang.StringBuffer stringBuffer,
GenPackage genPackage)
|
boolean |
needsRuntimeCompatibility()
|
protected void |
populateExtendedMetaData(java.util.List genPackages)
|
boolean |
reconcile()
|
boolean |
reconcile(GenModel oldGenModelVersion)
Restore all the corresponding settings of the old version into this version. |
protected void |
reconcileSettings(GenModel oldGenModelVersion)
|
boolean |
sameEditEditorProject()
|
boolean |
sameModelEditorProject()
|
boolean |
sameModelEditProject()
|
boolean |
sameModelTestsProject()
|
void |
setBooleanFlagsField(java.lang.String newBooleanFlagsField)
|
void |
setBooleanFlagsReservedBits(int newBooleanFlagsReservedBits)
|
void |
setBundleManifest(boolean newBundleManifest)
|
void |
setCanGenerate(boolean canGenerate)
|
void |
setCodeFormatterOptions(java.util.Map options)
Set the code formatter options to be used to create a new code formatter. |
void |
setCodeFormatting(boolean newCodeFormatting)
|
void |
setCopyrightText(java.lang.String newCopyrightText)
|
void |
setCreationCommands(boolean newCreationCommands)
|
void |
setCreationIcons(boolean newCreationIcons)
|
void |
setDynamicTemplates(boolean newDynamicTemplates)
|
void |
setEditDirectory(java.lang.String newEditDirectory)
|
void |
setEditorDirectory(java.lang.String newEditorDirectory)
|
void |
setEditorPluginClass(java.lang.String newEditorPluginClass)
|
void |
setEditPluginClass(java.lang.String newEditPluginClass)
|
void |
setFeatureMapWrapperClass(java.lang.String newFeatureMapWrapperClass)
|
void |
setFeatureMapWrapperInterface(java.lang.String newFeatureMapWrapperInterface)
|
void |
setFeatureMapWrapperInternalInterface(java.lang.String newFeatureMapWrapperInternalInterface)
|
void |
setForceOverwrite(boolean newForceOverwrite)
|
void |
setGenerateSchema(boolean newGenerateSchema)
|
void |
setImporterID(java.lang.String newImporterID)
|
protected void |
setImportManager(ImportManager importManager)
|
void |
setMethod(JETEmitter jetEmitter,
java.lang.String className)
|
void |
setModelDirectory(java.lang.String newModelDirectory)
|
void |
setModelName(java.lang.String newModelName)
|
void |
setModelPluginClass(java.lang.String newModelPluginClass)
|
void |
setModelPluginID(java.lang.String newModelPluginID)
|
void |
setNonExternalizedStringTag(java.lang.String newNonExternalizedStringTag)
Sets the value of the ' Non Externalized String Tag ' attribute |
void |
setNonExternalizedStringTagGen(java.lang.String newNonExternalizedStringTag)
|
void |
setNonNLSMarkers(boolean newNonNLSMarkers)
Sets the value of the ' Non NLS Markers ' attribute |
void |
setNonNLSMarkersGen(boolean newNonNLSMarkers)
|
void |
setRedirection(java.lang.String newRedirection)
|
void |
setReflectiveDelegation(boolean newReflectiveDelegation)
|
void |
setRichClientPlatform(boolean newRichClientPlatform)
|
void |
setRootExtendsClass(java.lang.String newRootExtendsClass)
|
void |
setRootExtendsInterface(java.lang.String newRootExtendsInterface)
|
void |
setRootImplementsInterface(java.lang.String newRootImplementsInterface)
Sets the value of the ' Root Implements Interface ' attribute |
void |
setRootImplementsInterfaceGen(java.lang.String newRootImplementsInterface)
|
void |
setRuntimeCompatibility(boolean newRuntimeCompatibility)
|
void |
setRuntimeJar(boolean newRuntimeJar)
|
void |
setSuppressEMFTypes(boolean newSuppressEMFTypes)
|
void |
setTemplateDirectory(java.lang.String newTemplateDirectory)
|
void |
setTestsDirectory(java.lang.String newTestsDirectory)
|
void |
setTestSuiteClass(java.lang.String newTestSuiteClass)
|
void |
setUpdateClasspath(boolean newUpdateClasspath)
|
java.lang.String |
toString()
|
void |
unsetEditDirectory()
|
void |
unsetEditorDirectory()
|
void |
unsetEditorPluginClass()
|
void |
unsetEditPluginClass()
|
void |
unsetTestsDirectory()
|
void |
unsetTestSuiteClass()
|
IStatus |
validate()
|
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI |
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
eNotificationRequired, eNotify |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.codegen.ecore.genmodel.GenModel |
findGenPackage |
Methods inherited from interface org.eclipse.emf.codegen.ecore.genmodel.GenBase |
capName, format, getDocumentation, getGenModel, hasDocumentation, safeName, uncapName, uncapPrefixedName |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eIsProxy, eResource |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
eNotificationRequired |
Field Detail |
protected static final java.lang.String COPYRIGHT_TEXT_EDEFAULT
Copyright Text
' attribute.
getCopyrightText()
protected java.lang.String copyrightText
Copyright Text
' attribute.
getCopyrightText()
protected static final java.lang.String MODEL_DIRECTORY_EDEFAULT
Model Directory
' attribute.
getModelDirectory()
protected java.lang.String modelDirectory
Model Directory
' attribute.
getModelDirectory()
protected static final boolean CREATION_COMMANDS_EDEFAULT
Creation Commands
' attribute.
isCreationCommands()
,
Constant Field Valuesprotected boolean creationCommands
Creation Commands
' attribute.
isCreationCommands()
protected static final boolean CREATION_ICONS_EDEFAULT
Creation Icons
' attribute.
isCreationIcons()
,
Constant Field Valuesprotected boolean creationIcons
Creation Icons
' attribute.
isCreationIcons()
protected static final java.lang.String EDIT_DIRECTORY_EDEFAULT
Edit Directory
' attribute.
getEditDirectory()
protected java.lang.String editDirectory
Edit Directory
' attribute.
getEditDirectory()
protected boolean editDirectoryESet
protected static final java.lang.String EDITOR_DIRECTORY_EDEFAULT
Editor Directory
' attribute.
getEditorDirectory()
protected java.lang.String editorDirectory
Editor Directory
' attribute.
getEditorDirectory()
protected boolean editorDirectoryESet
protected static final java.lang.String MODEL_PLUGIN_ID_EDEFAULT
Model Plugin ID
' attribute.
getModelPluginID()
protected java.lang.String modelPluginID
Model Plugin ID
' attribute.
getModelPluginID()
protected static final java.lang.String TEMPLATE_DIRECTORY_EDEFAULT
Template Directory
' attribute.
getTemplateDirectory()
protected java.lang.String templateDirectory
Template Directory
' attribute.
getTemplateDirectory()
protected static final boolean RUNTIME_JAR_EDEFAULT
Runtime Jar
' attribute.
isRuntimeJar()
,
Constant Field Valuesprotected boolean runtimeJar
Runtime Jar
' attribute.
isRuntimeJar()
protected EList foreignModel
Foreign Model
' attribute list.
getForeignModel()
protected static final boolean DYNAMIC_TEMPLATES_EDEFAULT
Dynamic Templates
' attribute.
isDynamicTemplates()
,
Constant Field Valuesprotected boolean dynamicTemplates
Dynamic Templates
' attribute.
isDynamicTemplates()
protected static final java.lang.String REDIRECTION_EDEFAULT
Redirection
' attribute.
getRedirection()
protected java.lang.String redirection
Redirection
' attribute.
getRedirection()
protected static final boolean FORCE_OVERWRITE_EDEFAULT
Force Overwrite
' attribute.
isForceOverwrite()
,
Constant Field Valuesprotected boolean forceOverwrite
Force Overwrite
' attribute.
isForceOverwrite()
protected static final java.lang.String NON_EXTERNALIZED_STRING_TAG_EDEFAULT
Non Externalized String Tag
' attribute.
getNonExternalizedStringTag()
protected java.lang.String nonExternalizedStringTag
Non Externalized String Tag
' attribute.
getNonExternalizedStringTag()
protected static final java.lang.String MODEL_NAME_EDEFAULT
Model Name
' attribute.
getModelName()
protected java.lang.String modelName
Model Name
' attribute.
getModelName()
protected static final java.lang.String MODEL_PLUGIN_CLASS_EDEFAULT
Model Plugin Class
' attribute.
getModelPluginClass()
protected java.lang.String modelPluginClass
Model Plugin Class
' attribute.
getModelPluginClass()
protected static final java.lang.String EDIT_PLUGIN_CLASS_EDEFAULT
Edit Plugin Class
' attribute.
getEditPluginClass()
protected java.lang.String editPluginClass
Edit Plugin Class
' attribute.
getEditPluginClass()
protected boolean editPluginClassESet
protected static final java.lang.String EDITOR_PLUGIN_CLASS_EDEFAULT
Editor Plugin Class
' attribute.
getEditorPluginClass()
protected java.lang.String editorPluginClass
Editor Plugin Class
' attribute.
getEditorPluginClass()
protected boolean editorPluginClassESet
protected static final boolean UPDATE_CLASSPATH_EDEFAULT
Update Classpath
' attribute.
isUpdateClasspath()
,
Constant Field Valuesprotected boolean updateClasspath
Update Classpath
' attribute.
isUpdateClasspath()
protected static final boolean GENERATE_SCHEMA_EDEFAULT
Generate Schema
' attribute.
isGenerateSchema()
,
Constant Field Valuesprotected boolean generateSchema
Generate Schema
' attribute.
isGenerateSchema()
protected static final boolean NON_NLS_MARKERS_EDEFAULT
Non NLS Markers
' attribute.
isNonNLSMarkers()
,
Constant Field Valuesprotected boolean nonNLSMarkers
Non NLS Markers
' attribute.
isNonNLSMarkers()
protected EList staticPackages
Static Packages
' attribute list.
getStaticPackages()
protected EList modelPluginVariables
Model Plugin Variables
' attribute list.
getModelPluginVariables()
protected static final java.lang.String ROOT_EXTENDS_INTERFACE_EDEFAULT
Root Extends Interface
' attribute.
getRootExtendsInterface()
,
Constant Field Valuesprotected java.lang.String rootExtendsInterface
Root Extends Interface
' attribute.
getRootExtendsInterface()
protected static final java.lang.String ROOT_EXTENDS_CLASS_EDEFAULT
Root Extends Class
' attribute.
getRootExtendsClass()
,
Constant Field Valuesprotected java.lang.String rootExtendsClass
Root Extends Class
' attribute.
getRootExtendsClass()
protected static final java.lang.String ROOT_IMPLEMENTS_INTERFACE_EDEFAULT
Root Implements Interface
' attribute.
getRootImplementsInterface()
protected java.lang.String rootImplementsInterface
Root Implements Interface
' attribute.
getRootImplementsInterface()
protected static final boolean SUPPRESS_EMF_TYPES_EDEFAULT
Suppress EMF Types
' attribute.
isSuppressEMFTypes()
,
Constant Field Valuesprotected boolean suppressEMFTypes
Suppress EMF Types
' attribute.
isSuppressEMFTypes()
protected static final java.lang.String FEATURE_MAP_WRAPPER_INTERFACE_EDEFAULT
Feature Map Wrapper Interface
' attribute.
getFeatureMapWrapperInterface()
protected java.lang.String featureMapWrapperInterface
Feature Map Wrapper Interface
' attribute.
getFeatureMapWrapperInterface()
protected static final java.lang.String FEATURE_MAP_WRAPPER_INTERNAL_INTERFACE_EDEFAULT
Feature Map Wrapper Internal Interface
' attribute.
getFeatureMapWrapperInternalInterface()
protected java.lang.String featureMapWrapperInternalInterface
Feature Map Wrapper Internal Interface
' attribute.
getFeatureMapWrapperInternalInterface()
protected static final java.lang.String FEATURE_MAP_WRAPPER_CLASS_EDEFAULT
Feature Map Wrapper Class
' attribute.
getFeatureMapWrapperClass()
protected java.lang.String featureMapWrapperClass
Feature Map Wrapper Class
' attribute.
getFeatureMapWrapperClass()
protected static final boolean RUNTIME_COMPATIBILITY_EDEFAULT
Runtime Compatibility
' attribute.
isRuntimeCompatibility()
,
Constant Field Valuesprotected boolean runtimeCompatibility
Runtime Compatibility
' attribute.
isRuntimeCompatibility()
protected static final boolean RICH_CLIENT_PLATFORM_EDEFAULT
Rich Client Platform
' attribute.
isRichClientPlatform()
,
Constant Field Valuesprotected boolean richClientPlatform
Rich Client Platform
' attribute.
isRichClientPlatform()
protected static final boolean REFLECTIVE_DELEGATION_EDEFAULT
Reflective Delegation
' attribute.
isReflectiveDelegation()
,
Constant Field Valuesprotected boolean reflectiveDelegation
Reflective Delegation
' attribute.
isReflectiveDelegation()
protected static final boolean CODE_FORMATTING_EDEFAULT
Code Formatting
' attribute.
isCodeFormatting()
,
Constant Field Valuesprotected boolean codeFormatting
Code Formatting
' attribute.
isCodeFormatting()
protected static final java.lang.String TESTS_DIRECTORY_EDEFAULT
Tests Directory
' attribute.
getTestsDirectory()
protected java.lang.String testsDirectory
Tests Directory
' attribute.
getTestsDirectory()
protected boolean testsDirectoryESet
protected static final java.lang.String TEST_SUITE_CLASS_EDEFAULT
Test Suite Class
' attribute.
getTestSuiteClass()
protected java.lang.String testSuiteClass
Test Suite Class
' attribute.
getTestSuiteClass()
protected boolean testSuiteClassESet
protected static final java.lang.String BOOLEAN_FLAGS_FIELD_EDEFAULT
Boolean Flags Field
' attribute.
getBooleanFlagsField()
protected java.lang.String booleanFlagsField
Boolean Flags Field
' attribute.
getBooleanFlagsField()
protected static final int BOOLEAN_FLAGS_RESERVED_BITS_EDEFAULT
Boolean Flags Reserved Bits
' attribute.
getBooleanFlagsReservedBits()
,
Constant Field Valuesprotected int booleanFlagsReservedBits
Boolean Flags Reserved Bits
' attribute.
getBooleanFlagsReservedBits()
protected static final java.lang.String IMPORTER_ID_EDEFAULT
Importer ID
' attribute.
getImporterID()
protected java.lang.String importerID
Importer ID
' attribute.
getImporterID()
protected static final boolean BUNDLE_MANIFEST_EDEFAULT
Bundle Manifest
' attribute.
isBundleManifest()
,
Constant Field Valuesprotected boolean bundleManifest
Bundle Manifest
' attribute.
isBundleManifest()
protected EList genPackages
Gen Packages
' containment reference list.
getGenPackages()
protected EList staticGenPackages
protected EList usedGenPackages
Used Gen Packages
' reference list.
getUsedGenPackages()
protected ImportManager importManager
protected java.lang.StringBuffer importStringBuffer
protected int importInsertionPoint
protected boolean canGenerate
protected java.lang.String jControlModelName
protected java.lang.String interfaceTemplateName
protected java.lang.String classTemplateName
protected java.lang.String enumClassTemplateName
protected java.lang.String packageInterfaceTemplateName
protected java.lang.String packageClassTemplateName
protected java.lang.String factoryInterfaceTemplateName
protected java.lang.String factoryClassTemplateName
protected java.lang.String adapterFactoryClassTemplateName
protected java.lang.String switchClassTemplateName
protected java.lang.String validatorSwitchClassTemplateName
protected java.lang.String pluginXMLTemplateName
protected java.lang.String manifestMFTemplateName
protected java.lang.String pluginPropertiesTemplateName
protected java.lang.String buildPropertiesTemplateName
protected java.lang.String modelPluginTemplateName
protected java.lang.String resourceTemplateName
protected java.lang.String resourceFactoryTemplateName
protected java.lang.String[] templatePath
protected JControlModel jControlModel
protected JETEmitter interfaceEmitter
protected JETEmitter classEmitter
protected JETEmitter enumClassEmitter
protected JETEmitter packageInterfaceEmitter
protected JETEmitter packageClassEmitter
protected JETEmitter factoryInterfaceEmitter
protected JETEmitter factoryClassEmitter
protected JETEmitter adapterFactoryClassEmitter
protected JETEmitter switchClassEmitter
protected JETEmitter validatorSwitchClassEmitter
protected JETEmitter pluginXMLEmitter
protected JETEmitter manifestMFEmitter
protected JETEmitter pluginPropertiesEmitter
protected JETEmitter buildPropertiesEmitter
protected JETEmitter modelPluginClassEmitter
protected JETEmitter resourceClassEmitter
protected JETEmitter resourceFactoryClassEmitter
public static final java.lang.Class[] OBJECT_ARGUMENT
protected ExtendedMetaData extendedMetaData
protected java.lang.String itemProviderTemplateName
protected java.lang.String itemProviderAdapterFactoryTemplateName
protected java.lang.String editPluginTemplateName
protected java.lang.String editPluginXMLTemplateName
protected java.lang.String editManifestMFTemplateName
protected java.lang.String editPluginPropertiesTemplateName
protected java.lang.String editBuildPropertiesTemplateName
protected java.lang.String itemGIFName
protected java.lang.String createChildGIFName
protected java.lang.String editorTemplateName
protected java.lang.String actionBarContributorTemplateName
protected java.lang.String modelWizardTemplateName
protected java.lang.String advisorTemplateName
protected java.lang.String editorPluginTemplateName
protected java.lang.String editorPluginXMLTemplateName
protected java.lang.String editorManifestMFTemplateName
protected java.lang.String editorPluginPropertiesTemplateName
protected java.lang.String editorBuildPropertiesTemplateName
protected java.lang.String modelGIFName
protected java.lang.String modelWizardGIFName
protected JETEmitter itemProviderEmitter
protected JETEmitter itemProviderAdapterFactoryEmitter
protected JETEmitter editPluginClassEmitter
protected JETEmitter editPluginXMLEmitter
protected JETEmitter editManifestMFEmitter
protected JETEmitter editPluginPropertiesEmitter
protected JETEmitter editBuildPropertiesEmitter
protected GenBaseImpl.GIFEmitter itemGIFEmitter
protected GenBaseImpl.GIFEmitter createChildGIFEmitter
protected JETEmitter editorEmitter
protected JETEmitter actionBarContributorEmitter
protected JETEmitter modelWizardEmitter
protected JETEmitter advisorEmitter
protected JETEmitter editorPluginClassEmitter
protected JETEmitter editorManifestMFEmitter
protected JETEmitter editorPluginXMLEmitter
protected JETEmitter editorPluginPropertiesEmitter
protected JETEmitter editorBuildPropertiesEmitter
protected GenBaseImpl.GIFEmitter modelGIFEmitter
protected GenBaseImpl.GIFEmitter modelWizardGIFEmitter
protected java.lang.String testCaseTemplateName
protected java.lang.String modelTestSuiteTemplateName
protected java.lang.String packageTestSuiteTemplateName
protected java.lang.String packageExampleTemplateName
protected java.lang.String testsPluginXMLTemplateName
protected java.lang.String testsManifestMFTemplateName
protected java.lang.String testsPluginPropertiesTemplateName
protected java.lang.String testsBuildPropertiesTemplateName
protected JETEmitter testCaseEmitter
protected JETEmitter modelTestSuiteEmitter
protected JETEmitter packageTestSuiteEmitter
protected JETEmitter packageExampleEmitter
protected JETEmitter testsPluginXMLEmitter
protected JETEmitter testsManifestMFEmitter
protected JETEmitter testsPluginPropertiesEmitter
protected JETEmitter testsBuildPropertiesEmitter
protected GenClass rootImplementsInterfaceGenClass
protected java.util.Map codeFormatterOptions
Constructor Detail |
protected GenModelImpl()
Method Detail |
protected EClass eStaticClass()
eStaticClass
in class GenBaseImpl
public java.lang.String getCopyrightText()
getCopyrightText
in interface GenModel
GenModel.setCopyrightText(String)
,
GenModelPackage.getGenModel_CopyrightText()
public void setCopyrightText(java.lang.String newCopyrightText)
setCopyrightText
in interface GenModel
newCopyrightText
- the new value of the 'Copyright Text' attribute.GenModel.getCopyrightText()
protected java.lang.String getSourceFragmentPath()
public java.lang.String getModelDirectory()
getModelDirectory
in interface GenModel
GenModel.setModelDirectory(String)
,
GenModelPackage.getGenModel_ModelDirectory()
public java.lang.String getModelDirectoryGen()
public void setModelDirectory(java.lang.String newModelDirectory)
setModelDirectory
in interface GenModel
newModelDirectory
- the new value of the 'Model Directory' attribute.GenModel.getModelDirectory()
public boolean isCreationCommands()
isCreationCommands
in interface GenModel
GenModel.setCreationCommands(boolean)
,
GenModelPackage.getGenModel_CreationCommands()
public void setCreationCommands(boolean newCreationCommands)
setCreationCommands
in interface GenModel
newCreationCommands
- the new value of the 'Creation Commands' attribute.GenModel.isCreationCommands()
public boolean isCreationIcons()
isCreationIcons
in interface GenModel
GenModel.setCreationIcons(boolean)
,
GenModelPackage.getGenModel_CreationIcons()
public void setCreationIcons(boolean newCreationIcons)
setCreationIcons
in interface GenModel
newCreationIcons
- the new value of the 'Creation Icons' attribute.GenModel.isCreationIcons()
public void markImportLocation(java.lang.StringBuffer stringBuffer, GenPackage genPackage)
markImportLocation
in interface GenModel
public void markImportLocation(java.lang.StringBuffer stringBuffer)
markImportLocation
in interface GenModel
public void emitSortedImports()
emitSortedImports
in interface GenModel
public java.lang.String getImportedName(java.lang.String qualifiedName)
getImportedName
in interface GenModel
public void addImport(java.lang.String qualifiedName)
addImport
in interface GenModel
public void addPseudoImport(java.lang.String qualifiedName)
addPseudoImport
in interface GenModel
protected ImportManager getImportManager()
getImportManager
in class GenBaseImpl
protected void setImportManager(ImportManager importManager)
setImportManager
in class GenBaseImpl
public java.lang.String getDriverNumber()
getDriverNumber
in interface GenModel
public java.lang.String getDate()
getDate
in interface GenModel
public java.lang.String getNonNLS()
getNonNLS
in interface GenModel
public java.lang.String getNonNLS(int i)
getNonNLS
in interface GenModel
public java.lang.String getNonNLS(java.lang.String s)
getNonNLS
in interface GenModel
public java.lang.String getNonNLS(java.lang.String s, int i)
getNonNLS
in interface GenModel
public void initialize(java.util.Collection ePackages)
initialize
in interface GenModel
protected java.lang.String[] getTemplatePath()
public JControlModel getJControlModel()
getJControlModel
in interface GenModel
public void setMethod(JETEmitter jetEmitter, java.lang.String className)
protected JETEmitter createJETEmitter(java.lang.String relativeTemplateURI)
protected void addClasspathEntries(JETEmitter jetEmitter) throws JETException
JETException
public JETEmitter getInterfaceEmitter()
getInterfaceEmitter
in interface GenModel
public JETEmitter getClassEmitter()
getClassEmitter
in interface GenModel
public JETEmitter getEnumClassEmitter()
getEnumClassEmitter
in interface GenModel
public JETEmitter getFactoryInterfaceEmitter()
getFactoryInterfaceEmitter
in interface GenModel
public JETEmitter getFactoryClassEmitter()
getFactoryClassEmitter
in interface GenModel
public JETEmitter getPackageInterfaceEmitter()
getPackageInterfaceEmitter
in interface GenModel
public JETEmitter getPackageClassEmitter()
getPackageClassEmitter
in interface GenModel
public JETEmitter getAdapterFactoryClassEmitter()
getAdapterFactoryClassEmitter
in interface GenModel
public JETEmitter getSwitchClassEmitter()
getSwitchClassEmitter
in interface GenModel
public JETEmitter getValidatorClassEmitter()
getValidatorClassEmitter
in interface GenModel
public JETEmitter getPluginXMLEmitter()
getPluginXMLEmitter
in interface GenModel
public JETEmitter getManifestMFEmitter()
getManifestMFEmitter
in interface GenModel
public JETEmitter getPluginPropertiesEmitter()
public JETEmitter getBuildPropertiesEmitter()
getBuildPropertiesEmitter
in interface GenModel
public JETEmitter getModelPluginClassEmitter()
getModelPluginClassEmitter
in interface GenModel
public JETEmitter getResourceClassEmitter()
getResourceClassEmitter
in interface GenModel
public JETEmitter getResourceFactoryClassEmitter()
getResourceFactoryClassEmitter
in interface GenModel
protected boolean hasModelSupport()
public boolean canGenerate()
canGenerate
in interface GenBase
canGenerate
in class GenBaseImpl
public void setCanGenerate(boolean canGenerate)
setCanGenerate
in interface GenModel
public IStatus validate()
validate
in interface GenModel
public ExtendedMetaData getExtendedMetaData()
getExtendedMetaData
in interface GenModel
getExtendedMetaData
in class GenBaseImpl
protected void populateExtendedMetaData(java.util.List genPackages)
public boolean hasPluginSupport()
hasPluginSupport
in interface GenModel
public void generate(IProgressMonitor progressMonitor)
generate
in interface GenBase
generate
in class GenBaseImpl
public boolean hasEditSupport()
hasEditSupport
in interface GenModel
public boolean canGenerateEdit()
canGenerateEdit
in interface GenBase
canGenerateEdit
in class GenBaseImpl
public void generateEdit(IProgressMonitor progressMonitor)
generateEdit
in interface GenBase
generateEdit
in class GenBaseImpl
public boolean hasEditorSupport()
hasEditorSupport
in interface GenModel
public boolean canGenerateEditor()
canGenerateEditor
in interface GenBase
canGenerateEditor
in class GenBaseImpl
public void generateEditor(IProgressMonitor progressMonitor)
generateEditor
in interface GenBase
generateEditor
in class GenBaseImpl
public boolean canGenerateSchema()
canGenerateSchema
in interface GenBase
canGenerateSchema
in class GenBaseImpl
public void generateSchema(IProgressMonitor progressMonitor)
generateSchema
in interface GenBase
generateSchema
in class GenBaseImpl
public boolean hasTestSupport()
hasTestSupport
in interface GenModel
public boolean canGenerateTests()
canGenerateTests
in interface GenBase
canGenerateTests
in class GenBaseImpl
public void generateTests(IProgressMonitor progressMonitor)
generateTests
in interface GenBase
generateTests
in class GenBaseImpl
public JETEmitter getItemProviderEmitter()
getItemProviderEmitter
in interface GenModel
public JETEmitter getItemProviderAdapterFactoryEmitter()
getItemProviderAdapterFactoryEmitter
in interface GenModel
public JETEmitter getEditPluginClassEmitter()
getEditPluginClassEmitter
in interface GenModel
public JETEmitter getEditPluginXMLEmitter()
getEditPluginXMLEmitter
in interface GenModel
public JETEmitter getEditManifestMFEmitter()
getEditManifestMFEmitter
in interface GenModel
public JETEmitter getEditPluginPropertiesEmitter()
getEditPluginPropertiesEmitter
in interface GenModel
public JETEmitter getEditBuildPropertiesEmitter()
getEditBuildPropertiesEmitter
in interface GenModel
public GenBaseImpl.GIFEmitter getItemGIFEmitter()
public GenBaseImpl.GIFEmitter getCreateChildGIFEmitter()
public GenBaseImpl.GIFEmitter getModelGIFEmitter()
public GenBaseImpl.GIFEmitter getModelWizardGIFEmitter()
public JETEmitter getEditorEmitter()
getEditorEmitter
in interface GenModel
public JETEmitter getActionBarContributorEmitter()
getActionBarContributorEmitter
in interface GenModel
public JETEmitter getModelWizardEmitter()
getModelWizardEmitter
in interface GenModel
public JETEmitter getEditorAdvisorEmitter()
getEditorAdvisorEmitter
in interface GenModel
public JETEmitter getEditorPluginClassEmitter()
getEditorPluginClassEmitter
in interface GenModel
public JETEmitter getEditorPluginXMLEmitter()
getEditorPluginXMLEmitter
in interface GenModel
public JETEmitter getEditorManifestMFEmitter()
getEditorManifestMFEmitter
in interface GenModel
public JETEmitter getEditorPluginPropertiesEmitter()
getEditorPluginPropertiesEmitter
in interface GenModel
public JETEmitter getEditorBuildPropertiesEmitter()
getEditorBuildPropertiesEmitter
in interface GenModel
public JETEmitter getTestCaseEmitter()
getTestCaseEmitter
in interface GenModel
public JETEmitter getModelTestSuiteEmitter()
getModelTestSuiteEmitter
in interface GenModel
public JETEmitter getPackageTestSuiteEmitter()
getPackageTestSuiteEmitter
in interface GenModel
public JETEmitter getPackageExampleEmitter()
getPackageExampleEmitter
in interface GenModel
public JETEmitter getTestsPluginXMLEmitter()
getTestsPluginXMLEmitter
in interface GenModel
public JETEmitter getTestsManifestMFEmitter()
getTestsManifestMFEmitter
in interface GenModel
public JETEmitter getTestsPluginPropertiesEmitter()
getTestsPluginPropertiesEmitter
in interface GenModel
public JETEmitter getTestsBuildPropertiesEmitter()
getTestsBuildPropertiesEmitter
in interface GenModel
protected java.lang.String getPluginDirectory(boolean isSet, java.lang.String baseDirectory, java.lang.String suffix)
public java.lang.String getEditDirectory()
GenModel
When unset, this attribute takes a default value based on #getModelDirectory
.
getEditDirectory
in interface GenModel
GenModel.isSetEditDirectory()
,
GenModel.unsetEditDirectory()
,
GenModel.setEditDirectory(String)
,
GenModelPackage.getGenModel_EditDirectory()
public java.lang.String getEditDirectoryGen()
public void setEditDirectory(java.lang.String newEditDirectory)
setEditDirectory
in interface GenModel
newEditDirectory
- the new value of the 'Edit Directory' attribute.GenModel.isSetEditDirectory()
,
GenModel.unsetEditDirectory()
,
GenModel.getEditDirectory()
public void unsetEditDirectory()
unsetEditDirectory
in interface GenModel
GenModel.isSetEditDirectory()
,
GenModel.getEditDirectory()
,
GenModel.setEditDirectory(String)
public boolean isSetEditDirectory()
isSetEditDirectory
in interface GenModel
GenModel.unsetEditDirectory()
,
GenModel.getEditDirectory()
,
GenModel.setEditDirectory(String)
public java.lang.String getEditorDirectory()
GenModel
When unset, this attribute takes a default value based on #getModelDirectory
.
getEditorDirectory
in interface GenModel
GenModel.isSetEditorDirectory()
,
GenModel.unsetEditorDirectory()
,
GenModel.setEditorDirectory(String)
,
GenModelPackage.getGenModel_EditorDirectory()
public java.lang.String getEditorDirectoryGen()
public void setEditorDirectory(java.lang.String newEditorDirectory)
setEditorDirectory
in interface GenModel
newEditorDirectory
- the new value of the 'Editor Directory' attribute.GenModel.isSetEditorDirectory()
,
GenModel.unsetEditorDirectory()
,
GenModel.getEditorDirectory()
public void unsetEditorDirectory()
unsetEditorDirectory
in interface GenModel
GenModel.isSetEditorDirectory()
,
GenModel.getEditorDirectory()
,
GenModel.setEditorDirectory(String)
public boolean isSetEditorDirectory()
isSetEditorDirectory
in interface GenModel
GenModel.unsetEditorDirectory()
,
GenModel.getEditorDirectory()
,
GenModel.setEditorDirectory(String)
public java.lang.String getModelPluginID()
getModelPluginID
in interface GenModel
GenModel.setModelPluginID(String)
,
GenModelPackage.getGenModel_ModelPluginID()
public void setModelPluginID(java.lang.String newModelPluginID)
setModelPluginID
in interface GenModel
newModelPluginID
- the new value of the 'Model Plugin ID' attribute.GenModel.getModelPluginID()
public java.lang.String getTemplateDirectory()
getTemplateDirectory
in interface GenModel
GenModel.setTemplateDirectory(String)
,
GenModelPackage.getGenModel_TemplateDirectory()
public void setTemplateDirectory(java.lang.String newTemplateDirectory)
setTemplateDirectory
in interface GenModel
newTemplateDirectory
- the new value of the 'Template Directory' attribute.GenModel.getTemplateDirectory()
public boolean isRuntimeJar()
isRuntimeJar
in interface GenModel
GenModel.setRuntimeJar(boolean)
,
GenModelPackage.getGenModel_RuntimeJar()
public void setRuntimeJar(boolean newRuntimeJar)
setRuntimeJar
in interface GenModel
newRuntimeJar
- the new value of the 'Runtime Jar' attribute.GenModel.isRuntimeJar()
public EList getForeignModel()
getForeignModel
in interface GenModel
GenModelPackage.getGenModel_ForeignModel()
public boolean isDynamicTemplates()
isDynamicTemplates
in interface GenModel
GenModel.setDynamicTemplates(boolean)
,
GenModelPackage.getGenModel_DynamicTemplates()
public void setDynamicTemplates(boolean newDynamicTemplates)
setDynamicTemplates
in interface GenModel
newDynamicTemplates
- the new value of the 'Dynamic Templates' attribute.GenModel.isDynamicTemplates()
public java.lang.String getRedirection()
getRedirection
in interface GenModel
GenModel.setRedirection(String)
,
GenModelPackage.getGenModel_Redirection()
public void setRedirection(java.lang.String newRedirection)
setRedirection
in interface GenModel
newRedirection
- the new value of the 'Redirection' attribute.GenModel.getRedirection()
public boolean isForceOverwrite()
isForceOverwrite
in interface GenModel
GenModel.setForceOverwrite(boolean)
,
GenModelPackage.getGenModel_ForceOverwrite()
public void setForceOverwrite(boolean newForceOverwrite)
setForceOverwrite
in interface GenModel
newForceOverwrite
- the new value of the 'Force Overwrite' attribute.GenModel.isForceOverwrite()
public java.lang.String getNonExternalizedStringTag()
getNonExternalizedStringTag
in interface GenModel
GenModel.setNonExternalizedStringTag(String)
,
GenModelPackage.getGenModel_NonExternalizedStringTag()
public void setNonExternalizedStringTagGen(java.lang.String newNonExternalizedStringTag)
public void setNonExternalizedStringTag(java.lang.String newNonExternalizedStringTag)
GenModel
Non Externalized String Tag
' attribute.
This attribute has been replaced by nonNLSMarkers
. To automate the transition, this sets the attribute
null
, and calls setNonNLSMarkers(value != null)
.
setNonExternalizedStringTag
in interface GenModel
newNonExternalizedStringTag
- the new value of the 'Non Externalized String Tag' attribute.GenModel.getNonExternalizedStringTag()
public java.lang.String getName()
getName
in class GenBaseImpl
public java.lang.String getModelName()
getModelName
in interface GenModel
GenModel.setModelName(String)
,
GenModelPackage.getGenModel_ModelName()
public void setModelName(java.lang.String newModelName)
setModelName
in interface GenModel
newModelName
- the new value of the 'Model Name' attribute.GenModel.getModelName()
public java.lang.String getModelPluginClass()
getModelPluginClass
in interface GenModel
GenModel.setModelPluginClass(String)
,
GenModelPackage.getGenModel_ModelPluginClass()
protected java.lang.String getPluginClass(boolean isSet, java.lang.String baseName, java.lang.String packageSuffix, java.lang.String classSuffix)
public void setModelPluginClass(java.lang.String newModelPluginClass)
setModelPluginClass
in interface GenModel
newModelPluginClass
- the new value of the 'Model Plugin Class' attribute.GenModel.getModelPluginClass()
public java.lang.String getEditPluginClass()
GenModel
When unset, this attribute takes a default value based on #getModelName
,
and the first of the #getGenPackages
.
getEditPluginClass
in interface GenModel
GenModel.isSetEditPluginClass()
,
GenModel.unsetEditPluginClass()
,
GenModel.setEditPluginClass(String)
,
GenModelPackage.getGenModel_EditPluginClass()
public java.lang.String getEditPluginClassGen()
protected java.lang.String getModelProject()
protected java.lang.String getMainPackage()
protected GenPackage getMainGenPackage()
public void setEditPluginClass(java.lang.String newEditPluginClass)
setEditPluginClass
in interface GenModel
newEditPluginClass
- the new value of the 'Edit Plugin Class' attribute.GenModel.isSetEditPluginClass()
,
GenModel.unsetEditPluginClass()
,
GenModel.getEditPluginClass()
public void unsetEditPluginClass()
unsetEditPluginClass
in interface GenModel
GenModel.isSetEditPluginClass()
,
GenModel.getEditPluginClass()
,
GenModel.setEditPluginClass(String)
public boolean isSetEditPluginClass()
isSetEditPluginClass
in interface GenModel
GenModel.unsetEditPluginClass()
,
GenModel.getEditPluginClass()
,
GenModel.setEditPluginClass(String)
public java.lang.String getEditorPluginClass()
GenModel
When unset, this attribute takes a default value based on #getModelName
,
and the first of the #getGenPackages
.
getEditorPluginClass
in interface GenModel
GenModel.isSetEditorPluginClass()
,
GenModel.unsetEditorPluginClass()
,
GenModel.setEditorPluginClass(String)
,
GenModelPackage.getGenModel_EditorPluginClass()
public java.lang.String getEditorPluginClassGen()
public void setEditorPluginClass(java.lang.String newEditorPluginClass)
setEditorPluginClass
in interface GenModel
newEditorPluginClass
- the new value of the 'Editor Plugin Class' attribute.GenModel.isSetEditorPluginClass()
,
GenModel.unsetEditorPluginClass()
,
GenModel.getEditorPluginClass()
public void unsetEditorPluginClass()
unsetEditorPluginClass
in interface GenModel
GenModel.isSetEditorPluginClass()
,
GenModel.getEditorPluginClass()
,
GenModel.setEditorPluginClass(String)
public boolean isSetEditorPluginClass()
isSetEditorPluginClass
in interface GenModel
GenModel.unsetEditorPluginClass()
,
GenModel.getEditorPluginClass()
,
GenModel.setEditorPluginClass(String)
public boolean isUpdateClasspath()
isUpdateClasspath
in interface GenModel
GenModel.setUpdateClasspath(boolean)
,
GenModelPackage.getGenModel_UpdateClasspath()
public void setUpdateClasspath(boolean newUpdateClasspath)
setUpdateClasspath
in interface GenModel
newUpdateClasspath
- the new value of the 'Update Classpath' attribute.GenModel.isUpdateClasspath()
public boolean isGenerateSchema()
isGenerateSchema
in interface GenModel
GenModel.setGenerateSchema(boolean)
,
GenModelPackage.getGenModel_GenerateSchema()
public void setGenerateSchema(boolean newGenerateSchema)
setGenerateSchema
in interface GenModel
newGenerateSchema
- the new value of the 'Generate Schema' attribute.GenModel.isGenerateSchema()
public boolean isNonNLSMarkers()
isNonNLSMarkers
in interface GenModel
GenModel.setNonNLSMarkers(boolean)
,
GenModelPackage.getGenModel_NonNLSMarkers()
public void setNonNLSMarkersGen(boolean newNonNLSMarkers)
public void setNonNLSMarkers(boolean newNonNLSMarkers)
GenModel
Non NLS Markers
' attribute.
As a side effect, this method sets nonExternalizedStringTag
to null
.
setNonNLSMarkers
in interface GenModel
newNonNLSMarkers
- the new value of the 'Non NLS Markers' attribute.GenModel.isNonNLSMarkers()
public EList getStaticPackages()
getStaticPackages
in interface GenModel
GenModelPackage.getGenModel_StaticPackages()
public EList getModelPluginVariables()
getModelPluginVariables
in interface GenModel
GenModelPackage.getGenModel_ModelPluginVariables()
public java.lang.String getRootExtendsInterface()
getRootExtendsInterface
in interface GenModel
GenModel.setRootExtendsInterface(String)
,
GenModelPackage.getGenModel_RootExtendsInterface()
public void setRootExtendsInterface(java.lang.String newRootExtendsInterface)
setRootExtendsInterface
in interface GenModel
newRootExtendsInterface
- the new value of the 'Root Extends Interface' attribute.GenModel.getRootExtendsInterface()
public java.lang.String getRootExtendsClass()
getRootExtendsClass
in interface GenModel
GenModel.setRootExtendsClass(String)
,
GenModelPackage.getGenModel_RootExtendsClass()
public void setRootExtendsClass(java.lang.String newRootExtendsClass)
setRootExtendsClass
in interface GenModel
newRootExtendsClass
- the new value of the 'Root Extends Class' attribute.GenModel.getRootExtendsClass()
public java.lang.String getRootImplementsInterface()
getRootImplementsInterface
in interface GenModel
GenModel.setRootImplementsInterface(String)
,
GenModelPackage.getGenModel_RootImplementsInterface()
public GenClass getRootImplementsInterfaceGenClass()
getRootImplementsInterfaceGenClass
in interface GenModel
public void setRootImplementsInterfaceGen(java.lang.String newRootImplementsInterface)
public void setRootImplementsInterface(java.lang.String newRootImplementsInterface)
GenModel
Root Implements Interface
' attribute.
setRootImplementsInterface
in interface GenModel
newRootImplementsInterface
- the new value of the 'Root Implements Interface' attribute.GenModel.getRootImplementsInterface()
public java.util.List getEffectiveModelPluginVariables()
getEffectiveModelPluginVariables
in interface GenModel
public java.util.List getEffectiveModelPluginIDs()
public boolean isSuppressEMFTypes()
isSuppressEMFTypes
in interface GenModel
GenModel.setSuppressEMFTypes(boolean)
,
GenModelPackage.getGenModel_SuppressEMFTypes()
public void setSuppressEMFTypes(boolean newSuppressEMFTypes)
setSuppressEMFTypes
in interface GenModel
newSuppressEMFTypes
- the new value of the 'Suppress EMF Types' attribute.GenModel.isSuppressEMFTypes()
public java.lang.String getFeatureMapWrapperInterface()
getFeatureMapWrapperInterface
in interface GenModel
GenModel.setFeatureMapWrapperInterface(String)
,
GenModelPackage.getGenModel_FeatureMapWrapperInterface()
public void setFeatureMapWrapperInterface(java.lang.String newFeatureMapWrapperInterface)
setFeatureMapWrapperInterface
in interface GenModel
newFeatureMapWrapperInterface
- the new value of the 'Feature Map Wrapper Interface' attribute.GenModel.getFeatureMapWrapperInterface()
public java.lang.String getFeatureMapWrapperInternalInterface()
getFeatureMapWrapperInternalInterface
in interface GenModel
GenModel.setFeatureMapWrapperInternalInterface(String)
,
GenModelPackage.getGenModel_FeatureMapWrapperInternalInterface()
public void setFeatureMapWrapperInternalInterface(java.lang.String newFeatureMapWrapperInternalInterface)
setFeatureMapWrapperInternalInterface
in interface GenModel
newFeatureMapWrapperInternalInterface
- the new value of the 'Feature Map Wrapper Internal Interface' attribute.GenModel.getFeatureMapWrapperInternalInterface()
public java.lang.String getFeatureMapWrapperClass()
getFeatureMapWrapperClass
in interface GenModel
GenModel.setFeatureMapWrapperClass(String)
,
GenModelPackage.getGenModel_FeatureMapWrapperClass()
public void setFeatureMapWrapperClass(java.lang.String newFeatureMapWrapperClass)
setFeatureMapWrapperClass
in interface GenModel
newFeatureMapWrapperClass
- the new value of the 'Feature Map Wrapper Class' attribute.GenModel.getFeatureMapWrapperClass()
public boolean isRuntimeCompatibility()
isRuntimeCompatibility
in interface GenModel
GenModel.setRuntimeCompatibility(boolean)
,
GenModelPackage.getGenModel_RuntimeCompatibility()
public boolean needsRuntimeCompatibility()
needsRuntimeCompatibility
in interface GenModel
public void setRuntimeCompatibility(boolean newRuntimeCompatibility)
setRuntimeCompatibility
in interface GenModel
newRuntimeCompatibility
- the new value of the 'Runtime Compatibility' attribute.GenModel.isRuntimeCompatibility()
public boolean isRichClientPlatform()
isRichClientPlatform
in interface GenModel
GenModel.setRichClientPlatform(boolean)
,
GenModelPackage.getGenModel_RichClientPlatform()
public void setRichClientPlatform(boolean newRichClientPlatform)
setRichClientPlatform
in interface GenModel
newRichClientPlatform
- the new value of the 'Rich Client Platform' attribute.GenModel.isRichClientPlatform()
public boolean isReflectiveDelegation()
isReflectiveDelegation
in interface GenModel
GenModel.setReflectiveDelegation(boolean)
,
GenModelPackage.getGenModel_ReflectiveDelegation()
public void setReflectiveDelegation(boolean newReflectiveDelegation)
setReflectiveDelegation
in interface GenModel
newReflectiveDelegation
- the new value of the 'Reflective Delegation' attribute.GenModel.isReflectiveDelegation()
public boolean isCodeFormatting()
isCodeFormatting
in interface GenModel
GenModel.setCodeFormatting(boolean)
,
GenModelPackage.getGenModel_CodeFormatting()
public void setCodeFormatting(boolean newCodeFormatting)
setCodeFormatting
in interface GenModel
newCodeFormatting
- the new value of the 'Code Formatting' attribute.GenModel.isCodeFormatting()
public java.lang.String getTestsDirectory()
GenModel
By default, this attribute is set to null. When unset, it takes a default value based on #getModelDirectory
.
getTestsDirectory
in interface GenModel
GenModel.isSetTestsDirectory()
,
GenModel.unsetTestsDirectory()
,
GenModel.setTestsDirectory(String)
,
GenModelPackage.getGenModel_TestsDirectory()
public java.lang.String getTestsDirectoryGen()
public void setTestsDirectory(java.lang.String newTestsDirectory)
setTestsDirectory
in interface GenModel
newTestsDirectory
- the new value of the 'Tests Directory' attribute.GenModel.isSetTestsDirectory()
,
GenModel.unsetTestsDirectory()
,
GenModel.getTestsDirectory()
public void unsetTestsDirectory()
unsetTestsDirectory
in interface GenModel
GenModel.isSetTestsDirectory()
,
GenModel.getTestsDirectory()
,
GenModel.setTestsDirectory(String)
public boolean isSetTestsDirectory()
isSetTestsDirectory
in interface GenModel
GenModel.unsetTestsDirectory()
,
GenModel.getTestsDirectory()
,
GenModel.setTestsDirectory(String)
public java.lang.String getTestSuiteClass()
GenModel
When unset, this attribute takes a default value based on #getModelName
,
and the first of the #getGenPackages
.
getTestSuiteClass
in interface GenModel
GenModel.isSetTestSuiteClass()
,
GenModel.unsetTestSuiteClass()
,
GenModel.setTestSuiteClass(String)
,
GenModelPackage.getGenModel_TestSuiteClass()
public java.lang.String getTestSuiteClassGen()
public void setTestSuiteClass(java.lang.String newTestSuiteClass)
setTestSuiteClass
in interface GenModel
newTestSuiteClass
- the new value of the 'Test Suite Class' attribute.GenModel.isSetTestSuiteClass()
,
GenModel.unsetTestSuiteClass()
,
GenModel.getTestSuiteClass()
public void unsetTestSuiteClass()
unsetTestSuiteClass
in interface GenModel
GenModel.isSetTestSuiteClass()
,
GenModel.getTestSuiteClass()
,
GenModel.setTestSuiteClass(String)
public boolean isSetTestSuiteClass()
isSetTestSuiteClass
in interface GenModel
GenModel.unsetTestSuiteClass()
,
GenModel.getTestSuiteClass()
,
GenModel.setTestSuiteClass(String)
public java.lang.String getBooleanFlagsField()
getBooleanFlagsField
in interface GenModel
GenModel.setBooleanFlagsField(String)
,
GenModelPackage.getGenModel_BooleanFlagsField()
public void setBooleanFlagsField(java.lang.String newBooleanFlagsField)
setBooleanFlagsField
in interface GenModel
newBooleanFlagsField
- the new value of the 'Boolean Flags Field' attribute.GenModel.getBooleanFlagsField()
public int getBooleanFlagsReservedBits()
getBooleanFlagsReservedBits
in interface GenModel
GenModel.setBooleanFlagsReservedBits(int)
,
GenModelPackage.getGenModel_BooleanFlagsReservedBits()
public void setBooleanFlagsReservedBits(int newBooleanFlagsReservedBits)
setBooleanFlagsReservedBits
in interface GenModel
newBooleanFlagsReservedBits
- the new value of the 'Boolean Flags Reserved Bits' attribute.GenModel.getBooleanFlagsReservedBits()
public java.lang.String getImporterID()
getImporterID
in interface GenModel
GenModel.setImporterID(String)
,
GenModelPackage.getGenModel_ImporterID()
public void setImporterID(java.lang.String newImporterID)
setImporterID
in interface GenModel
newImporterID
- the new value of the 'Importer ID' attribute.GenModel.getImporterID()
public boolean isBundleManifest()
isBundleManifest
in interface GenModel
GenModel.setBundleManifest(boolean)
,
GenModelPackage.getGenModel_BundleManifest()
public void setBundleManifest(boolean newBundleManifest)
setBundleManifest
in interface GenModel
newBundleManifest
- the new value of the 'Bundle Manifest' attribute.GenModel.isBundleManifest()
public EList getGenPackages()
getGenPackages
in interface GenModel
GenModelPackage.getGenModel_GenPackages()
,
GenPackage.getGenModel()
public EList getStaticGenPackages()
getStaticGenPackages
in interface GenModel
public EList getUsedGenPackages()
getUsedGenPackages
in interface GenModel
GenModelPackage.getGenModel_UsedGenPackages()
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, java.lang.Class baseClass, NotificationChain msgs)
eInverseAdd
in interface InternalEObject
eInverseAdd
in class BasicEObjectImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, java.lang.Class baseClass, NotificationChain msgs)
eInverseRemove
in interface InternalEObject
eInverseRemove
in class BasicEObjectImpl
public java.lang.Object eGet(EStructuralFeature eFeature, boolean resolve)
eGet
in interface EObject
eGet
in class BasicEObjectImpl
public boolean eIsSet(EStructuralFeature eFeature)
eIsSet
in interface EObject
eIsSet
in class BasicEObjectImpl
public void eSet(EStructuralFeature eFeature, java.lang.Object newValue)
eSet
in interface EObject
eSet
in class BasicEObjectImpl
public void eUnset(EStructuralFeature eFeature)
eUnset
in interface EObject
eUnset
in class BasicEObjectImpl
public java.lang.String toString()
toString
in class BasicEObjectImpl
protected static java.lang.String getProjectPath(java.lang.String path)
public java.lang.String getModelProjectDirectory()
getModelProjectDirectory
in interface GenModel
public java.lang.String getEditProjectDirectory()
getEditProjectDirectory
in interface GenModel
public java.lang.String getEditorProjectDirectory()
getEditorProjectDirectory
in interface GenModel
public java.lang.String getTestsProjectDirectory()
getTestsProjectDirectory
in interface GenModel
public boolean sameModelEditProject()
sameModelEditProject
in interface GenModel
public boolean sameEditEditorProject()
sameEditEditorProject
in interface GenModel
public boolean sameModelEditorProject()
sameModelEditorProject
in interface GenModel
public boolean sameModelTestsProject()
sameModelTestsProject
in interface GenModel
public java.lang.String getEditIconsDirectory()
getEditIconsDirectory
in interface GenModel
public java.lang.String getEditorIconsDirectory()
getEditorIconsDirectory
in interface GenModel
public java.lang.String getEditPluginID()
getEditPluginID
in interface GenModel
public java.lang.String getEditorPluginID()
getEditorPluginID
in interface GenModel
public java.lang.String getTestsPluginID()
getTestsPluginID
in interface GenModel
public boolean hasModelPluginClass()
hasModelPluginClass
in interface GenModel
protected java.lang.String getModelPluginClassToUse()
protected java.lang.String getEditPluginClassToUse()
protected java.lang.String getEditPluginDirectory()
protected java.lang.String getEditorPluginClassToUse()
protected java.lang.String getEditorPluginDirectory()
protected java.lang.String getPluginClassName(java.lang.String baseName, java.lang.String defaultSuffix)
protected java.lang.String getPluginPackageName(java.lang.String baseName, java.lang.String pluginID)
protected java.lang.String createPackageName(java.lang.String text)
public java.lang.String getModelPluginPackageName()
getModelPluginPackageName
in interface GenModel
public java.lang.String getModelPluginClassName()
getModelPluginClassName
in interface GenModel
public java.lang.String getQualifiedModelPluginClassName()
getQualifiedModelPluginClassName
in interface GenModel
public java.lang.String getEditPluginPackageName()
getEditPluginPackageName
in interface GenModel
public java.lang.String getEditPluginClassName()
getEditPluginClassName
in interface GenModel
public java.lang.String getQualifiedEditPluginClassName()
getQualifiedEditPluginClassName
in interface GenModel
public java.lang.String getEditorPluginPackageName()
getEditorPluginPackageName
in interface GenModel
public java.lang.String getEditorPluginClassName()
getEditorPluginClassName
in interface GenModel
public java.lang.String getQualifiedEditorPluginClassName()
getQualifiedEditorPluginClassName
in interface GenModel
public java.lang.String getQualifiedEditorAdvisorClassName()
getQualifiedEditorAdvisorClassName
in interface GenModel
public java.lang.String getEditorAdvisorClassName()
getEditorAdvisorClassName
in interface GenModel
public java.lang.String getTestSuitePackageName()
getTestSuitePackageName
in interface GenModel
public java.lang.String getTestSuiteClassName()
getTestSuiteClassName
in interface GenModel
public java.lang.String getQualifiedTestSuiteClassName()
getQualifiedTestSuiteClassName
in interface GenModel
protected void getAllGenPackagesWithClassifiersHelper(java.util.List result, java.util.List genPackages)
public java.util.List getAllGenPackagesWithClassifiers()
getAllGenPackagesWithClassifiers
in interface GenModel
public java.util.List getAllUsedGenPackagesWithClassifiers()
getAllUsedGenPackagesWithClassifiers
in interface GenModel
public java.util.List getAllGenAndUsedGenPackagesWithClassifiers()
getAllGenAndUsedGenPackagesWithClassifiers
in interface GenModel
public java.util.List getAllGenUsedAndStaticGenPackagesWithClassifiers()
getAllGenUsedAndStaticGenPackagesWithClassifiers
in interface GenModel
public java.util.List getModelQualifiedPackageNames()
getModelQualifiedPackageNames
in interface GenModel
protected void addQualifiedModelPackageNames(java.util.List packageNames, GenPackage genPackage)
public java.util.List getModelRequiredPlugins()
getModelRequiredPlugins
in interface GenModel
public java.util.List getEditQualifiedPackageNames()
getEditQualifiedPackageNames
in interface GenModel
protected void addQualifiedEditPackageNames(java.util.List packageNames, GenPackage genPackage)
public java.util.List getEditRequiredPlugins()
getEditRequiredPlugins
in interface GenModel
public java.util.List getEditorQualifiedPackageNames()
getEditorQualifiedPackageNames
in interface GenModel
protected void addQualifiedEditorPackageNames(java.util.List packageNames, GenPackage genPackage)
public java.util.List getEditorRequiredPlugins()
getEditorRequiredPlugins
in interface GenModel
public java.util.List getTestsQualifiedPackageNames()
getTestsQualifiedPackageNames
in interface GenModel
protected void addQualifiedTestsPackageNames(java.util.List packageNames, GenPackage genPackage)
public java.util.List getTestsRequiredPlugins()
getTestsRequiredPlugins
in interface GenModel
public java.util.List getEditResourceDelegateImportedPluginClassNames()
getEditResourceDelegateImportedPluginClassNames
in interface GenModel
public boolean reconcile(GenModel oldGenModelVersion)
GenModel
reconcile
in interface GenModel
protected void reconcileSettings(GenModel oldGenModelVersion)
public boolean reconcile()
reconcile
in interface GenBase
public java.util.List computeMissingUsedGenPackages()
computeMissingUsedGenPackages
in interface GenModel
public java.util.List getMissingPackages()
getMissingPackages
in interface GenModel
protected void getMissingPackagesHelper(java.util.List ePackages, java.util.List genPackages)
public boolean hasXMLDependency()
hasXMLDependency
in interface GenModel
public java.lang.String getXMLEncodingChoices()
getXMLEncodingChoices
in interface GenModel
public java.lang.String getIndentation(java.lang.StringBuffer stringBuffer)
getIndentation
in interface GenModel
public EModelElement getEcoreModelElement()
getEcoreModelElement
in class GenBaseImpl
public java.util.List getAllGenFeatures()
getAllGenFeatures
in interface GenModel
public java.util.List getFilteredAllGenFeatures()
getFilteredAllGenFeatures
in interface GenModel
public void setCodeFormatterOptions(java.util.Map options)
GenModel
create
a new code formatter.
setCodeFormatterOptions
in interface GenModel
public org.eclipse.jdt.core.formatter.CodeFormatter createCodeFormatter()
GenModel
createCodeFormatter
in interface GenModel
public boolean isBooleanFlagsEnabled()
isBooleanFlagsEnabled
in interface GenModel
public GenModel createGenModel()
createGenModel
in interface GenModel
public GenPackage createGenPackage()
createGenPackage
in interface GenModel
public GenClass createGenClass()
createGenClass
in interface GenModel
public GenFeature createGenFeature()
createGenFeature
in interface GenModel
public GenEnum createGenEnum()
createGenEnum
in interface GenModel
public GenEnumLiteral createGenEnumLiteral()
createGenEnumLiteral
in interface GenModel
public GenDataType createGenDataType()
createGenDataType
in interface GenModel
public GenOperation createGenOperation()
createGenOperation
in interface GenModel
public GenParameter createGenParameter()
createGenParameter
in interface GenModel
public java.util.Set getPropertyCategories()
getPropertyCategories
in interface GenModel
public boolean hasLocalGenModel()
hasLocalGenModel
in interface GenModel
public java.lang.String getRelativeGenModelLocation()
getRelativeGenModelLocation
in interface GenModel
public java.lang.String getPropertyCategoryKey(java.lang.String category)
getPropertyCategoryKey
in interface GenModel
|
Copyright 2001-2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |