uidesigner/com.nokia.sdt.series60.componentlibrary/components/controls/CCoeControlBase.component
author fturovic <frank.turovich@nokia.com>
Tue, 14 Apr 2009 16:37:54 -0500
changeset 95 b7a53cc14f34
parent 2 d760517a8095
permissions -rw-r--r--
fixed broken closing tags
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
cawthron
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
cawthron
parents:
diff changeset
     2
<!-- Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). -->
cawthron
parents:
diff changeset
     3
<!-- All rights reserved. -->
cawthron
parents:
diff changeset
     4
<!-- This component and the accompanying materials are made available -->
cawthron
parents:
diff changeset
     5
<!-- under the terms of the License "Eclipse Public License v1.0" -->
cawthron
parents:
diff changeset
     6
<!-- which accompanies this distribution, and is available -->
cawthron
parents:
diff changeset
     7
<!-- at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
cawthron
parents:
diff changeset
     8
cawthron
parents:
diff changeset
     9
<componentDefinition xmlns="http://www.nokia.com/sdt/emf/component" 
cawthron
parents:
diff changeset
    10
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
cawthron
parents:
diff changeset
    11
cawthron
parents:
diff changeset
    12
	<!-- This component is the abstract base component for
cawthron
parents:
diff changeset
    13
	     all Series 60 control components
cawthron
parents:
diff changeset
    14
	 -->
cawthron
parents:
diff changeset
    15
cawthron
parents:
diff changeset
    16
	<component 
cawthron
parents:
diff changeset
    17
			qualifiedName="com.nokia.sdt.series60.CCoeControlBase" 
cawthron
parents:
diff changeset
    18
			baseComponent="com.nokia.sdt.series60.ControlBase"
cawthron
parents:
diff changeset
    19
			abstract="true"
cawthron
parents:
diff changeset
    20
			version="1.0">
cawthron
parents:
diff changeset
    21
		<symbian sdkName="com.nokia.series60" minSDKVersion="2.0"/>
cawthron
parents:
diff changeset
    22
		<attributes>
cawthron
parents:
diff changeset
    23
			<!-- redefine in actual control as name of C++ class to instantiate -->
cawthron
parents:
diff changeset
    24
			<attribute key="cpp-class-name">CBase</attribute>
cawthron
parents:
diff changeset
    25
		</attributes>
cawthron
parents:
diff changeset
    26
		<events defaultEventName="stateChanged">
cawthron
parents:
diff changeset
    27
		<!-- MCoeControlObserver events -->
cawthron
parents:
diff changeset
    28
		<event name="prepareFocusTransition" category="Control" 
cawthron
parents:
diff changeset
    29
				group="CCoeControl"
cawthron
parents:
diff changeset
    30
			    handlerNameTemplate="Handle{title(name)}PrepareFocusTransitionL"
cawthron
parents:
diff changeset
    31
			    descriptionKey="prepareFocusTransitionDescription"
cawthron
parents:
diff changeset
    32
			/>
cawthron
parents:
diff changeset
    33
		<event name="stateChanged" category="Control" 
cawthron
parents:
diff changeset
    34
				group="CCoeControl"
cawthron
parents:
diff changeset
    35
			    handlerNameTemplate="Handle{title(name)}StateChangedL"
cawthron
parents:
diff changeset
    36
			    descriptionKey="stateChangedDescription"
cawthron
parents:
diff changeset
    37
			/>
cawthron
parents:
diff changeset
    38
		<event name="requestingExit" category="Control" 
cawthron
parents:
diff changeset
    39
				group="CCoeControl"
cawthron
parents:
diff changeset
    40
			    handlerNameTemplate="Handle{title(name)}RequestingExitL"
cawthron
parents:
diff changeset
    41
			    descriptionKey="requestingExitDescription"
cawthron
parents:
diff changeset
    42
			/>
cawthron
parents:
diff changeset
    43
		<event name="requestingCancel" category="Control" 
cawthron
parents:
diff changeset
    44
				group="CCoeControl"
cawthron
parents:
diff changeset
    45
			    handlerNameTemplate="Handle{title(name)}RequestingCancelL"
cawthron
parents:
diff changeset
    46
			    descriptionKey="requestingCancelDescription"
cawthron
parents:
diff changeset
    47
			/>
cawthron
parents:
diff changeset
    48
		<event name="requestingFocus" category="Control" 
cawthron
parents:
diff changeset
    49
				group="CCoeControl"
cawthron
parents:
diff changeset
    50
			    handlerNameTemplate="Handle{title(name)}RequestingFocusL"
cawthron
parents:
diff changeset
    51
			    descriptionKey="requestingFocusDescription"
cawthron
parents:
diff changeset
    52
			/>
cawthron
parents:
diff changeset
    53
		<event name="interactionRefused" category="Control" 
cawthron
parents:
diff changeset
    54
				group="CCoeControl"
cawthron
parents:
diff changeset
    55
			    handlerNameTemplate="Handle{title(name)}InteractionRefusedL"
cawthron
parents:
diff changeset
    56
			    descriptionKey="interactionRefusedDescription"
cawthron
parents:
diff changeset
    57
			/>
cawthron
parents:
diff changeset
    58
cawthron
parents:
diff changeset
    59
		<event name="editingStarted" category="Setting Item"
cawthron
parents:
diff changeset
    60
				group="SettingsList"
cawthron
parents:
diff changeset
    61
		 	   handlerNameTemplate="Handle{title(name)}EditingStartedL" 
cawthron
parents:
diff changeset
    62
			    descriptionKey="editingStartedDescription"
cawthron
parents:
diff changeset
    63
		    />
cawthron
parents:
diff changeset
    64
		<event name="editingStopped"  category="Setting Item"
cawthron
parents:
diff changeset
    65
				group="SettingsList"
cawthron
parents:
diff changeset
    66
		  	  handlerNameTemplate="Handle{title(name)}EditingStoppedL" 
cawthron
parents:
diff changeset
    67
			    descriptionKey="editingStoppedDescription"
cawthron
parents:
diff changeset
    68
		    />
cawthron
parents:
diff changeset
    69
cawthron
parents:
diff changeset
    70
		</events>
cawthron
parents:
diff changeset
    71
cawthron
parents:
diff changeset
    72
		<implementations>		
cawthron
parents:
diff changeset
    73
			<implementation>
