チェンジセット 2546

差分発生行の前後
無視リスト:
コミット日時:
2009/04/30 04:49:24 (11 ヶ月前)
コミッタ:
uwi
ログメッセージ:

TabConfig?まわりのバグ修正
補完まわりのバグ修正
多段タブバーちょっとだけパフォーマンス改善
他諸々

ファイル:

凡例:

変更無し
追加
削除
更新
コピー
移動
  • air/TLife/branches/OAuth/application.xml

    r2542 r2546  
    33         
    44        <id>uwi.TLife</id>  
    5         <version>alpha11</version> 
     5        <version>alpha12</version> 
    66        <filename>TLife</filename> 
    77        <name>TLife</name>  
  • air/TLife/trunk/air/version.xml

    r2540 r2546  
    11<version> 
    2         <version>alpha9/version> 
     2        <version>alpha12/version> 
    33        <url>http://www.libspark.org/svn/air/TLife/trunk/air/TLife.air</url> 
    44</version>  
  • air/TLife/trunk/bin/initial/config.xml

    r2533 r2546  
    9999    <regexp>false</regexp> 
    100100  </dbsearch> 
     101  <tabconfig x="0" y="0" width="600" height="500"/> 
    101102  <tabrules/> 
    102103  <globalconfig x="0" y="0" width="500" height="400"/> 
  • air/TLife/trunk/src/Main.mxml

    r2533 r2546  
    3434                        import flash.events.MouseEvent; 
    3535                        import flash.filesystem.File; 
     36                        import flash.utils.getTimer; 
    3637                        import ken39arg.logging.FilePutLogging; 
    3738                        import ken39arg.logging.Logger; 
     
    187188                        public function reflectConfigInitially() : void 
    188189                        { 
     190                                var a : Array = []; 
     191                                 
    189192                                // 座標情報の読み込み 
    190193                                Utility.loadCoordinates(Application.application.nativeWindow, CommonData.configxml.main); 
     
    208211                                } 
    209212                                tabbar.titles = new ArrayCollection(ar); 
     213                                a.push(getTimer()); 
    210214                                tabbar.changeLayout(); 
     215                                a.push(getTimer()); 
    211216                                tabbar.SelectedIndex = 0; 
    212217                                 
    213218                                reflectConfig(); 
     219                                for each(var x : int in a) trace(x - a[0]); 
    214220                        } 
    215221                         
     
    451457                                                --> 
    452458                                </uwi:DataGridEx> 
    453                                 <uwimtb:MultipleTabBar id="tabbar" width="100%" height="20" verticalGap="0"/> 
     459                                <uwimtb:MultipleTabBar id="tabbar" width="100%" height="20" verticalGap="0" /> 
    454460                        </mx:VBox> 
    455461                        <!-- friendpost欄 --> 
  • air/TLife/trunk/src/uwi/db/DBSelectThread.as

    r2542 r2546  
    1919                 
    2020                public function DBSelectThread(conn : SQLConnection, sqltxt : String, prefetch : int = -1) { 
     21                        this.name = "DBSelect"; 
    2122                        stmt = new SQLStatement(); 
    2223                        Logger.debug("DBSelectThraed sql : " + sqltxt); 
     
    3334                protected override function run() : void 
    3435                { 
    35                       Logger.debug("DBSelectThread begin sql : " + stmt.text); 
     36//                    Logger.debug("DBSelectThread begin sql : " + stmt.text); 
    3637                        result = null; 
    3738                        try { 
     
    4243                                Logger.error("DBSelectThread catch Error : " + e.message); 
    4344                        } 
    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                         
    4552                } 
    4653                 
  • air/TLife/trunk/src/uwi/db/SimpleTransactionThread.as

    r2501 r2546  
    1919                public function SimpleTransactionThread(conn : SQLConnection, basetext : String, args : Array = null)  
    2020                {  
     21                        this.name = "SimpleTransaction"; 
    2122                        super(conn); 
    2223                        this.basetext = basetext; 
  • air/TLife/trunk/src/uwi/search/Searcher.as

    r2531 r2546  
    151151                        preprocess(query, option); 
    152152                         
    153                         var title : String = Utility.addAvoidingOverlap(Application.application.tabbar.titles, "検索結果"); 
    154                          
    155153                        var conds : Array = []; 
    156                         if (query.postid) { 
     154                        if (query.posterid) { 
    157155                                var escaped : Array = []; 
    158                                 for (var q : String in query.postid) { 
     156                                for (var q : String in query.posterid) { 
    159157                                        escaped.push(StringUtility.escapeSQL(q)); 
    160158                                } 
    161                                 conds.push("postid in ('" + StringUtility.escapeSQL(escaped.join("','")) + "')"); 
     159                                conds.push("posterid in ('" + StringUtility.escapeSQL(escaped.join("','")) + "')"); 
    162160                        } 
    163161                        if (query.content) { 
     
    185183                        } 
    186184                         
    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                        } 
    200201                } 
    201202                 
  • air/TLife/trunk/src/uwi/thread/LinkResolveThread.as

    r2501 r2546  
    2222                public function LinkResolveThread(src : String)  
    2323                { 
     24                        this.name = "LinkResolve"; 
    2425                        this.src = src; 
    2526                } 
  • air/TLife/trunk/src/uwi/thread/MainThread.as

    r2533 r2546  
    55        import flash.filesystem.File; 
    66        import flash.system.Security; 
     7        import flash.text.TextFormat; 
     8        import flash.utils.getTimer; 
    79        import ken39arg.logging.Logger; 
    810        import mx.controls.Alert; 
     
    4547                protected override function run() : void 
    4648                { 
     49                        this.name = "Main"; 
    4750//                      event(NativeApplication.nativeApplication, Event.EXITING, onExit); 
    4851                        NativeApplication.nativeApplication.addEventListener(Event.EXITING, onExit); 
     
    6366                        if (CommonData.configxml == null) return; 
    6467                         
     68                        var s : int = getTimer(); 
    6569                        // langxmlの読み込み 
    6670                        CommonData.lang_configxml = readXML(CommonData.FILE_LANG_CONFIGXML); 
     
    102106                        if (!CommonData.migemo.open(CommonData.FILE_DB_MIGEMODICT)) { 
    103107                                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                                )); 
    104117                        } 
    105118                         
     
    111124                        Security.loadPolicyFile("https://static.twitter.com/crossdomain.xml"); 
    112125                         
     126                        new TabBarEventThread().start(); 
    113127                        new ContextMenuItemEventThread().start(); 
    114128                        new IncrementalSearchThread().start(); 
    115129                        new PostEventThread().start(); 
    116130                        new UndoThread(Application.application.postarea, Application.application.changeCharLeft).start(); 
    117                         new TabBarEventThread().start(); 
    118131                        new DataGridEventThread().start(); 
    119132                        new DataGridRoutineThread().start(); 
  • air/TLife/trunk/src/uwi/thread/NotifyNewThread.as

    r2533 r2546  
    3232                 
    3333                public function NotifyNewThread() { 
     34                        this.name = "NotifyNew"; 
    3435                } 
    3536                 
     
    8889                        Logger.debug("NotifyNewThread onSelectComplete"); 
    8990                         
     91                        var tempdbstmap2 : Object = { }; 
    9092                        dbstmap2 = { }; 
    9193                        newtimeline = { }; 
     
    9698                                if (ar != null) { 
    9799                                        for each(var obj : * in ar) { 
    98                                                 dbstmap2[obj.posterid] = null; 
     100                                                tempdbstmap2[obj.posterid] = null; 
    99101                                        } 
    100102                                         
     
    112114                                 
    113115                        pe = new ParallelExecutor(); 
    114                         for (var posterid : String in dbstmap2) { 
     116                        for (var posterid : String in tempdbstmap2) { 
    115117                                var sql : String = "select name, iconurl from " + CommonData.TABLE_POSTER + " where posterid = '" + posterid + "'"; 
    116118                                var ddbst : DBSelectThread = new DBSelectThread(CommonData.db_memory.conn, sql); 
  • air/TLife/trunk/src/uwi/thread/ReplyGetThread.as

    r2514 r2546  
    3333                public function ReplyGetThread(posterid : String, postid : String)  
    3434                { 
     35                        this.name = "ReplyGet"; 
    3536                        this.posterid = posterid; 
    3637                        this.postid = postid; 
  • air/TLife/trunk/src/uwi/thread/StatusInsertThread.as

    r2533 r2546  
    2626                 */ 
    2727                public function StatusInsertThread(conn : SQLConnection, statuses : Vector.<Status>, following : Boolean) { 
     28                        this.name = "StatusInsert"; 
    2829                        super(conn); 
    2930                        this.statuses = statuses; 
  • air/TLife/trunk/src/uwi/thread/TimelineThread.as

    r2533 r2546  
    33        import flash.data.SQLResult; 
    44        import flash.utils.Dictionary; 
     5        import flash.utils.getTimer; 
    56        import ken39arg.logging.Logger; 
    67        import mx.collections.ArrayCollection; 
     
    4142                 
    4243                public function TimelineThread(prefetch : int = -1) { 
     44                        this.name = "Timeline"; 
    4345                        this.prefetch = prefetch; 
    4446                        this.query = query; 
     
    119121                        var ar : Array = ret.data; 
    120122                        if (ar != null) { 
     123                                var tempdbstmap : Object = { }; 
    121124                                dbstmap = { }; 
    122125                                var manageunread : int = Utility.getNumber("manageunread", tabname); 
     
    125128                                        if (obj.postedtime != null) obj.postedtime = CommonData.dateformatter_timeline.format(obj.postedtime); 
    126129                                         
    127                                         dbstmap[obj.posterid] = null; 
     130//                                      dbstmap[obj.posterid] = null; 
     131                                        tempdbstmap[obj.posterid] = null; 
    128132                                         
    129133                                        if (manageunread == 1) { 
     
    169173                                 
    170174                                pe = new ParallelExecutor(); 
    171                                 for (var posterid : String in dbstmap) { 
     175//                              for (var posterid : String in dbstmap) { 
     176                                for (var posterid : String in tempdbstmap) { 
    172177                                        var sql : String = "select name, iconurl from " + CommonData.TABLE_POSTER + " where posterid = '" + StringUtility.escapeSQL(posterid) + "'"; 
    173178                                        var ddbst : DBSelectThread = new DBSelectThread(CommonData.db_memory.conn, sql); 
  • air/TLife/trunk/src/uwi/thread/event/DataGridEventThread.as

    r2519 r2546  
    2727                public function DataGridEventThread()  
    2828                {  
     29                        this.name = "DataGridEvent"; 
    2930                }  
    3031                 
  • air/TLife/trunk/src/uwi/thread/event/DataGridRoutineThread.as

    r2519 r2546  
    3434                public function DataGridRoutineThread()  
    3535                {  
     36                        this.name = "DataGridRoutine"; 
    3637                        super(CommonData.configxml.main.datagrid.interval, false); 
    3738                }  
  • air/TLife/trunk/src/uwi/twitter/TwitterBitScrapeThread.as

    r2501 r2546  
    3232                public function TwitterBitScrapeThread(posterid : String, postid : String)  
    3333                { 
     34                        this.name = "TwitterBitScrape"; 
    3435                        this.posterid = posterid; 
    3536                        var req : URLRequest = new URLRequest("https://twitter.com/" + posterid + "/status/" + postid); 
  • air/TLife/trunk/src/uwi/twitter/TwitterLoginThread.as

    r2535 r2546  
    2727                 
    2828                public function TwitterLoginThread(userid : String, password : String) { 
     29                        this.name = "TwitterLogin"; 
    2930                        this.userid = userid; 
    3031                        this.password = password; 
  • air/TLife/trunk/src/uwi/twitter/TwitterScrapeThread.as

    r2533 r2546  
    3131                 
    3232                public function TwitterScrapeThread(posterid : String = null, pageend : int = 1) { 
     33                        this.name = "TwitterScrape"; 
    3334                        super(posterid, pageend, false, true); 
    3435                } 
  • air/TLife/trunk/src/uwi/ui/ImageEx.as

    r2221 r2546  
    2626                        }else { 
    2727                                super.load(url); 
     28                                this.addEventListener(Event.COMPLETE, onComplete); 
    2829                        } 
    29                         this.addEventListener(Event.COMPLETE, onComplete); 
    3030                } 
    3131                 
     
    3434                        this.removeEventListener(Event.COMPLETE, onComplete); 
    3535                        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); 
    3737                                bd.draw(content); 
    3838                                _cache[source] = bd; 
  • air/TLife/trunk/src/uwi/ui/TextAreaEditor.mxml

    r2480 r2546  
    66        dataChange="onDataChange()" 
    77        creationComplete="onLoad()" 
     8        verticalScrollPolicy="off" 
     9        horizontalScrollPolicy="off" 
    810        > 
    911        <!-- @see http://itpro.nikkeibp.co.jp/article/COLUMN/20070330/267029/?ST=swd-tech (*11) --> 
     
    4345        </mx:Script> 
    4446                 
    45         <mx:TextArea id="area" width="100%" height="100%" /> 
     47        <mx:TextArea id="area" width="100%" height="100%" horizontalScrollPolicy="off" /> 
    4648        <mx:Button label="OK" click="onOK()" /> 
    4749</mx:VBox> 
  • air/TLife/trunk/src/uwi/ui/TimelineRenderer.as

    r2527 r2546  
    11package uwi.ui 
    22{ 
     3        import flash.text.TextFormat; 
    34        import mx.controls.dataGridClasses.DataGridColumn; 
    45        import mx.controls.dataGridClasses.DataGridItemRenderer; 
     
    2829 
    2930                        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                        /* 
    3035                        if (status.fav) { 
    3136                                setStyle("color", CommonData.configxml.main.fontcolor.timeline.fav); 
     
    3843                                setStyle("fontWeight", "normal"); 
    3944                        } 
     45                        */ 
    4046                } 
    4147                 
    42                 /* 
    4348                public override function validateNow() : void 
    4449                { 
    45                       super.validateNow(); 
    46                       trace("validateNow!"); 
     50//                    super.validateNow(); 
     51//                    trace("validateNow!"); 
    4752                } 
    48                 */ 
    49                  
    50                 /* 
    51                 public override function setStyle(styleProp:String, newValue:*) : void 
    52                 { 
    53                         super.setStyle(styleProp, newValue); 
    54                         trace("setStyle!"); 
    55                 } 
    56                 */ 
    5753        } 
    5854         
  • air/TLife/trunk/src/uwi/ui/complete/CompleteThread.as

    r2487 r2546  
    1818        import mx.managers.PopUpManager; 
    1919        import org.libspark.thread.Thread; 
     20        import uwi.ui.ComboBoxEx; 
    2021        import uwi.util.EventThread; 
    2122         
     
    5152                public function CompleteThread(targ : UIComponent, container : Container)  
    5253                { 
    53                         if (targ is TextInput || targ is TextArea) { 
     54                        if (targ is TextArea) { 
    5455                                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; 
    5560                        } 
    5661                         
     
    8590                        if (list.selectedIndex != -1 && dststart >= 0) { 
    8691                                tf.replaceText(dststart, tf.caretIndex, list.selectedItem.toString()); 
     92                                tf.setSelection( 
     93                                        dststart + list.selectedItem.toString().length,  
     94                                        dststart + list.selectedItem.toString().length); 
    8795                        } 
    8896                        invalidflag = true; 
     
    93101                private function onKeyDown(e : KeyboardEvent) : void 
    94102                { 
     103                        trace("onKeyDown " + invalidflag); 
    95104                        if (list.isPopUp) { 
    96105                                switch(e.keyCode) { 
     
    121130                                                list.scrollToIndex(list.selectedIndex); 
    122131                                        } 
     132                                        e.preventDefault(); 
     133                                        e.stopImmediatePropagation(); 
    123134                                        break; 
    124135                                case Keyboard.DOWN: 
     
    127138                                                list.scrollToIndex(list.selectedIndex); 
    128139                                        } 
     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: 
    129159                                        break; 
    130160                                } 
  • air/TLife/trunk/src/uwi/ui/complete/UserIDCompleteThread.as

    r2453 r2546  
    3838                        } 
    3939                        if (result != null) { 
    40                                 dststart = result.index + 1
     40                                dststart = result.index + at ? 1 : 0
    4141                                return result[1]; 
    4242                        } 
  • air/TLife/trunk/src/uwi/ui/dbsearch/DBSearchWindow.mxml

    r2453 r2546  
    22<mx:Window 
    33        xmlns:mx="http://www.adobe.com/2006/mxml" 
     4        xmlns:uwi="uwi.ui.*" 
    45        title="検索" 
    56        width="400" 
    67        height="250" 
    78        layout="absolute" 
    8         systemChrome="none
    9         transparent="true" 
     9        systemChrome="standard
     10        transparent="false" 
    1011        type="utility" 
    1112        paddingLeft="1" 
     
    9293                                 
    9394                                swet = null; 
    94                                 CommonData.searchwindow = null; 
     95                                CommonData.dbsearchwindow = null; 
    9596                        } 
    9697                ]]> 
     
    99100        <mx:Form width="100%" height="100%"> 
    100101                <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}" /> 
    102103                </mx:FormItem> 
    103104                <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}"  /> 
    105106                </mx:FormItem> 
    106107                <mx:FormItem label="日付条件" direction="horizontal" width="100%"> 
  • air/TLife/trunk/src/uwi/ui/dbsearch/DBSearchWindowEventThread.as

    r2453 r2546  
    4545                        if (sw.queryuserid.text != "") { 
    4646                                query.posterid = sw.queryuserid.text; 
     47                                 
     48                                // 検索履歴に追加 
    4749                                src = sw.historyuserid.source; 
    4850                                if (src.length ==  0 || src[src.length - 1] != query.posterid) { 
     
    5557                        if (sw.querycontent.text != "") { 
    5658                                query.content = sw.querycontent.text; 
     59                                 
     60                                // 検索履歴に追加 
    5761                                src = sw.historycontent.source; 
    5862                                if (src.length ==  0 || src[src.length - 1] != query.content) { 
     
    6367                                } 
    6468                        } 
    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(); 
    6985                        } 
    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.selected 
    78                         }); 
    7986                        next(run); 
    8087                } 
  • air/TLife/trunk/src/uwi/ui/globalconfig/GlobalConfig.mxml

    r2535 r2546  
    7575                                        new InitialMovementThread().start(); 
    7676                                } 
     77                                 
    7778                                CommonData.configxml = tempconfigxml.copy(); 
    7879                                Application.application.reflectConfig(); 
  • air/TLife/trunk/src/uwi/ui/multipletabbar/MultipleTabBar.as

    r2450 r2546  
    3131                { 
    3232                        clear(); 
     33//                      trace("きたー"); 
    3334                         
    3435                        var tab : TabBar = new TabBar(); // カレントタブバー 
     
    4041                        tablist.push(tab); 
    4142                         
     43                                trace(this.width); 
    4244                        for (var i : int = 0; i < titles.length; i++) { 
    4345                                var str : String = titles[i]; 
    4446                                tabdp.addItem(str); 
    45                                 tab.validateNow(); 
     47                                tab.validateProperties(); 
     48                                tab.validateSize(true); 
    4649                                // strを加えた時点でカレントタブバーの長さが全体を上回ったら 
    4750                                if (tab.measuredWidth >= this.width) { 
  • air/TLife/trunk/src/uwi/ui/multipletabbar/MultipleTabBarEventThread.as

    r2531 r2546  
    1919                public function MultipleTabBarEventThread(mtb : MultipleTabBar)  
    2020                {  
     21                        this.name = "MultipleTabBarEvent"; 
    2122                        this.mtb = mtb; 
    2223                }  
     
    4344                private function onResize(e : Event) : void 
    4445                { 
     46                        trace("RESIZE"); 
    4547                        mtb.changeLayout(true); 
    4648                        next(waitEvents); 
  • air/TLife/trunk/src/uwi/ui/search/SearchWindow.mxml

    r2454 r2546  
    22<mx:Window 
    33        xmlns:mx="http://www.adobe.com/2006/mxml" 
     4        xmlns:uwi="uwi.ui.*" 
    45        title="検索" 
    56        width="420" 
    67        height="270" 
    78        layout="absolute" 
    8         systemChrome="none
    9         transparent="true" 
     9        systemChrome="standard
     10        transparent="false" 
    1011        type="normal" 
    1112        paddingLeft="1" 
     
    120121        <mx:Form width="100%" height="100%"> 
    121122                <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}" /> 
    123124                </mx:FormItem> 
    124125                <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}"  /> 
    126127                </mx:FormItem> 
    127128                <mx:HBox> 
  • air/TLife/trunk/src/uwi/ui/tabconfig/TabConfig.mxml

    r2541 r2546  
    44        xmlns:uwi="uwi.ui.*" 
    55        title="せっとするよー" 
    6         width="500" 
    7         height="400" 
    86        layout="absolute" 
    9         systemChrome="none
    10         transparent="true" 
     7        systemChrome="standard
     8        transparent="false" 
    119        type="normal" 
    1210        paddingLeft="5" 
     
    1513        paddingBottom="5" 
    1614        minimizable="false" 
    17         maximizable="false" 
    18         resizable="false" 
     15        maximizable="true" 
     16        resizable="true" 
    1917        creationComplete="onLoad()" 
    2018        closing="onClosing()" 
     
    7472                        private function onLoad() : void 
    7573                        { 
     74                                // 座標情報の読み込み 
     75                                Utility.loadCoordinates(CommonData.tabconfig.nativeWindow, CommonData.configxml.tabconfig); 
     76                                 
    7677                                operationreqmap = { }; 
    7778                                for (var key : String in TabRule.OPERATIONSTR) { 
     
    113114                        { 
    114115                                tcet = null; 
     116                                // 座標情報の読み込み 
     117                                Utility.saveCoordinates(CommonData.tabconfig.nativeWindow, CommonData.configxml.tabconfig); 
    115118                                CommonData.tabconfig = null; 
    116119                        } 
     
    170173                        internal function commitReqDG() : void 
    171174                        { 
     175                                reqdg.destroyItemEditor(); 
    172176                                if(curtabname != null){ 
    173177                                        var newtemprules : Array = []; 
     
    179183                                         
    180184                                        for each(var obj : Object in reqs) { 
    181                                                 newtemprules.push(new TabRule(curtabname, obj.id, obj.content, obj.operationstr)); 
     185                                                newtemprules.push(new TabRule(curtabname, obj.id, obj.content, operationreqmap[obj.operationstr])); 
    182186                                        } 
    183187                                        temprules = newtemprules; 
  • air/TLife/trunk/src/uwi/ui/tabconfig/TabConfigEventThread.as

    r2540 r2546  
    7979                                id : "", 
    8080                                content : "", 
    81                                 operation : TabRule.OPERATIONSTR[TabRule.OPERATION_COPY] 
     81                                operationstr : TabRule.OPERATIONSTR[TabRule.OPERATION_COPY] 
    8282                        }); 
    8383                        next(run); 
  • air/TLife/trunk/src/uwi/util/CommonData.as

    r2531 r2546  
    110110                public static var dbsearchwindow : DBSearchWindow = null; 
    111111                 
     112                public static var tfmt_timelines : Array; 
     113                 
    112114                public static var dateformatter_timeline : DateFormatter; 
    113115