Customizing PDS OE as per your needs Date: 28 June 2016 Presenter: DivyaTheja Pachipula
2 Focus of the session Need for customization Brief Introduction to PDS OE Customizations Demo
3 Need for Customizations Different Environments Different Personas
4 PDS OE – Introduction ConfigureDevelopBuildPublishTest PDS OE
5 SAMPLE APPLICATION Client UI GUI for.NET Business Logic Application Source Control (Subversion) AppServer (Remote Machine) Developers
6 ConfigureDevelopBuildPublishTest PDS OE CONFIGURE
7 Install/Uninstall Tools to/from your IDE Uninstall unwanted features Install third party plugins –SCM, Mylyn, etc.,., Custom Project Types Add your own o Folder layout o Libraries to PROPATH o Code generation templates
8 File Types Editor Choice Make it compliable File Templates Override Create New File Types: General → Editors → File Associations Build: Progress OpenEdge → Editor → Build File Templates: OpenEdge → Tools → Customization Editor CONFIGURE
9 Enable Java Emitter Templates for your project Enable JET Add jars to build path Progresside.jar Oe_common_ser vices.jar Add Dependencies Copy to project Template Generator skeleton Change template Write JET template Register in Customization Editor Register CONFIGURE File Templates require JET DependencyLocation oe_common_services jar \oeide\eclipse\plugins\com.openedge.pdt.core_ progresside jar \oeide\eclipse\plugins\com.openedge.pdt.text_ ablunit jar \oeide\eclipse\plugins\com.openedge.pdt.ablunit_ Templates List \oeide\eclipse\plugins\com.openedge.pdt.text_ \templates ABLUnit File Templates List \oeide\eclipse\plugins\com.openedge.pdt.ablunit_ \templates
10 Make your ABL code Run from a menu in PDS OE Run on specific event –Use ABL API o _oeidestartup.p o oeideservice.i –Use Run Configuration Menu: OpenEdge → Tools → Customization Editor CONFIGURE
11 Configuration Variables [11.6] Use PATH variables Preference: Progress OpenEdge → Customization Variables CONFIGURE
12 ConfigureDevelopBuildPublishTest PDS OE DEVELOP
13 DEVELOP Adjust layout to your work habits Menus Perspectives Working Sets Work on preferred set of files
14 Shortcut Keys Create you own shortcuts Customize Class Cache settings OpenEdge Tooling DEVELOP Preference: Progress OpenEdge → Advanced → Class Cache Preference: General → Keys
15 Macros Editor Templates Templates: Progress OpenEdge → Editor → Templates(macros) DEVELOP
16 Adjust settings for Code Completion –Include/Exclude proposals –Choose when to show proposals Formatting Casing Organize USING Statements –Group –Sort DEVELOP Editing: Progress OpenEdge → Editor USING Statements: Progress OpenEdge → Advanced → USING Statements
17 ConfigureDevelopBuildPublishTest PDS OE BUILD
18 BUILD What to build? Mark file extensions to be compilable Working Sets Exclude files from build When to build? Automatically On Save On Run On Debug On modifications Where to build? Choose your destination
19 ConfigureDevelopBuildPublishTest PDS OE PUBLISH
20 What to publish Set Server Modules Add Filters Only Source When to publish On modification On build Never Where to publish Local directory On remote Server PUBLISH
21 PUBLISH – ABL Documentation ABL Code Document your own tags in ABL code comments Custom Parser Write ABL document to your own format HTML PDF Text File, etc., Custom Serializer ABL Documentation
22 ConfigureDevelopBuildPublishTest PDS OE TEST
23 TEST Customize Logging Performance –Enforce startup parameter limits Culture –Use your own locale
Share to Team
25 SHARE TO TEAM Configuration files Database connections PROPATH Project Properties (project.xml) Run Configurations(.launch files) Shared AVM settings Database definitions Editor Macros Templates Custom Projects
Advanced?
27 Hosting ABL Tools in PDS OE ABL Application Progress AVM Progress AVM Eclipse Framework Eclipse Framework PDS OE IDE showView hideView getViewHwnd setEmbeddedWin dow addWindow setViewTitle isIDERunning IDE_Command showView hideView getViewHwnd setEmbeddedWi ndow addWindow setViewTitle SESSION:IDE-DEFAULT-PARENT-HWND hWindow:IDE-PARENT-HWND hWindow:IDE-WINDOW-TYPE showView hideView setPartName
28 PDS OE on Eclipse Eclipse Platform JAVA Platform 3 rd party Progress Developer Studio for OpenEdge (PDS OE) Unit Testing BPM ABL Editor DB Navigator Debug Appbuilder ABLDoc Servers
29 Write your own plug-in Know the plugin to extend Write your Java code Deploy to PDS OE
Demo
31 REFERENCES Whitepapers Custom Templates penedge-architect-working-with-custom-templates penedge-architect-working-with-custom-templates Embedding ABL Windows in PDS OE penedge-architect-embedding-abl-windows penedge-architect-embedding-abl-windows Support for Java Style comments in ABLDoc