/**
* Copyright 2008-2016 Qualogy Solutions B.V.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.qualogy.qafe.mgwt.client.activities.buttonbar;
import com.googlecode.mgwt.ui.client.widget.buttonbar.ActionButton;
import com.googlecode.mgwt.ui.client.widget.buttonbar.ButtonBar;
import com.googlecode.mgwt.ui.client.widget.buttonbar.ButtonBarSpacer;
import com.googlecode.mgwt.ui.client.widget.buttonbar.ButtonBarText;
import com.googlecode.mgwt.ui.client.widget.buttonbar.TrashButton;
import com.qualogy.qafe.mgwt.client.DetailViewGwtImpl;
/**
* @author Daniel Kurka
*
*/
public class ButtonBarViewGwtImpl extends DetailViewGwtImpl implements ButtonBarView {
private ButtonBar footerPanel;
/**
*
*/
public ButtonBarViewGwtImpl() {
footerPanel = new ButtonBar();
footerPanel.add(new ActionButton());
footerPanel.add(new ButtonBarSpacer());
footerPanel.add(new ButtonBarText("there are much more buttons"));
footerPanel.add(new ButtonBarSpacer());
// footerPanel.add(new ActionButton());
// footerPanel.add(new ArrowDownButton());
// footerPanel.add(new ArrowUpButton());
// footerPanel.add(new ArrowLeftButton());
// footerPanel.add(new ArrowRightButton());
// footerPanel.add(new BookmarkButton());
// footerPanel.add(new CameraButton());
// footerPanel.add(new ComposeButton());
//
// footerPanel.add(new FastForwardButton());
//
// footerPanel.add(new InfoButton());
// footerPanel.add(new LocateButton());
// footerPanel.add(new NewIconButton());
// footerPanel.add(new NextSlideButton());
// footerPanel.add(new OrganizeButton());
// footerPanel.add(new PauseButton());
// footerPanel.add(new PlayButton());
// footerPanel.add(new PlusButton());
// footerPanel.add(new PreviousSlideButton());
// footerPanel.add(new ReplyButton());
// footerPanel.add(new RewindButton());
// footerPanel.add(new SearchButton());
// footerPanel.add(new StopButton());
footerPanel.add(new TrashButton());
main.add(footerPanel);
}
}