17d3bbbe9f6f0a6d783443edfc739b64.ppt
- Количество слайдов: 16
Developing Plugins for Same. Time Connect 7. 5 Jian Min JIANG jiangjm@cn. ibm. com Lotus ISV Technical Enablement China Software Development Lab ®
UI Extensions: Main Window Tools Menu Branding Area Action Bar Telephony Live Names “Mini Apps” Status bar
UI Extensions: Chat Window Tools Menu Telephony Action Bar Branding Area Send area actions Status bar
More examples of UI extensions § Extend menus and toolbars in other windows (e. g. , n-way chat participant list) § Extend Sametime’s system tray menu choices, as shown to right (“Blue. Pages”) § Extend Preferences UI using standard Eclipse API § Add branding areas to login dialog, Contact List, and chat window § Add actions to a contact’s pop-up menu § Reuse business card Blue. Pages and Voice Suite are internal IBM plug-ins
Extending Sametime Connect - Steps 1. Have an idea? 2. Approach 1: Choose the appropriate UI extension 3. Approach 2: Choose the appropriate event override 4. Alternatives to Extending Sametime Connect 5. Code 6. Test 7. Deploy
Extending Sametime Connect - Approaches Approach 1: Choose the appropriate UI extension Approach 2: Choose the appropriate event override § Actions: Main menu, § Transform chat messages (e. g. , § Areas: Mini app, chat area, n-way § React to location changes, § Information extension: Person § Automated responses (e. g. , DND person/group context menu, toolbars list area, pop-up add-on status, n-way list columns translation or keyword substitution) coordinate with other applications in presentation mode) These approaches can be combined as needed.
Extending Sametime Connect - Alternatives § Don’t extend the client 4 Convenience can turn to clutter § Extend your own application instead 4 4 Extend your web application using Sametime Links Toolkit* Java application using Sametime Java Toolkit* RCP application using Livenames Notes 8 application § Other options are on the horizon 4 Reuse of Sametime Connect views in Expeditor** * ST Links is unchanged; ST Java TK AWT-based UI elements are deprecated ** You can extend Sametime Connect 7. 5’s UI; future versions will allow reuse of its views in your rich client application.
Extending Sametime Connect – UI Elements action. Set ext. point* view. Actions ext. point* Group, Person popup. Menus ext. point* (Group. Selection) (from System tray) My. Business. Card (Person) n. Way. List. Extention ext. point Person (from n-way chat) popup. Menus ext. point* (Person. Section) chat. Action ext. point mini. App ext. point (Abstract. Mini. App) (from chat window) * Standard Eclipse UI extension points
Extending Sametime Connect – Code, Test, Deploy § Code 4 Familiar to Eclipse developers (plug-ins, SWT, JFace) 4 Eclipse IDE wizards simplify code and debug § Test 4 Launch directly from Eclipse IDE or connect to running client 4 Expeditor Toolkit automates creation of Launch configuration, includes properly configured J 9 runtime environment § Development-time Deployment 4 Run directly from Eclipse’s PDE (Plug-in Development Environment), or 4 Copy to installation’s plugins directory and restart with -clean option § Production Deployment 4 When complete, create update site; optionally require installation at client startup 4 Delivery is either via “pull” from users with Update Manager, or “push” from server from enterprise-wide update site
Sample plug-in: Branding § Extension Point 4 com. ibm. collaboration. realtime. ui. stbranding § Options 4 Image 4 URL 4 Eclipse Widget § Any controls or combinations, but the size is limited § Extend STBranding. Area § Implementation of create. Control public Control create. Control(Composite parent) { ……. }
Same. Time Connect Client Customization: Branding
Same. Time Connect Client Customization : Branding
Same. Time Connect Client Customization: Splash