|
|||||||||
PREV CLASS SOURCE NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'GenModel'.
The following features are supported:
Copyright Text
Model Directory
Creation Commands
Edit Directory
Editor Directory
Model Plugin ID
Template Directory
Runtime Jar
Foreign Model
Dynamic Templates
Redirection
Force Overwrite
Non Externalized String Tag
Test Directory
Model Name
Model Plugin Class
Edit Plugin Class
Editor Plugin Class
Update Classpath
Generate Schema
Non NLS Markers
Gen Packages
Used Gen Packages
GenModelPackage.getGenModel()
Method Summary | |
void |
addImport(java.lang.String qualifiedName)
|
void |
emitSortedImports()
|
GenPackage |
findGenPackage(EPackage ePackage)
|
JETEmitter |
getActionBarContributorEmitter()
|
JETEmitter |
getAdapterFactoryClassEmitter()
|
java.util.List |
getAllGenAndUsedGenPackagesWithClassifiers()
|
java.util.List |
getAllGenPackagesWithClassifiers()
|
java.util.List |
getAllUsedGenPackagesWithClassifiers()
|
JETEmitter |
getClassEmitter()
|
java.lang.String |
getCopyrightText()
Returns the value of the 'Copyright Text' attribute. |
java.lang.String |
getDate()
|
java.lang.String |
getDriverNumber()
|
java.lang.String |
getEditDirectory()
Returns the value of the 'Edit Directory' attribute. |
java.lang.String |
getEditIconsDirectory()
|
java.lang.String |
getEditorDirectory()
Returns the value of the 'Editor Directory' attribute. |
JETEmitter |
getEditorEmitter()
|
java.lang.String |
getEditorIconsDirectory()
|
java.lang.String |
getEditorPluginClass()
Returns the value of the 'Editor Plugin Class' attribute. |
JETEmitter |
getEditorPluginClassEmitter()
|
java.lang.String |
getEditorPluginClassName()
|
java.lang.String |
getEditorPluginID()
|
java.lang.String |
getEditorPluginPackageName()
|
JETEmitter |
getEditorPluginPropertiesEmitter()
|
JETEmitter |
getEditorPluginXMLEmitter()
|
java.lang.String |
getEditorProjectDirectory()
|
java.util.List |
getEditorRequiredPlugins()
|
java.lang.String |
getEditPluginClass()
Returns the value of the 'Edit Plugin Class' attribute. |
JETEmitter |
getEditPluginClassEmitter()
|
java.lang.String |
getEditPluginClassName()
|
java.lang.String |
getEditPluginID()
|
java.lang.String |
getEditPluginPackageName()
|
JETEmitter |
getEditPluginPropertiesEmitter()
|
JETEmitter |
getEditPluginXMLEmitter()
|
java.lang.String |
getEditProjectDirectory()
|
java.util.List |
getEditRequiredPlugins()
|
java.util.List |
getEditResourceDelegateImportedPluginClassNames()
|
JETEmitter |
getEnumClassEmitter()
|
JETEmitter |
getFactoryClassEmitter()
|
JETEmitter |
getFactoryInterfaceEmitter()
|
EList |
getForeignModel()
Returns the value of the 'Foreign Model' attribute list. |
EList |
getGenPackages()
Returns the value of the 'Gen Packages' containment reference list. |
java.lang.String |
getImportedName(java.lang.String qualifiedName)
|
JETEmitter |
getInterfaceEmitter()
|
JETEmitter |
getItemProviderAdapterFactoryEmitter()
|
JETEmitter |
getItemProviderEmitter()
|
JControlModel |
getJControlModel()
|
java.util.List |
getMissingPackages()
|
java.lang.String |
getModelDirectory()
Returns the value of the 'Model Directory' attribute. |
java.lang.String |
getModelName()
Returns the value of the 'Model Name' attribute. |
java.lang.String |
getModelPluginClass()
Returns the value of the 'Model Plugin Class' attribute. |
JETEmitter |
getModelPluginClassEmitter()
|
java.lang.String |
getModelPluginClassName()
|
java.lang.String |
getModelPluginID()
Returns the value of the 'Model Plugin ID' attribute. |
java.lang.String |
getModelPluginPackageName()
|
java.lang.String |
getModelProjectDirectory()
|
java.util.List |
getModelRequiredPlugins()
|
JETEmitter |
getModelWizardEmitter()
|
java.lang.String |
getNonExternalizedStringTag()
Returns the value of the 'Non Externalized String Tag' attribute. |
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 |
getPackageInterfaceEmitter()
|
JETEmitter |
getPluginXMLEmitter()
|
java.lang.String |
getQualifiedEditorPluginClassName()
|
java.lang.String |
getQualifiedEditPluginClassName()
|
java.lang.String |
getQualifiedModelPluginClassName()
|
java.lang.String |
getRedirection()
Returns the value of the 'Redirection' attribute. |
JETEmitter |
getResourceClassEmitter()
|
JETEmitter |
getResourceFactoryClassEmitter()
|
JETEmitter |
getSwitchClassEmitter()
|
java.lang.String |
getTemplateDirectory()
Returns the value of the 'Template Directory' attribute. |
java.lang.String |
getTestDirectory()
Returns the value of the 'Test Directory' attribute. |
EList |
getUsedGenPackages()
Returns the value of the 'Used Gen Packages' reference list. |
boolean |
hasEditorSupport()
|
boolean |
hasEditSupport()
|
boolean |
hasModelPluginClass()
|
boolean |
hasXMLDependency()
|
void |
initialize(java.util.Collection ePackages)
|
boolean |
isCreationCommands()
Returns the value of the 'Creation Commands' attribute. |
boolean |
isDynamicTemplates()
Returns the value of the 'Dynamic Templates' attribute. |
boolean |
isForceOverwrite()
Returns the value of the 'Force Overwrite' attribute. |
boolean |
isGenerateSchema()
Returns the value of the 'Generate Schema' attribute. |
boolean |
isNonNLSMarkers()
Returns the value of the 'Non NLS Markers' attribute. |
boolean |
isRuntimeJar()
Returns the value of the 'Runtime Jar' attribute. |
boolean |
isUpdateClasspath()
Returns the value of the 'Update Classpath' attribute. |
void |
markImportLocation(java.lang.StringBuffer stringBuffer)
|
void |
markImportLocation(java.lang.StringBuffer stringBuffer,
GenPackage genPackage)
|
boolean |
reconcile(GenModel oldGenModelVersion)
Restore all the corresponding settings of the old version into this version. |
boolean |
sameEditEditorProject()
|
boolean |
sameModelEditorProject()
|
boolean |
sameModelEditProject()
|
void |
setCanGenerate(boolean canGenerate)
|
void |
setCopyrightText(java.lang.String value)
Sets the value of the ' Copyright Text ' attribute. |
void |
setCreationCommands(boolean value)
Sets the value of the ' Creation Commands ' attribute. |
void |
setDynamicTemplates(boolean value)
Sets the value of the ' Dynamic Templates ' attribute. |
void |
setEditDirectory(java.lang.String value)
Sets the value of the ' Edit Directory ' attribute. |
void |
setEditorDirectory(java.lang.String value)
Sets the value of the ' Editor Directory ' attribute. |
void |
setEditorPluginClass(java.lang.String value)
Sets the value of the ' Editor Plugin Class ' attribute. |
void |
setEditPluginClass(java.lang.String value)
Sets the value of the ' Edit Plugin Class ' attribute. |
void |
setForceOverwrite(boolean value)
Sets the value of the ' Force Overwrite ' attribute. |
void |
setGenerateSchema(boolean value)
Sets the value of the ' Generate Schema ' attribute. |
void |
setModelDirectory(java.lang.String value)
Sets the value of the ' Model Directory ' attribute. |
void |
setModelName(java.lang.String value)
Sets the value of the ' Model Name ' attribute. |
void |
setModelPluginClass(java.lang.String value)
Sets the value of the ' Model Plugin Class ' attribute. |
void |
setModelPluginID(java.lang.String value)
Sets the value of the ' Model Plugin ID ' attribute. |
void |
setNonExternalizedStringTag(java.lang.String value)
Sets the value of the ' Non Externalized String Tag ' attribute. |
void |
setNonNLSMarkers(boolean value)
Sets the value of the ' Non NLS Markers ' attribute. |
void |
setRedirection(java.lang.String value)
Sets the value of the ' Redirection ' attribute. |
void |
setRuntimeJar(boolean value)
Sets the value of the ' Runtime Jar ' attribute. |
void |
setTemplateDirectory(java.lang.String value)
Sets the value of the ' Template Directory ' attribute. |
void |
setTestDirectory(java.lang.String value)
Sets the value of the ' Test Directory ' attribute. |
void |
setUpdateClasspath(boolean value)
Sets the value of the ' Update Classpath ' attribute. |
org.eclipse.core.runtime.IStatus |
validate()
|
Methods inherited from interface org.eclipse.emf.codegen.ecore.genmodel.GenBase |
canGenerate, canGenerateEdit, canGenerateEditor, capName, ePackageGenModel, format, generate, generateEdit, generateEditor, getGenModel, reconcile, safeName, uncapName, uncapPrefixedName |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
Method Detail |
public java.lang.String getCopyrightText()
If the meaning of the 'Copyright Text' attribute isn't clear, there really should be more of a description here...
setCopyrightText(String)
,
GenModelPackage.getGenModel_CopyrightText()
public void setCopyrightText(java.lang.String value)
Copyright Text
' attribute.
value
- the new value of the 'Copyright Text' attribute.getCopyrightText()
public java.lang.String getModelDirectory()
If the meaning of the 'Model Directory' attribute isn't clear, there really should be more of a description here...
setModelDirectory(String)
,
GenModelPackage.getGenModel_ModelDirectory()
public void setModelDirectory(java.lang.String value)
Model Directory
' attribute.
value
- the new value of the 'Model Directory' attribute.getModelDirectory()
public boolean isCreationCommands()
"true"
.
setCreationCommands(boolean)
,
GenModelPackage.getGenModel_CreationCommands()
public void setCreationCommands(boolean value)
Creation Commands
' attribute.
value
- the new value of the 'Creation Commands' attribute.isCreationCommands()
public java.lang.String getEditDirectory()
If the meaning of the 'Edit Directory' attribute isn't clear, there really should be more of a description here...
setEditDirectory(String)
,
GenModelPackage.getGenModel_EditDirectory()
public void setEditDirectory(java.lang.String value)
Edit Directory
' attribute.
value
- the new value of the 'Edit Directory' attribute.getEditDirectory()
public java.lang.String getEditorDirectory()
If the meaning of the 'Editor Directory' attribute isn't clear, there really should be more of a description here...
setEditorDirectory(String)
,
GenModelPackage.getGenModel_EditorDirectory()
public void setEditorDirectory(java.lang.String value)
Editor Directory
' attribute.
value
- the new value of the 'Editor Directory' attribute.getEditorDirectory()
public java.lang.String getModelPluginID()
If the meaning of the 'Model Plugin ID' attribute isn't clear, there really should be more of a description here...
setModelPluginID(String)
,
GenModelPackage.getGenModel_ModelPluginID()
public void setModelPluginID(java.lang.String value)
Model Plugin ID
' attribute.
value
- the new value of the 'Model Plugin ID' attribute.getModelPluginID()
public java.lang.String getTemplateDirectory()
If the meaning of the 'Template Directory' attribute isn't clear, there really should be more of a description here...
setTemplateDirectory(String)
,
GenModelPackage.getGenModel_TemplateDirectory()
public void setTemplateDirectory(java.lang.String value)
Template Directory
' attribute.
value
- the new value of the 'Template Directory' attribute.getTemplateDirectory()
public boolean isRuntimeJar()
setRuntimeJar(boolean)
,
GenModelPackage.getGenModel_RuntimeJar()
public void setRuntimeJar(boolean value)
Runtime Jar
' attribute.
value
- the new value of the 'Runtime Jar' attribute.isRuntimeJar()
public EList getForeignModel()
String
.
If the meaning of the 'Foreign Model' attribute list isn't clear, there really should be more of a description here...
GenModelPackage.getGenModel_ForeignModel()
public boolean isDynamicTemplates()
setDynamicTemplates(boolean)
,
GenModelPackage.getGenModel_DynamicTemplates()
public void setDynamicTemplates(boolean value)
Dynamic Templates
' attribute.
value
- the new value of the 'Dynamic Templates' attribute.isDynamicTemplates()
public java.lang.String getRedirection()
If the meaning of the 'Redirection' attribute isn't clear, there really should be more of a description here...
setRedirection(String)
,
GenModelPackage.getGenModel_Redirection()
public void setRedirection(java.lang.String value)
Redirection
' attribute.
value
- the new value of the 'Redirection' attribute.getRedirection()
public boolean isForceOverwrite()
setForceOverwrite(boolean)
,
GenModelPackage.getGenModel_ForceOverwrite()
public void setForceOverwrite(boolean value)
Force Overwrite
' attribute.
value
- the new value of the 'Force Overwrite' attribute.isForceOverwrite()
public java.lang.String getNonExternalizedStringTag()
This attribute has been replaced by nonNLSMarkers
. Even after the attribute has been set to a non-null
value, this method will continue to return null
, though
isNonNLSMarkers()
will return true
.
setNonExternalizedStringTag(String)
,
GenModelPackage.getGenModel_NonExternalizedStringTag()
public void setNonExternalizedStringTag(java.lang.String value)
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)
.
value
- the new value of the 'Non Externalized String Tag' attribute.getNonExternalizedStringTag()
public java.lang.String getTestDirectory()
If the meaning of the 'Test Directory' attribute isn't clear, there really should be more of a description here...
setTestDirectory(String)
,
GenModelPackage.getGenModel_TestDirectory()
public void setTestDirectory(java.lang.String value)
Test Directory
' attribute.
value
- the new value of the 'Test Directory' attribute.getTestDirectory()
public java.lang.String getModelName()
If the meaning of the 'Model Name' attribute isn't clear, there really should be more of a description here...
setModelName(String)
,
GenModelPackage.getGenModel_ModelName()
public void setModelName(java.lang.String value)
Model Name
' attribute.
value
- the new value of the 'Model Name' attribute.getModelName()
public java.lang.String getModelPluginClass()
If the meaning of the 'Model Plugin Class' attribute isn't clear, there really should be more of a description here...
setModelPluginClass(String)
,
GenModelPackage.getGenModel_ModelPluginClass()
public void setModelPluginClass(java.lang.String value)
Model Plugin Class
' attribute.
value
- the new value of the 'Model Plugin Class' attribute.getModelPluginClass()
public java.lang.String getEditPluginClass()
If the meaning of the 'Edit Plugin Class' attribute isn't clear, there really should be more of a description here...
setEditPluginClass(String)
,
GenModelPackage.getGenModel_EditPluginClass()
public void setEditPluginClass(java.lang.String value)
Edit Plugin Class
' attribute.
value
- the new value of the 'Edit Plugin Class' attribute.getEditPluginClass()
public java.lang.String getEditorPluginClass()
If the meaning of the 'Editor Plugin Class' attribute isn't clear, there really should be more of a description here...
setEditorPluginClass(String)
,
GenModelPackage.getGenModel_EditorPluginClass()
public void setEditorPluginClass(java.lang.String value)
Editor Plugin Class
' attribute.
value
- the new value of the 'Editor Plugin Class' attribute.getEditorPluginClass()
public boolean isUpdateClasspath()
"true"
.
If the meaning of the 'Update Classpath' attribute isn't clear, there really should be more of a description here...
setUpdateClasspath(boolean)
,
GenModelPackage.getGenModel_UpdateClasspath()
public void setUpdateClasspath(boolean value)
Update Classpath
' attribute.
value
- the new value of the 'Update Classpath' attribute.isUpdateClasspath()
public boolean isGenerateSchema()
If the meaning of the 'Generate Schema' attribute isn't clear, there really should be more of a description here...
setGenerateSchema(boolean)
,
GenModelPackage.getGenModel_GenerateSchema()
public void setGenerateSchema(boolean value)
Generate Schema
' attribute.
value
- the new value of the 'Generate Schema' attribute.isGenerateSchema()
public boolean isNonNLSMarkers()
"false"
.
setNonNLSMarkers(boolean)
,
GenModelPackage.getGenModel_NonNLSMarkers()
public void setNonNLSMarkers(boolean value)
Non NLS Markers
' attribute.
As a side effect, this method sets nonExternalizedStringTag
to null
.
value
- the new value of the 'Non NLS Markers' attribute.isNonNLSMarkers()
public EList getGenPackages()
GenPackage
.
It is bidirectional and its opposite is 'Gen Model
'.
If the meaning of the 'Gen Packages' reference list isn't clear, there really should be more of a description here...
GenModelPackage.getGenModel_GenPackages()
,
GenPackage.getGenModel()
public EList getUsedGenPackages()
GenPackage
.
If the meaning of the 'Used Gen Packages' reference list isn't clear, there really should be more of a description here...
GenModelPackage.getGenModel_UsedGenPackages()
public void initialize(java.util.Collection ePackages)
public java.lang.String getDriverNumber()
public java.lang.String getDate()
public java.lang.String getNonNLS()
public java.lang.String getNonNLS(int i)
public java.lang.String getNonNLS(java.lang.String s)
public java.lang.String getNonNLS(java.lang.String s, int i)
public void markImportLocation(java.lang.StringBuffer stringBuffer)
public void markImportLocation(java.lang.StringBuffer stringBuffer, GenPackage genPackage)
public void emitSortedImports()
public java.lang.String getImportedName(java.lang.String qualifiedName)
public void addImport(java.lang.String qualifiedName)
public JControlModel getJControlModel()
public JETEmitter getInterfaceEmitter()
public JETEmitter getClassEmitter()
public JETEmitter getEnumClassEmitter()
public JETEmitter getFactoryInterfaceEmitter()
public JETEmitter getFactoryClassEmitter()
public JETEmitter getPackageInterfaceEmitter()
public JETEmitter getPackageClassEmitter()
public JETEmitter getAdapterFactoryClassEmitter()
public JETEmitter getSwitchClassEmitter()
public JETEmitter getPluginXMLEmitter()
public JETEmitter getModelPluginClassEmitter()
public JETEmitter getResourceClassEmitter()
public JETEmitter getResourceFactoryClassEmitter()
public boolean hasEditSupport()
public JETEmitter getItemProviderEmitter()
public JETEmitter getItemProviderAdapterFactoryEmitter()
public JETEmitter getEditPluginClassEmitter()
public JETEmitter getEditPluginXMLEmitter()
public JETEmitter getEditPluginPropertiesEmitter()
public boolean hasEditorSupport()
public JETEmitter getEditorEmitter()
public JETEmitter getActionBarContributorEmitter()
public JETEmitter getModelWizardEmitter()
public JETEmitter getEditorPluginClassEmitter()
public JETEmitter getEditorPluginXMLEmitter()
public JETEmitter getEditorPluginPropertiesEmitter()
public java.lang.String getModelProjectDirectory()
public java.lang.String getEditProjectDirectory()
public java.lang.String getEditorProjectDirectory()
public boolean sameModelEditProject()
public boolean sameEditEditorProject()
public boolean sameModelEditorProject()
public java.lang.String getEditIconsDirectory()
public java.lang.String getEditorIconsDirectory()
public void setCanGenerate(boolean canGenerate)
public GenPackage findGenPackage(EPackage ePackage)
public java.util.List getAllGenPackagesWithClassifiers()
public java.util.List getAllUsedGenPackagesWithClassifiers()
public java.util.List getAllGenAndUsedGenPackagesWithClassifiers()
public boolean hasModelPluginClass()
public java.lang.String getModelPluginClassName()
public java.lang.String getModelPluginPackageName()
public java.lang.String getQualifiedModelPluginClassName()
public java.lang.String getEditPluginClassName()
public java.lang.String getEditPluginPackageName()
public java.lang.String getQualifiedEditPluginClassName()
public java.lang.String getEditorPluginClassName()
public java.lang.String getEditorPluginPackageName()
public java.lang.String getQualifiedEditorPluginClassName()
public java.lang.String getEditPluginID()
public java.lang.String getEditorPluginID()
public java.util.List getModelRequiredPlugins()
public java.util.List getEditRequiredPlugins()
public java.util.List getEditorRequiredPlugins()
public java.util.List getEditResourceDelegateImportedPluginClassNames()
public boolean reconcile(GenModel oldGenModelVersion)
public java.util.List getMissingPackages()
public boolean hasXMLDependency()
public org.eclipse.core.runtime.IStatus validate()
|
Copyright 2001-2002 IBM Corporation and others. All Rights Reserved. |
||||||||
PREV CLASS SOURCE NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |