Generators

org.topcased.modeler.editorconfigurator
Interface EditorConfiguration

All Superinterfaces:
EObject, Notifier

public interface EditorConfiguration
extends EObject

A representation of the model object 'Editor Configuration'.

The following features are supported:

See Also:
EditorconfiguratorPackage.getEditorConfiguration()
** Generated **
Model:
annotation="http://www.topcased.org/documentation documentation='This is the root model object.'"

Field Summary
static java.lang.String copyright
           
 
Method Summary
 EList<EditorAction> getActions()
          Returns the value of the 'Actions' containment reference list.
 java.lang.String getCopyrightText()
          Returns the value of the 'Copyright Text' attribute.
 java.lang.String getEditorId()
          Retrieve the EditorID from the projectName and the prefix.
 java.lang.String getExtension()
          Return the extension to use for the model file in the editor
 java.lang.String getExtensionDiagram()
          Return the extension to use for the diagram file in the editor
 GenModel getGenModel()
          Returns the value of the 'Gen Model' reference.
 java.lang.String getJavaCopyrightText()
          Return the copyright as the Java format.
 java.lang.String getName()
          Returns the value of the 'Name' attribute.
 java.lang.String getPluginVersion()
          Returns the value of the 'Plugin Version' attribute.
 java.lang.String getPrefix()
          Return the Prefix to use for the generated classes
 java.lang.String getProjectName()
          Returns the value of the 'Project Name' attribute.
 java.lang.String getProvider()
          Returns the value of the 'Provider' attribute.
 boolean isForceOverwrite()
          Returns the value of the 'Force Overwrite' attribute.
 boolean isOrganizeImports()
          Returns the value of the 'Organize Imports' attribute.
 void setCopyrightText(java.lang.String value)
          Sets the value of the 'Copyright Text' attribute.
 void setForceOverwrite(boolean value)
          Sets the value of the 'Force Overwrite' attribute.
 void setGenModel(GenModel value)
          Sets the value of the 'Gen Model' reference.
 void setName(java.lang.String value)
          Sets the value of the 'Name' attribute.
 void setOrganizeImports(boolean value)
          Sets the value of the 'Organize Imports' attribute.
 void setPluginVersion(java.lang.String value)
          Sets the value of the 'Plugin Version' attribute.
 void setProjectName(java.lang.String value)
          Sets the value of the 'Project Name' attribute.
 void setProvider(java.lang.String value)
          Sets the value of the 'Provider' attribute.
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Field Detail

copyright

static final java.lang.String copyright

See Also:
Constant Field Values
** Generated **
Method Detail

getName

java.lang.String getName()
Returns the value of the 'Name' attribute.

If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Name' attribute.
See Also:
setName(String), EditorconfiguratorPackage.getEditorConfiguration_Name()
** Generated **
Model:
required="true"

setName

void setName(java.lang.String value)
Sets the value of the 'Name' attribute.

Parameters:
value - the new value of the 'Name' attribute.
See Also:
getName()
** Generated **

getProjectName

java.lang.String getProjectName()
Returns the value of the 'Project Name' attribute.

If the meaning of the 'Project Name' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Project Name' attribute.
See Also:
setProjectName(String), EditorconfiguratorPackage.getEditorConfiguration_ProjectName()
** Generated **
Model:
required="true"

setProjectName

void setProjectName(java.lang.String value)
Sets the value of the 'Project Name' attribute.

Parameters:
value - the new value of the 'Project Name' attribute.
See Also:
getProjectName()
** Generated **

getGenModel

GenModel getGenModel()
Returns the value of the 'Gen Model' reference.

If the meaning of the 'Gen Model' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Gen Model' reference.
See Also:
setGenModel(GenModel), EditorconfiguratorPackage.getEditorConfiguration_GenModel()
** Generated **
Model:
required="true"

setGenModel

void setGenModel(GenModel value)
Sets the value of the 'Gen Model' reference.

Parameters:
value - the new value of the 'Gen Model' reference.
See Also:
getGenModel()
** Generated **

