Last change
on this file since 1010 was
1010,
checked in by fglaser, 12 years ago
|
- new method getUsageObserved() in IGUIElement, implemented in AbstractDefaultGUIElement. AbstractDefaultGUIElement now also
has markAsUsed() method, that sets internal boolean usageObserved to true.
- JFCSimplifiedLogParser and MFCLogParser were updated and now mark GUI elements that have been targeted during a session as used.
|
-
Property svn:mime-type set to
text/plain
|
File size:
1020 bytes
|
Rev | Line | |
---|
[1005] | 1 | package de.ugoe.cs.autoquest.eventcore.guimodel; |
---|
| 2 | |
---|
| 3 | public class MockGUIElement implements IGUIElement { |
---|
| 4 | MockGUIElementSpec spec; |
---|
| 5 | IGUIElement parent; |
---|
| 6 | |
---|
| 7 | public MockGUIElement() { |
---|
| 8 | // TODO Auto-generated constructor |
---|
| 9 | } |
---|
| 10 | |
---|
| 11 | public MockGUIElement(MockGUIElementSpec spec, IGUIElement parent){ |
---|
| 12 | this.spec = spec; |
---|
| 13 | this.parent = parent; |
---|
| 14 | } |
---|
| 15 | |
---|
| 16 | @Override |
---|
| 17 | public String getPlatform() { |
---|
| 18 | // TODO Auto-generated method stub |
---|
| 19 | return null; |
---|
| 20 | } |
---|
| 21 | |
---|
| 22 | @Override |
---|
| 23 | public String getStringIdentifier() { |
---|
| 24 | // TODO Auto-generated method stub |
---|
| 25 | return null; |
---|
| 26 | } |
---|
| 27 | |
---|
| 28 | @Override |
---|
| 29 | public IGUIElementSpec getSpecification() { |
---|
| 30 | return spec; |
---|
| 31 | } |
---|
| 32 | |
---|
| 33 | @Override |
---|
| 34 | public IGUIElement getParent() { |
---|
| 35 | return parent; |
---|
| 36 | } |
---|
| 37 | |
---|
| 38 | @Override |
---|
| 39 | public void updateSpecification(IGUIElementSpec furtherSpec) { |
---|
| 40 | // TODO Auto-generated method stub |
---|
| 41 | |
---|
| 42 | } |
---|
| 43 | |
---|
| 44 | @Override |
---|
| 45 | public void addEqualGUIElement(IGUIElement equalElement) { |
---|
| 46 | // TODO Auto-generated method stub |
---|
| 47 | |
---|
| 48 | } |
---|
| 49 | |
---|
[1010] | 50 | @Override |
---|
| 51 | public boolean getUsageObserved() { |
---|
| 52 | // TODO Auto-generated method stub |
---|
| 53 | return false; |
---|
| 54 | } |
---|
| 55 | |
---|
[1005] | 56 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.