[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-687551-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-687551-en":130,"doc-similar-687551":182},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","gef-graphical-editing-framework-tutorial-practical-guide","GEF (Graphical Editing Framework) Tutorial - Practical Guide","","GEF (Graphical Editing Framework) tutorial explaining how to build and use GEF for graphical modeling in Java within the Eclipse ecosystem. It frames GEF as a solution for creating diagram editors, and links it with related technologies like EMF and GMF. The guide is written pragmatically to address real development problems and emphasizes practical use of GEF classes rather than only theory. It walks through creating an RCP plug-in, the model, interactions, undo/redo, zoom shortcuts, outline, miniature view, context menus, custom actions, property sheets, new graphical elements, and editing workflows like drag-and-drop and cut-and-paste.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/gef-graphical-editing-framework-tutorial-practical-guide/687551/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/gef-graphical-editing-framework-tutorial-practical-guide/687551.png","ImageObject",300,407,{"name":42,"@type":43},"Connor ","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-22","2026-11-07",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",6,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What is GEF and where is it used?","Question",{"text":63,"@type":64},"GEF (Graphical Editing Framework) is a Java technology within the Eclipse framework, developed for graphical modeling of a Java object model. It can work alongside technologies such as EMF or GMF to support abstraction in application development.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"Why was this tutorial created?",{"text":68,"@type":64},"The authors created it because they faced many practical problems while developing a GEF application. They also found available documentation and books focused more on theoretical concepts than on how to use GEF classes in real projects.",{"name":70,"@type":61,"acceptedAnswer":71},"What topics are covered in the tutorial?",{"text":72,"@type":64},"The tutorial covers creating an RCP plug-in, building the model, first interactions with the graph, undo/redo, zoom and keyboard shortcuts, outline and miniature view, context menus, custom actions, property sheets, adding new graphical elements, and editing features like drag-and-drop and cut-and-paste.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},687551,1794084105,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,104,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":102,"slug":103},50,"technology",{"id":105,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},7,"Healthcare",40,"healthcare",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},8,"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":55,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":80,"read_time":144,"preview_page_count":115,"preview_urls":145},687207022233,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","GEF (Graphical Editing Framework)  \nTutorial  \nDocument version: 1.1  \nOctober 17, 2007: Initial release  \nApril 26, 2008: Website link updated  \nEpitech students  \nJean-Charles MAMMANA (jc.mammana [at] [gmail.com](gmail.com))  \nRomain MESON (romain.meson [at] [gmail.com](gmail.com)) Jonathan GRAMAIN (jonathan.gramain [at] [gmail.com](gmail.com))  \nMade during a work period at INRIA-Institut National de Recherche en Informatique et Automatique, Rocquencourt  \n(78) , in 2007  \nIn cooperation with ENSMP (Ecole des Mines de Paris)  \nAny representation or reproduction, even partial, of this publication, in any form whatsoever, is prohibited without prior written permission from one of its authors.  \nSUMMARY  \nSummary ................................................................................................................................... 3  \nIntroduction .............................................................................................................................. 4  \nPart 1: Creation of a RCP plug-in ............................................................................................. 5  \nPart 2: Creation of the model .................................................................................................. 12  \nPart 3: First interaction with the graph.................................................................................... 24  \nPart 4: Undo/Redo ................................................................................................................... 30  \nPart 5: Zoom and keyboard shortcuts...................................................................................... 36  \nPart 6: Outline ......................................................................................................................... 39  \nPart 7: Miniature view ............................................................................................................. 45  \nPart 8: Context menu............................................................................................................... 47  \nPart 9: Creating a custom action ............................................................................................. 49  \nWizard creation................................................................................................................................. 49  \nCommand creation ............................................................................................................................ 50  \nAction creation .................................................................................................................................. 51  \nEditPolicy creation ........................................................................................................................... 53  \nAssociate the new EditPolicy with the EditParts .............................................................................. 53  \nLast, property activation to update views ......................................................................................... 54  \nPart 10: Property Sheet............................................................................................................ 56  \nAdding the color of the services in the model ................................................................................... 56  \nDefine a property source................................................................................................................... 57  \nIntegration of the property sheet ....................................................................................................... 61  \nPart 11: Adding new graphical elements ................................................................................ 63  \nPalette insertion ................................................................................................................................ 63  \nAdding a service.................................................................","cbCaivAduT2UQnLv","https://ap.wps.com/l/cbCaivAduT2UQnLv","pdf",1207643,82,"English","# Summary\n# Introduction\n# Part 1: Creation of a RCP plug-in\n# Part 2: Creation of the model\n# Part 3: First interaction with the graph\n# Part 4: Undo/Redo\n# Part 5: Zoom and keyboard shortcuts\n# Part 6: Outline\n# Part 7: Miniature view\n# Part 8: Context menu\n# Part 9: Creating a custom action\n## Wizard creation\n## Command creation\n## Action creation\n## EditPolicy creation\n## Associate the new EditPolicy with the EditParts\n## Last, property activation to update views\n# Part 10: Property Sheet\n## Adding the color of the services in the model\n## Define a property source\n## Integration of the property sheet\n# Part 11: Adding new graphical elements\n## Palette insertion\n## Adding a service\n## Adding an employee in a service\n# Part 12: Drag and drop\n# Part 13: Cut and paste\n# Conclusion\n# References","[{\"question\":\"What is GEF and where is it used?\",\"answer\":\"GEF (Graphical Editing Framework) is a Java technology within the Eclipse framework, developed for graphical modeling of a Java object model. It can work alongside technologies such as EMF or GMF to support abstraction in application development.\"},{\"question\":\"Why was this tutorial created?\",\"answer\":\"The authors created it because they faced many practical problems while developing a GEF application. They also found available documentation and books focused more on theoretical concepts than on how to use GEF classes in real projects.\"},{\"question\":\"What topics are covered in the tutorial?\",\"answer\":\"The tutorial covers creating an RCP plug-in, building the model, first interactions with the graph, undo/redo, zoom and keyboard shortcuts, outline and miniature view, context menus, custom actions, property sheets, adding new graphical elements, and editing features like drag-and-drop and cut-and-paste.\"}]","GEF (Graphical Editing Framework) Tutorial - Practical Guide | PDF",207,[146,150,154,158,162,166,170,174,178],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/ddbaaec17964a24736a02b29080c6be4.webp",983,1390,{"page_no":26,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/960742be3f526bf0de96556f8387b16c.webp",982,1388,{"page_no":30,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/13fdb5af005f776b40b8405253a0c539.webp",981,1387,{"page_no":33,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/07f1a256b004b0228d03dc3699102194.webp",980,1385,{"page_no":97,"url":163,"width":164,"height":165},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/e78acecc2e65fd17601d72aa0691e113.webp",979,1384,{"page_no":55,"url":167,"width":168,"height":169},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/7c9c494f597db8f9a961dc8cdf613e7b.webp",978,1383,{"page_no":105,"url":171,"width":172,"height":173},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/84147610be8e179d0ed1cd75be5f8b75.webp",977,1381,{"page_no":110,"url":175,"width":176,"height":177},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/52838a8be8c51c50e511e541dd3ca3ff.webp",976,1380,{"page_no":115,"url":179,"width":180,"height":181},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/2d5e5c9d2497cb0e9ed18bffb4ff3cfa.webp",975,1378,{"list":183,"token":11},[184,190,196,202,208,214,220,226,233,239],{"doc_id":185,"doc_title":186,"file_type":137,"home_preview_img_url":187,"slug":188,"view_count":30,"category_name":29,"create_tm":189},759945,"Office 365 Essentials - Quick Reference Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044225272/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=1JTIqbA%2BlBd%2BF6cLxmlNOk0Vu%2Fw%3D","office-365-essentials-quick-reference-guide",1795897457,{"doc_id":191,"doc_title":192,"file_type":137,"home_preview_img_url":193,"slug":194,"view_count":110,"category_name":29,"create_tm":195},688583,"Microsoft Excel - Quick Reference","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000660376/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=%2FHrcaN484SZ2%2FXRMHbr8tZkDV4w%3D","microsoft-excel-quick-reference",1794089963,{"doc_id":197,"doc_title":198,"file_type":137,"home_preview_img_url":199,"slug":200,"view_count":97,"category_name":29,"create_tm":201},719757,"Microsoft Word Quick Reference - Basic Skills - Keyboard Shortcuts, Editing, Formatting","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024359389/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=HBcbPN0qzPWmvoLWI6smev%2BUmPg%3D","microsoft-word-quick-reference-basic-skills-keyboard-shortcuts-editing-formatting",1795029773,{"doc_id":203,"doc_title":204,"file_type":137,"home_preview_img_url":205,"slug":206,"view_count":105,"category_name":29,"create_tm":207},689499,"Altium Designer 20 Essentials Course - Version 2 - EU","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001696098/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=iGqSORUkoidGqGlen2teD98T6JI%3D","altium-designer-20-essentials-course-version-2-eu",1794111602,{"doc_id":209,"doc_title":210,"file_type":137,"home_preview_img_url":211,"slug":212,"view_count":55,"category_name":29,"create_tm":213},686785,"Keyboard Shortcuts - Quick reference","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000592918/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=%2FvKvUdFxRMqyA8G31oL8y6Pneos%3D","keyboard-shortcuts-quick-reference",1794064464,{"doc_id":215,"doc_title":216,"file_type":137,"home_preview_img_url":217,"slug":218,"view_count":55,"category_name":29,"create_tm":219},686928,"Word 2010 Shortcuts - Windows/English","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001223039/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=68jE9n9d1R0oW9tpM35CSzKd%2BtU%3D","word-2010-shortcuts-windowsenglish",1794076400,{"doc_id":221,"doc_title":222,"file_type":137,"home_preview_img_url":223,"slug":224,"view_count":26,"category_name":29,"create_tm":225},760261,"Windows 7 Keyboard Shortcuts","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044228251/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=FCbIx4YmExO6bTpEwNug75NGQ8c%3D","windows-7-keyboard-shortcuts",1795899210,{"doc_id":227,"doc_title":228,"file_type":137,"home_preview_img_url":229,"slug":230,"view_count":231,"category_name":29,"create_tm":232},689409,"PaintShop Pro - Keyboard Shortcuts - Single Key Shortcuts","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001620781/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=q1VFf%2B806Ib5Mip7IT%2F4Os%2FXLuA%3D","paintshop-pro-keyboard-shortcuts-single-key-shortcuts",11,1794107294,{"doc_id":234,"doc_title":235,"file_type":137,"home_preview_img_url":236,"slug":237,"view_count":33,"category_name":29,"create_tm":238},699559,"Outlook Cheat Sheet - Keyboard Shortcuts and Basic Skills","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230011237145/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=H1ohYoT%2B3lPalect1X6LZguIvC8%3D","outlook-cheat-sheet-keyboard-shortcuts-and-basic-skills",1794476454,{"doc_id":240,"doc_title":241,"file_type":137,"home_preview_img_url":242,"slug":243,"view_count":123,"category_name":29,"create_tm":244},686927,"Word Keyboard Shortcuts - Time-saving tips","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001223030/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=wn6a6s%2BbW48T%2FAvbRGpp5%2B4wD6E%3D","word-keyboard-shortcuts-time-saving-tips",1794076398]