de.fxdiagram.core/xtend-gen/de/fxdiagram/core/XShape.java
@Override
  public void activate() {
    boolean _isActive = this.getIsActive();
    boolean _not = (!_isActive);
    if (_not) {
      try {
        this.isActiveProperty.set(true);
        this.initializeGraphics();
        this.doActivate();
        InitializingListener<Boolean> _initializingListener = new InitializingListener<Boolean>();
        final Procedure1<InitializingListener<Boolean>> _function = (InitializingListener<Boolean> it) -> {
          final Procedure1<Boolean> _function_1 = (Boolean it_1) -> {
            this.selectionFeedback((it_1).booleanValue());
          };
          it.setSet(_function_1);
        };
        InitializingListener<Boolean> _doubleArrow = ObjectExtensions.<InitializingListener<Boolean>>operator_doubleArrow(_initializingListener, _function);
        CoreExtensions.<Boolean>addInitializingListener(this.selectedProperty, _doubleArrow);
        InitializingMapListener<Class<? extends Behavior>, Behavior> _initializingMapListener = new InitializingMapListener<Class<? extends Behavior>, Behavior>();
        final Procedure1<InitializingMapListener<Class<? extends Behavior>, Behavior>> _function_1 = (InitializingMapListener<Class<? extends Behavior>, Behavior> it) -> {
          final Procedure2<Class<? extends Behavior>, Behavior> _function_2 = (Class<? extends Behavior> key, Behavior value) -> {
            value.activate();
          };
          it.setPut(_function_2);
        };
        InitializingMapListener<Class<? extends Behavior>, Behavior> _doubleArrow_1 = ObjectExtensions.<InitializingMapListener<Class<? extends Behavior>, Behavior>>operator_doubleArrow(_initializingMapListener, _function_1);
        CoreExtensions.<Class<? extends Behavior>, Behavior>addInitializingListener(this.behaviors, _doubleArrow_1);
      } catch (final Throwable _t) {
        if (_t instanceof Exception) {
          final Exception exc = (Exception)_t;
          XShape.LOG.severe(exc.getMessage());
          exc.printStackTrace();
        } else {
          throw Exceptions.sneakyThrow(_t);
        }
      }
    }
  }
/**
   * Don't override this unless you know what you're doing.
   * Override {@link #doActivate} instead.
   */
Don't override this unless you know what you're doing.
Override  #doActivate instead.
Don ' t override this unless you know what you ' re doing . Override #doActivate instead .
@Override
  public void activate() {
    boolean _isActive = this.getIsActive();
    boolean _not = (!_isActive);
    if (_not) {
      try {
        this.isActiveProperty.set(true);
        this.initializeGraphics();
        this.doActivate();
        InitializingListener<Boolean> _initializingListener = new InitializingListener<Boolean>();
        final Procedure1<InitializingListener<Boolean>> _function = (InitializingListener<Boolean> it) -> {
          final Procedure1<Boolean> _function_1 = (Boolean it_1) -> {
            this.selectionFeedback((it_1).booleanValue());
          };
          it.setSet(_function_1);
        };
        InitializingListener<Boolean> _doubleArrow = ObjectExtensions.<InitializingListener<Boolean>>operator_doubleArrow(_initializingListener, _function);
        CoreExtensions.<Boolean>addInitializingListener(this.selectedProperty, _doubleArrow);
        InitializingMapListener<Class<? extends Behavior>, Behavior> _initializingMapListener = new InitializingMapListener<Class<? extends Behavior>, Behavior>();
        final Procedure1<InitializingMapListener<Class<? extends Behavior>, Behavior>> _function_1 = (InitializingMapListener<Class<? extends Behavior>, Behavior> it) -> {
          final Procedure2<Class<? extends Behavior>, Behavior> _function_2 = (Class<? extends Behavior> key, Behavior value) -> {
            value.activate();
          };
          it.setPut(_function_2);
        };
        InitializingMapListener<Class<? extends Behavior>, Behavior> _doubleArrow_1 = ObjectExtensions.<InitializingMapListener<Class<? extends Behavior>, Behavior>>operator_doubleArrow(_initializingMapListener, _function_1);
        CoreExtensions.<Class<? extends Behavior>, Behavior>addInitializingListener(this.behaviors, _doubleArrow_1);
      } catch (final Throwable _t) {
        if (_t instanceof Exception) {
          final Exception exc = (Exception)_t;
          XShape.LOG.severe(exc.getMessage());
          exc.printStackTrace();
        } else {
          throw Exceptions.sneakyThrow(_t);
        }
      }
    }
  }
@ Override public void activate ( ) { boolean _isActive = this . getIsActive ( ) ; boolean _not = ( ! _isActive ) ; if ( _not ) { try { this . isActiveProperty . set ( true ) ; this . initializeGraphics ( ) ; this . doActivate ( ) ; InitializingListener < Boolean > _initializingListener = new InitializingListener < Boolean > ( ) ; final Procedure1 < InitializingListener < Boolean > > _function = ( InitializingListener < Boolean > it ) -> { final Procedure1 < Boolean > _function_1 = ( Boolean it_1 ) -> { this . selectionFeedback ( ( it_1 ) . booleanValue ( ) ) ; } ; it . setSet ( _function_1 ) ; } ; InitializingListener < Boolean > _doubleArrow = ObjectExtensions . < InitializingListener < Boolean > > operator_doubleArrow ( _initializingListener , _function ) ; CoreExtensions . < Boolean > addInitializingListener ( this . selectedProperty , _doubleArrow ) ; InitializingMapListener < Class < ? extends Behavior > , Behavior > _initializingMapListener = new InitializingMapListener < Class < ? extends Behavior > , Behavior > ( ) ; final Procedure1 < InitializingMapListener < Class < ? extends Behavior > , Behavior > > _function_1 = ( InitializingMapListener < Class < ? extends Behavior > , Behavior > it ) -> { final Procedure2 < Class < ? extends Behavior > , Behavior > _function_2 = ( Class < ? extends Behavior > key , Behavior value ) -> { value . activate ( ) ; } ; it . setPut ( _function_2 ) ; } ; InitializingMapListener < Class < ? extends Behavior > , Behavior > _doubleArrow_1 = ObjectExtensions . < InitializingMapListener < Class < ? extends Behavior > , Behavior > > operator_doubleArrow ( _initializingMapListener , _function_1 ) ; CoreExtensions . < Class < ? extends Behavior > , Behavior > addInitializingListener ( this . behaviors , _doubleArrow_1 ) ; } catch ( final Throwable _t ) { if ( _t instanceof Exception ) { final Exception exc = ( Exception ) _t ; XShape . LOG . severe ( exc . getMessage ( ) ) ; exc . printStackTrace ( ) ; } else { throw Exceptions . sneakyThrow ( _t ) ; } } } }
Don't override this unless you know what you're doing.
Don ' t override this unless you know what you ' re doing .