Package org.gwt.mosaic.ui.client

Examples of org.gwt.mosaic.ui.client.DeckLayoutPanel


  {
    super("Comments");

    this.callbackComment = callbackComment;
   
    commentDeck = new DeckLayoutPanel();   

    // ----
    editPanel = new LayoutPanel(new BoxLayout(BoxLayout.Orientation.HORIZONTAL));   
    textBox = new TextArea();
    textBox.setCharacterWidth(50);
View Full Code Here


      );

      if(openView)
      {
        // properties
        final DeckLayoutPanel deck = new DeckLayoutPanel();
        deck.add(grid);

        // participants
        participantPanel = new ParticipantPanel();
        participantPanel.setController(controller);

        // selection
        final com.google.gwt.user.client.ui.ListBox dropBox = new com.google.gwt.user.client.ui.ListBox(false);
        dropBox.setStyleName("bpm-operation-ui");
        dropBox.addItem("Properties");
        dropBox.addItem("Participants");
        dropBox.addChangeListener(new ChangeListener() {
          public void onChange(Widget sender) {
            deck.showWidget(dropBox.getSelectedIndex());
            deck.layout();
          }
        });

        deck.add(participantPanel);

        this.getHeader().add(dropBox, Caption.CaptionRegion.RIGHT);
        this.add(deck, new BoxLayoutData(BoxLayoutData.FillStyle.BOTH));

        deck.showWidget(dropBox.getSelectedIndex());
      }
      else
      {
        MosaicPanel p = new MosaicPanel();
        p.add(grid);
View Full Code Here

        new String[] {"ID:", "Key:", "Name:", "Suspended:", "Package:", "Description:"}
    );


    // properties
    final DeckLayoutPanel deck = new DeckLayoutPanel();
    deck.add(grid);

    // selection
    final com.google.gwt.user.client.ui.ListBox dropBox = new com.google.gwt.user.client.ui.ListBox(false);
    dropBox.setStyleName("bpm-operation-ui");
    dropBox.addItem("Properties");

    // deployment info
    if(ServerPlugins.has("org.jboss.bpm.console.server.plugin.ProcessEnginePlugin"))
    {
      dropBox.addItem("Deployment");
      deploymentPanel = new DeploymentPanel();
      deck.add(deploymentPanel);
    }

    dropBox.addChangeListener(new ChangeListener() {
      public void onChange(Widget sender) {
        deck.showWidget(dropBox.getSelectedIndex());
        deck.layout();
      }
    });

    this.getHeader().add(dropBox, Caption.CaptionRegion.RIGHT);
    this.add(deck, new BoxLayoutData(BoxLayoutData.FillStyle.BOTH));

    deck.showWidget(dropBox.getSelectedIndex());

    this.add(deck, new BoxLayoutData(BoxLayoutData.FillStyle.BOTH));

  }
View Full Code Here

      );

      if(openView)
      {
        // properties
        final DeckLayoutPanel deck = new DeckLayoutPanel();
        deck.add(grid);

        // participants
        participantPanel = new ParticipantPanel();
        participantPanel.setController(controller);

        // selection
        final com.google.gwt.user.client.ui.ListBox dropBox = new com.google.gwt.user.client.ui.ListBox(false);
        dropBox.setStyleName("bpm-operation-ui");
        dropBox.addItem("Properties");
        dropBox.addItem("Participants");
        dropBox.addChangeListener(new ChangeListener() {
          public void onChange(Widget sender) {
            deck.showWidget(dropBox.getSelectedIndex());
            deck.layout();
          }
        });

        deck.add(participantPanel);

        this.getHeader().add(dropBox, Caption.CaptionRegion.RIGHT);
        this.add(deck, new BoxLayoutData(BoxLayoutData.FillStyle.BOTH));

        deck.showWidget(dropBox.getSelectedIndex());
      }
      else
      {
        LayoutPanel p = new LayoutPanel();
        p.add(grid);
View Full Code Here

TOP

Related Classes of org.gwt.mosaic.ui.client.DeckLayoutPanel

Copyright © 2018 www.massapicom. 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.