Public: Concord Software Projects : OTDrawingTool2
This page last changed on Aug 14, 2007 by scytacki.
A page to document the format for, and how to create your own drawing tool otml. You can run a drawing tool with stamps example here: http://rails.dev.concord.org/sds/2/offering/144/jnlp/540/view?sailotrunk.otmlurl=http://continuum.concord.org/otrunk/examples/DrawingTool/drawing_tool_stamps.otml&sailotrunk.hidetree=false&jnlp_properties=otrunk.view.author%253Dtrue%2526 Then go to the file menu and select "Save As..." ... <OTDrawingTool2 name="Stamp Drawing" backgroundImage="http://continuum.concord.org/otrunk/examples/DrawingTool/images/U6I1mixture234.png"> <stamps> <OTDrawingStamp src="http://continuum.concord.org/otrunk/examples/DrawingTool/images/canister.png" description="canister" /> <OTDrawingStamp src="http://continuum.concord.org/otrunk/examples/DrawingTool/images/mix.png" description="mix" /> <OTDrawingStamp src="http://continuum.concord.org/otrunk/examples/DrawingTool/images/plus.png" description="plus" /> </stamps> </OTDrawingTool2> ... You can put in references to your images, save the file, and go back to the File menu and select "Reload Window". You can use URLs relative to the location of the saved otml file, so you do not need to post the images online to test this out. |
Document generated by Confluence on Jan 27, 2014 16:52 |