Examples of SButton


Examples of org.scopemvc.view.swing.SButton

        SComboBox type = new SComboBox();
        type.setSelector(CacheSyncTypesModel.NOTIFICATION_TYPES_SELECTOR);
        type.setSelectionSelector(CacheSyncTypesModel.FACTORY_LABEL_SELECTOR);

        SButton saveButton = new SButton(CacheSyncConfigController.SAVE_CONFIG_CONTROL);
        SButton cancelButton =
            new SButton(CacheSyncConfigController.CANCEL_CONFIG_CONTROL);

        // buttons panel
        JPanel buttonPanel = new JPanel(new FlowLayout(FlowLayout.RIGHT));
        buttonPanel.add(saveButton);
        buttonPanel.add(cancelButton);
View Full Code Here

Examples of org.scopemvc.view.swing.SButton

        SRadioButton procedureSelect = new SRadioButton(
                QueryTypeController.PROCEDURE_QUERY_CONTROL,
                QueryTypeModel.PROCEDURE_QUERY_SELECTOR);
        buttonGroup.add(procedureSelect);

        SButton saveButton = new SButton(new SAction(QueryTypeController.CREATE_CONTROL));
        saveButton.setEnabled(true);

        SButton cancelButton = new SButton(
                new SAction(QueryTypeController.CANCEL_CONTROL));
        cancelButton.setEnabled(true);

        // assemble
        CellConstraints cc = new CellConstraints();
        FormLayout layout = new FormLayout(
                "left:max(180dlu;pref)",
View Full Code Here

Examples of org.scopemvc.view.swing.SButton

        init();
    }

    protected void init() {
        // create widgets
        SButton saveButton =
            new SButton(new SAction(ObjRelationshipInfoController.SAVE_CONTROL));
        saveButton.setEnabled(true);

        SButton cancelButton =
            new SButton(new SAction(ObjRelationshipInfoController.CANCEL_CONTROL));
        cancelButton.setEnabled(true);

        SButton newToOneButton =
            new SButton(new SAction(ObjRelationshipInfoController.NEW_TOONE_CONTROL));
        newToOneButton.setEnabled(true);
        SButton newToManyButton =
            new SButton(new SAction(ObjRelationshipInfoController.NEW_TOMANY_CONTROL));
        newToManyButton.setEnabled(true);

        STextField relationshipName = new STextField(25);
        relationshipName.setSelector(ObjRelationshipInfoModel.RELATIONSHIP_NAME_SELECTOR);

        SLabel sourceEntityLabel = new SLabel();
View Full Code Here

Examples of org.scopemvc.view.swing.SButton

        ButtonGroup buttonGroup = new ButtonGroup();
        buttonGroup.add(updateAll);
        buttonGroup.add(updateEmpty);

        SButton updateButton = new SButton(
                DefaultsPreferencesController.UPDATE_CONTROL);
        SButton cancelButton = new SButton(DefaultsPreferencesController.CANCEL_CONTROL);

        // assemble
        JPanel buttonPanel = new JPanel(new FlowLayout(FlowLayout.RIGHT));
        buttonPanel.add(updateButton);
        buttonPanel.add(cancelButton);
View Full Code Here

Examples of org.scopemvc.view.swing.SButton

        ButtonGroup buttonGroup = new ButtonGroup();
        buttonGroup.add(updateAll);
        buttonGroup.add(updateEmpty);

        SButton updateButton = new SButton(
                DefaultsPreferencesController.UPDATE_CONTROL);
        SButton cancelButton = new SButton(DefaultsPreferencesController.CANCEL_CONTROL);

        // assemble
        JPanel buttonPanel = new JPanel(new FlowLayout(FlowLayout.RIGHT));
        buttonPanel.add(updateButton);
        buttonPanel.add(cancelButton);
View Full Code Here

Examples of org.scopemvc.view.swing.SButton

        buttonGroup.add(objectSelect);
        buttonGroup.add(sqlSelect);
        buttonGroup.add(procedureSelect);
        buttonGroup.add(ejbqlSelect);
      
        SButton saveButton = new SButton(new SAction(QueryTypeController.CREATE_CONTROL));
        saveButton.setEnabled(true);

        SButton cancelButton = new SButton(
                new SAction(QueryTypeController.CANCEL_CONTROL));
        cancelButton.setEnabled(true);
        // assemble
        CellConstraints cc = new CellConstraints();
        FormLayout layout = new FormLayout(
                "left:max(180dlu;pref)",
View Full Code Here

Examples of org.scopemvc.view.swing.SButton

        init(source1, source2);
    }
   
    protected void init(DbEntity source1, DbEntity source2) {
        // create widgets
        SButton saveButton = new SButton(new SAction(
                DbRelationshipTargetController.CONTINUE_CONTROL));
        saveButton.setEnabled(true);

        SButton cancelButton = new SButton(new SAction(
                DbRelationshipTargetController.CANCEL_CONTROL));
        cancelButton.setEnabled(true);
       
        SComboBox targetCombo = new SComboBox();
        targetCombo.setSelector(DbRelationshipTargetModel.TARGETS_SELECTOR);
        targetCombo.setSelectionSelector(DbRelationshipTargetModel.TARGET_SELECTOR);
        SListCellRenderer renderer = (SListCellRenderer) targetCombo.getRenderer();
View Full Code Here

Examples of org.scopemvc.view.swing.SButton

        init();
    }

    protected void init() {
        // create widgets
        SButton saveButton = new SButton(new SAction(
                ObjRelationshipInfoController.SAVE_CONTROL));
        saveButton.setEnabled(true);

        SButton cancelButton = new SButton(new SAction(
                ObjRelationshipInfoController.CANCEL_CONTROL));
        cancelButton.setEnabled(true);

        SButton newRelButton = new SButton(new SAction(
                ObjRelationshipInfoController.NEW_REL_CONTROL));
        newRelButton.setEnabled(true);

        SButton selectPathButton = new SButton(new SAction(
                ObjRelationshipInfoController.SELECT_PATH_CONTROL));
        selectPathButton.setEnabled(true);

        STextField relationshipName = new STextField(25);
        relationshipName.setSelector(ObjRelationshipInfoModel.RELATIONSHIP_NAME_SELECTOR);

        SLabel currentPathLabel = new SLabel();
View Full Code Here

Examples of org.scopemvc.view.swing.SButton

        SComboBox type = new SComboBox();
        type.setSelector(CacheSyncTypesModel.NOTIFICATION_TYPES_SELECTOR);
        type.setSelectionSelector(CacheSyncTypesModel.FACTORY_LABEL_SELECTOR);

        SButton saveButton = new SButton(CacheSyncConfigController.SAVE_CONFIG_CONTROL);
        SButton cancelButton =
            new SButton(CacheSyncConfigController.CANCEL_CONFIG_CONTROL);

        // buttons panel
        JPanel buttonPanel = new JPanel(new FlowLayout(FlowLayout.RIGHT));
        buttonPanel.add(saveButton);
        buttonPanel.add(cancelButton);
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.