diff -r 000000000000 -r fb279309251b uidesigner/com.nokia.sdt.component.symbian/src/com/nokia/sdt/emf/component/InlineType.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/uidesigner/com.nokia.sdt.component.symbian/src/com/nokia/sdt/emf/component/InlineType.java Fri Apr 03 23:33:03 2009 +0100 @@ -0,0 +1,130 @@ +/** + * + * + * + * $Id$ + */ +package com.nokia.sdt.emf.component; + + +/** + * + * A representation of the model object 'Inline Type'. + * + * + *

+ * The following features are supported: + *

+ *

+ * + * @see com.nokia.sdt.emf.component.ComponentPackage#getInlineType() + * @model extendedMetaData="name='inline_._type' kind='simple'" + * @generated + */ +public interface InlineType extends ConditionalSourceGenString{ + /** + * Returns the value of the 'Id' attribute. + * + * + * + * + * Added post 1.1: the identifier for the inline section, + * which makes it inheritable. Inline sections are inherited as templates, + * accessible with "useTemplate" of the same id. + * If unspecified, a default id is assigned. Use a blank id to avoid inheriting. + * + * + * @return the value of the 'Id' attribute. + * @see #setId(String) + * @see com.nokia.sdt.emf.component.ComponentPackage#getInlineType_Id() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="kind='attribute' name='id'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link com.nokia.sdt.emf.component.InlineType#getId Id}' attribute. + * + * + * @param value the new value of the 'Id' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + + /** + * Returns the value of the 'Scope' attribute. + * The default value is "function". + * + *

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

+ * + * + * + * Tells where the inline code appears. By default, it appears + * in the primary function into which templates are generated, thus is + * executed in line with them. + * + * Specifying "file" or "prototype" means the content is intended to modify the + * Javascript prototype, thus it is placed at the top level of the file. + * ${jsObject}.prototype may be used to access the prototype. + * + * Note: include() and includeFrom() calls should be placed in the prototype scope, + * or their contents will not be visible to derived components. + * + * Added post 1.1: "file" is a synonym for "prototype". + * + * + * @return the value of the 'Scope' attribute. + * @see #isSetScope() + * @see #unsetScope() + * @see #setScope(String) + * @see com.nokia.sdt.emf.component.ComponentPackage#getInlineType_Scope() + * @model default="function" unique="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="kind='attribute' name='scope'" + * @generated + */ + String getScope(); + + /** + * Sets the value of the '{@link com.nokia.sdt.emf.component.InlineType#getScope Scope}' attribute. + * + * + * @param value the new value of the 'Scope' attribute. + * @see #isSetScope() + * @see #unsetScope() + * @see #getScope() + * @generated + */ + void setScope(String value); + + /** + * Unsets the value of the '{@link com.nokia.sdt.emf.component.InlineType#getScope Scope}' attribute. + * + * + * @see #isSetScope() + * @see #getScope() + * @see #setScope(String) + * @generated + */ + void unsetScope(); + + /** + * Returns whether the value of the '{@link com.nokia.sdt.emf.component.InlineType#getScope Scope}' attribute is set. + * + * + * @return whether the value of the 'Scope' attribute is set. + * @see #unsetScope() + * @see #getScope() + * @see #setScope(String) + * @generated + */ + boolean isSetScope(); + +} // InlineType