Subversion Repository Public Repository

litesoft

Diff Revisions 2 vs 49 for /trunk/Java/GWT/Dev/src/org/litesoft/GWT/client/dev/ui/inspection/ElementSelectionSpec.java

Diff revisions: vs.
  @@ -1,3 +1,4 @@
1 + // This Source Code is in the Public Domain per: http://litesoft.org/License.txt
1 2 package org.litesoft.GWT.client.dev.ui.inspection;
2 3
3 4 import java.util.*;
  @@ -8,29 +9,29 @@
8 9 {
9 10 private Map<String, String> mAttributes = new HashMap<String, String>();
10 11 private String mElementName;
11 -
12 +
12 13 @Deprecated
13 14 public ElementSelectionSpec()
14 15 {
15 16 }
16 -
17 +
17 18 public ElementSelectionSpec(String pElementName)
18 19 {
19 20 super(SelectionSpecId.ElementName);
20 21 UtilsCommon.assertNotNullNotEmpty("pElementName", pElementName);
21 22 mElementName = pElementName;
22 23 }
23 -
24 +
24 25 public String getElementName()
25 26 {
26 27 return mElementName;
27 28 }
28 -
29 +
29 30 public void addAttribute(String pAttributeName, String pAttributeValue)
30 31 {
31 32 mAttributes.put(pAttributeName, pAttributeValue);
32 33 }
33 -
34 +
34 35 public String getAttributeValue(String pAttributeName)
35 36 {
36 37 return mAttributes.get(pAttributeName);