Package edu.stanford.bmir.protege.web.client.ui.util

Examples of edu.stanford.bmir.protege.web.client.ui.util.ClassSelectionField


            "Retired classes are not displayed in the class hierarchy.<br />" +
            "Operations are performed after clicking on the <i>Retire</i> button.");
        explanationHtml.setStylePrimaryName("explanation");
        add(explanationHtml);

        retiredClassesField = new ClassSelectionField(projectId, "Class(es) to retire");
        add(retiredClassesField, new AnchorLayoutData("100% - 53"));

        retireChildrenCheckbox = new Checkbox("Retire also all children of the selected class(es).");
        add(retireChildrenCheckbox, new AnchorLayoutData("100% - 53"));
        retireChildrenCheckbox.addListener(new CheckboxListenerAdapter() {
            @Override
            public void onCheck(Checkbox field, boolean checked) {
                newParentField.setDisabled(checked);
            }
        });

        newParentField = new ClassSelectionField(projectId, "New parent class of the children", false, null);
        add(newParentField, new AnchorLayoutData("100% - 53"));

        reasonField = new TextAreaField();
        reasonField.setLabel("Reason for change:");
        ((TextArea)reasonField.getFieldComponent()).setHeight(120);
View Full Code Here


                "Then <b>add</b> or <b>remove parents</b> in the <i>Parents</i> field.<br />" +
                "Operations are performed only after clicking on the <i>Move in hierarchy</i> button." );
        explanationHtml.setStylePrimaryName("explanation");
        add(explanationHtml);

        classField = new ClassSelectionField(projectId, "Class to move in hierarchy", false, topClass);
        add(classField, new AnchorLayoutData("100% - 53"));
        classField.addSelectionListener(selectionListener = new SelectionListener() {
            public void selectionChanged(SelectionEvent event) {
                parentsPanel.setClsEntity(UIUtil.getFirstItem(classField.getClsValues()));
            }
View Full Code Here

        sortingLabelField.setAllowBlank(false);
        add(sortingLabelField, new AnchorLayoutData("98%"));

        //FIXME: ICD specific!!!!
       
        parentsField = new ClassSelectionField(projectId, "Parent(s)", true, topClass);

        add(parentsField, new AnchorLayoutData("98%"));

        reasonField = new TextAreaField();
        reasonField.setLabel("Reason for change:");
View Full Code Here

TOP

Related Classes of edu.stanford.bmir.protege.web.client.ui.util.ClassSelectionField

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.