cawthron
parents:
diff changeset
    74
				<interface id="com.nokia.sdt.datamodel.adapter.IComponentEventInfo"/>
cawthron
parents:
diff changeset
    75
				<script file="CCoeControlBase.js" prototype="CCoeControlBaseEventInfo"/>
cawthron
parents:
diff changeset
    76
			</implementation>
cawthron
parents:
diff changeset
    77
		</implementations>		
cawthron
parents:
diff changeset
    78
		
cawthron
parents:
diff changeset
    79
		
cawthron
parents:
diff changeset
    80
		<sourceGen forms="Container Dialog Form SettingsList">
cawthron
parents:
diff changeset
    81
			<template form="Container" phase="LayoutControls" id="LAYOUT_CONTROLS"><![CDATA[
cawthron
parents:
diff changeset
    82
${instanceMemberName}->SetExtent( TPoint( ${properties.location.x}, ${properties.location.y} ), TSize( ${properties.size.width}, ${properties.size.height} ) );
cawthron
parents:
diff changeset
    83
]]>			</template>
cawthron
parents:
diff changeset
    84
cawthron
parents:
diff changeset
    85
			<inline scope="prototype"><![CDATA[
cawthron
parents:
diff changeset
    86
include("../dataModelGenLibrary.js")
cawthron
parents:
diff changeset
    87
cawthron
parents:
diff changeset
    88
${jsObject}.prototype.getCppSystemIncludes = function(contribs, headers) {
cawthron
parents:
diff changeset
    89
	for (var h in headers) {
cawthron
parents:
diff changeset
    90
		var contrib = Engine.createContributionForPhase("MainSystemIncludes");
cawthron
parents:
diff changeset
    91
		contrib.setText("#include <" + headers[h] + ">\n");
cawthron
parents:
diff changeset
    92
		contribs.add(contrib);
cawthron
parents:
diff changeset
    93
	}
cawthron
parents:
diff changeset
    94
}
cawthron
parents:
diff changeset
    95
cawthron
parents:
diff changeset
    96
// override if necessary to provide a more dynamic idea of the class
cawthron
parents:
diff changeset
    97
${jsObject}.prototype.getCppClassName = function(instance) {
cawthron
parents:
diff changeset
    98
	return instance.component.attributes["cpp-class-name"];
cawthron
parents:
diff changeset
    99
}
cawthron
parents:
diff changeset
   100
]]>			</inline>
cawthron
parents:
diff changeset
   101
cawthron
parents:
diff changeset
   102
			
cawthron
parents:
diff changeset
   103
			<templateGroup id="CLASS_CONTRIBS" forms="Container Dialog Form">
cawthron
parents:
diff changeset
   104
				<template id="0" phase="ForwardDeclarations">
cawthron
parents:
diff changeset
   105
class ${this.getCppClassName(instance)};
cawthron
parents:
diff changeset
   106
				</template>
cawthron
parents:
diff changeset
   107
		
cawthron
parents:
diff changeset
   108
				<template id="2" phase="InstanceVariables">
cawthron
parents:
diff changeset
   109
${this.getCppClassName(instance)}* ${instanceMemberName};
cawthron
parents:
diff changeset
   110
				</template>	
cawthron
parents:
diff changeset
   111
cawthron
parents:
diff changeset
   112
				<template id="3" phase="Construct">
cawthron
parents:
diff changeset
   113
${instanceMemberName} = NULL;
cawthron
parents:
diff changeset
   114
				</template>
cawthron
parents:
diff changeset
   115
				
cawthron
parents:
diff changeset
   116
				<template id="1" form="Container" phase="Destroy">
cawthron
parents:
diff changeset
   117
delete ${instanceMemberName};
cawthron
parents:
diff changeset
   118
${instanceMemberName} = NULL;
cawthron
parents:
diff changeset
   119
				</template>
cawthron
parents:
diff changeset
   120
			
cawthron
parents:
diff changeset
   121
			</templateGroup>
cawthron
parents:
diff changeset
   122
cawthron
parents:
diff changeset
   123
			<template id="INIT_FROM_DIALOG" form="Dialog" phase="Initialize"><![CDATA[
cawthron
parents:
diff changeset
   124
${instanceMemberName} = static_cast< ${this.getCppClassName(instance)}* >( 
cawthron
parents:
diff changeset
   125
	ControlOrNull( ${Engine.findBuiltinOrGeneratedEnumeratorForAlgorithm(instance, ".", "com.nokia.sdt.component.symbian.NAME_ALG_DIALOG_LINE_ID")} ) );
cawthron
parents:
diff changeset
   126
]]>			</template>
cawthron
parents:
diff changeset
   127
cawthron
parents:
diff changeset
   128
			<template id="INIT_FROM_CONTAINER" form="Container" phase="Initialize"><![CDATA[
cawthron
parents:
diff changeset
   129
${instanceMemberName} = new ( ELeave ) ${this.getCppClassName(instance)};
cawthron
parents:
diff changeset
   130
${instanceMemberName}->SetContainerWindowL( *this );
cawthron
parents:
diff changeset
   131
	{
cawthron
parents:
diff changeset
   132
	TResourceReader reader;
cawthron
parents:
diff changeset
   133
	iEikonEnv->CreateResourceReaderLC( reader, ${resourceName$upper} );
cawthron
parents:
diff changeset
   134
	${instanceMemberName}->ConstructFromResourceL( reader );
cawthron
parents:
diff changeset
   135
	CleanupStack::PopAndDestroy(); // reader internal state
cawthron
parents:
diff changeset
   136
	}
cawthron
parents:
diff changeset
   137
]]>			</template>
cawthron
parents:
diff changeset
   138
cawthron
parents:
diff changeset
   139
			<templateGroup id="CONTAINER_CHILD_CONTRIBS">
cawthron
parents:
diff changeset
   140
			
cawthron
parents:
diff changeset
   141
				<template id="0" form="HandleComponentSwitchDispatch" phase="ComponentControlBody">
cawthron
parents:
diff changeset
   142
	case E${instanceName$title}:
cawthron
parents:
diff changeset
   143
		return ${instanceMemberName};
cawthron
parents:
diff changeset
   144
				</template>
cawthron
parents:
diff changeset
   145
cawthron
parents:
diff changeset
   146
				<template id="1" form="HandleCCoeControlEnums" phase="ChildEnumsContents">
cawthron
parents:
diff changeset
   147
