Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Running the Higgins Demo App

Revision as of 20:22, 19 November 2005 by Mruddy (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Running the Higgins Demo App

The following steps launch two copies of the Higgins demo app, instantiate a "ProfileShare" context on each and share some simple vCard-like information (Name, address, etc.) between the two apps.

  • Make sure ECF plug-ins are installed as described above
  • Launch the Java Application configuration named ServerApplication with either Eclipse Run->Run... or Run->Debug...
  • Launch the Eclipse Application configuration named Higgins Demo App 1 with either Eclipse Run->Run... or Run->Debug...
  • Launch the Eclipse Application configuration named Higgins Demo App 2 with either Eclipse Run->Run... or Run->Debug...

At this point you should have the ECF server running and two demo apps.

  • On the first app click Context > New > ProfileShare - this will bring up the 'New Profile Share context' dialogue box:
    • Type "ps1" into the field "Name for new profile sharing network"
    • Type "demo1" into the field "Your alias within this profile sharing network"
    • Type "A" into user name (this is ignored)
    • Type "A" into the password (this is ignored)
    • Leave the other fields alone
    • Click Finish
  • In the context tree view, expand the root node and then expand the 'ps1' node
  • Select the 'demo1' leaf node (facet)
  • In the How I'm Seen tab, enter some information into the various fields
  • Click the Save Changes icon (looks like a clipboard)
  • Click Context > Sync
  • In the second app click Context > New > ProfileShare - this will bring up the 'New Profile Share context' dialogue box:
    • Type "ps1" into the field "Name for new profile sharing network"
    • Type "demo2" into the field "Your alias within this profile sharing network"
    • Type "A" into user name (this is ignored)
    • Type "A" into the password (this is ignored)
    • Leave the other fields alone
    • Click Finish
  • Select 'ps1' in the context navigator view
  • Click on People > Create Facet
  • The create facet name dialogue will appear:
    • Type "demo1" in the "The facet name" field
    • Click OK
  • Notice that if you select 'demo1' in the Contexts tree (in the second app), the information shown in What I See in is whatever was entered originally in the first app.

After you edit/update information about your app's facet (e.g. demo1 for the first app and demo2 for the second), you must remember to both Save Changes and Context > Sync in order to propagate the changes.

BUG: The How I'm Seen and What I See tabbed views do not refresh themselves properly. You must select the facet in the Context view at the left each time to force a refresh.

Back to the top