Package y.base

Examples of y.base.NodeMap


     * @throws EvolizerException the evolizer exception
     */
    public void updateMetricValues(String metricIdentifier) throws EvolizerException {
        SnapshotAnalyzer snapshotAnalyzer = fGraphPanel.getGraphLoader().getSnapshotAnalyzer();
        DependencyGraph graph = fGraphPanel.getGraph();
        NodeMap map = graph.getRegisteredNodeMaps()[0];
        Node[] nodes = graph.getNodeArray();
        for (int i = 0; i < nodes.length; i++) {
            AbstractFamixEntity entity = (AbstractFamixEntity) map.get(nodes[i]);
            // check if entity is already processed
            // entities ending with <clinit>() or <oinit>() must be ignored to
            // get suitable visual data
            Set<String> possibleMetrics = MetricStore.listMetricsFor(entity);
            if (!metricIdentifier.equalsIgnoreCase(PolymetricViewControllerView.METRIC_UNIFORM)) {
View Full Code Here


     */
    private void updateNodeRealizers(List<AbstractPolymetricViewUpdater> polyViewUpdater) {
        PolymetricViewDataContainer dataCollector = fGraphPanel.getPolymetricViewDataCollector();
       
        DependencyGraph graph = fGraphPanel.getGraph();
        NodeMap map = graph.getRegisteredNodeMaps()[0];
        Node[] nodes = graph.getNodeArray();
        for (int i = 0; i < nodes.length; i++) {
            AbstractFamixEntity entity = (AbstractFamixEntity) map.get(nodes[i]);
            for (AbstractPolymetricViewUpdater updater : polyViewUpdater) {
                NodeRealizer realizer = graph.getRealizer(nodes[i]);
                String metricIdentifier = updater.getMetricToRepresent();
//                if(!metricIdentifier.equalsIgnoreCase(PolymetricViewControllerView.METRIC_UNIFORM)) {
                    if (dataCollector.containsEntry(entity, metricIdentifier)) {
View Full Code Here

TOP

Related Classes of y.base.NodeMap

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.