Package org.scopemvc.view.swing

Examples of org.scopemvc.view.swing.SComboBox


    protected void initView() {
        setDisplayMode(SwingView.MODAL_DIALOG);
        this.setLayout(new BorderLayout());
        this.setTitle("Configure Remote Cache Synchronization");

        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);
View Full Code Here


        SLabel sourceEntityLabel = new SLabel();
        sourceEntityLabel.setSelector(
            ObjRelationshipInfoModel.SOURCE_ENTITY_NAME_SELECTOR);

        SComboBox targetCombo = new SComboBox();
        targetCombo.setSelector(ObjRelationshipInfoModel.OBJECT_TARGETS_SELECTOR);
        targetCombo.setSelectionSelector(ObjRelationshipInfoModel.OBJECT_TARGET_SELECTOR);
        SListCellRenderer renderer = (SListCellRenderer) targetCombo.getRenderer();
        renderer.setTextSelector("name");

        pathTable = new ObjRelationshipPathTable();
        STableModel pathTableModel = new STableModel(pathTable);
        pathTableModel.setSelector(
View Full Code Here

        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();
        renderer.setTextSelector("name");
       
        source1Button = new JRadioButton();
        source2Button = new JRadioButton();
        source2Button.setEnabled(source2 != null);
View Full Code Here

        SLabel sourceEntityLabel = new SLabel();
        sourceEntityLabel
                .setSelector(ObjRelationshipInfoModel.SOURCE_ENTITY_NAME_SELECTOR);

        SComboBox targetCombo = new SComboBox();
        targetCombo.setSelector(ObjRelationshipInfoModel.OBJECT_TARGETS_SELECTOR);
        targetCombo.setSelectionSelector(ObjRelationshipInfoModel.OBJECT_TARGET_SELECTOR);
        SListCellRenderer renderer = (SListCellRenderer) targetCombo.getRenderer();
        renderer.setTextSelector("name");

        collectionTypeCombo = new SComboBox();
        collectionTypeCombo
                .setSelector(ObjRelationshipInfoModel.TARGET_COLLECTIONS_SELECTOR);
        collectionTypeCombo
                .setSelectionSelector(ObjRelationshipInfoModel.TARGET_COLLECTION_SELECTOR);

        mapKeysCombo = new SComboBox();
        mapKeysCombo.setSelector(ObjRelationshipInfoModel.MAP_KEYS_SELECTOR);
        mapKeysCombo.setSelectionSelector(ObjRelationshipInfoModel.MAP_KEY_SELECTOR);

        pathBrowser = new ObjRelationshipPathBrowser();
        pathBrowser.setPreferredColumnSize(BROWSER_CELL_DIM);
View Full Code Here

    protected void initView() {
        setDisplayMode(SwingView.MODAL_DIALOG);
        this.setLayout(new BorderLayout());
        this.setTitle("Configure Remote Cache Synchronization");

        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);
View Full Code Here

TOP

Related Classes of org.scopemvc.view.swing.SComboBox

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.