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
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
Fields inherited from interface com.vaadin.copilot.CopilotCommand
KEY_CANCEL_REQ_ID, KEY_REQ_ID
-
Constructor Summary
ConstructorsConstructorDescriptionI18nHandler
(ProjectManager projectManager) Create a new i18n handlerI18nHandler
(ProjectManager projectManager, ComponentSourceFinder sourceFinder) -
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
canBeParallelCommand, handleConnect
-
Field Details
-
GET_TRANSLATION_ERROR
public static final int GET_TRANSLATION_ERROR- See Also:
-
WRITE_TRANSLATION_ERROR
public static final int WRITE_TRANSLATION_ERROR- See Also:
-
SET_TRANSLATABLE_PROPERTY_ERROR
public static final int SET_TRANSLATABLE_PROPERTY_ERROR- See Also:
-
GET_TRANSLATABLE_PROPERTY_ERROR
public static final int GET_TRANSLATABLE_PROPERTY_ERROR- See Also:
-
-
Constructor Details
-
I18nHandler
Create a new i18n handler -
I18nHandler
-
-
Method Details
-
handleMessage
public boolean handleMessage(String command, elemental.json.JsonObject data, DevToolsInterface devToolsInterface) - Specified by:
handleMessage
in interfaceCopilotCommand
-