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

Examples of edu.stanford.bmir.protege.web.shared.metrics.GetMetricsAction


            view.setDirty(true);
        }
    }

    private void processRequestRefresh() {
        dispatchServiceManager.execute(new GetMetricsAction(projectId), new AbstractWebProtegeAsyncCallback<GetMetricsResult>() {
            @Override
            public void onSuccess(GetMetricsResult result) {
                view.setMetrics(result.getMetricValues());
            }
        });
View Full Code Here


    }

    @Test
    public void shouldReturnMetricValues() {
        GetMetricsActionHandler handler = new GetMetricsActionHandler();
        GetMetricsResult result = handler.execute(new GetMetricsAction(projectId), project, mock(ExecutionContext.class));
        assertThat(result.getMetricValues(), is(equalTo(metricValues)));
    }
View Full Code Here

TOP

Related Classes of edu.stanford.bmir.protege.web.shared.metrics.GetMetricsAction

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.