]> source.dussan.org Git - vaadin-framework.git/commitdiff
Moved ShortcutActionHandler constants to shared (#8484)
authorArtur Signell <artur@vaadin.com>
Mon, 1 Oct 2012 15:57:41 +0000 (18:57 +0300)
committerArtur Signell <artur@vaadin.com>
Mon, 1 Oct 2012 15:57:53 +0000 (18:57 +0300)
Change-Id: I59b0f732f819ceb5e63182c7f3ac492f913a6278

shared/src/com/vaadin/shared/ui/ShortCutConstants.java [new file with mode: 0644]

diff --git a/shared/src/com/vaadin/shared/ui/ShortCutConstants.java b/shared/src/com/vaadin/shared/ui/ShortCutConstants.java
new file mode 100644 (file)
index 0000000..1de9ba6
--- /dev/null
@@ -0,0 +1,28 @@
+/*
+ * Copyright 2011 Vaadin Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+package com.vaadin.shared.ui;
+
+public class ShortCutConstants {
+    public static final String ACTION_TARGET_ATTRIBUTE = "sat";
+    public static final String ACTION_TARGET_ACTION_ATTRIBUTE = "sata";
+    public static final String ACTION_CAPTION_ATTRIBUTE = "caption";
+    public static final String ACTION_KEY_ATTRIBUTE = "key";
+    public static final String ACTION_SHORTCUT_KEY_ATTRIBUTE = "kc";
+    public static final String ACTION_MODIFIER_KEYS_ATTRIBUTE = "mk";
+    public static final String ACTION_TARGET_VARIABLE = "actiontarget";
+    public static final String ACTION_TARGET_ACTION_VARIABLE = "action";
+
+}