kit/src/main/java/com/oracle/javafx/scenebuilder/kit/editor/panel/content/ContentPanelController.java
public AbstractDriver lookupDriver(FXOMObject fxomObject) {
    final Object sceneGraphObject = fxomObject.getSceneGraphObject();
    final AbstractDriver result;

    if (sceneGraphObject instanceof HBox) {
      result = new HBoxDriver(this);
    } else if (sceneGraphObject instanceof VBox) {
      result = new VBoxDriver(this);
    } else if (sceneGraphObject instanceof GridPane) {
      result = new GridPaneDriver(this);
    } else if (sceneGraphObject instanceof BorderPane) {
      result = new BorderPaneDriver(this);
    } else if (sceneGraphObject instanceof Line) {
      result = new LineDriver(this);
    } else if (sceneGraphObject instanceof QuadCurve) {
      result = new QuadCurveDriver(this);
    } else if (sceneGraphObject instanceof CubicCurve) {
      result = new CubicCurveDriver(this);
    } else if (sceneGraphObject instanceof Polyline) {
      result = new PolylineDriver(this);
    } else if (sceneGraphObject instanceof Polygon) {
      result = new PolygonDriver(this);
    } else if (sceneGraphObject instanceof FlowPane) {
      result = new FlowPaneDriver(this);
    } else if (sceneGraphObject instanceof TextFlow) {
      result = new TextFlowDriver(this);
    } else if (sceneGraphObject instanceof ToolBar) {
      result = new ToolBarDriver(this);
    } else if (sceneGraphObject instanceof SplitPane) {
      result = new SplitPaneDriver(this);
    } else if (sceneGraphObject instanceof Tab) {
      result = new TabDriver(this);
    } else if (sceneGraphObject instanceof TabPane) {
      result = new TabPaneDriver(this);
    } else if (sceneGraphObject instanceof TableView) {
      result = new TableViewDriver(this);
    } else if (sceneGraphObject instanceof TableColumn) {
      result = new TableColumnDriver(this);
    } else if (sceneGraphObject instanceof TreeTableView) {
      result = new TreeTableViewDriver(this);
    } else if (sceneGraphObject instanceof TreeTableColumn) {
      result = new TreeTableColumnDriver(this);
    } else if (sceneGraphObject instanceof Node) {
      result = new GenericDriver(this);
    } else if (sceneGraphObject instanceof Scene) {
      result = new SceneDriver(this);
    } else if (sceneGraphObject instanceof Window) {
      result = new WindowDriver(this);
    } else {
      result = null;
    }

    return result;
  }
/**
   * @treatAsPrivate lookup the driver adapted to an fxom object
   * @param fxomObject an fxom object (never null)
   * @return null or the driver adapted to fxomObject
   */
@treatAsPrivate lookup the driver adapted to an fxom object
@param fxomObject an fxom object (never null)
@return null or the driver adapted to fxomObject
@treatAsPrivate lookup the driver adapted to an fxom object @param fxomObject an fxom object ( never null ) @return null or the driver adapted to fxomObject
public AbstractDriver lookupDriver(FXOMObject fxomObject) {
    final Object sceneGraphObject = fxomObject.getSceneGraphObject();
    final AbstractDriver result;
    if (sceneGraphObject instanceof HBox) {
      result = new HBoxDriver(this);
    } else if (sceneGraphObject instanceof VBox) {
      result = new VBoxDriver(this);
    } else if (sceneGraphObject instanceof GridPane) {
      result = new GridPaneDriver(this);
    } else if (sceneGraphObject instanceof BorderPane) {
      result = new BorderPaneDriver(this);
    } else if (sceneGraphObject instanceof Line) {
      result = new LineDriver(this);
    } else if (sceneGraphObject instanceof QuadCurve) {
      result = new QuadCurveDriver(this);
    } else if (sceneGraphObject instanceof CubicCurve) {
      result = new CubicCurveDriver(this);
    } else if (sceneGraphObject instanceof Polyline) {
      result = new PolylineDriver(this);
    } else if (sceneGraphObject instanceof Polygon) {
      result = new PolygonDriver(this);
    } else if (sceneGraphObject instanceof FlowPane) {
      result = new FlowPaneDriver(this);
    } else if (sceneGraphObject instanceof TextFlow) {
      result = new TextFlowDriver(this);
    } else if (sceneGraphObject instanceof ToolBar) {
      result = new ToolBarDriver(this);
    } else if (sceneGraphObject instanceof SplitPane) {
      result = new SplitPaneDriver(this);
    } else if (sceneGraphObject instanceof Tab) {
      result = new TabDriver(this);
    } else if (sceneGraphObject instanceof TabPane) {
      result = new TabPaneDriver(this);
    } else if (sceneGraphObject instanceof TableView) {
      result = new TableViewDriver(this);
    } else if (sceneGraphObject instanceof TableColumn) {
      result = new TableColumnDriver(this);
    } else if (sceneGraphObject instanceof TreeTableView) {
      result = new TreeTableViewDriver(this);
    } else if (sceneGraphObject instanceof TreeTableColumn) {
      result = new TreeTableColumnDriver(this);
    } else if (sceneGraphObject instanceof Node) {
      result = new GenericDriver(this);
    } else if (sceneGraphObject instanceof Scene) {
      result = new SceneDriver(this);
    } else if (sceneGraphObject instanceof Window) {
      result = new WindowDriver(this);
    } else {
      result = null;
    }
    return result;
  }
