Friday, October 31, 2008

Test Notes 8 samples

You are now ready to import and launch some of the samples.

Abstract

  • Locating the samples
  • Importing the samples
  • Launching the toolkit

Locating the samples
There are two sample gallery projects located at

EXPEDITOR_TOOLKIT_INSTALL\plugins\
  • com.ibm.rcp.tools.samplegallery_6.1.2.xx
    (now called samples1)
  • com.ibm.rcp.tools.samplegallery2_6.1.2.xx
    (now called samples2)
Unzip them into different folders (samples1 and samples2)

You will test two of the samples.
  • RichApp (placed in samples1)
    This is a mini application plug-in that inserts itself into the right sidebar
  • PropertyBroker (placed in samples2)
    This is a multiple view based plug-in, with property change listeners and simple GUI SWT manipulation

Importing the samples
Each sample has to be imported into the workspace

First you import the RichApp sample project
  • Choose File - Import - General - Existing Projects into Workspace
  • Click Next
  • Choose Select Archive File
  • Click Browse
  • Go to ....\samples1
  • Select the richapp.jar
  • Click Finish
And now you import the PropertyBroker sample project
  • Choose File - Import - General - Existing Projects into Workspace
  • Click Next
  • Choose Select Archive File
  • Click Browse
  • Go to ....\samples2
  • Select the propertybroker.jar
  • Click Finish
That's it the samples are in place, don't worry about the Type Safety warnings.

Now let's see how to launch the toolkit and samples.

Launching the Toolkit
Lotus Expeditor comes with a launcher that is configured for Lotus Notes, which is called Client Services.
  • Choose Run - Run... from the IDE menu.
  • Select Client Services launcher in the left pane
  • Click New, on the leftmost icon in the top toolbar, to create a new instance of the Client Services launcher
Here you see the Main tab of the Client Services launch properties.

On the Main tab verify that Runtime JRE is Notes 8 VM


On the Target tab, verify that Target is Notes 8.0.x Target


On the Plugins tab, verify that the sample plug-ins are selected.


Your sample plug-ins are under the Workspace Plug-ins node
  • com.ibm.rcp.samples.propertybroker.color (version)
  • com.ibm.rcp.samples.richapp (version)
Let's see what happens when we run this...

  • Now hit the Run button
The Notes client will load and ask for credentials
  • Log in to the Notes client
Now let's find the plug-ins. From the big light blue Open button, leftmost in the top toolbar.
  • Click the big Open button, in the upper left corner
  • Find and click the entry Property Broker Sample Perspective
    The PropertyBroker sample opens in a new perspective
  • Open the sidebar on your right
  • Click the Shelf View title
    The RichApp sample opens as an embedded mini app in the sidebar


Yes, it worked, for me anyway. It took some time but now you're ready to analyze the samples more thoroughly and investigate how things are done.

What's Next?
Next you will complete task:
  • Create Sametime 8 Environment

HOME

No comments:

Search This Blog

Eclipse Live: Equinox Ganymede

The creator of an Eclipse Bible, introduces Equinox and its building blocks for creating applications. We overview the architecture and technology, and demonstrate many of the building blocks.
by Jeff McAffer (Code 9)