Package com.vaadin.copilot.plugins.i18n
Class I18nHandler
java.lang.Object
com.vaadin.copilot.plugins.i18n.I18nHandler
- All Implemented Interfaces:
CopilotCommand
Command handler for i18n related operations
-
Field Summary
Fields inherited from interface com.vaadin.copilot.CopilotCommand
KEY_CANCEL_REQ_ID, KEY_REQ_ID -
Constructor Summary
ConstructorsConstructorDescriptionI18nHandler(com.vaadin.flow.server.startup.ApplicationConfiguration applicationConfiguration, ProjectManager projectManager) Create a new i18n handlerI18nHandler(com.vaadin.flow.server.startup.ApplicationConfiguration applicationConfiguration, ProjectManager projectManager, JavaRewriteHandler javaRewriteHandler) Create a new i18n handler -
Method Summary
Modifier and TypeMethodDescriptionbooleanhandleMessage(String command, elemental.json.JsonObject data, com.vaadin.base.devserver.DevToolsInterface devToolsInterface) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.copilot.CopilotCommand
handleConnect
-
Constructor Details
-
I18nHandler
public I18nHandler(com.vaadin.flow.server.startup.ApplicationConfiguration applicationConfiguration, ProjectManager projectManager) Create a new i18n handler -
I18nHandler
public I18nHandler(com.vaadin.flow.server.startup.ApplicationConfiguration applicationConfiguration, ProjectManager projectManager, JavaRewriteHandler javaRewriteHandler) Create a new i18n handler
-
-
Method Details
-
handleMessage
public boolean handleMessage(String command, elemental.json.JsonObject data, com.vaadin.base.devserver.DevToolsInterface devToolsInterface) - Specified by:
handleMessagein interfaceCopilotCommand
-