Class AbstractProjectCreationDescriptor
- java.lang.Object
-
- net.ssehub.easy.producer.ui.project_management.AbstractProjectCreationDescriptor
-
- All Implemented Interfaces:
java.lang.Comparable<AbstractProjectCreationDescriptor>
- Direct Known Subclasses:
EclipseProjectConfigurationDescriptor,JavaProjectConfigurationDescriptor
public abstract class AbstractProjectCreationDescriptor extends java.lang.Object implements java.lang.Comparable<AbstractProjectCreationDescriptor>
Wrapper to use Eclipse project "configurators" to configure EASy projects.- Author:
- El-Sharkawy
-
-
Constructor Summary
Constructors Constructor Description AbstractProjectCreationDescriptor()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description intcompareTo(AbstractProjectCreationDescriptor other)abstract intgetPriority()Used to sort the configurators.abstract IEASyProjectConfiguratorgetProjectConfigurator()Factory: The configurator to configure the new EASy project.abstract java.lang.StringgetProjectType()The name of supported Eclipse projects.
-
-
-
Method Detail
-
compareTo
public int compareTo(AbstractProjectCreationDescriptor other)
- Specified by:
compareToin interfacejava.lang.Comparable<AbstractProjectCreationDescriptor>
-
getProjectType
public abstract java.lang.String getProjectType()
The name of supported Eclipse projects.- Returns:
- The type of Eclipse projects, e.g., Java Project.
-
getProjectConfigurator
public abstract IEASyProjectConfigurator getProjectConfigurator()
Factory: The configurator to configure the new EASy project.- Returns:
- The configurator to configure the new EASy project, if null an Eclipsem project without any natures will be created.
-
getPriority
public abstract int getPriority()
Used to sort the configurators.- Returns:
- The lower the number, the earlier the configurator is displayed.
-
-