Package edu.stanford.bmir.protege.web.client.dispatch.actions

Examples of edu.stanford.bmir.protege.web.client.dispatch.actions.CreateNamedIndividualsAction


    private void handleCreateIndividuals() {
        WebProtegeDialog.showDialog(new CreateEntityDialogController(EntityType.NAMED_INDIVIDUAL, new CreateEntityDialogController.CreateEntityHandler() {
            @Override
            public void handleCreateEntity(CreateEntityInfo createEntityInfo) {
                final Set<String> browserTexts = createEntityInfo.getBrowserTexts();
                DispatchServiceManager.get().execute(new CreateNamedIndividualsAction(projectId, currentType, browserTexts), new AbstractWebProtegeAsyncCallback<CreateNamedIndividualsResult>() {
                    @Override
                    public void onSuccess(CreateNamedIndividualsResult result) {
                        Set<OWLNamedIndividualData> individuals = result.getIndividuals();
                        view.addListData(individuals);
                        if(!individuals.isEmpty()) {
View Full Code Here

TOP

Related Classes of edu.stanford.bmir.protege.web.client.dispatch.actions.CreateNamedIndividualsAction

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.