public AbstractDriver lookupDriver ( FXOMObject fxomObject ) { final Object sceneGraphObject = fxomObject . getSceneGraphObject ( ) ; final AbstractDriver result ; if ( sceneGraphObject instanceof HBox ) { result = new HBoxDriver ( this ) ; } else if ( sceneGraphObject instanceof VBox ) { result = new VBoxDriver ( this ) ; } else if ( sceneGraphObject instanceof GridPane ) { result = new GridPaneDriver ( this ) ; } else if ( sceneGraphObject instanceof BorderPane ) { result = new BorderPaneDriver ( this ) ; } else if ( sceneGraphObject instanceof Line ) { result = new LineDriver ( this ) ; } else if ( sceneGraphObject instanceof QuadCurve ) { result = new QuadCurveDriver ( this ) ; } else if ( sceneGraphObject instanceof CubicCurve ) { result = new CubicCurveDriver ( this ) ; } else if ( sceneGraphObject instanceof Polyline ) { result = new PolylineDriver ( this ) ; } else if ( sceneGraphObject instanceof Polygon ) { result = new PolygonDriver ( this ) ; } else if ( sceneGraphObject instanceof FlowPane ) { result = new FlowPaneDriver ( this ) ; } else if ( sceneGraphObject instanceof TextFlow ) { result = new TextFlowDriver ( this ) ; } else if ( sceneGraphObject instanceof ToolBar ) { result = new ToolBarDriver ( this ) ; } else if ( sceneGraphObject instanceof SplitPane ) { result = new SplitPaneDriver ( this ) ; } else if ( sceneGraphObject instanceof Tab ) { result = new TabDriver ( this ) ; } else if ( sceneGraphObject instanceof TabPane ) { result = new TabPaneDriver ( this ) ; } else if ( sceneGraphObject instanceof TableView ) { result = new TableViewDriver ( this ) ; } else if ( sceneGraphObject instanceof TableColumn ) { result = new TableColumnDriver ( this ) ; } else if ( sceneGraphObject instanceof TreeTableView ) { result = new TreeTableViewDriver ( this ) ; } else if ( sceneGraphObject instanceof TreeTableColumn ) { result = new TreeTableColumnDriver ( this ) ; } else if ( sceneGraphObject instanceof Node ) { result = new GenericDriver ( this ) ; } else if ( sceneGraphObject instanceof Scene ) { result = new SceneDriver ( this ) ; } else if ( sceneGraphObject instanceof Window ) { result = new WindowDriver ( this ) ; } else { result = null ; } return result ; }
@treatAsPrivate lookup the driver adapted to an fxom object
 @param fxomObject an fxom object (never null)
 @return null or the driver adapted to fxomObject
@treatAsPrivate lookup the driver adapted to an fxom object @param fxomObject an fxom object ( never null ) @return null or the driver adapted to fxomObject