E${instanceName$title},
cawthron
parents:
diff changeset
   148
				</template>
cawthron
parents:
diff changeset
   149
			
cawthron
parents:
diff changeset
   150
			</templateGroup>
cawthron
parents:
diff changeset
   151
cawthron
parents:
diff changeset
   152
			<inline scope="prototype"><![CDATA[
cawthron
parents:
diff changeset
   153
/** Call this to initialize the setting item to its default value */
cawthron
parents:
diff changeset
   154
${jsObject}.prototype.setupSettingItem = function(contribs, indent, instance, value) {
cawthron
parents:
diff changeset
   155
	generateDataModelItemInitializer(contribs, indent, "Initialize", "SettingsList",
cawthron
parents:
diff changeset
   156
			null, instance, value);
cawthron
parents:
diff changeset
   157
}
cawthron
parents:
diff changeset
   158
cawthron
parents:
diff changeset
   159
]]>			</inline>
cawthron
parents:
diff changeset
   160
cawthron
parents:
diff changeset
   161
			<template id="INIT_FROM_SETTINGS_LIST" form="SettingsList" location="CREATESETTINGITEML_BODY_SWITCH"><![CDATA[
cawthron
parents:
diff changeset
   162
<%			var enumName = Engine.findBuiltinOrGeneratedEnumeratorForAlgorithm(
cawthron
parents:
diff changeset
   163
				instance, ".", "com.nokia.sdt.component.symbian.NAME_ALG_SETTING_ITEM_ID"); 
cawthron
parents:
diff changeset
   164
			var getterName = getDataModelGetterMethodName(instance); 
cawthron
parents:
diff changeset
   165
			var constructorPattern = instance.component.attributes["setting-item-constructor-pattern"];
cawthron
parents:
diff changeset
   166
			if (!constructorPattern)
cawthron
parents:
diff changeset
   167
				constructorPattern = "{0},\\\\n{1}";
cawthron
parents:
diff changeset
   168
			constructorPattern = "\\\\n" + constructorPattern;
cawthron
parents:
diff changeset
   169
			// replace any newlines with 4 indents (note: not using escapes since it's goofy)
cawthron
parents:
diff changeset
   170
			r = new RegExp(String.fromCharCode(0x5c)+String.fromCharCode(0x5c)+"n", "g");
cawthron
parents:
diff changeset
   171
			constructorPattern = constructorPattern.replace(r,
cawthron
parents:
diff changeset
   172
				String.fromCharCode(10)+"				");
cawthron
parents:
diff changeset
   173
			//println("constructorPattern="+constructorPattern);
cawthron
parents:
diff changeset
   174
			var constructorArgs = formatString(constructorPattern, "aId", "iSettings." + getterName + "()");
cawthron
parents:
diff changeset
   175
			var settingClassName = instance.component.attributes["setting-item-class-name"];
cawthron
parents:
diff changeset
   176
%>	case ${enumName}:
cawthron
parents:
diff changeset
   177
		{			
cawthron
parents:
diff changeset
   178
		${settingClassName}* item = new ( ELeave ) 
cawthron
parents:
diff changeset
   179
			${settingClassName}( ${constructorArgs} );
cawthron
parents:
diff changeset
   180
<% if (properties.itemHidden) {  
cawthron
parents:
diff changeset
   181
%>		item->SetHidden( ETrue ); 
cawthron
parents:
diff changeset
   182
<% } %>		return item;
cawthron
parents:
diff changeset
   183
		}
cawthron
parents:
diff changeset
   184
]]>			</template>
cawthron
parents:
diff changeset
   185
cawthron
parents:
diff changeset
   186
cawthron
parents:
diff changeset
   187
<!-- sourcegen common to MCoeControlObserver events -->
cawthron
parents:
diff changeset
   188
	<templateGroup id="GenerateCommonControlEvents" 
cawthron
parents:
diff changeset
   189
			ifEvents="stateChanged requestingExit requestingFocus requestingCancel interactionRefused">
cawthron
parents:
diff changeset
   190
	
cawthron
parents:
diff changeset
   191
		<template id="EventIncludes" form="Container" phase="HeaderIncludes"><![CDATA[
cawthron
parents:
diff changeset
   192
#include <coecobs.h>
cawthron
parents:
diff changeset
   193
]]>		</template>
cawthron
parents:
diff changeset
   194
		
cawthron
parents:
diff changeset
   195
		<template id="BaseClass" form="Container" phase="BaseClassList">,MCoeControlObserver</template>
cawthron
parents:
diff changeset
   196
	
cawthron
parents:
diff changeset
   197
		<defineLocation id="ControlEventClassDecls" baseLocation="CLASS"
cawthron
parents:
diff changeset
   198
				owned="false" 
cawthron
parents:
diff changeset
   199
				location="region(MCoeControlObserver support)">
cawthron
parents:
diff changeset
   200
			<template><![CDATA[
cawthron
parents:
diff changeset
   201
private: <% contrib.indentAdjust(-1); %>
cawthron
parents:
diff changeset
   202
typedef void ( ${handlerClassName}::*ControlEventHandler )( 
cawthron
parents:
diff changeset
   203
		CCoeControl* aControl, TCoeEvent anEvent );
cawthron
parents:
diff changeset
   204
cawthron
parents:
diff changeset
   205
void AddControlEventHandlerL( 
cawthron
parents:
diff changeset
   206
		CCoeControl* aControl, 
cawthron
parents:
diff changeset
   207
		TCoeEvent anEvent, 
cawthron
parents:
diff changeset
   208
		ControlEventHandler aHandler );
cawthron
parents:
diff changeset
   209
cawthron
parents:
diff changeset
   210
class TControlEventDispatch 
cawthron
parents:
diff changeset
   211
	{
cawthron
parents:
diff changeset
   212
public: 
cawthron
parents:
diff changeset
   213
	CCoeControl* src; 
cawthron
parents:
diff changeset
   214
	TCoeEvent event; 
cawthron
parents:
diff changeset
   215
	ControlEventHandler handler;
cawthron
parents:
diff changeset
   216
	};
cawthron
parents:
diff changeset
   217
	
cawthron
parents:
diff changeset
   218
RArray< TControlEventDispatch > iControlEventDispatch;
cawthron
parents:
diff changeset
   219
]]>			</template>
cawthron
parents:
diff changeset
   220
		</defineLocation>
cawthron
parents:
diff changeset
   221
