Skip to content
juliusse edited this page Apr 11, 2013 · 4 revisions

This page is about the HTW-Messages repository. The project contains all request, which can be handled by the Freeplane Remote plugin and the according responses. The Freeplane Remote plugin uses Akka for communication.

The communication only happens between 'Play' and 'Freeplane Remote', because 'Freeplane Remote' is not exposed to the outside.
Only 'Play' is exposed. For more information about the API see Frontend Play.

Structure

class org.docear.messages.Messages

  • contains all messages as public static class * implements Serializable
  • requests, that perform actions on a mind map have to extend MindMapRequest
  • every Request has a response

package org.docear.messages.exceptions

  • contains all exceptions that can be thrown by Freeplane Remote

Usage

IDE-File Generation

  • IntelliJ IDEA: sbt gen-idea
  • Eclipse: sbt eclipse

Deployment

  1. run sbt package
  2. copy <HTW-Messages>/target/scala-2.10/messages_2.10-0.1-SNAPSHOT.jar to:
  • <HTW-Frontend>/lib/
  • <Freeplane>/freeplane_plugin_remote/lib/
  • <Freeplane>/freeplane_plugin_remote_tests/lib/

Clone this wiki locally