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
adaptable
Properties 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 TypeMethodDescriptionvoid
void
finalRelease
(KeyEvent event) getHost()
void
initialPress
(KeyEvent event) void
void
Methods inherited from class org.eclipse.gef.mvc.fx.handlers.AbstractHandler
commit, execute, init, isRegistered, isRegisteredForHost, restoreRefreshVisuals, rollback, storeAndDisableRefreshVisuals
Methods inherited from class org.eclipse.gef.common.adapt.IAdaptable.Bound.Impl
adaptableProperty, getAdaptable, setAdaptable
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
abortPress
in interfaceorg.eclipse.gef.mvc.fx.handlers.IOnStrokeHandler
-
finalRelease
- Specified by:
finalRelease
in interfaceorg.eclipse.gef.mvc.fx.handlers.IOnStrokeHandler
-
getHost
- Specified by:
getHost
in interfaceorg.eclipse.gef.mvc.fx.handlers.IHandler
- Overrides:
getHost
in classorg.eclipse.gef.mvc.fx.handlers.AbstractHandler
-
initialPress
- Specified by:
initialPress
in interfaceorg.eclipse.gef.mvc.fx.handlers.IOnStrokeHandler
-
press
- Specified by:
press
in interfaceorg.eclipse.gef.mvc.fx.handlers.IOnStrokeHandler
-
release
- Specified by:
release
in interfaceorg.eclipse.gef.mvc.fx.handlers.IOnStrokeHandler
-