cawthron
parents:
diff changeset
   222
		<template id="RealizeControlEventClassDecls" location="ControlEventClassDecls"/>
cawthron
parents:
diff changeset
   223
						
cawthron
parents:
diff changeset
   224
		<template id="HandleControlEventOverride" phase="OverriddenMethods"><![CDATA[
cawthron
parents:
diff changeset
   225
void HandleControlEventL( 
cawthron
parents:
diff changeset
   226
		CCoeControl* aControl, 
cawthron
parents:
diff changeset
   227
		TCoeEvent anEventType );
cawthron
parents:
diff changeset
   228
]]>		</template>
cawthron
parents:
diff changeset
   229
cawthron
parents:
diff changeset
   230
		<defineLocation id="HandleControlEventOverride_Method" baseLocation="MAIN_FILE"
cawthron
parents:
diff changeset
   231
					owned="false"
cawthron
parents:
diff changeset
   232
					location="function(${handlerClassName}::HandleControlEventL(CCoeControl*, TCoeEvent))">
cawthron
parents:
diff changeset
   233
				<template><![CDATA[
cawthron
parents:
diff changeset
   234
/** 
cawthron
parents:
diff changeset
   235
 * Override of the HandleControlEventL virtual function
cawthron
parents:
diff changeset
   236
 */
cawthron
parents:
diff changeset
   237
void ${handlerClassName}::HandleControlEventL( 
cawthron
parents:
diff changeset
   238
		CCoeControl* aControl, 
cawthron
parents:
diff changeset
   239
		TCoeEvent anEventType )
cawthron
parents:
diff changeset
   240
	{<%  var handlerInstance = lookupInstanceByName(handlerInstanceName);
cawthron
parents:
diff changeset
   241
	     var handlerBase = handlerInstance.attributes["base-control-observer-class"];
cawthron
parents:
diff changeset
   242
	     if (handlerBase) { %>
cawthron
parents:
diff changeset
   243
	${handlerBase}::HandleControlEventL( aControl, anEventType );
cawthron
parents:
diff changeset
   244
<% } %>
cawthron
parents:
diff changeset
   245
	for (int i = 0; i < iControlEventDispatch.Count(); i++)
cawthron
parents:
diff changeset
   246
		{
cawthron
parents:
diff changeset
   247
		const TControlEventDispatch& currEntry = iControlEventDispatch[i];
cawthron
parents:
diff changeset
   248
		if ( currEntry.src == aControl && currEntry.event == anEventType )
cawthron
parents:
diff changeset
   249
			{
cawthron
parents:
diff changeset
   250
			( this->*currEntry.handler )( aControl, anEventType );
cawthron
parents:
diff changeset
   251
			break;
cawthron
parents:
diff changeset
   252
			}
cawthron
parents:
diff changeset
   253
		}
cawthron
parents:
diff changeset
   254
	}
cawthron
parents:
diff changeset
   255
]]>				</template>
cawthron
parents:
diff changeset
   256
		</defineLocation>
cawthron
parents:
diff changeset
   257
			
cawthron
parents:
diff changeset
   258
		<template id="RealizeControlEventOverride_Method" location="HandleControlEventOverride_Method"/>
cawthron
parents:
diff changeset
   259
				
cawthron
parents:
diff changeset
   260
		<defineLocation id="RegisterControlHelperMethod" baseLocation="MAIN_FILE"
cawthron
parents:
diff changeset
   261
					owned="false"
cawthron
parents:
diff changeset
   262
					location="function(${handlerClassName}::AddControlEventHandlerL(CCoeControl*, TCoeEvent, ControlEventHandler))">
cawthron
parents:
diff changeset
   263
				<template><![CDATA[
cawthron
parents:
diff changeset
   264
/** 
cawthron
parents:
diff changeset
   265
 * Helper function to register MCoeControlObserver event handlers
cawthron
parents:
diff changeset
   266
 */
cawthron
parents:
diff changeset
   267
void ${handlerClassName}::AddControlEventHandlerL( 
cawthron
parents:
diff changeset
   268
		CCoeControl* aControl, 
cawthron
parents:
diff changeset
   269
		TCoeEvent anEvent, 
cawthron
parents:
diff changeset
   270
		ControlEventHandler aHandler )
cawthron
parents:
diff changeset
   271
	{
cawthron
parents:
diff changeset
   272
	TControlEventDispatch entry;
cawthron
parents:
diff changeset
   273
	entry.src = aControl;
cawthron
parents:
diff changeset
   274
	entry.event = anEvent;
cawthron
parents:
diff changeset
   275
	entry.handler = aHandler;
cawthron
parents:
diff changeset
   276
	TInt err = iControlEventDispatch.Append( entry );
cawthron
parents:
diff changeset
   277
	User::LeaveIfError( err );
cawthron
parents:
diff changeset
   278
	}
cawthron
parents:
diff changeset
   279
]]>			
cawthron
parents:
diff changeset
   280
			</template>
cawthron
parents:
diff changeset
   281
		</defineLocation>
cawthron
parents:
diff changeset
   282
		
cawthron
parents:
diff changeset
   283
		<template id="RealizeRegisterHelperMethod" location="RegisterControlHelperMethod"/>
cawthron
parents:
diff changeset
   284
			
cawthron
parents:
diff changeset
   285
		<template id="DispatchArrayDestroy" phase="Destroy"><![CDATA[
cawthron
parents:
diff changeset
   286
iControlEventDispatch.Close();		
cawthron
parents:
diff changeset
   287
]]>		</template>
cawthron
parents:
diff changeset
   288
cawthron
parents:
diff changeset
   289
		<template id="SetObserver" form="Container" phase="Initialize"><![CDATA[
cawthron
parents:
diff changeset
   290
${instanceMemberName}->SetObserver( this );
cawthron
parents:
diff changeset
   291
]]>		</template>
cawthron
parents:
diff changeset
   292
	</templateGroup>
cawthron
parents:
diff changeset
   293
cawthron
parents:
diff changeset
   294
<!-- BEGIN EVENT stateChanged -->
cawthron
parents:
diff changeset
   295
			<templateGroup id="GenerateStateChangedEvent" ifEvents="stateChanged">
cawthron
parents:
diff changeset
   296
			
