* Represents that TIZEN supports the given project types.
*/
public enum TizenProjectType {
- TIZEN_C_UI_APPLICATION(true),
- TIZEN_C_SERVICE_APPLICATION(false),
- TIZEN_C_SHAREDLIBRARY(false),
- TIZEN_C_STATICLIBRARY(false),
- TIZEN_CPP_UI_APPLICATION(true),
- TIZEN_CPP_SERVICE_APPLICATION(false),
- TIZEN_CPP_SHAREDLIBRARY(false),
- TIZEN_CPP_STATICLIBRARY(false),
- TIZEN_PLATFORM_PROJECT(false);
+ TIZEN_C_UI_APPLICATION(true, false, false),
+ TIZEN_C_SERVICE_APPLICATION(false, false, false),
+ TIZEN_C_SHAREDLIBRARY(false, false, false),
+ TIZEN_C_STATICLIBRARY(false, false, false),
+ TIZEN_CPP_UI_APPLICATION(true, true, true),
+ TIZEN_CPP_SERVICE_APPLICATION(false, false, true),
+ TIZEN_CPP_SHAREDLIBRARY(false, false, false),
+ TIZEN_CPP_STATICLIBRARY(false, false, false),
+ TIZEN_PLATFORM_PROJECT(false, false, false);
private boolean isNeededIconValidation;
+ private boolean isRootPrj;
+ private boolean isRefPrj;
- private TizenProjectType(boolean isNeededIconValidation) {
+ private TizenProjectType(boolean isNeededIconValidation, boolean isRootPrj, boolean isRefPrj) {
this.isNeededIconValidation = isNeededIconValidation;
+ this.isRootPrj = isRootPrj;
+ this.isRefPrj = isRefPrj;
}
public boolean isNeededIconValidation() {
return isNeededIconValidation;
}
+
+ /**
+ * Returns whether this project can be root project of multi app project.
+ * @return {@code true} if this project can be root project. {@code false} if not.
+ */
+ public boolean isRootProject() {
+ return isRootPrj;
+ }
+
+ /**
+ * Returns whether this project can be referenced project of multi app project.
+ * @return {@code true} if this project can be referenced project. {@code false} if not.
+ */
+ public boolean isReferencedProject() {
+ return isRefPrj;
+ }
}