チェンジセット 2546
- コミット日時:
- 2009/04/30 04:49:24 (11 ヶ月前)
- ファイル:
-
- air/TLife/branches/OAuth/application.xml (更新) (1 diff)
- air/TLife/trunk/air/TLife.air (更新) (変更前)
- air/TLife/trunk/air/version.xml (更新) (1 diff)
- air/TLife/trunk/bin/TLife.swf (更新) (変更前)
- air/TLife/trunk/bin/initial/config.xml (更新) (1 diff)
- air/TLife/trunk/src/Main.mxml (更新) (4 diffs)
- air/TLife/trunk/src/org (追加)
- air/TLife/trunk/src/org/libspark (追加)
- air/TLife/trunk/src/org/libspark/thread (追加)
- air/TLife/trunk/src/org/libspark/thread/Thread.as (追加)
- air/TLife/trunk/src/uwi/db/DBSelectThread.as (更新) (3 diffs)
- air/TLife/trunk/src/uwi/db/SimpleTransactionThread.as (更新) (1 diff)
- air/TLife/trunk/src/uwi/search/Searcher.as (更新) (2 diffs)
- air/TLife/trunk/src/uwi/thread/LinkResolveThread.as (更新) (1 diff)
- air/TLife/trunk/src/uwi/thread/MainThread.as (更新) (5 diffs)
- air/TLife/trunk/src/uwi/thread/NotifyNewThread.as (更新) (4 diffs)
- air/TLife/trunk/src/uwi/thread/ReplyGetThread.as (更新) (1 diff)
- air/TLife/trunk/src/uwi/thread/StatusInsertThread.as (更新) (1 diff)
- air/TLife/trunk/src/uwi/thread/TimelineThread.as (更新) (5 diffs)
- air/TLife/trunk/src/uwi/thread/event/DataGridEventThread.as (更新) (1 diff)
- air/TLife/trunk/src/uwi/thread/event/DataGridRoutineThread.as (更新) (1 diff)
- air/TLife/trunk/src/uwi/twitter/TwitterBitScrapeThread.as (更新) (1 diff)
- air/TLife/trunk/src/uwi/twitter/TwitterLoginThread.as (更新) (1 diff)
- air/TLife/trunk/src/uwi/twitter/TwitterScrapeThread.as (更新) (1 diff)
- air/TLife/trunk/src/uwi/ui/ComboBoxEx.as (追加)
- air/TLife/trunk/src/uwi/ui/ImageEx.as (更新) (2 diffs)
- air/TLife/trunk/src/uwi/ui/TextAreaEditor.mxml (更新) (2 diffs)
- air/TLife/trunk/src/uwi/ui/TimelineRenderer.as (更新) (3 diffs)
- air/TLife/trunk/src/uwi/ui/complete/CompleteThread.as (更新) (6 diffs)
- air/TLife/trunk/src/uwi/ui/complete/UserIDCompleteThread.as (更新) (1 diff)
- air/TLife/trunk/src/uwi/ui/dbsearch/DBSearchWindow.mxml (更新) (3 diffs)
- air/TLife/trunk/src/uwi/ui/dbsearch/DBSearchWindowEventThread.as (更新) (3 diffs)
- air/TLife/trunk/src/uwi/ui/globalconfig/GlobalConfig.mxml (更新) (1 diff)
- air/TLife/trunk/src/uwi/ui/multipletabbar/MultipleTabBar.as (更新) (2 diffs)
- air/TLife/trunk/src/uwi/ui/multipletabbar/MultipleTabBarEventThread.as (更新) (2 diffs)
- air/TLife/trunk/src/uwi/ui/search/SearchWindow.mxml (更新) (2 diffs)
- air/TLife/trunk/src/uwi/ui/tabconfig/TabConfig.mxml (更新) (6 diffs)
- air/TLife/trunk/src/uwi/ui/tabconfig/TabConfigEventThread.as (更新) (1 diff)
- air/TLife/trunk/src/uwi/util/CommonData.as (更新) (1 diff)
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
air/TLife/branches/OAuth/application.xml
r2542 r2546 3 3 4 4 <id>uwi.TLife</id> 5 <version>alpha1 1</version>5 <version>alpha12</version> 6 6 <filename>TLife</filename> 7 7 <name>TLife</name> air/TLife/trunk/air/version.xml
r2540 r2546 1 1 <version> 2 <version>alpha 9/version>2 <version>alpha12/version> 3 3 <url>http://www.libspark.org/svn/air/TLife/trunk/air/TLife.air</url> 4 4 </version> air/TLife/trunk/bin/initial/config.xml
r2533 r2546 99 99 <regexp>false</regexp> 100 100 </dbsearch> 101 <tabconfig x="0" y="0" width="600" height="500"/> 101 102 <tabrules/> 102 103 <globalconfig x="0" y="0" width="500" height="400"/> air/TLife/trunk/src/Main.mxml
r2533 r2546 34 34 import flash.events.MouseEvent; 35 35 import flash.filesystem.File; 36 import flash.utils.getTimer; 36 37 import ken39arg.logging.FilePutLogging; 37 38 import ken39arg.logging.Logger; … … 187 188 public function reflectConfigInitially() : void 188 189 { 190 var a : Array = []; 191 189 192 // 座標情報の読み込み 190 193 Utility.loadCoordinates(Application.application.nativeWindow, CommonData.configxml.main); … … 208 211 } 209 212 tabbar.titles = new ArrayCollection(ar); 213 a.push(getTimer()); 210 214 tabbar.changeLayout(); 215 a.push(getTimer()); 211 216 tabbar.SelectedIndex = 0; 212 217 213 218 reflectConfig(); 219 for each(var x : int in a) trace(x - a[0]); 214 220 } 215 221 … … 451 457 --> 452 458 </uwi:DataGridEx> 453 <uwimtb:MultipleTabBar id="tabbar" width="100%" height="20" verticalGap="0" />459 <uwimtb:MultipleTabBar id="tabbar" width="100%" height="20" verticalGap="0" /> 454 460 </mx:VBox> 455 461 <!-- friendpost欄 --> air/TLife/trunk/src/uwi/db/DBSelectThread.as
r2542 r2546 19 19 20 20 public function DBSelectThread(conn : SQLConnection, sqltxt : String, prefetch : int = -1) { 21 this.name = "DBSelect"; 21 22 stmt = new SQLStatement(); 22 23 Logger.debug("DBSelectThraed sql : " + sqltxt); … … 33 34 protected override function run() : void 34 35 { 35 Logger.debug("DBSelectThread begin sql : " + stmt.text);36 // Logger.debug("DBSelectThread begin sql : " + stmt.text); 36 37 result = null; 37 38 try { … … 42 43 Logger.error("DBSelectThread catch Error : " + e.message); 43 44 } 44 Logger.debug("DBSelectThread end sql : " + stmt.text); 45 // Logger.debug("DBSelectThread end sql : " + stmt.text); 46 next(dummy); 47 } 48 49 private function dummy() : void 50 { 51 45 52 } 46 53 air/TLife/trunk/src/uwi/db/SimpleTransactionThread.as
r2501 r2546 19 19 public function SimpleTransactionThread(conn : SQLConnection, basetext : String, args : Array = null) 20 20 { 21 this.name = "SimpleTransaction"; 21 22 super(conn); 22 23 this.basetext = basetext; air/TLife/trunk/src/uwi/search/Searcher.as
r2531 r2546 151 151 preprocess(query, option); 152 152 153 var title : String = Utility.addAvoidingOverlap(Application.application.tabbar.titles, "検索結果");154 155 153 var conds : Array = []; 156 if (query.post id) {154 if (query.posterid) { 157 155 var escaped : Array = []; 158 for (var q : String in query.post id) {156 for (var q : String in query.posterid) { 159 157 escaped.push(StringUtility.escapeSQL(q)); 160 158 } 161 conds.push("post id in ('" + StringUtility.escapeSQL(escaped.join("','")) + "')");159 conds.push("posterid in ('" + StringUtility.escapeSQL(escaped.join("','")) + "')"); 162 160 } 163 161 if (query.content) { … … 185 183 } 186 184 187 CommonData.tabmap[title] = { 188 postid : -1, 189 newestid : -1, 190 rule : " where " + conds.join(" and "), 191 type : 1, 192 unread : {}, 193 numdisplay : 0, 194 numnotify : 0, 195 manageunread : -1, 196 removecosuffix : 0, 197 hammer : -1 198 } 199 Application.application.tabbar.selectTabName(title); 185 if(conds.length > 0){ 186 var title : String = Utility.addAvoidingOverlap(Application.application.tabbar.titles, "検索結果"); 187 CommonData.tabmap[title] = { 188 postid : -1, 189 newestid : -1, 190 rule : " where " + conds.join(" and "), 191 type : 1, 192 unread : {}, 193 numdisplay : 0, 194 numnotify : 0, 195 manageunread : -1, 196 removecosuffix : 0, 197 hammer : -1 198 } 199 Application.application.tabbar.selectTabName(title); 200 } 200 201 } 201 202 air/TLife/trunk/src/uwi/thread/LinkResolveThread.as
r2501 r2546 22 22 public function LinkResolveThread(src : String) 23 23 { 24 this.name = "LinkResolve"; 24 25 this.src = src; 25 26 } air/TLife/trunk/src/uwi/thread/MainThread.as
r2533 r2546 5 5 import flash.filesystem.File; 6 6 import flash.system.Security; 7 import flash.text.TextFormat; 8 import flash.utils.getTimer; 7 9 import ken39arg.logging.Logger; 8 10 import mx.controls.Alert; … … 45 47 protected override function run() : void 46 48 { 49 this.name = "Main"; 47 50 // event(NativeApplication.nativeApplication, Event.EXITING, onExit); 48 51 NativeApplication.nativeApplication.addEventListener(Event.EXITING, onExit); … … 63 66 if (CommonData.configxml == null) return; 64 67 68 var s : int = getTimer(); 65 69 // langxmlの読み込み 66 70 CommonData.lang_configxml = readXML(CommonData.FILE_LANG_CONFIGXML); … … 102 106 if (!CommonData.migemo.open(CommonData.FILE_DB_MIGEMODICT)) { 103 107 CommonData.migemo = null; 108 } 109 110 CommonData.tfmt_timelines = []; 111 for (var i : int = 0; i < 4; i++) { 112 CommonData.tfmt_timelines.push(new TextFormat( 113 "MS UI Gothic", 12, // FIXME 114 CommonData.configxml.main.fontcolor.timeline.child((i & 2) != 0 ? "fav" : "normal"), 115 (i & 1) != 0 116 )); 104 117 } 105 118 … … 111 124 Security.loadPolicyFile("https://static.twitter.com/crossdomain.xml"); 112 125 126 new TabBarEventThread().start(); 113 127 new ContextMenuItemEventThread().start(); 114 128 new IncrementalSearchThread().start(); 115 129 new PostEventThread().start(); 116 130 new UndoThread(Application.application.postarea, Application.application.changeCharLeft).start(); 117 new TabBarEventThread().start();118 131 new DataGridEventThread().start(); 119 132 new DataGridRoutineThread().start(); air/TLife/trunk/src/uwi/thread/NotifyNewThread.as
r2533 r2546 32 32 33 33 public function NotifyNewThread() { 34 this.name = "NotifyNew"; 34 35 } 35 36 … … 88 89 Logger.debug("NotifyNewThread onSelectComplete"); 89 90 91 var tempdbstmap2 : Object = { }; 90 92 dbstmap2 = { }; 91 93 newtimeline = { }; … … 96 98 if (ar != null) { 97 99 for each(var obj : * in ar) { 98 dbstmap2[obj.posterid] = null;100 tempdbstmap2[obj.posterid] = null; 99 101 } 100 102 … … 112 114 113 115 pe = new ParallelExecutor(); 114 for (var posterid : String in dbstmap2) {116 for (var posterid : String in tempdbstmap2) { 115 117 var sql : String = "select name, iconurl from " + CommonData.TABLE_POSTER + " where posterid = '" + posterid + "'"; 116 118 var ddbst : DBSelectThread = new DBSelectThread(CommonData.db_memory.conn, sql); air/TLife/trunk/src/uwi/thread/ReplyGetThread.as
r2514 r2546 33 33 public function ReplyGetThread(posterid : String, postid : String) 34 34 { 35 this.name = "ReplyGet"; 35 36 this.posterid = posterid; 36 37 this.postid = postid; air/TLife/trunk/src/uwi/thread/StatusInsertThread.as
r2533 r2546 26 26 */ 27 27 public function StatusInsertThread(conn : SQLConnection, statuses : Vector.<Status>, following : Boolean) { 28 this.name = "StatusInsert"; 28 29 super(conn); 29 30 this.statuses = statuses; air/TLife/trunk/src/uwi/thread/TimelineThread.as
r2533 r2546 3 3 import flash.data.SQLResult; 4 4 import flash.utils.Dictionary; 5 import flash.utils.getTimer; 5 6 import ken39arg.logging.Logger; 6 7 import mx.collections.ArrayCollection; … … 41 42 42 43 public function TimelineThread(prefetch : int = -1) { 44 this.name = "Timeline"; 43 45 this.prefetch = prefetch; 44 46 this.query = query; … … 119 121 var ar : Array = ret.data; 120 122 if (ar != null) { 123 var tempdbstmap : Object = { }; 121 124 dbstmap = { }; 122 125 var manageunread : int = Utility.getNumber("manageunread", tabname); … … 125 128 if (obj.postedtime != null) obj.postedtime = CommonData.dateformatter_timeline.format(obj.postedtime); 126 129 127 dbstmap[obj.posterid] = null; 130 // dbstmap[obj.posterid] = null; 131 tempdbstmap[obj.posterid] = null; 128 132 129 133 if (manageunread == 1) { … … 169 173 170 174 pe = new ParallelExecutor(); 171 for (var posterid : String in dbstmap) { 175 // for (var posterid : String in dbstmap) { 176 for (var posterid : String in tempdbstmap) { 172 177 var sql : String = "select name, iconurl from " + CommonData.TABLE_POSTER + " where posterid = '" + StringUtility.escapeSQL(posterid) + "'"; 173 178 var ddbst : DBSelectThread = new DBSelectThread(CommonData.db_memory.conn, sql); air/TLife/trunk/src/uwi/thread/event/DataGridEventThread.as
r2519 r2546 27 27 public function DataGridEventThread() 28 28 { 29 this.name = "DataGridEvent"; 29 30 } 30 31 air/TLife/trunk/src/uwi/thread/event/DataGridRoutineThread.as
r2519 r2546 34 34 public function DataGridRoutineThread() 35 35 { 36 this.name = "DataGridRoutine"; 36 37 super(CommonData.configxml.main.datagrid.interval, false); 37 38 } air/TLife/trunk/src/uwi/twitter/TwitterBitScrapeThread.as
r2501 r2546 32 32 public function TwitterBitScrapeThread(posterid : String, postid : String) 33 33 { 34 this.name = "TwitterBitScrape"; 34 35 this.posterid = posterid; 35 36 var req : URLRequest = new URLRequest("https://twitter.com/" + posterid + "/status/" + postid); air/TLife/trunk/src/uwi/twitter/TwitterLoginThread.as
r2535 r2546 27 27 28 28 public function TwitterLoginThread(userid : String, password : String) { 29 this.name = "TwitterLogin"; 29 30 this.userid = userid; 30 31 this.password = password; air/TLife/trunk/src/uwi/twitter/TwitterScrapeThread.as
r2533 r2546 31 31 32 32 public function TwitterScrapeThread(posterid : String = null, pageend : int = 1) { 33 this.name = "TwitterScrape"; 33 34 super(posterid, pageend, false, true); 34 35 } air/TLife/trunk/src/uwi/ui/ImageEx.as
r2221 r2546 26 26 }else { 27 27 super.load(url); 28 this.addEventListener(Event.COMPLETE, onComplete); 28 29 } 29 this.addEventListener(Event.COMPLETE, onComplete);30 30 } 31 31 … … 34 34 this.removeEventListener(Event.COMPLETE, onComplete); 35 35 if (source is String && !_cache[source]) { 36 var bd : BitmapData = new BitmapData(content.width, content.height, true);36 var bd : BitmapData = new BitmapData(content.width, content.height, false); 37 37 bd.draw(content); 38 38 _cache[source] = bd; air/TLife/trunk/src/uwi/ui/TextAreaEditor.mxml
r2480 r2546 6 6 dataChange="onDataChange()" 7 7 creationComplete="onLoad()" 8 verticalScrollPolicy="off" 9 horizontalScrollPolicy="off" 8 10 > 9 11 <!-- @see http://itpro.nikkeibp.co.jp/article/COLUMN/20070330/267029/?ST=swd-tech (*11) --> … … 43 45 </mx:Script> 44 46 45 <mx:TextArea id="area" width="100%" height="100%" />47 <mx:TextArea id="area" width="100%" height="100%" horizontalScrollPolicy="off" /> 46 48 <mx:Button label="OK" click="onOK()" /> 47 49 </mx:VBox> air/TLife/trunk/src/uwi/ui/TimelineRenderer.as
r2527 r2546 1 1 package uwi.ui 2 2 { 3 import flash.text.TextFormat; 3 4 import mx.controls.dataGridClasses.DataGridColumn; 4 5 import mx.controls.dataGridClasses.DataGridItemRenderer; … … 28 29 29 30 var status : Object = datagrid.dataProvider.getItemAt(index); 31 var tfmt : TextFormat = CommonData.tfmt_timelines[(status.fav ? 2 : 0) | (status.unread ? 1 : 0)]; 32 this.defaultTextFormat = tfmt; 33 this.setTextFormat(tfmt); 34 /* 30 35 if (status.fav) { 31 36 setStyle("color", CommonData.configxml.main.fontcolor.timeline.fav); … … 38 43 setStyle("fontWeight", "normal"); 39 44 } 45 */ 40 46 } 41 47 42 /*43 48 public override function validateNow() : void 44 49 { 45 super.validateNow();46 trace("validateNow!");50 // super.validateNow(); 51 // trace("validateNow!"); 47 52 } 48 */49 50 /*51 public override function setStyle(styleProp:String, newValue:*) : void52 {53 super.setStyle(styleProp, newValue);54 trace("setStyle!");55 }56 */57 53 } 58 54 air/TLife/trunk/src/uwi/ui/complete/CompleteThread.as
r2487 r2546 18 18 import mx.managers.PopUpManager; 19 19 import org.libspark.thread.Thread; 20 import uwi.ui.ComboBoxEx; 20 21 import uwi.util.EventThread; 21 22 … … 51 52 public function CompleteThread(targ : UIComponent, container : Container) 52 53 { 53 if (targ is Text Input || targ is TextArea) {54 if (targ is TextArea) { 54 55 tf = targ.getChildAt(2) as IUITextField; 56 } else if (targ is TextInput) { 57 tf = targ.getChildAt(1) as IUITextField; 58 } else if (targ is ComboBoxEx) { 59 tf = (targ as ComboBoxEx).TextInput_.getChildAt(1) as IUITextField; 55 60 } 56 61 … … 85 90 if (list.selectedIndex != -1 && dststart >= 0) { 86 91 tf.replaceText(dststart, tf.caretIndex, list.selectedItem.toString()); 92 tf.setSelection( 93 dststart + list.selectedItem.toString().length, 94 dststart + list.selectedItem.toString().length); 87 95 } 88 96 invalidflag = true; … … 93 101 private function onKeyDown(e : KeyboardEvent) : void 94 102 { 103 trace("onKeyDown " + invalidflag); 95 104 if (list.isPopUp) { 96 105 switch(e.keyCode) { … … 121 130 list.scrollToIndex(list.selectedIndex); 122 131 } 132 e.preventDefault(); 133 e.stopImmediatePropagation(); 123 134 break; 124 135 case Keyboard.DOWN: … … 127 138 list.scrollToIndex(list.selectedIndex); 128 139 } 140 e.preventDefault(); 141 e.stopImmediatePropagation(); 142 break; 143 default: 144 break; 145 } 146 }else { 147 switch(e.keyCode) { 148 case Keyboard.SPACE: 149 case Keyboard.LEFT: 150 case Keyboard.RIGHT: 151 case Keyboard.HOME: 152 case Keyboard.END: 153 case Keyboard.PAGE_DOWN: 154 case Keyboard.PAGE_UP: 155 case Keyboard.ESCAPE: 156 case Keyboard.BACKQUOTE: 157 invalidflag = false; 158 default: 129 159 break; 130 160 } air/TLife/trunk/src/uwi/ui/complete/UserIDCompleteThread.as
r2453 r2546 38 38 } 39 39 if (result != null) { 40 dststart = result.index + 1;40 dststart = result.index + at ? 1 : 0; 41 41 return result[1]; 42 42 } air/TLife/trunk/src/uwi/ui/dbsearch/DBSearchWindow.mxml
r2453 r2546 2 2 <mx:Window 3 3 xmlns:mx="http://www.adobe.com/2006/mxml" 4 xmlns:uwi="uwi.ui.*" 4 5 title="検索" 5 6 width="400" 6 7 height="250" 7 8 layout="absolute" 8 systemChrome=" none"9 transparent=" true"9 systemChrome="standard" 10 transparent="false" 10 11 type="utility" 11 12 paddingLeft="1" … … 92 93 93 94 swet = null; 94 CommonData. searchwindow = null;95 CommonData.dbsearchwindow = null; 95 96 } 96 97 ]]> … … 99 100 <mx:Form width="100%" height="100%"> 100 101 <mx:FormItem label="ユーザーID条件" direction="horizontal" width="100%"> 101 < mx:ComboBox id="queryuserid" width="100%" prompt="" editable="true" dataProvider="{historyuserid}" />102 <uwi:ComboBoxEx id="queryuserid" width="100%" prompt="" editable="true" dataProvider="{historyuserid}" /> 102 103 </mx:FormItem> 103 104 <mx:FormItem label="内容条件" direction="horizontal" width="100%"> 104 < mx:ComboBox id="querycontent" width="100%" prompt="" editable="true" dataProvider="{historycontent}" />105 <uwi:ComboBoxEx id="querycontent" width="100%" prompt="" editable="true" dataProvider="{historycontent}" /> 105 106 </mx:FormItem> 106 107 <mx:FormItem label="日付条件" direction="horizontal" width="100%"> air/TLife/trunk/src/uwi/ui/dbsearch/DBSearchWindowEventThread.as
r2453 r2546 45 45 if (sw.queryuserid.text != "") { 46 46 query.posterid = sw.queryuserid.text; 47 48 // 検索履歴に追加 47 49 src = sw.historyuserid.source; 48 50 if (src.length == 0 || src[src.length - 1] != query.posterid) { … … 55 57 if (sw.querycontent.text != "") { 56 58 query.content = sw.querycontent.text; 59 60 // 検索履歴に追加 57 61 src = sw.historycontent.source; 58 62 if (src.length == 0 || src[src.length - 1] != query.content) { … … 63 67 } 64 68 } 65 66 var dateago : int = parseInt(sw.querydate.text); 67 if (!isNaN(dateago) && dateago > 0) { 68 query.dateago = dateago; 69 if(query != {}){ 70 var dateago : int = parseInt(sw.querydate.text); 71 if (!isNaN(dateago) && dateago > 0) { 72 query.dateago = dateago; 73 } 74 75 CommonData.searcher.searchDB(query, { 76 dbregexp : sw.condRegexp.selected, 77 simplemigemo : sw.condSimpleMigemo.selected, 78 migemo : sw.condMigemo.selected && sw.condMigemo.enabled, 79 socialime : sw.condSocialIME.selected, 80 fav : sw.condFav.selected, 81 capital : sw.condCapital.selected 82 }); 83 84 sw.close(); 69 85 } 70 71 CommonData.searcher.searchDB(query, {72 dbregexp : sw.condRegexp.selected,73 simplemigemo : sw.condSimpleMigemo.selected,74 migemo : sw.condMigemo.selected && sw.condMigemo.enabled,75 socialime : sw.condSocialIME.selected,76 fav : sw.condFav.selected,77 capital : sw.condCapital.selected78 });79 86 next(run); 80 87 } air/TLife/trunk/src/uwi/ui/globalconfig/GlobalConfig.mxml
r2535 r2546 75 75 new InitialMovementThread().start(); 76 76 } 77 77 78 CommonData.configxml = tempconfigxml.copy(); 78 79 Application.application.reflectConfig(); air/TLife/trunk/src/uwi/ui/multipletabbar/MultipleTabBar.as
r2450 r2546 31 31 { 32 32 clear(); 33 // trace("きたー"); 33 34 34 35 var tab : TabBar = new TabBar(); // カレントタブバー … … 40 41 tablist.push(tab); 41 42 43 trace(this.width); 42 44 for (var i : int = 0; i < titles.length; i++) { 43 45 var str : String = titles[i]; 44 46 tabdp.addItem(str); 45 tab.validateNow(); 47 tab.validateProperties(); 48 tab.validateSize(true); 46 49 // strを加えた時点でカレントタブバーの長さが全体を上回ったら 47 50 if (tab.measuredWidth >= this.width) { air/TLife/trunk/src/uwi/ui/multipletabbar/MultipleTabBarEventThread.as
r2531 r2546 19 19 public function MultipleTabBarEventThread(mtb : MultipleTabBar) 20 20 { 21 this.name = "MultipleTabBarEvent"; 21 22 this.mtb = mtb; 22 23 } … … 43 44 private function onResize(e : Event) : void 44 45 { 46 trace("RESIZE"); 45 47 mtb.changeLayout(true); 46 48 next(waitEvents); air/TLife/trunk/src/uwi/ui/search/SearchWindow.mxml
r2454 r2546 2 2 <mx:Window 3 3 xmlns:mx="http://www.adobe.com/2006/mxml" 4 xmlns:uwi="uwi.ui.*" 4 5 title="検索" 5 6 width="420" 6 7 height="270" 7 8 layout="absolute" 8 systemChrome=" none"9 transparent=" true"9 systemChrome="standard" 10 transparent="false" 10 11 type="normal" 11 12 paddingLeft="1" … … 120 121 <mx:Form width="100%" height="100%"> 121 122 <mx:FormItem label="ユーザーID条件" direction="horizontal" width="100%"> 122 < mx:ComboBox id="queryuserid" width="100%" prompt="" editable="true" dataProvider="{historyuserid}" />123 <uwi:ComboBoxEx id="queryuserid" width="100%" prompt="" editable="true" dataProvider="{historyuserid}" /> 123 124 </mx:FormItem> 124 125 <mx:FormItem label="内容条件" direction="horizontal" width="100%"> 125 < mx:ComboBox id="querycontent" width="100%" prompt="" editable="true" dataProvider="{historycontent}" />126 <uwi:ComboBoxEx id="querycontent" width="100%" prompt="" editable="true" dataProvider="{historycontent}" /> 126 127 </mx:FormItem> 127 128 <mx:HBox> air/TLife/trunk/src/uwi/ui/tabconfig/TabConfig.mxml
r2541 r2546 4 4 xmlns:uwi="uwi.ui.*" 5 5 title="せっとするよー" 6 width="500"7 height="400"8 6 layout="absolute" 9 systemChrome=" none"10 transparent=" true"7 systemChrome="standard" 8 transparent="false" 11 9 type="normal" 12 10 paddingLeft="5" … … 15 13 paddingBottom="5" 16 14 minimizable="false" 17 maximizable=" false"18 resizable=" false"15 maximizable="true" 16 resizable="true" 19 17 creationComplete="onLoad()" 20 18 closing="onClosing()" … … 74 72 private function onLoad() : void 75 73 { 74 // 座標情報の読み込み 75 Utility.loadCoordinates(CommonData.tabconfig.nativeWindow, CommonData.configxml.tabconfig); 76 76 77 operationreqmap = { }; 77 78 for (var key : String in TabRule.OPERATIONSTR) { … … 113 114 { 114 115 tcet = null; 116 // 座標情報の読み込み 117 Utility.saveCoordinates(CommonData.tabconfig.nativeWindow, CommonData.configxml.tabconfig); 115 118 CommonData.tabconfig = null; 116 119 } … … 170 173 internal function commitReqDG() : void 171 174 { 175 reqdg.destroyItemEditor(); 172 176 if(curtabname != null){ 173 177 var newtemprules : Array = []; … … 179 183 180 184 for each(var obj : Object in reqs) { 181 newtemprules.push(new TabRule(curtabname, obj.id, obj.content, o bj.operationstr));185 newtemprules.push(new TabRule(curtabname, obj.id, obj.content, operationreqmap[obj.operationstr])); 182 186 } 183 187 temprules = newtemprules; air/TLife/trunk/src/uwi/ui/tabconfig/TabConfigEventThread.as
r2540 r2546 79 79 id : "", 80 80 content : "", 81 operation : TabRule.OPERATIONSTR[TabRule.OPERATION_COPY]81 operationstr : TabRule.OPERATIONSTR[TabRule.OPERATION_COPY] 82 82 }); 83 83 next(run); air/TLife/trunk/src/uwi/util/CommonData.as
r2531 r2546 110 110 public static var dbsearchwindow : DBSearchWindow = null; 111 111 112 public static var tfmt_timelines : Array; 113 112 114 public static var dateformatter_timeline : DateFormatter; 113 115