cawthron
parents:
diff changeset
   297
				<template id="HandlerDecl" phase="UserHandlers"><![CDATA[
cawthron
parents:
diff changeset
   298
void ${event.handlerName}( 
cawthron
parents:
diff changeset
   299
		CCoeControl* aControl, 
cawthron
parents:
diff changeset
   300
		TCoeEvent anEvent );
cawthron
parents:
diff changeset
   301
]]>				</template>
cawthron
parents:
diff changeset
   302
					
cawthron
parents:
diff changeset
   303
				<template id="AddDispatchArrayEntry" phase="Initialize"><![CDATA[
cawthron
parents:
diff changeset
   304
AddControlEventHandlerL( 
cawthron
parents:
diff changeset
   305
		${instanceMemberName}, 
cawthron
parents:
diff changeset
   306
		EEventStateChanged, 
cawthron
parents:
diff changeset
   307
		&${handlerClassName}::${event.handlerName} );
cawthron
parents:
diff changeset
   308
]]>				</template>
cawthron
parents:
diff changeset
   309
																				
cawthron
parents:
diff changeset
   310
				<defineLocation id="StateChangedHandler" baseLocation="MAIN_FILE"
cawthron
parents:
diff changeset
   311
					owned="false"
cawthron
parents:
diff changeset
   312
					isEventHandler="true"
cawthron
parents:
diff changeset
   313
					location="function(${handlerClassName}::${event.handlerName}(CCoeControl*,TCoeEvent))">
cawthron
parents:
diff changeset
   314
					<template><![CDATA[
cawthron
parents:
diff changeset
   315
/** 
cawthron
parents:
diff changeset
   316
 * Handle the EEventStateChanged event.
cawthron
parents:
diff changeset
   317
 */
cawthron
parents:
diff changeset
   318
void ${handlerClassName}::${event.handlerName}( 
cawthron
parents:
diff changeset
   319
		CCoeControl* /* aControl */, 
cawthron
parents:
diff changeset
   320
		TCoeEvent /* anEvent */ )
cawthron
parents:
diff changeset
   321
	{
cawthron
parents:
diff changeset
   322
	// TODO: implement ${event.eventName} event handler
cawthron
parents:
diff changeset
   323
	}
cawthron
parents:
diff changeset
   324
]]>				
cawthron
parents:
diff changeset
   325
					</template>
cawthron
parents:
diff changeset
   326
				</defineLocation>
cawthron
parents:
diff changeset
   327
			
cawthron
parents:
diff changeset
   328
				<template id="RealizeHandler" location="StateChangedHandler"/>
cawthron
parents:
diff changeset
   329
			</templateGroup>
cawthron
parents:
diff changeset
   330
<!-- END EVENT stateChanged -->
cawthron
parents:
diff changeset
   331
cawthron
parents:
diff changeset
   332
<!-- BEGIN EVENT prepareFocusTransition -->
cawthron
parents:
diff changeset
   333
			<templateGroup id="GeneratePrepareFocusTransitionEvent" ifEvents="prepareFocusTransition">
cawthron
parents:
diff changeset
   334
			
cawthron
parents:
diff changeset
   335
				<template id="HandlerDecl" phase="UserHandlers"><![CDATA[
cawthron
parents:
diff changeset
   336
void ${event.handlerName}( 
cawthron
parents:
diff changeset
   337
		CCoeControl* aControl, 
cawthron
parents:
diff changeset
   338
		TCoeEvent anEvent );
cawthron
parents:
diff changeset
   339
]]>				</template>
cawthron
parents:
diff changeset
   340
					
cawthron
parents:
diff changeset
   341
				<template id="AddDispatchArrayEntry" phase="Initialize"><![CDATA[
cawthron
parents:
diff changeset
   342
AddControlEventHandlerL( 
cawthron
parents:
diff changeset
   343
		${instanceMemberName}, 
cawthron
parents:
diff changeset
   344
		EEventPrepareFocusTransition, 
cawthron
parents:
diff changeset
   345
		&${handlerClassName}::${event.handlerName} );
cawthron
parents:
diff changeset
   346
]]>				</template>
cawthron
parents:
diff changeset
   347
																				
cawthron
parents:
diff changeset
   348
				<defineLocation id="PrepareFocusTransitionHandler" baseLocation="MAIN_FILE"
cawthron
parents:
diff changeset
   349
					owned="false"
cawthron
parents:
diff changeset
   350
					isEventHandler="true"
cawthron
parents:
diff changeset
   351
					location="function(${handlerClassName}::${event.handlerName}(CCoeControl*,TCoeEvent))">
cawthron
parents:
diff changeset
   352
					<template><![CDATA[
cawthron
parents:
diff changeset
   353
/** 
cawthron
parents:
diff changeset
   354
 * Handle the EEventPrepareFocusTransition event.
cawthron
parents:
diff changeset
   355
 */
cawthron
parents:
diff changeset
   356
void ${handlerClassName}::${event.handlerName}( 
cawthron
parents:
diff changeset
   357
		CCoeControl* /* aControl */, 
cawthron
parents:
diff changeset
   358
		TCoeEvent /* anEvent */ )
cawthron
parents:
diff changeset
   359
	{
cawthron
parents:
diff changeset
   360
	// TODO: implement ${event.eventName} event handler
cawthron
parents:
diff changeset
   361
	}
cawthron
parents:
diff changeset
   362
]]>				
cawthron
parents:
diff changeset
   363
					</template>
cawthron
parents:
diff changeset
   364
				</defineLocation>
cawthron
parents:
diff changeset
   365
			
cawthron
parents:
diff changeset
   366
				<template id="RealizeHandler" location="PrepareFocusTransitionHandler"/>
cawthron
parents:
diff changeset
   367
			</templateGroup>
cawthron
parents:
diff changeset
   368
<!-- END EVENT prepareFocusTransition -->
cawthron
parents:
diff changeset
   369
cawthron
parents:
diff changeset
   370
<!-- BEGIN EVENT requestingExit -->
cawthron
parents:
diff changeset
   371
			<templateGroup id="GenerateRequestingExitEvent" ifEvents="requestingExit">
cawthron
parents:
diff changeset
   372
			
cawthron
parents:
diff changeset
   373
				<template id="HandlerDecl" phase="UserHandlers"><![CDATA[
cawthron
parents:
diff changeset
   374
void ${event.handlerName}( 
cawthron
parents:
diff changeset
   375
		CCoeControl* aControl, 
cawthron
parents:
diff changeset
   376
		TCoeEvent anEvent );
cawthron
parents:
diff changeset
   377
]]>				</template>
cawthron
parents:
diff changeset
   378
					
