public void registerIn(ActionRegistry registry) {
registry.register("javaAction", new CommandHandler<Command>() {
@Override
public void handleCommand(Command command, List<Command> response) {
InitializeAttributeCommand initializeAttributeCommand = new InitializeAttributeCommand();
initializeAttributeCommand.setPmId("JAVA");
initializeAttributeCommand.setPropertyName("purpose");
initializeAttributeCommand.setNewValue("works without JavaFX");
response.add(initializeAttributeCommand);
}
});
}