Skip to main content link. Accesskey S
  • Anonymous
  • Log on
  • Help
  • IBM logo
  • IBM Composite Applications wiki
  • All Wikis
  • Home
  • Community Articles
  • Product Documentation
  • Learning Center


Search

Advanced Search

Categories

Tag Cloud

  • 6.2
  • 6.2.1
  • 8.0.1
  • 8.5
  • 8.5+
  • 8.5.1
  • advanced features
  • advantages
  • API
  • app dev
  • assembling
  • basics
  • benefits
  • Browser
  • CAE
  • catalog
  • changing page properties
  • changing value to another type of value
  • code snippet
  • component library
  • component properties
  • components
  • Composite Application Editor
  • Composite Applications
  • container components
  • containers
  • custom actions
  • debugging
  • demos
  • deploying
  • designing
  • developing
  • Eclipse
  • Eclipse components
  • editing properties
  • Editor
  • education
  • enablement
  • Expeditor
  • extending
  • extensions
  • FAQ
  • feature rules
  • framework
  • getting started
  • Help
  • HOD
  • host on demand
  • how to
  • Java
  • lead manager
  • linking
  • live text
  • match rules
  • new users
  • Notes
  • Notes components
  • nsf
  • NSF components
  • overview
  • page navigation
  • page properties
  • Palette
  • PBE
  • PIM
  • plugins
  • Portal
  • preference
  • product documentation
  • programming
  • properties
  • property broker
  • property broker editor
  • Property Broker Monitor tool
  • provisioning
  • resources
  • roadmap
  • samples
  • setting component properties
  • Sidebar
  • sideshelf
  • Symphony
  • Symphony view component
  • technote
  • testing
  • toolkit
  • TopologyHandler
  • troubleshooting
  • tutorial
  • update site
  • updating
  • upgrading
  • video
  • view
  • Web
  • web services
  • white lists
  • widgets
  • Wiring
  • WSDL
InformationInformation
You are currently viewing machine translated content. IBM translation might be available. Click IBM Translated Product Documentation to see what is available.X


Home > Developing Container Custom Actions > Using the Linux Native Application Viewer component
Rate this article 1 starRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Using the Linux Native Application Viewer component 

expanded Abstract
collapsed Abstract
No abstract provided.

IBM Lotus Expeditor 6.2.2 and IBM Lotus Notes 8.5.2 introduced a new component in Composite Applications known as Linux Native Application Viewer. This component provides a simplified way for a Linux (GTK) based native applications to be launched and embedded inside an eclipse view within a composite applications. This will allow your native applications to exist side-by-side with your SWT views in your composite application.

Adding the Linux Native Application Viewer component on the Composite Application Editor’s palette

1. Right Click in the open space on the palette, this will present you with a context menu. Now select the Add Components Add Locally Installed Components.

2. The Select a Local Component dialog opens. From the components list, select the Linux Native Application Viewer and click OK.

3. You should find the Linux Native Application Viewer added to the palette.


Configuring the Linux Native Application Viewer for native applications

Once you have added the native application viewer component to the palette in the Composite Application Editor, you are ready to use it in your composite applications.

1. Add the component to your composite application by dragging and dropping it to the layout pane. You should see an instance of the component added to the application layout. Initially, this component is not configured. Please refer the image below.

2. To edit the component properties, click on the component preference icon at the top right corner of this component to get to the Edit Component Properties menu item.

3. The Edit Component Properties dialog opens. Switch to the Component Settings tab to update the Native Application Viewer Properties.
    The information supplied here is used by the Linux Native Application Viewer runtime to launch the native application and then embed it inside the view.

    Name - Name of the application.

    Launch application – The value set here indicates whether to launch the native application upon the initialization of the viewer. If the value is set to true, and the window with the matching title is available then the application is not launched.

    Executable path - The application that will be launched. Absolute path or it must be in user's path. Note: if the application is launched from a shell script it will not be embedded inside a view. This is a required field.

    Window title - Title text of the window. The text specified here must be present in the title of the window that is being asked to be embedded inside the eclipse view. If the title specified here does not appear in the list of the windows that are opened, the application will not be embedded. Only the first window that has the matching title will be embedded. This is the required field.

    Timeout – The timeout value is specified in seconds. It is the duration before the Linux Native Application Viewer abandons searching for the native application window. This is to prevent the Linux Native Application Viewer to search for the application window indefinitely incase the application fails to open. If the application window opens after the timeout expiration, the will not be embedded.

4. Once you have set the native application properties, click OK to save the changes. You will notice the message in the component changed to indicate the configured application.


On the Linux platform, there is an option to launch the application inside the Composite application editor to validate your configuration settings. When on a non-linux platform, the application launch feature (the launch buttin) is disabled since this viewer only allows launching of the Linux based native applications on Linux platform.

5. Once you save the composite application, this component is configured for the specified native application. If component is configured properly, you will find the native application embedded inside the composite application view as shown below.


Troubleshooting & Limitations

· The embedding feature to work correctly, the fvwm2 window manager is required on the Linux platform. Other window managers may not support the reparenting of the native application and as a result you will notice the native application undocked outside the viewer.
· The Linux Native Application Viewer does not manage the state of the native applications.

expanded Article information
collapsed Article information
Category:
Developing Container Custom Actions
Tags:

This Version: Version 5 September 2, 2010 2:55:07 PM by Dharmesh Bhakta  IBMer

expanded Attachments (0)
collapsed Attachments (0)

 


expanded Versions (5)
collapsed Versions (5)
Version Comparison     
Version Date Changed by               Summary of changes
This version (5) Sep 2, 2010 2:55:07 PM Dharmesh Bhakta  
4 Jan 29, 2010 12:39:05 AM Dharmesh Bhakta  
3 Jan 18, 2010 11:30:14 AM Dharmesh Bhakta  
2 Jan 14, 2010 11:44:28 AM Dharmesh Bhakta  
1 Jan 14, 2010 11:43:54 AM Dharmesh Bhakta  
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedSubscribe to RSSHelpAbout
  • All Lotus and WebSphere Portal wikis
  • IBM developerWorks
  • IBM Software support
  • IBM Social Business User Experience Blog
  • IBMSocialBizUX on Twitter
  • IBMSocialBizUX on Facebook
  • Lotus product forums
  • IBM Social Business UX blog
  • IBM Collaboration Solutions
  • Recently added feedRecently added
  • Recently edited feedRecently edited
  • Recently added comments feedRecently Added Comments
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Contact IBM
  • IBM Terms of use
  • Wiki terms of use