cawthron
parents:
diff changeset
   379
				<template id="AddDispatchArrayEntry" phase="Initialize"><![CDATA[
cawthron
parents:
diff changeset
   380
AddControlEventHandlerL( 
cawthron
parents:
diff changeset
   381
		${instanceMemberName}, 
cawthron
parents:
diff changeset
   382
		EEventRequestExit, 
cawthron
parents:
diff changeset
   383
		&${handlerClassName}::${event.handlerName} );
cawthron
parents:
diff changeset
   384
]]>				</template>
cawthron
parents:
diff changeset
   385
																				
cawthron
parents:
diff changeset
   386
				<defineLocation id="RequestingExitHandler" baseLocation="MAIN_FILE"
cawthron
parents:
diff changeset
   387
					owned="false"
cawthron
parents:
diff changeset
   388
					isEventHandler="true"
cawthron
parents:
diff changeset
   389
					location="function(${handlerClassName}::${event.handlerName}(CCoeControl*,TCoeEvent))">
cawthron
parents:
diff changeset
   390
					<template><![CDATA[
cawthron
parents:
diff changeset
   391
/** 
cawthron
parents:
diff changeset
   392
 * Handle the EEventRequestExit event.
cawthron
parents:
diff changeset
   393
 */
cawthron
parents:
diff changeset
   394
void ${handlerClassName}::${event.handlerName}( 
cawthron
parents:
diff changeset
   395
		CCoeControl* /* aControl */, 
cawthron
parents:
diff changeset
   396
		TCoeEvent /* anEvent */ )
cawthron
parents:
diff changeset
   397
	{
cawthron
parents:
diff changeset
   398
	// TODO: implement ${event.eventName} event handler
cawthron
parents:
diff changeset
   399
	}
cawthron
parents:
diff changeset
   400
]]>				
cawthron
parents:
diff changeset
   401
					</template>
cawthron
parents:
diff changeset
   402
				</defineLocation>
cawthron
parents:
diff changeset
   403
			
cawthron
parents:
diff changeset
   404
				<template id="RealizeHandler" location="RequestingExitHandler"/>
cawthron
parents:
diff changeset
   405
			</templateGroup>
cawthron
parents:
diff changeset
   406
<!-- END EVENT requestingExit -->
cawthron
parents:
diff changeset
   407
cawthron
parents:
diff changeset
   408
<!-- BEGIN EVENT requestingFocus -->
cawthron
parents:
diff changeset
   409
			<templateGroup id="GenerateRequestingFocusEvent" ifEvents="requestingFocus">
cawthron
parents:
diff changeset
   410
			
cawthron
parents:
diff changeset
   411
				<template id="HandlerDecl" phase="UserHandlers"><![CDATA[
cawthron
parents:
diff changeset
   412
void ${event.handlerName}( 
cawthron
parents:
diff changeset
   413
		CCoeControl* aControl, 
cawthron
parents:
diff changeset
   414
		TCoeEvent anEvent );
cawthron
parents:
diff changeset
   415
]]>				</template>
cawthron
parents:
diff changeset
   416
					
cawthron
parents:
diff changeset
   417
				<template id="AddDispatchArrayEntry" phase="Initialize"><![CDATA[
cawthron
parents:
diff changeset
   418
AddControlEventHandlerL( 
cawthron
parents:
diff changeset
   419
		${instanceMemberName}, 
cawthron
parents:
diff changeset
   420
		EEventRequestFocus, 
cawthron
parents:
diff changeset
   421
		&${handlerClassName}::${event.handlerName} );
cawthron
parents:
diff changeset
   422
]]>				</template>
cawthron
parents:
diff changeset
   423
																				
cawthron
parents:
diff changeset
   424
				<defineLocation id="RequestingFocusHandler" baseLocation="MAIN_FILE"
cawthron
parents:
diff changeset
   425
					owned="false"
cawthron
parents:
diff changeset
   426
					isEventHandler="true"
cawthron
parents:
diff changeset
   427
					location="function(${handlerClassName}::${event.handlerName}(CCoeControl*,TCoeEvent))">
cawthron
parents:
diff changeset
   428
					<template><![CDATA[
cawthron
parents:
diff changeset
   429
/** 
cawthron
parents:
diff changeset
   430
 * Handle the EEventRequestFocus event.
cawthron
parents:
diff changeset
   431
 */
cawthron
parents:
diff changeset
   432
void ${handlerClassName}::${event.handlerName}( CCoeControl* /* aControl */, TCoeEvent /* anEvent */ )
cawthron
parents:
diff changeset
   433
	{
cawthron
parents:
diff changeset
   434
	// TODO: implement ${event.eventName} event handler
cawthron
parents:
diff changeset
   435
	}
cawthron
parents:
diff changeset
   436
]]>				
cawthron
parents:
diff changeset
   437
					</template>
cawthron
parents:
diff changeset
   438
				</defineLocation>
cawthron
parents:
diff changeset
   439
			
cawthron
parents:
diff changeset
   440
				<template id="RealizeHandler" location="RequestingFocusHandler"/>
cawthron
parents:
diff changeset
   441
			</templateGroup>
cawthron
parents:
diff changeset
   442
<!-- END EVENT requestingFocus -->
cawthron
parents:
diff changeset
   443
cawthron
parents:
diff changeset
   444
<!-- BEGIN EVENT requestingCancel -->
cawthron
parents:
diff changeset
   445
			<templateGroup id="GenerateRequestingCancelEvent" ifEvents="requestingCancel">
cawthron
parents:
diff changeset
   446
			
cawthron
parents:
diff changeset
   447
				<template id="HandlerDecl" phase="UserHandlers"><![CDATA[
cawthron
parents:
diff changeset
   448
void ${event.handlerName}( 
cawthron
parents:
diff changeset
   449
		CCoeControl* aControl, 
cawthron
parents:
diff changeset
   450
		TCoeEvent anEvent );
cawthron
parents:
diff changeset
   451
]]>				</template>
cawthron
parents:
diff changeset
   452
					
cawthron
parents:
diff changeset
   453
				<template id="AddDispatchArrayEntry" phase="Initialize"><![CDATA[
cawthron
parents:
diff changeset
   454
AddControlEventHandlerL( 
cawthron
parents:
diff changeset
   455
		${instanceMemberName}, 
cawthron
parents:
diff changeset
   456
		EEventRequestCancel, 
cawthron
parents:
diff changeset
   457
		&${handlerClassName}::${event.handlerName} );
cawthron
parents:
diff changeset
   458
]]>				</template>
cawthron
parents:
diff changeset
   459
																				
