Examples of selection()


Examples of org.eclipse.swtbot.swt.finder.widgets.SWTBotTree.selection()

    deleteAllProjects();
    shareProjects(repositoryFile);
    SWTBotTree tree = getOrOpenView().bot().tree();
    myRepoViewUtil.getRootItem(tree, repositoryFile).select();
    // the selection should be root
    assertTrue(tree.selection().get(0, 0).startsWith(REPO1));

    SWTBotView view = TestUtil.showExplorerView();
    SWTBotTree projectExplorerTree = view.bot().tree();

    SWTBotTreeItem item = getProjectItem(projectExplorerTree, PROJ1)
View Full Code Here

Examples of org.openbp.cockpit.modeler.drawing.WorkspaceDrawingView.selection()

      // Check if the selection contains something that is flipable
      WorkspaceDrawingView workspaceView = modeler.getDrawingView();
      if (workspaceView != null)
      {
        List selectedFigures = workspaceView.selection();

        int n = selectedFigures.size();
        if (n > 0)
        {
          for (int i = 0; i < n; ++i)
View Full Code Here

Examples of org.openbp.cockpit.modeler.drawing.WorkspaceDrawingView.selection()

  public JaspiraEventHandlerCode getselection(AskEvent ae)
  {
    if (modeler.getPluginComponent().isShowing())
    {
      WorkspaceDrawingView workspaceView = modeler.getDrawingView();
      ae.setAnswer(workspaceView.selection());

      return EVENT_CONSUMED;
    }

    return EVENT_IGNORED;
View Full Code Here

Examples of org.openbp.cockpit.modeler.drawing.WorkspaceDrawingView.selection()

    // Check if the selection contains something that is flipable
    WorkspaceDrawingView workspaceView = modeler.getDrawingView();
    if (workspaceView != null)
    {
      List selectedFigures = workspaceView.selection();

      int n = selectedFigures.size();
      if (n > 0)
      {
        for (int i = 0; i < n; ++i)
View Full Code Here

Examples of org.openbp.cockpit.modeler.drawing.WorkspaceDrawingView.selection()

  {
    if (jae.getSourcePlugin() == modeler)
    {
      // Flip the data link orientation of all selected figures that are or have data links
      WorkspaceDrawingView workspaceView = modeler.getDrawingView();
      List selectedFigures = workspaceView.selection();

      int n = selectedFigures.size();
      if (n > 0)
      {
        boolean found = false;
View Full Code Here

Examples of org.qi4j.samples.forum.domainevent.DomainEventValue.selection()

                parameterBuilder.prototype().name().set( name );
                parameterBuilder.prototype().value().set( arg );
                prototype.parameters().get().add( parameterBuilder.newInstance() );
            }

            Iterables.addAll( prototype.selection().get(), Iterables.map( new Function<Object, String>()
            {
                @Override
                public String map( Object o )
                {
                    return o.toString();
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.