// Path: api/src/main/java/de/tesis/dynaware/grapheditor/utils/GraphEventManager.java
// public interface GraphEventManager
// {
// 
//     /**
//      * <p>
//      * This method is called by the framework. Custom skins should <b>not</b>
//      * call it.
//      * </p>
//      *
//      * @param pGesture
//      *            {@link GraphInputGesture} to check
//      * @param pEvent
//      *            {@link Event}
//      * @param pOwner
//      *            owner
//      * @return {@code true} if the given gesture was activated otherwise
//      *         {@code false}
//      */
//     boolean activateGesture(final GraphInputGesture pGesture, final Event pEvent, final Object pOwner);
// 
//     /**
//      * <p>
//      * This method is called by the framework. Custom skins should <b>not</b>
//      * call it.
//      * </p>
//      *
//      * @param pExpected
//      *            the expected gesture that should be finished
//      * @param pOwner
//      *            owner
//      * @return {@code true} if the state changed as a result of this operation
//      *         or {@code false}
//      */
//     boolean finishGesture(final GraphInputGesture pExpected, final Object pOwner);
// }
// 
// Path: api/src/main/java/de/tesis/dynaware/grapheditor/utils/GraphInputGesture.java
// public enum GraphInputGesture
// {
// 
//     /**
//      * Panning / moving the graph editor viewport
//      */
//     PAN,
// 
//     /**
//      * Zooming the graph editor viewport
//      */
//     ZOOM,
// 
//     /**
//      * Resizing graph editor elements
//      */
//     RESIZE,
// 
//     /**
//      * Moving graph editor elements
//      */
//     MOVE,
// 
//     /**
//      * Connecting graph editor elements
//      */
//     CONNECT,
// 
//     /**
//      * Selecting graph editor elements
//      */
//     SELECT;
// }


import de.tesis.dynaware.grapheditor.utils.GraphEventManager;
import de.tesis.dynaware.grapheditor.utils.GraphInputGesture;
import javafx.event.Event;
import javafx.scene.Node;
import javafx.scene.input.MouseEvent;
import javafx.scene.input.ScrollEvent;
import javafx.scene.input.TouchEvent;
import javafx.scene.input.ZoomEvent;
package de.tesis.dynaware.grapheditor.impl;



/**
 * Default implementation of {@link GraphEventManager}
 */
public class GraphEventManagerImpl implements GraphEventManager
{

// Path: api/src/main/java/de/tesis/dynaware/grapheditor/utils/GraphEventManager.java
// public interface GraphEventManager
// {
// 
//     /**
//      * <p>
//      * This method is called by the framework. Custom skins should <b>not</b>
//      * call it.
//      * </p>
//      *
//      * @param pGesture
//      *            {@link GraphInputGesture} to check
//      * @param pEvent
//      *            {@link Event}
//      * @param pOwner
//      *            owner
//      * @return {@code true} if the given gesture was activated otherwise
//      *         {@code false}
//      */
//     boolean activateGesture(final GraphInputGesture pGesture, final Event pEvent, final Object pOwner);
// 
//     /**
//      * <p>
//      * This method is called by the framework. Custom skins should <b>not</b>
//      * call it.
//      * </p>
//      *
//      * @param pExpected
//      *            the expected gesture that should be finished
//      * @param pOwner
//      *            owner
//      * @return {@code true} if the state changed as a result of this operation
//      *         or {@code false}
//      */
//     boolean finishGesture(final GraphInputGesture pExpected, final Object pOwner);
// }
// 
// Path: api/src/main/java/de/tesis/dynaware/grapheditor/utils/GraphInputGesture.java
// public enum GraphInputGesture
// {
// 
//     /**
//      * Panning / moving the graph editor viewport
//      */
//     PAN,
// 
//     /**
//      * Zooming the graph editor viewport
//      */
//     ZOOM,
// 
//     /**
//      * Resizing graph editor elements
//      */
//     RESIZE,
// 
//     /**
//      * Moving graph editor elements
//      */
//     MOVE,
// 
//     /**
//      * Connecting graph editor elements
//      */
//     CONNECT,
// 
//     /**
//      * Selecting graph editor elements
//      */
//     SELECT;
// }


// Path: api/src/main/java/de/tesis/dynaware/grapheditor/impl/GraphEventManagerImpl.java
import de.tesis.dynaware.grapheditor.utils.GraphEventManager;
import de.tesis.dynaware.grapheditor.utils.GraphInputGesture;
import javafx.event.Event;
import javafx.scene.Node;
import javafx.scene.input.MouseEvent;
import javafx.scene.input.ScrollEvent;
import javafx.scene.input.TouchEvent;
import javafx.scene.input.ZoomEvent;

package de.tesis.dynaware.grapheditor.impl;



/**
 * Default implementation of {@link GraphEventManager}
 */
public class GraphEventManagerImpl implements GraphEventManager
{

    private GraphInputGesture gesture;