cawthron
parents:
diff changeset
   460
				<defineLocation id="RequestingCancelHandler" baseLocation="MAIN_FILE"
cawthron
parents:
diff changeset
   461
					owned="false"
cawthron
parents:
diff changeset
   462
					isEventHandler="true"
cawthron
parents:
diff changeset
   463
					location="function(${handlerClassName}::${event.handlerName}(CCoeControl*,TCoeEvent))">
cawthron
parents:
diff changeset
   464
					<template><![CDATA[
cawthron
parents:
diff changeset
   465
/** 
cawthron
parents:
diff changeset
   466
 * Handle the EEventRequestCancel event.
cawthron
parents:
diff changeset
   467
 */
cawthron
parents:
diff changeset
   468
void ${handlerClassName}::${event.handlerName}( 
cawthron
parents:
diff changeset
   469
		CCoeControl* /* aControl */, 
cawthron
parents:
diff changeset
   470
		TCoeEvent /* anEvent */ )
cawthron
parents:
diff changeset
   471
	{
cawthron
parents:
diff changeset
   472
	// TODO: implement ${event.eventName} event handler
cawthron
parents:
diff changeset
   473
	}
cawthron
parents:
diff changeset
   474
]]>				
cawthron
parents:
diff changeset
   475
					</template>
cawthron
parents:
diff changeset
   476
				</defineLocation>
cawthron
parents:
diff changeset
   477
			
cawthron
parents:
diff changeset
   478
				<template id="RealizeHandler" location="RequestingCancelHandler"/>
cawthron
parents:
diff changeset
   479
			</templateGroup>
cawthron
parents:
diff changeset
   480
<!-- END EVENT requestingCancel -->
cawthron
parents:
diff changeset
   481
cawthron
parents:
diff changeset
   482
<!-- BEGIN EVENT interactionRefused -->
cawthron
parents:
diff changeset
   483
			<templateGroup id="GenerateInteractionRefusedEvent" ifEvents="interactionRefused">
cawthron
parents:
diff changeset
   484
			
cawthron
parents:
diff changeset
   485
				<template id="HandlerDecl" phase="UserHandlers"><![CDATA[
cawthron
parents:
diff changeset
   486
void ${event.handlerName}( 
cawthron
parents:
diff changeset
   487
		CCoeControl* aControl, 
cawthron
parents:
diff changeset
   488
		TCoeEvent anEvent );
cawthron
parents:
diff changeset
   489
]]>				</template>
cawthron
parents:
diff changeset
   490
					
cawthron
parents:
diff changeset
   491
				<template id="AddDispatchArrayEntry" phase="Initialize"><![CDATA[
cawthron
parents:
diff changeset
   492
AddControlEventHandlerL( 
cawthron
parents:
diff changeset
   493
		${instanceMemberName}, 
cawthron
parents:
diff changeset
   494
		EEventInteractionRefused, 
cawthron
parents:
diff changeset
   495
		&${handlerClassName}::${event.handlerName} );
cawthron
parents:
diff changeset
   496
]]>				</template>
cawthron
parents:
diff changeset
   497
																				
cawthron
parents:
diff changeset
   498
				<defineLocation id="InteractionRefusedHandler" baseLocation="MAIN_FILE"
cawthron
parents:
diff changeset
   499
					owned="false"
cawthron
parents:
diff changeset
   500
					isEventHandler="true"
cawthron
parents:
diff changeset
   501
					location="function(${handlerClassName}::${event.handlerName}(CCoeControl*,TCoeEvent))">
cawthron
parents:
diff changeset
   502
					<template><![CDATA[
cawthron
parents:
diff changeset
   503
/** 
cawthron
parents:
diff changeset
   504
 * Handle the EEventInteractionRefused event.
cawthron
parents:
diff changeset
   505
 */
cawthron
parents:
diff changeset
   506
void ${handlerClassName}::${event.handlerName}( 
cawthron
parents:
diff changeset
   507
		CCoeControl* /* aControl */, 
cawthron
parents:
diff changeset
   508
		TCoeEvent /* anEvent */ )
cawthron
parents:
diff changeset
   509
	{
cawthron
parents:
diff changeset
   510
	// TODO: implement ${event.eventName} event handler
cawthron
parents:
diff changeset
   511
	}
cawthron
parents:
diff changeset
   512
]]>				
cawthron
parents:
diff changeset
   513
					</template>
cawthron
parents:
diff changeset
   514
				</defineLocation>
cawthron
parents:
diff changeset
   515
			
cawthron
parents:
diff changeset
   516
				<template id="RealizeHandler" location="InteractionRefusedHandler"/>
cawthron
parents:
diff changeset
   517
			</templateGroup>
cawthron
parents:
diff changeset
   518
<!-- END EVENT interactionRefused -->
cawthron
parents:
diff changeset
   519
cawthron
parents:
diff changeset
   520
<!-- BEGIN EVENT editingStarted (Settings Item List only) -->
cawthron
parents:
diff changeset
   521
			<templateGroup id="GenerateEditingStartedEvent" ifEvents="editingStarted">
cawthron
parents:
diff changeset
   522
			
cawthron
parents:
diff changeset
   523
				<template id="HandlerDecl" phase="UserHandlers"><![CDATA[
cawthron
parents:
diff changeset
   524
void ${event.handlerName}( 
cawthron
parents:
diff changeset
   525
		CAknSettingItem* /*aIndex*/, 
cawthron
parents:
diff changeset
   526
		TBool /*aCalledFromMenu*/ );
cawthron
parents:
diff changeset
   527
]]>				</template>
cawthron
parents:
diff changeset
   528
cawthron
parents:
diff changeset
   529
				<template id="InvokeHandler" location="EDITITEML_STARTED_STUB">
cawthron
parents:
diff changeset
   530
	case ${Engine.findBuiltinOrGeneratedEnumeratorForAlgorithm(instance, ".", "com.nokia.sdt.component.symbian.NAME_ALG_SETTING_ITEM_ID")}:
cawthron
parents:
diff changeset
   531
		${event.handlerName}( 
cawthron
parents:
diff changeset
   532
			item, 
cawthron
parents:
diff changeset
   533
			aCalledFromMenu );
