1 /*******************************************************************************
2 * Copyright (c) 2013 Ericsson
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
10 * Matthew Khouzam - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.tracecompass
.tmf
.ui
.swtbot
.tests
.conditions
;
15 import org
.eclipse
.swtbot
.eclipse
.finder
.widgets
.SWTBotView
;
16 import org
.eclipse
.swtbot
.swt
.finder
.SWTBot
;
17 import org
.eclipse
.swtbot
.swt
.finder
.waits
.ICondition
;
22 * @author Matthew Khouzam
24 class ViewClosed
implements ICondition
{
25 private final SWTBotView fView
;
27 public ViewClosed(SWTBotView view
) {
32 public boolean test() throws Exception
{
33 return (fView
!= null) && (!fView
.isActive());
37 public void init(SWTBot bot
) {
41 public String
getFailureMessage() {
This page took 0.032201 seconds and 5 git commands to generate.