\r
import java.awt.event.MouseEvent;\r
import java.util.ArrayList;\r
-import java.util.HashMap;\r
import java.util.List;\r
-import java.util.Map;\r
-import java.util.Stack;\r
\r
import javax.vecmath.Tuple3d;\r
import javax.vecmath.Vector3d;\r
\r
import org.eclipse.jface.action.Action;\r
-import org.eclipse.jface.action.IContributionItem;\r
import org.eclipse.jface.action.IMenuListener;\r
import org.eclipse.jface.action.IMenuManager;\r
import org.eclipse.jface.action.IToolBarManager;\r
import org.eclipse.swt.widgets.Composite;\r
import org.eclipse.swt.widgets.Menu;\r
import org.eclipse.ui.IActionBars;\r
-import org.eclipse.ui.IEditorActionBarContributor;\r
import org.eclipse.ui.ISharedImages;\r
import org.eclipse.ui.IWorkbenchActionConstants;\r
import org.eclipse.ui.IWorkbenchPart;\r
import org.eclipse.ui.PlatformUI;\r
-import org.eclipse.ui.commands.ICommandService;\r
import org.eclipse.ui.internal.WorkbenchWindow;\r
import org.simantics.db.Graph;\r
import org.simantics.db.GraphRequestAdapter;\r