[1113] | 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 | |
---|
[1005] | 15 | package de.ugoe.cs.autoquest.eventcore.guimodel; |
---|
| 16 | |
---|
| 17 | public class MockGUIElement implements IGUIElement { |
---|
[1051] | 18 | |
---|
| 19 | /** */ |
---|
| 20 | private static final long serialVersionUID = 1L; |
---|
| 21 | |
---|
| 22 | MockGUIElementSpec spec; |
---|
| 23 | |
---|
| 24 | IGUIElement parent; |
---|
| 25 | |
---|
| 26 | public MockGUIElement(MockGUIElementSpec spec, IGUIElement parent){ |
---|
| 27 | this.spec = spec; |
---|
| 28 | this.parent = parent; |
---|
| 29 | } |
---|
[1005] | 30 | |
---|
[1051] | 31 | @Override |
---|
| 32 | public String getPlatform() { |
---|
| 33 | return null; |
---|
| 34 | } |
---|
[1005] | 35 | |
---|
[1051] | 36 | @Override |
---|
| 37 | public String getStringIdentifier() { |
---|
| 38 | return null; |
---|
| 39 | } |
---|
[1005] | 40 | |
---|
[1051] | 41 | @Override |
---|
| 42 | public IGUIElementSpec getSpecification() { |
---|
| 43 | return spec; |
---|
| 44 | } |
---|
[1005] | 45 | |
---|
[1051] | 46 | @Override |
---|
| 47 | public IGUIElement getParent() { |
---|
| 48 | return parent; |
---|
| 49 | } |
---|
[1005] | 50 | |
---|
[1051] | 51 | @Override |
---|
[1433] | 52 | public GUIModel getGUIModel() { |
---|
| 53 | return null; |
---|
| 54 | } |
---|
| 55 | |
---|
| 56 | @Override |
---|
[1396] | 57 | public void updateSpecification(IGUIElementSpec furtherSpec) { } |
---|
[1005] | 58 | |
---|
[1051] | 59 | @Override |
---|
[1396] | 60 | public void addEqualGUIElement(IGUIElement equalElement) { } |
---|
[1005] | 61 | |
---|
[1051] | 62 | @Override |
---|
| 63 | public boolean isUsed() { |
---|
| 64 | return false; |
---|
| 65 | } |
---|
[1010] | 66 | |
---|
[1051] | 67 | @Override |
---|
[1396] | 68 | public void markUsed() { } |
---|
[1051] | 69 | |
---|
[1005] | 70 | } |
---|