Examples of ActionButton


Examples of com.volantis.mcs.eclipse.controls.ActionButton

        Composite buttonComposite = new Composite(parent, SWT.NONE);
        GridLayout layout = new GridLayout(2, false);
        buttonComposite.setLayout(layout);
        buttonComposite.setBackground(getDisplay().
                getSystemColor(SWT.COLOR_LIST_BACKGROUND));
        new ActionButton(buttonComposite, style, newPolicyAction);
        new ActionButton(buttonComposite, style, deletePolicyAction);
    }
View Full Code Here

Examples of com.volantis.mcs.eclipse.controls.ActionButton

        addButton(buttonComposite, deleteAction);
    }

    private void addButton(Composite parent, Action action) {
        if (action != null) {
            ActionButton button = new ActionButton(parent, SWT.PUSH, action);
            button.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
        }
    }
View Full Code Here

Examples of com.volantis.mcs.eclipse.controls.ActionButton

        // set the background color for the container to white
        buttonContainer.setBackground(getDisplay().getSystemColor(
                SWT.COLOR_LIST_BACKGROUND));

        // create the new button
        ActionButton newButton = new ActionButton(buttonContainer,
                SWT.PUSH,
                newAction);
        newButton.setLayoutData(
                new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING));

        // create the remove button
        ActionButton deleteButton = new ActionButton(buttonContainer,
                SWT.PUSH,
                deleteAction);
        deleteButton.setLayoutData(
                new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING));
    }
View Full Code Here

Examples of com.volantis.mcs.eclipse.controls.ActionButton

    }

    protected void createActionButtons(Composite buttonComposite) {
        // There is only a Browse button if a new variant can be created
        if (newAction != null) {
            new ActionButton(buttonComposite, SWT.PUSH, newAction);
        }

        // There may be no addAction.
        if (addAction != null) {
            new ActionButton(buttonComposite, SWT.PUSH, addAction);
        }

        if (deleteAction != null) {
            new ActionButton(buttonComposite, SWT.PUSH, deleteAction);
        }
    }
View Full Code Here

Examples of com.volantis.mcs.eclipse.controls.ActionButton

        createActions();

        // Start with the remove button disabled
        deleteAction.setEnabled(false);
        ActionButton removeButton = new ActionButton(buttonsComposite, SWT.NONE, deleteAction);
        enableableControls.add(removeButton);

        data = new GridData(GridData.FILL_HORIZONTAL);
        removeButton.setLayoutData(data);

        browseButton.addSelectionListener(new SelectionListener() {
            public void widgetSelected(SelectionEvent event) {
                browseTargets();
            }
View Full Code Here

Examples of fr.soleil.salsa.client.view.ActionButton

    private boolean configReloadedBeforeExecute = false;
    private ActionButton button = null;
    private boolean userEnabled = true;

    public AbstractActionSalsaBean(ACTION_TYPE action) {
        button = new ActionButton(action);
        setLayout(new BorderLayout());
        add(button, BorderLayout.CENTER);
        button.addActionListener(this);
        button.setToolTipText(action.toString());
    }
View Full Code Here

Examples of fr.soleil.salsa.client.view.ActionButton

    public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected,
            boolean hasFocus, int row, int column) {

        if (value != null && value instanceof HistoricLogEvent) {
            HistoricLogEvent event = (HistoricLogEvent) value;
            ActionButton component = new ActionButton(ACTION_TYPE.NONE);
            String action = event.getAction();
            component.setAction(action);
            component.setToolTipText(action);
            return component;

        }
        return super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column);
View Full Code Here

Examples of fr.soleil.salsa.client.view.ActionButton

    private boolean configReloadedBeforeExecute = false;
    private ActionButton button = null;
    private boolean userEnabled = true;

    public AbstractActionSalsaBean(ACTION_TYPE action) {
        button = new ActionButton(action);
        button.setEnabled(false);
        setLayout(new BorderLayout());
        add(button, BorderLayout.CENTER);
        button.addActionListener(this);
        button.setToolTipText(action.toString());
View Full Code Here

Examples of fr.soleil.salsa.client.view.ActionButton

    private boolean configReloadedBeforeExecute = false;
    private ActionButton button = null;
    private boolean userEnabled = true;

    public AbstractActionSalsaBean(ACTION_TYPE action) {
        button = new ActionButton(action);
        button.setEnabled(false);
        setLayout(new BorderLayout());
        add(button, BorderLayout.CENTER);
        button.addActionListener(this);
        button.setToolTipText(action.toString());
View Full Code Here

Examples of org.apache.click.control.ActionButton

        Object value = PropertyUtils.getValue(row, idProperty, methodCache);

        HtmlStringBuffer buffer = new HtmlStringBuffer();

        if (buttonsArray.length == 1) {
            ActionButton button = buttonsArray[0];
            initButton(button, context, value);
            renderActionButton(buffer, button, context, row, value);

        } else {

            for (int i = 0; i < buttonsArray.length; i++) {
                ActionButton button = buttonsArray[i];
                initButton(button, context, value);

                if (i > 0) {
                    buffer.append(getLinkSeparator());
                }
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.