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
(ApplicationConfiguration applicationConfiguration, ProjectManager projectManager) Create a new i18n handlerI18nHandler
(ApplicationConfiguration applicationConfiguration, ProjectManager projectManager, JavaRewriteHandler javaRewriteHandler) Create a new i18n handler -
Method Summary
Modifier and TypeMethodDescriptionboolean
handleMessage
(String command, elemental.json.JsonObject data, DevToolsInterface devToolsInterface) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.vaadin.copilot.CopilotCommand
handleConnect
-
Constructor Details
-
I18nHandler
public I18nHandler(ApplicationConfiguration applicationConfiguration, ProjectManager projectManager) Create a new i18n handler -
I18nHandler
public I18nHandler(ApplicationConfiguration applicationConfiguration, ProjectManager projectManager, JavaRewriteHandler javaRewriteHandler) Create a new i18n handler
-
-
Method Details
-
handleMessage
public boolean handleMessage(String command, elemental.json.JsonObject data, DevToolsInterface devToolsInterface) - Specified by:
handleMessage
in interfaceCopilotCommand
-