Package lcmc.cluster.ui.resource

Examples of lcmc.cluster.ui.resource.CommonDeviceInterface


                                             return;
                                         }
                                         final String selectedValue = getParamSaved("fstype").getValueForConfig();
                                         final String createdFs;
                                         if (selectedValue == null || selectedValue.isEmpty()) {
                                             final CommonDeviceInterface cdi = (CommonDeviceInterface) value;
                                             createdFs = cdi.getLastCreatedFs();
                                         } else {
                                             createdFs = selectedValue;
                                         }
                                         if (createdFs != null && !createdFs.isEmpty()) {
                                             fstypeParamWidget.setValue(new StringValue(createdFs));
View Full Code Here


        if (blockDeviceParamWidget != null) {
            final Value value = blockDeviceParamWidget.getValue();
            if (value == null || value.isNothingSelected() || !(value instanceof CommonDeviceInterface)) {
                return -1;
            }
            final CommonDeviceInterface cdi = (CommonDeviceInterface) value;
            return cdi.getUsed();
        }
        return -1;
    }
View Full Code Here

TOP

Related Classes of lcmc.cluster.ui.resource.CommonDeviceInterface

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.