Package org.eclipse.gef.zest.fx.handlers
Class HideOnTypeHandler
java.lang.Object
org.eclipse.gef.common.adapt.IAdaptable.Bound.Impl<IVisualPart<? extends Node>>
org.eclipse.gef.mvc.fx.handlers.AbstractHandler
org.eclipse.gef.zest.fx.handlers.HideOnTypeHandler
- All Implemented Interfaces:
IAdaptable.Bound<IVisualPart<? extends Node>>,org.eclipse.gef.mvc.fx.handlers.IHandler,org.eclipse.gef.mvc.fx.handlers.IOnStrokeHandler
public class HideOnTypeHandler
extends org.eclipse.gef.mvc.fx.handlers.AbstractHandler
implements org.eclipse.gef.mvc.fx.handlers.IOnStrokeHandler
The
HideOnTypeHandler is an IOnTypeHandler that hides its
host NodePart upon the press of a
KeyCode.P key.-
Property Summary
Properties inherited from class org.eclipse.gef.common.adapt.IAdaptable.Bound.Impl
adaptableProperties inherited from interface org.eclipse.gef.common.adapt.IAdaptable.Bound
adaptable -
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.gef.common.adapt.IAdaptable.Bound
IAdaptable.Bound.Impl<T extends IAdaptable> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidfinalRelease(KeyEvent event) getHost()voidinitialPress(KeyEvent event) voidvoidMethods inherited from class org.eclipse.gef.mvc.fx.handlers.AbstractHandler
commit, execute, init, isRegistered, isRegisteredForHost, restoreRefreshVisuals, rollback, storeAndDisableRefreshVisualsMethods inherited from class org.eclipse.gef.common.adapt.IAdaptable.Bound.Impl
adaptableProperty, getAdaptable, setAdaptableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.gef.common.adapt.IAdaptable.Bound
adaptableProperty, getAdaptable, setAdaptable
-
Constructor Details
-
HideOnTypeHandler
public HideOnTypeHandler()
-
-
Method Details
-
abortPress
public void abortPress()- Specified by:
abortPressin interfaceorg.eclipse.gef.mvc.fx.handlers.IOnStrokeHandler
-
finalRelease
- Specified by:
finalReleasein interfaceorg.eclipse.gef.mvc.fx.handlers.IOnStrokeHandler
-
getHost
- Specified by:
getHostin interfaceorg.eclipse.gef.mvc.fx.handlers.IHandler- Overrides:
getHostin classorg.eclipse.gef.mvc.fx.handlers.AbstractHandler
-
initialPress
- Specified by:
initialPressin interfaceorg.eclipse.gef.mvc.fx.handlers.IOnStrokeHandler
-
press
- Specified by:
pressin interfaceorg.eclipse.gef.mvc.fx.handlers.IOnStrokeHandler
-
release
- Specified by:
releasein interfaceorg.eclipse.gef.mvc.fx.handlers.IOnStrokeHandler
-