Package edu.stanford.bmir.protege.web.shared.individualslist

Examples of edu.stanford.bmir.protege.web.shared.individualslist.GetIndividualsAction


        currentType = Optional.of(type);
        updateList();
    }

    private void updateList() {
        GetIndividualsAction action = new GetIndividualsAction(projectId, currentType.or(DataFactory.getOWLThing()), Optional.<PageRequest>absent());
        DispatchServiceManager.get().execute(action, new AbstractWebProtegeAsyncCallback<GetIndividualsResult>() {
            @Override
            public void onSuccess(GetIndividualsResult result) {
                view.setListData(result.getIndividuals());
            }
View Full Code Here


        String allowedType= UIUtil.getStringConfigurationProperty(getWidgetConfiguration(), FormConstants.ONT_TYPE, null);
        if (allowedType == null) {
            return;
        }
        store.removeAll();
        GetIndividualsAction action = new GetIndividualsAction(getProjectId(), DataFactory.getOWLClass(allowedType), Optional.<PageRequest>absent());
        DispatchServiceManager.get().execute(action, new AbstractWebProtegeAsyncCallback<GetIndividualsResult>() {
            @Override
            public void onSuccess(GetIndividualsResult result) {
                store.removeAll();
                for (OWLNamedIndividualData ind : result.getIndividuals()) {
View Full Code Here

TOP

Related Classes of edu.stanford.bmir.protege.web.shared.individualslist.GetIndividualsAction

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.