Examples of SelectAction


Examples of com.google.gwt.view.client.DefaultSelectionEventManager.SelectAction

//          }
//        });
        break;
      }

      SelectAction action = super.translateSelectionEvent(event);
      return action;
    }
View Full Code Here

Examples of net.sourceforge.marathon.action.SelectAction

    @Test public void testSelectATextField() throws Exception {
        dialog.addTextField("text.name", "foo");
        dialog.addButton("button.name", "button.name");
        dialog.show();
        sleep();
        new SelectAction(new ComponentId("text.name"), "abc", ScriptModelServerPart.getModelServerPart(),
                WindowMonitor.getInstance()).play(dialog.getResolver());
        new ClickAction(BUTTON_ID, ScriptModelServerPart.getModelServerPart(), WindowMonitor.getInstance()).play(dialog
                .getResolver());
        assertRecorded(i2 + "select('text.name', 'abc')\n" + i2 + "click('button.name')\n");
    }
View Full Code Here

Examples of net.sourceforge.marathon.action.SelectAction

    @Test public void testSelectAComboBox() throws Exception {
        dialog.addComboBox("combo.name", new String[] { "a", "b", "c" });
        dialog.addButton("button.name", "button.name");
        dialog.show();
        new SelectAction(new ComponentId("combo.name"), "c", ScriptModelServerPart.getModelServerPart(),
                WindowMonitor.getInstance()).play(dialog.getResolver());
        new ClickAction(BUTTON_ID, ScriptModelServerPart.getModelServerPart(), WindowMonitor.getInstance()).play(dialog
                .getResolver());
        assertEquals("c", dialog.getComboBox().getSelectedItem());
        assertRecorded(i2 + "select('combo.name', 'c')\n" + i2 + "click('button.name')\n");
View Full Code Here

Examples of net.sourceforge.marathon.action.SelectAction

        assertRecorded(i2 + "select('combo.name', 'c')\n" + i2 + "click('button.name')\n");
    }

    @Test public void testSelectInsideATable() throws Exception {
        showTable();
        play(new SelectAction(new ComponentId("table.name", "{1,col1}"), "NEW VALUE", ScriptModelServerPart.getModelServerPart(),
                WindowMonitor.getInstance()));
        play(new ClickAction(new ComponentId("table.name", "{1,col2}"), ScriptModelServerPart.getModelServerPart(),
                WindowMonitor.getInstance()));
        assertEquals("NEW VALUE", dialog.getTable().getValueAt(1, 0));
        AWTSync.sync();
View Full Code Here

Examples of net.sourceforge.marathon.action.SelectAction

            String title = component.getText();
            if (title == null)
                return;
            if (finder != null && finder.isRecording())
                finder.markUsed(component);
            recorder.record(new SelectAction(component.getComponentId(), title, finder.getScriptModel(), windowMonitor)
                    .enscript(component));
        }
View Full Code Here

Examples of net.sourceforge.marathon.action.SelectAction

        // For non-menu components added to menus, we need to reveal the menu:
        recordMenuClicks(component, false); // reveal the enclosing menu
        if (text != null) {
            if (finder != null)
                finder.markUsed(component);
            recorder.record(new SelectAction(component.getComponentId(), text, scriptModel, windowMonitor).enscript(component));
        }
    }
View Full Code Here

Examples of net.sourceforge.marathon.action.SelectAction

            return null;
        return params.remove(0);
    }

    public void select(ComponentId id, String text) {
        play(new SelectAction(id, text, scriptModel, windowMonitor));
    }
View Full Code Here

Examples of net.sourceforge.marathon.action.SelectAction

            for (Entry<Object, Object> entry : map.entrySet()) {
                p.put(entry.getKey().toString(), entry.getValue().toString());
            }
            list.add(p);
        }
        play(new SelectAction(id, list, scriptModel, windowMonitor));
    }
View Full Code Here

Examples of net.sourceforge.squirrel_sql.plugins.dbdiff.actions.SelectAction

    _resources = new DBDiffPluginResources(DBDiffPlugin.BUNDLE_BASE_NAME, this);

    IApplication app = getApplication();
    ActionCollection coll = app.getActionCollection();
    coll.add(new SelectAction(app, _resources, this));
    coll.add(new CompareAction(app, _resources, this));

  }
View Full Code Here

Examples of org.apache.cayenne.access.jdbc.SelectAction

    public SQLAction procedureAction(ProcedureQuery query) {
        return new ProcedureAction(query, adapter, entityResolver);
    }

    public SQLAction objectSelectAction(SelectQuery query) {
        return new SelectAction(query, adapter, entityResolver);
    }
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.