plugins/org.wso2.developerstudio.eclipse.docker.distribution/src/org/wso2/developerstudio/eclipse/docker/distribution/action/DockerRunMavenAction.java
/*
     * Reads project nature of the project to get the project type.
     */
Reads project nature of the project to get the project type.
Reads project nature of the project to get the project type .
private void readContainerProjectNature(IProject project) {
        try {
            if (project.hasNature(DockerProjectConstants.KUBERNETES_NATURE)) {
                setContainerType(DockerProjectConstants.KUBERNETES_CONTAINER);
            } else {
                setContainerType(DockerProjectConstants.DOCKER_CONTAINER);
            }
        } catch (CoreException e) {
            log.error("CoreException while reading the project nature", e);
        }
    }
private void readContainerProjectNature ( IProject project ) { try { if ( project . hasNature ( DockerProjectConstants . KUBERNETES_NATURE ) ) { setContainerType ( DockerProjectConstants . KUBERNETES_CONTAINER ) ; } else { setContainerType ( DockerProjectConstants . DOCKER_CONTAINER ) ; } } catch ( CoreException e ) { log . error ( "CoreException while reading the project nature" , e ) ; } }
Reads project nature of the project to get the project type.
Reads project nature of the project to get the project type .