Changeset 1876 for trunk/autoquest-plugin-mfc/src/main
- Timestamp:
- 02/13/15 10:31:00 (10 years ago)
- Location:
- trunk/autoquest-plugin-mfc/src/main/java/de/ugoe/cs/autoquest/plugin/mfc/guimodel
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-plugin-mfc/src/main/java/de/ugoe/cs/autoquest/plugin/mfc/guimodel/MFCDialog.java
r927 r1876 16 16 17 17 import de.ugoe.cs.autoquest.eventcore.guimodel.IDialog; 18 import de.ugoe.cs.autoquest.eventcore.guimodel.IGUIView; 18 19 19 20 /** … … 25 26 * @author Patrick Harms 26 27 */ 27 public class MFCDialog extends MFCWindow implements IDialog {28 public class MFCDialog extends MFCWindow implements IDialog, IGUIView { 28 29 29 30 /** -
trunk/autoquest-plugin-mfc/src/main/java/de/ugoe/cs/autoquest/plugin/mfc/guimodel/MFCGUIElement.java
r1490 r1876 18 18 import de.ugoe.cs.autoquest.eventcore.guimodel.IGUIElement; 19 19 import de.ugoe.cs.autoquest.eventcore.guimodel.IGUIElementSpec; 20 import de.ugoe.cs.autoquest.eventcore.guimodel.IGUIView; 20 21 21 22 /** … … 153 154 154 155 /* (non-Javadoc) 156 * @see de.ugoe.cs.autoquest.eventcore.guimodel.IGUIElement#getView() 157 */ 158 @Override 159 public IGUIView getView() { 160 IGUIElement element = this; 161 162 while ((element != null) && (!(element instanceof IGUIView))) { 163 element = element.getParent(); 164 } 165 166 return (IGUIView) element; 167 } 168 169 /* (non-Javadoc) 155 170 * @see de.ugoe.cs.autoquest.eventcore.guimodel.IGUIElement#getDistanceTo(IGUIElement) 156 171 */ -
trunk/autoquest-plugin-mfc/src/main/java/de/ugoe/cs/autoquest/plugin/mfc/guimodel/MFCWindow.java
r927 r1876 16 16 17 17 import de.ugoe.cs.autoquest.eventcore.guimodel.IFrame; 18 import de.ugoe.cs.autoquest.eventcore.guimodel.IGUIView; 18 19 19 20 /** … … 25 26 * @author Patrick Harms 26 27 */ 27 public class MFCWindow extends MFCGUIElement implements IFrame {28 public class MFCWindow extends MFCGUIElement implements IFrame, IGUIView { 28 29 29 30 /**
Note: See TracChangeset
for help on using the changeset viewer.