Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A template fie(*.xml) for customize the default information contained in new AS3 class. More: http://help.adobe.com/en_US/Flex/4.0/UsingFlashBuilder/WS52085436-ABD3-4d4d-B5E2-41C668CF6847.html
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<templates>
<template autoinsert="true" context="new_actionscript_class"
deleted="false" description="Newly created ActionScript Class file"
enabled="true"
id="com.adobe.flexide.as.core.filetemplates.new_actionscript_class"
name="ActionScript Class">/**&#13;
* GODPAPER Confidential,Copyright ${year}. All rights reserved.&#13;
*&#13;
* Permission is hereby granted, free of charge, to any person
obtaining&#13;
* a copy of this software and associated documentation files (the
"Software"),&#13;
* to deal in the Software without restriction, including without
limitation&#13;
* the rights to use, copy, modify, merge, publish, distribute,
sub-license,&#13;
* and/or sell copies of the Software, and to permit persons to whom
the&#13;
* Software is furnished to do so, subject to the following
conditions:&#13;
*&#13;
* The above copyright notice and this permission notice shall be
included&#13;
* in all copies or substantial portions of the Software.&#13;
*&#13;
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,&#13;
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY,&#13;
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
SHALL&#13;
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER&#13;
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM,&#13;
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS&#13;
* IN THE SOFTWARE.&#13;
*/&#13;
${package_declaration}&#13;
{&#13;
//--------------------------------------------------------------------------&#13;
//&#13;
// Imports&#13;
//&#13;
//--------------------------------------------------------------------------&#13;
${import_declaration}&#13;
&#13;
/**&#13;
* ${file_name} class. &#13;
* @author ${user}&#13;
* @langVersion 3.0&#13;
* @playerVersion 11.2+&#13;
* @airVersion 3.2+&#13;
* Created ${date} ${time}&#13;
* @history 05/00/12,&#13;
*/ &#13;
${class_declaration}&#13;
{ &#13;
//--------------------------------------------------------------------------&#13;
//&#13;
// Variables&#13;
//&#13;
//--------------------------------------------------------------------------&#13;
&#13;
//----------------------------------&#13;
// CONSTANTS&#13;
//----------------------------------&#13;
&#13;
//--------------------------------------------------------------------------&#13;
//&#13;
// Public properties&#13;
//&#13;
//--------------------------------------------------------------------------
&#13;
&#13;
//--------------------------------------------------------------------------&#13;
//&#13;
// Protected properties&#13;
//&#13;
//--------------------------------------------------------------------------
&#13;
&#13;
//--------------------------------------------------------------------------&#13;
//&#13;
// Constructor&#13;
//&#13;
//--------------------------------------------------------------------------&#13;
${class_body} &#13;
//--------------------------------------------------------------------------&#13;
//&#13;
// Public methods&#13;
//&#13;
//--------------------------------------------------------------------------&#13;
&#13;
//--------------------------------------------------------------------------&#13;
//&#13;
// Protected methods&#13;
//&#13;
//--------------------------------------------------------------------------&#13;
&#13;
//--------------------------------------------------------------------------&#13;
//&#13;
// Private methods&#13;
//&#13;
//--------------------------------------------------------------------------&#13;
}&#13;
&#13;
}</template>
</templates>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.