diff options
author | Artur Signell <artur@vaadin.com> | 2015-01-28 22:22:46 +0200 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2015-01-28 22:22:46 +0200 |
commit | 6aea785642f66dbde578765dcaa429415c8ac75c (patch) | |
tree | 2329b3b6f8a33a445cf97d7f63ba2172fa268392 /shared | |
parent | e6ff02e314c8739537b688d2908571baa16764e8 (diff) | |
parent | 4ad7cefcc06e372df8b67a2456616d7410c768d8 (diff) | |
download | vaadin-framework-6aea785642f66dbde578765dcaa429415c8ac75c.tar.gz vaadin-framework-6aea785642f66dbde578765dcaa429415c8ac75c.zip |
Merge remote-tracking branch 'origin/master' into grid
Conflicts:
client/src/com/vaadin/client/ui/VWindow.java
Change-Id: I1a35db88a2b11acf76b58c417575451edfdb275d
Diffstat (limited to 'shared')
-rw-r--r-- | shared/src/com/vaadin/shared/ui/ui/Transport.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/shared/src/com/vaadin/shared/ui/ui/Transport.java b/shared/src/com/vaadin/shared/ui/ui/Transport.java index 6eafba185e..39174caddf 100644 --- a/shared/src/com/vaadin/shared/ui/ui/Transport.java +++ b/shared/src/com/vaadin/shared/ui/ui/Transport.java @@ -46,4 +46,12 @@ public enum Transport { return identifier; } + public static Transport getByIdentifier(String identifier) { + for (Transport t : values()) { + if (t.getIdentifier().equals(identifier)) { + return t; + } + } + return null; + } } |