getPluginVersion

java.lang.String getPluginVersion()
Returns the value of the 'Plugin Version' attribute.

If the meaning of the 'Plugin Version' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Plugin Version' attribute.
See Also:
setPluginVersion(String), EditorconfiguratorPackage.getEditorConfiguration_PluginVersion()
** Generated **
Model:
required="true"

setPluginVersion

void setPluginVersion(java.lang.String value)
Sets the value of the 'Plugin Version' attribute.

Parameters:
value - the new value of the 'Plugin Version' attribute.
See Also:
getPluginVersion()
** Generated **

getProvider

java.lang.String getProvider()
Returns the value of the 'Provider' attribute. The default value is "Topcased".

If the meaning of the 'Provider' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Provider' attribute.
See Also:
setProvider(String), EditorconfiguratorPackage.getEditorConfiguration_Provider()
** Generated **
Model:
default="Topcased" required="true"

setProvider

void setProvider(java.lang.String value)
Sets the value of the 'Provider' attribute.

Parameters:
value - the new value of the 'Provider' attribute.
See Also:
getProvider()
** Generated **

isForceOverwrite

boolean isForceOverwrite()
Returns the value of the 'Force Overwrite' attribute. The default value is "false".

If the meaning of the 'Force Overwrite' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Force Overwrite' attribute.
See Also:
setForceOverwrite(boolean), EditorconfiguratorPackage.getEditorConfiguration_ForceOverwrite()
** Generated **
Model:
default="false" required="true"

setForceOverwrite

void setForceOverwrite(boolean value)
Sets the value of the 'Force Overwrite' attribute.

Parameters:
value - the new value of the 'Force Overwrite' attribute.
See Also:
isForceOverwrite()
** Generated **

isOrganizeImports

boolean isOrganizeImports()
Returns the value of the 'Organize Imports' attribute. The default value is "true".

If the meaning of the 'Organize Imports' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Organize Imports' attribute.
See Also:
setOrganizeImports(boolean), EditorconfiguratorPackage.getEditorConfiguration_OrganizeImports()
** Generated **
Model:
default="true" required="true"

setOrganizeImports

void setOrganizeImports(boolean value)
Sets the value of the 'Organize Imports' attribute.

Parameters:
value - the new value of the 'Organize Imports' attribute.
See Also:
isOrganizeImports()
** Generated **

getCopyrightText

java.lang.String getCopyrightText()
Returns the value of the 'Copyright Text' attribute.

If the meaning of the 'Copyright Text' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Copyright Text' attribute.
See Also:
setCopyrightText(String), EditorconfiguratorPackage.getEditorConfiguration_CopyrightText()
** Generated **
Model:

getJavaCopyrightText

java.lang.String getJavaCopyrightText()
Return the copyright as the Java format. The corresponding * characters are added.

Returns:
String the copyright that could be directly added in a java file

setCopyrightText

void setCopyrightText(java.lang.String value)
Sets the value of the 'Copyright Text' attribute.

Parameters:
value - the new value of the 'Copyright Text' attribute.
See Also:
getCopyrightText()
** Generated **

getActions

EList<EditorAction> getActions()
Returns the value of the 'Actions' containment reference list. The list contents are of type EditorAction.

If the meaning of the 'Actions' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Actions' containment reference list.
See Also:
EditorconfiguratorPackage.getEditorConfiguration_Actions()
** Generated **
Model:
type="org.topcased.modeler.editorconfigurator.EditorAction" containment="true"

getPrefix

java.lang.String getPrefix()
Return the Prefix to use for the generated classes

Returns:
String the prefix

getExtension

java.lang.String getExtension()
Return the extension to use for the model file in the editor

Returns:
String the extension of the model file

getExtensionDiagram

java.lang.String getExtensionDiagram()
Return the extension to use for the diagram file in the editor

Returns:
String the extension of the diagram file

getEditorId

java.lang.String getEditorId()
Retrieve the EditorID from the projectName and the prefix.

Returns:
String the editorID

Generators

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.