<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    隨筆-109  評論-187  文章-25  trackbacks-0
    ?

    1:GEF mvc framework

    2:policy 所有的POLICY應該是注冊在visual....part中的
    ? 每一個POLICY來生命相應的COMMMAND,可能會對應多個COMMMAND
    3:visualGraph -->rootEditpart--->

    ? configureGraphviewer()
    ???? ---super.configureGraphviewer()
    ???? ---getGraphicalViewer().setRootEditPart(rootEditPart);
    ???? ---getGraphicalViewer().setEditPartFactory(new GraphEdirPartFactory());
    ?? 以上屬于把ROOTEDITPART和EDIRPARTFACTORY()注冊到當前的Graphicalviewer當中
    ?? 內部已經已經封裝好了監聽,就跟STRUT一樣,你配置好,提交的時候就會又相應的ACTION去執行他,

    ??? CONFIG--->STRUTS-CONFIG? =======? 當前的REISTRY graphicalView().set()....
    ??? control核心? -->strust-actionServlet 和requestProcessor =======?? 當前的editpart 的GraphEditPartFactory();
    ??? 實際的action?? struts-action =========每個editpart --->policy -- >可能對應多格COMMAND

    4:commmandstack.addCommandStackListner();
    ?? getSite().getWorkBenchWindow().getSelectionService().addSelectionListener(this)

    ?? rootEidtpart.getZoomManger();

    ?? ZoomManger也是ACTION所以就注冊在了EDITPART中了
    ???
    5:我的疑問:
    ?? FIGURE和VERTEX GROUP,EDGE,GRAP的關系,是最小的????
    ?? FIGURE是未來顯示在EDITOR里面的最小單元???

    6:EDITOR里面的CreateGraphicalViewer(Composite composite)


    7:editpart initialize the editdomain,viewers,palette,
    ? editpart bootstraps the editpartviewers as content;

    8:
    ???? Model:
    ????????? The model should be changed using commands

    ???? View:
    ????????? View can bi several things
    ????????? (1) visual part,which serves as the primary represention for model object??
    ????????? (2) the most flexible visual part are Figures form drar2d
    ???? Cotroler:
    ????????? (1)a controller is an editpart,Editparts are the bread-and-butter of GEF
    ????????? (2) the entire view is managed by Editpart
    ????????? (3) editPart's responsibility is to manipulate the model with commands,complex model can lead to

    complex commands
    ????????? (4)to make editpart's job easier,each role is implemented by a pluggable object called editpolicy


    9: Result:
    ??? (1)edit part reprents a single conceptual object with which user can use direct or indirect interact
    ?????? but an editpart itself is not visible to user,but will represent itself through it's view??????????????
    ?

    10:
    ??? (1)
    ?? each editpart istall one or more editpolicies,editpart foward edit request to every installed editPolicy

    =================================11:Using EditPolicies,request,roles===============


    ?(1)Editpolicy

    ??? an editpart iterates over all it's policies to handle requests,but editpolicy ignore the request

    ?(2)role
    ??? as i understand ,role is string ,like COMPONENT_ROLE..
    ?(3)request
    ??? are used to communicate with an editpart


    ?(4) role and editpolicies in GEF are partitioned into two basic types:graphical and non-graphical

    ??

    posted on 2006-04-13 08:55 小小程序程序員混口飯吃 閱讀(218) 評論(0)  編輯  收藏 所屬分類: java
    主站蜘蛛池模板: 一级毛片在线免费观看| 中国精品一级毛片免费播放| 18国产精品白浆在线观看免费| 亚洲精品GV天堂无码男同| 成人性生交大片免费看中文| 国产自偷亚洲精品页65页| 中文字幕无线码中文字幕免费| 免费v片在线观看视频网站| 免费一级不卡毛片| 免费人成在线观看播放a| 久久久久久久久无码精品亚洲日韩 | 无码中文字幕av免费放dvd| 亚洲综合图片小说区热久久| 午夜免费福利网站| 亚洲国产老鸭窝一区二区三区| 中文字幕在线免费| 一级毛片直播亚洲| 亚洲av成人一区二区三区在线播放| 怡红院亚洲红怡院在线观看| 毛片免费在线观看网址| 亚洲春色在线观看| 2019中文字幕免费电影在线播放| 免费观看的毛片大全| 亚洲国产AV一区二区三区四区| 国产羞羞的视频在线观看免费| 成人免费午夜在线观看| 精品特级一级毛片免费观看| 国产一区二区三区免费在线观看| 亚洲欧洲日韩在线电影| 成人免费男女视频网站慢动作| 亚洲精品无码专区在线在线播放 | 在线免费观看一级毛片| 亚洲av成人无码网站…| 亚洲人成77777在线播放网站| 亚洲人色大成年网站在线观看| 国产乱子伦精品免费视频| 亚洲视频在线观看地址| 免费看小12萝裸体视频国产| 久久精品视频免费播放| 亚洲色欲色欱wwW在线| 亚洲人成在线播放网站|