cawthron
parents:
diff changeset
   534
		break;
cawthron
parents:
diff changeset
   535
				</template>
cawthron
parents:
diff changeset
   536
				
cawthron
parents:
diff changeset
   537
				<defineLocation id="EditingStartedHandler" baseLocation="MAIN_FILE"
cawthron
parents:
diff changeset
   538
					owned="false"
cawthron
parents:
diff changeset
   539
					isEventHandler="true"
cawthron
parents:
diff changeset
   540
					location="function(${handlerClassName}::${event.handlerName}(CAknSettingItem*,TBool))">
cawthron
parents:
diff changeset
   541
					<template><![CDATA[
cawthron
parents:
diff changeset
   542
/** 
cawthron
parents:
diff changeset
   543
 * Handle the Editing Started event.
cawthron
parents:
diff changeset
   544
 */
cawthron
parents:
diff changeset
   545
void ${handlerClassName}::${event.handlerName}( 
cawthron
parents:
diff changeset
   546
		CAknSettingItem* /*aItem*/, 
cawthron
parents:
diff changeset
   547
		TBool /*aCalledFromMenu*/ )
cawthron
parents:
diff changeset
   548
	{
cawthron
parents:
diff changeset
   549
	// TODO: implement ${event.eventName} event handler
cawthron
parents:
diff changeset
   550
	}
cawthron
parents:
diff changeset
   551
]]>				
cawthron
parents:
diff changeset
   552
					</template>
cawthron
parents:
diff changeset
   553
				</defineLocation>
cawthron
parents:
diff changeset
   554
			
cawthron
parents:
diff changeset
   555
				<template id="RealizeHandler" location="EditingStartedHandler"/>
cawthron
parents:
diff changeset
   556
			</templateGroup>
cawthron
parents:
diff changeset
   557
<!-- END EVENT editingStarted -->
cawthron
parents:
diff changeset
   558
cawthron
parents:
diff changeset
   559
<!-- BEGIN EVENT editingStopped (Settings Item List only) -->
cawthron
parents:
diff changeset
   560
			<templateGroup id="GenerateEditingStoppedEvent" ifEvents="editingStopped">
cawthron
parents:
diff changeset
   561
			
cawthron
parents:
diff changeset
   562
				<template id="HandlerDecl" phase="UserHandlers"><![CDATA[
cawthron
parents:
diff changeset
   563
TBool ${event.handlerName}( 
cawthron
parents:
diff changeset
   564
		CAknSettingItem* /*aIndex*/, 
cawthron
parents:
diff changeset
   565
		TBool /*aCalledFromMenu*/ );
cawthron
parents:
diff changeset
   566
]]>				</template>
cawthron
parents:
diff changeset
   567
cawthron
parents:
diff changeset
   568
				<template id="InvokeHandler" location="EDITITEML_STOPPED_STUB">
cawthron
parents:
diff changeset
   569
	case ${Engine.findBuiltinOrGeneratedEnumeratorForAlgorithm(instance, ".", "com.nokia.sdt.component.symbian.NAME_ALG_SETTING_ITEM_ID")}:
cawthron
parents:
diff changeset
   570
		storeValue = ${event.handlerName}( 
cawthron
parents:
diff changeset
   571
			item, 
cawthron
parents:
diff changeset
   572
			aCalledFromMenu );
cawthron
parents:
diff changeset
   573
		break;
cawthron
parents:
diff changeset
   574
				</template>
cawthron
parents:
diff changeset
   575
				
cawthron
parents:
diff changeset
   576
				<defineLocation id="EditingStoppedHandler" baseLocation="MAIN_FILE"
cawthron
parents:
diff changeset
   577
					owned="false"
cawthron
parents:
diff changeset
   578
					isEventHandler="true"
cawthron
parents:
diff changeset
   579
					location="function(${handlerClassName}::${event.handlerName}(CAknSettingItem*,TBool))">
cawthron
parents:
diff changeset
   580
					<template><![CDATA[
cawthron
parents:
diff changeset
   581
/** 
cawthron
parents:
diff changeset
   582
 * Handle the Editing Stopped event.
cawthron
parents:
diff changeset
   583
 *
cawthron
parents:
diff changeset
   584
 * The embedded editor contains the updated setting value.  If this routine
cawthron
parents:
diff changeset
   585
 * returns ETrue, that value will be committed via aItem->StoreL().
cawthron
parents:
diff changeset
   586
 * <p>
cawthron
parents:
diff changeset
   587
 * Note that returning EFalse has no effect on the editor control, only 
cawthron
parents:
diff changeset
   588
 * on the iSettings store.  It is not possible to revert the editor's 
cawthron
parents:
diff changeset
   589
 * value automatically here (use editingStarted and editingStopped together 
cawthron
parents:
diff changeset
   590
 * to coordinate storing/restoring if necessary).
cawthron
parents:
diff changeset
   591
 * @return ETrue to store the value to the settings store
cawthron
parents:
diff changeset
   592
 */
cawthron
parents:
diff changeset
   593
TBool ${handlerClassName}::${event.handlerName}( 
cawthron
parents:
diff changeset
   594
		CAknSettingItem* /*aItem*/, 
cawthron
parents:
diff changeset
   595
		TBool /*aCalledFromMenu*/ )
cawthron
parents:
diff changeset
   596
	{
cawthron
parents:
diff changeset
   597
	// TODO: implement ${event.eventName} event handler
cawthron
parents:
diff changeset
   598
	return ETrue;
cawthron
parents:
diff changeset
   599
	}
cawthron
parents:
diff changeset
   600
]]>
cawthron
parents:
diff changeset
   601
					</template>
cawthron
parents:
diff changeset
   602
				</defineLocation>
cawthron
parents:
diff changeset
   603
			
cawthron
parents:
diff changeset
   604
				<template id="RealizeHandler" location="EditingStoppedHandler"/>
cawthron
parents:
diff changeset
   605
			</templateGroup>
cawthron
parents:
diff changeset
   606
<!-- END EVENT editingStopped -->
cawthron
parents:
diff changeset
   607
cawthron
parents:
diff changeset
   608
		</sourceGen>
cawthron
parents:
diff changeset
   609
		
cawthron
parents:
diff changeset
   610
	</component>
cawthron
parents:
diff changeset
   611
</componentDefinition>