Package pl.net.bluesoft.rnd.processtool.ui.widgets.annotations

Examples of pl.net.bluesoft.rnd.processtool.ui.widgets.annotations.AliasName


  }


  @Override
  public void registerButton(Class<?> cls) {
    AliasName annotation = cls.getAnnotation(AliasName.class);
    if (annotation != null) {
      BUTTON_REGISTRY.put(annotation.name(), (Class<? extends ProcessToolActionButton>) cls);
            logger.info("Registered button alias: " + annotation.name() + " -> " + cls.getName());
    }
  }
View Full Code Here


    }
  }

  @Override
  public void unregisterButton(Class<?> cls) {
        AliasName annotation = cls.getAnnotation(AliasName.class);
    if (annotation != null) {
      BUTTON_REGISTRY.remove(annotation.name());
            logger.info("Unregistered button alias: " + annotation.name() + " -> " + cls.getName());
    }
  }
View Full Code Here

TOP

Related Classes of pl.net.bluesoft.rnd.processtool.ui.widgets.annotations.AliasName

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.