We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.copilot.plugins.i18n.
Package com.vaadin.copilot.plugins.i18n
Class I18nHandler
java.lang.Object
com.vaadin.copilot.plugins.i18n.I18nHandler
All Implemented Interfaces:
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 handler
I18nHandler
(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_ERRORSee Also:
-
WRITE_TRANSLATION_ERROR
public static final int WRITE_TRANSLATION_ERRORSee Also:
-
SET_TRANSLATABLE_PROPERTY_ERROR
public static final int SET_TRANSLATABLE_PROPERTY_ERRORSee Also:
-
GET_TRANSLATABLE_PROPERTY_ERROR
public static final int GET_TRANSLATABLE_PROPERTY_ERRORSee 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
-