[1223] | 1 | // Copyright 2012 Georg-August-Universität Göttingen, Germany |
---|
| 2 | // |
---|
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
---|
| 4 | // you may not use this file except in compliance with the License. |
---|
| 5 | // You may obtain a copy of the License at |
---|
| 6 | // |
---|
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
---|
| 8 | // |
---|
| 9 | // Unless required by applicable law or agreed to in writing, software |
---|
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
---|
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
---|
| 12 | // See the License for the specific language governing permissions and |
---|
| 13 | // limitations under the License. |
---|
| 14 | |
---|
| 15 | package de.ugoe.cs.autoquest.plugin.html.guimodel; |
---|
| 16 | |
---|
| 17 | import de.ugoe.cs.autoquest.eventcore.guimodel.IGUIElement; |
---|
| 18 | |
---|
| 19 | /** |
---|
| 20 | * <p> |
---|
[1278] | 21 | * A representation for HTML tags, which are no real GUI elements a user can interact with. Examples |
---|
| 22 | * are param or formatting tags |
---|
[1223] | 23 | * </p> |
---|
| 24 | * |
---|
| 25 | * @author Patrick Harms |
---|
| 26 | */ |
---|
| 27 | public class HTMLNonGUITag extends HTMLPageElement implements IGUIElement { |
---|
| 28 | |
---|
[1278] | 29 | /** |
---|
| 30 | * <p> |
---|
| 31 | * default serial version UID |
---|
| 32 | * </p> |
---|
| 33 | */ |
---|
[1223] | 34 | private static final long serialVersionUID = 1L; |
---|
| 35 | |
---|
| 36 | /** |
---|
| 37 | * <p> |
---|
[1278] | 38 | * initializes the dummy representation with its specification and its parent |
---|
[1223] | 39 | * </p> |
---|
| 40 | * |
---|
[1278] | 41 | * @param specification the specification for the represented tag |
---|
| 42 | * @param parent the parent of the GUI element |
---|
[1223] | 43 | */ |
---|
| 44 | public HTMLNonGUITag(HTMLPageElementSpec specification, HTMLGUIElement parent) { |
---|
| 45 | super(specification, parent); |
---|
| 46 | } |
---|
| 47 | |
---|
[1278] | 48 | /* (non-Javadoc) |
---|
[1223] | 49 | * @see de.ugoe.cs.autoquest.plugin.html.guimodel.HTMLGUIElement#getElementDescriptor() |
---|
| 50 | */ |
---|
| 51 | @Override |
---|
| 52 | protected String getElementDescriptor() { |
---|
| 53 | return "NonGUITag"; |
---|
| 54 | } |
---|
| 55 | |
---|
| 56 | } |
---|