Package lcmc.crm.ui.resource

Examples of lcmc.crm.ui.resource.ServiceInfo


        if (vertexToHostMap.containsKey(v)) {
            return vertexToHostMap.get(v).getSubtextsForGraph(runMode);
        } else if (vertexToConstraintPHMap.containsKey(v)) {
            return vertexToConstraintPHMap.get(v).getSubtextsForGraph(runMode);
        }
        final ServiceInfo si = (ServiceInfo) getInfo(v);
        if (si == null) {
            return null;
        }
        return si.getSubtextsForGraph(runMode);
    }
View Full Code Here


            if (hi == null) {
                return 0;
            }
            return hi.getUsed();
        }
        final ServiceInfo si = (ServiceInfo) getInfo(v);
        if (si == null) {
            return 0;
        }
        return si.getUsed();
    }
View Full Code Here

                                 height,
                                 width);
            }
        } else if (vertexToConstraintPHMap.containsKey(v)) {
        } else {
            final ServiceInfo si = (ServiceInfo) getInfo(v);
            if (si == null) {
                return;
            }
            final List<Color> colors = si.getHostColors(runMode);
            final int number = colors.size();
            if (number > 1) {
                for (int i = 1; i < number; i++) {
                    final Paint p = new GradientPaint((float) x + width / number,
                                                      (float) y,
View Full Code Here

TOP

Related Classes of lcmc.crm.ui.resource.ServiceInfo

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.