Package org.eclipse.swtbot.swt.finder.widgets

Examples of org.eclipse.swtbot.swt.finder.widgets.SWTBotTable.click()


        SWTBotTable logTable = getLogTable();

        boolean isCellEditorActive = false;

        for (int i = 0; i < logTable.rowCount(); i++) {
            logTable.click(i, 0);
            // try to edit cell by F2 key
            logTable.pressShortcut(getKey(SWT.F2));
            waitForCellEditorState(logTableViewer, false);
            isCellEditorActive = logTableViewer.isCellEditorActive();
            assertFalse(isCellEditorActive);
View Full Code Here


        // setPlaybackDelay(200);

        addFilter();

        filterTable.click(0, 0);

        // TODO: bot can`t push the SWT.Insert key while running this test. It is very disheartening.
        for (int i = 0; i < 3; i++) {
            filterTable.pressShortcut(getKey(SWT.INSERT));
        }
View Full Code Here

        final SWTBotTable table = new SWTBotTable(viewer.getTable());

        switch (editorActivationType) {
        case UITestConstants.MOUSE_CLICK_ACTIVATION:
            table.click(row, column);
            break;
        case UITestConstants.MOUSE_DOUBLE_CLICK_ACTIVATION:
            table.doubleClick(row, column);
            break;
        case UITestConstants.F2_KEY_ACTIVATION:
View Full Code Here

            break;
        case UITestConstants.MOUSE_DOUBLE_CLICK_ACTIVATION:
            table.doubleClick(row, column);
            break;
        case UITestConstants.F2_KEY_ACTIVATION:
            table.click(row, column);
            table.pressShortcut(getKey(SWT.F2));
            break;
        default:
            throw new IllegalArgumentException("Can`t support the specified editor activation type.");
        }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.