About XMind
Have you tried XMind? It is very nice, open source mind mapping tool. If you have not tried mind mapping at all, maybe it is a good time to start as it helps a lot to visualize any conceptualization and then conceptualize some complex matters even better.
XMind is built on top of Eclipse RCP and so far has been distributed also as eclipse plugin. However now this option is no longer supported. As I spend a lot of time in eclipse it is much more convenient to me, to have mind maps and code in the same tool.
Installation
I found the solution. Here is the script install-as-eclipse-plugin.sh
:
#/bin/bash -e if [ ! $2 ]; then echo "Usage ./install-as-eclipse-plugin.sh xmind_path eclipse_path" exit 1 fi XMIND_PATH="$1" ECLIPSE_PATH="$2" if [ ! -d $XMIND_PATH/plugins ]; then echo "Error - no /plugins directory in $XMIND_PATH - probably not XMind directory" exit 2 fi if [ ! -d $ECLIPSE_PATH/plugins ]; then echo "Error - no /plugins directory in $ECLIPSE_PATH - probably not eclipse directory" exit 3 fi echo "Copying XMind plugins from $XMIND_PATH to eclipse at $ECLIPSE_PATH" # remove old xmind plugins (if they exist) rm -fr $ECLIPSE_PATH/dropins/xmind mkdir -p $ECLIPSE_PATH/dropins/xmind/plugins # exclude language variants, and os specific stuff PLUGINS=`ls $XMIND_PATH/plugins | grep -v nl_ | grep -v linux | grep -v win32 | grep -v macos` for PLUGIN in $PLUGINS; do PLUGIN_NAME=`echo $PLUGIN | cut -d "_" -f 1` FOUND=`find "${ECLIPSE_PATH}/plugins" -name "${PLUGIN_NAME}_*"` if [ "$FOUND" == "" ]; then echo "Copying: $PLUGIN" cp -r $XMIND_PATH/plugins/$PLUGIN $ECLIPSE_PATH/dropins/xmind/plugins else echo "Plugin already installed: $PLUGIN_NAME" fi done
This script will compare XMind plugins with plugins already available on eclipse installation and copy only these missing. It will also exclude all localization resources (I don't need them) and macosx stuff. Adjust these lines according to your needs.
All the plugins will be copied to dropins/xmind
directory - it will ease the upgrade, if you want to remove xmind functionality from eclipse just remove this directory.
The only problem I have encountered so far is that on fresh eclipse installation, when new node is added to the map, there is exception from spell checker. Opening and closing xmind spell checking preferences in eclipse fixes this.
Update: I updated the script not to copy specific plugins, even if their version do not match. All the platform dependent stuff is excluded by default. The solution is tested with eclipse helios (3.6) and XMind 3.2.0.
How to use XMind in eclipse
Thanks to some comments I realized it could be not obvious how to use XMind inside eclipse. If you already have XMind file in one of your eclpse projects you can just click on it and it should open inside eclipse. Apparently you can also use File > Open File...
from pull down menu to open any .xmind
file. However you will not see all the Markers
and Overview
windows unless you open so called Mind Mapping
perspective. You have only one default perspective in XMind, but several perspectives in default eclipse installation. Use Windows > Open Perspective > Other... > Mind Mapping
from the pull down menu. You can also open separate windows specific to this perspective - just use Window > Show View
. In order to create new XMind file, just open File > New File > Other... > Mind Mapping > Mind Map Workbook