チェンジセット 3179
- コミット日時:
- 2009/10/26 13:13:51 (2 年前)
- ファイル:
-
- as3/GeniusFramework/branches/2.0/app-template/.actionScriptProperties (追加)
- as3/GeniusFramework/branches/2.0/app-template/.flexProperties (追加)
- as3/GeniusFramework/branches/2.0/app-template/.project (追加)
- as3/GeniusFramework/branches/2.0/app-template/.settings (追加)
- as3/GeniusFramework/branches/2.0/app-template/.settings/org.eclipse.core.resources.prefs (追加)
- as3/GeniusFramework/branches/2.0/app-template/html-template (追加)
- as3/GeniusFramework/branches/2.0/app-template/html-template/AC_OETags.js (追加)
- as3/GeniusFramework/branches/2.0/app-template/html-template/history (追加)
- as3/GeniusFramework/branches/2.0/app-template/html-template/history/history.css (追加)
- as3/GeniusFramework/branches/2.0/app-template/html-template/history/history.js (追加)
- as3/GeniusFramework/branches/2.0/app-template/html-template/history/historyFrame.html (追加)
- as3/GeniusFramework/branches/2.0/app-template/html-template/index.template.html (追加)
- as3/GeniusFramework/branches/2.0/app-template/html-template/playerProductInstall.swf (追加)
- as3/GeniusFramework/branches/2.0/app-template/libs/AS3YAML_041.swc (削除)
- as3/GeniusFramework/branches/2.0/app-template/src/MyApp-config.xml (追加)
- as3/GeniusFramework/branches/2.0/app-template/src/MyApp.css (追加)
- as3/GeniusFramework/branches/2.0/app-template/src/MyApp.mxml (更新) (2 diffs)
- as3/GeniusFramework/branches/2.0/app-template/src/MyAppConfig.as (追加)
- as3/GeniusFramework/branches/2.0/app-template/src/MyAppDelegate.as (更新) (2 diffs)
- as3/GeniusFramework/branches/2.0/app-template/src/assets/config.json (削除)
- as3/GeniusFramework/branches/2.0/app-template/src/main-config.xml (削除)
- as3/GeniusFramework/branches/2.0/app-template/src/main.css (削除)
- as3/GeniusFramework/branches/2.0/bin/build.xml (更新) (2 diffs)
- as3/GeniusFramework/branches/2.0/src/jp/seagirl/genius/core/Config.as (更新) (1 diff)
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
as3/GeniusFramework/branches/2.0/app-template/src/MyApp.mxml
r2586 r3179 6 6 xmlns:views="[% package %].views.*" 7 7 layout="absolute" 8 pageTitle="[% name %]"> 8 pageTitle="[% name %]" 9 > 9 10 <mx:Style source="[% name %].css"/> 10 <local:[% name %]Delegate /> 11 12 <!-- Effects --> 13 <mx:Dissolve id="showEffect" duration="200" alphaFrom="0" alphaTo="1.0"/> 14 <mx:Dissolve id="hideEffect" duration="200" alphaFrom="1.0" alphaTo="0"/> 15 <!-- /Effects --> 16 17 <local:[% name %]Delegate id="delgate" /> 11 18 12 19 <mx:VBox x="20" y="20"> … … 14 21 15 22 <genius:GeniusViewStack id="viewStack" width="100%" height="100%"> 16 <views:Page1 id="page1" width="100%" height="100%"/> 17 <views:Page2 id="page2" width="100%" height="100%"/> 23 <views:Page1 id="page1" 24 width="100%" 25 height="100%" 26 showEffect="{showEffect}" 27 hideEffect="{hideEffect}" 28 /> 29 <views:Page2 id="page2" 30 width="100%" 31 height="100%" 32 showEffect="{showEffect}" 33 hideEffect="{hideEffect}" 34 /> 18 35 </genius:GeniusViewStack> 19 36 </mx:VBox> as3/GeniusFramework/branches/2.0/app-template/src/MyAppDelegate.as
r3100 r3179 11 11 12 12 /** 13 * アプリケーションで使用するモデルを初期化します。14 */ 15 override protected function initializeModels():void16 { 17 //addModel(new MainModel());13 * 設定ファイルの初期化 14 */ 15 override protected function createConfig():Config 16 { 17 return new [% name %]Config(view); 18 18 } 19 19 20 20 /** 21 * アプリケーションで使用するビューを初期化します。 21 * アプリケーションに必要なデータをロードするためのテンプレートメソッド 22 * オーバーライドしなければ即座に initialize メソッドに移行 23 * 実装する場合は GeniusEvent.ASSETES_LOADED を発行することで initialize メソッドに移行 24 */ 25 //override protected function loadAssets():void 26 //{ 27 //} 28 29 /** 30 * 初期化 22 31 */ 23 override protected function initialize Views():void32 override protected function initialize():void 24 33 { 25 view.viewStack.addAllViewsToContextMenu(view); 34 context.ignoredState = []; 35 36 addController(new Page1Controller(view.page1)); 37 addController(new Page2Controller(view.page2)); 38 39 createContextMenu(); 26 40 } 27 41 28 42 /** 29 * アプリケーションで使用するコントローラを初期化します。 30 */ 31 override protected function initializeControllers():void 32 { 33 addController(new Page1Controller(view.page1)); 34 addController(new Page2Controller(view.page2)); 35 } 36 37 /** 38 * 状態に変化があると呼び出されます。。 43 * 状態に変化があると呼び出されます。 39 44 */ 40 45 override public function changePage(data:Object):void … … 42 47 view.viewStack.selectViewByClassName(data.page); 43 48 } 44 45 49 } 46 50 } as3/GeniusFramework/branches/2.0/bin/build.xml
r2587 r3179 35 35 <move file="${app_root}/src/MyApp.mxml" tofile="${app_root}/src/${name}.mxml" /> 36 36 <move file="${app_root}/src/MyAppDelegate.as" tofile="${app_root}/src/${name}Delegate.as" /> 37 <move file="${app_root}/src/main.css" tofile="${app_root}/src/${name}.css" /> 38 <move file="${app_root}/src/main-config.xml" tofile="${app_root}/src/${name}-config.xml" /> 37 <move file="${app_root}/src/MyAppConfig.as" tofile="${app_root}/src/${name}Config.as" /> 38 <move file="${app_root}/src/MyApp.css" tofile="${app_root}/src/${name}.css" /> 39 <move file="${app_root}/src/MyApp-config.xml" tofile="${app_root}/src/${name}-config.xml" /> 39 40 40 41 <move todir="${app_root}/src/${package_path}"> … … 50 51 <include name="src/**/*.xml"/> 51 52 <include name="src/**/*.json"/> 53 <include name=".*"/> 52 54 53 55 <replacefilter token="[% sdk %]" value="${FLEX_HOME}"/> as3/GeniusFramework/branches/2.0/src/jp/seagirl/genius/core/Config.as
r3100 r3179 115 115 } 116 116 117 private var _baseURL:String; 118 119 public function set baseURL(val:String):void 120 { 121 _baseURL = val; 122 } 123 124 public function get baseURL():String 125 { 126 return _baseURL; 127 } 128 117 129 private var _serviceURL:String; 118 130

