Class RevealPrimarySelectionBehavior

java.lang.Object
org.eclipse.gef.mvc.fx.behaviors.AbstractBehavior
org.eclipse.gef.mvc.fx.behaviors.RevealPrimarySelectionBehavior
All Implemented Interfaces:
IActivatable, IAdaptable.Bound<IVisualPart<? extends Node>>, IBehavior

public class RevealPrimarySelectionBehavior extends AbstractBehavior
The RevealPrimarySelectionBehavior observes the SelectionModel that is registered at the IViewer of its host and reveals the primary selection, i.e. the first element of the SelectionModel.selectionUnmodifiableProperty() when the selection changes.
  • Constructor Details

    • RevealPrimarySelectionBehavior

      public RevealPrimarySelectionBehavior()
  • Method Details