Examples of KarafPlatformDetails


Examples of org.apache.karaf.eik.core.KarafPlatformDetails

                setErrorMessage("The specified directory does not contain a recognized installation");
            } else {
                setErrorMessage(null);
                setPageComplete(true);

                final KarafPlatformDetails platformDetails =
                    (KarafPlatformDetails) karafPlatform.getAdapter(KarafPlatformDetails.class);

                platformName.setText(platformDetails.getName());
                platformVersion.setText(platformDetails.getVersion());
                platformDescription.setText(platformDetails.getDescription());
            }
        } catch (final CoreException e) {
            setErrorMessage("There was an error loading the installation: " + e.getMessage());
            KarafUIPluginActivator.getLogger().error("There was an error loading the installation", e);
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.