Erwin and Christopher,
CC'ed ice-dev for completeness.
I started putting together a plugin for
ICE that will run Triquetrum workflows.
It was easiest to do this with a fork of
the main ICE repo so that I can give
Erwin commit privileges to push his
changes back.
The way that I am doing this for now is to
create an ICE plugin using our project
generator. This will be sufficient to
demonstrate for the talk that ICE and
Triquetrum can talk to each other.
However, it is not the way that I want to
do it long term. The really sustainable
way to do this will leverage some upcoming
workflow engine updates that we are
working on which will make it possible to
create compositions of whole workflow
engines.
Here are the instructions to get the fork
and run ICE from it:
1.) Create an empty workspace
3.) Switch to the next branch and import all
projects
4.) Go to org.eclipse.ice.target.mars and set
mars.target as your target (unless you are doing
this with ICE, which already has all of the
required bundles set).
5.) Go to the org.eclipse.ice.repository project
and right-click and run the launch configuration
product.* for your OS. If you are using Windows or
Mac, you will need to add
org.eclipse.ice.triquetrum to that configuration.
6.) Go to the ICE perspective and in the
ItemViewer at the left create the Triquetrum Item
by clicking on the green plus button. The
Triquetrum Item is currently at the bottom of the
list that appears with an ugly name at the moment.
(See attached picture.)
You can edit the code for Triquetrum by
modifying the contents of the
org.eclipse.ice.triquetrum bundle. I suggest that
we do everything in the Model Item for the moment
and don't mess with the launcher (no need really).
I think the way that this should work is that
someone creates a workflow in Triquetrum with the
graphical tools. Then, they open this Triquetrum
model in ICE and they have a list of Triquetrum
workflows from which they can choose. Once they
pick one, the can choose something like "Launch
Triquetrum Workflow" from the process bar at the
top, hit Go! and the process() operation executes
the workflow.
I have attached a data file that contains
reflectivity data. The x axis is the angle Q and the
y axis is the specular reflectivity. I don't know
the units off-hand.
This is all I have time to do with this today and
probably until Friday, but I should still be able to
answer questions. If you can get ICE calling
Triquetrum from
TriquetrumWorkflowItemModel.setupForm(), then the rest
should be very easy.