GanttObjectType.javaprojectforge-business/src/main/java/org/projectforge/business/gantt/GanttObjectType.java containing Java code for the Gantt Chart layer.Package: org.projectforge.business.gantt
Enums: GanttObjectType
Implements: I18nEnum
Methods (3): isIn, getKey, getI18nKey
Fields (1): key
Imports: 1 packages
package org.projectforge.business.gantt;
import org.projectforge.common.i18n.I18nEnum;
public enum GanttObjectType implements I18nEnum
{
ACTIVITY("activity"), SUMMARY("summary"), MILESTONE("milestone");
private String key;
public boolean isIn(final GanttObjectType... types)
{
for (final GanttObjectType type : types) {
if (this == type) {
return true;
}
}
return false;
}
/**
* The key will be used e. g. for i18n.
*/
public String getKey()
{
return key;
}
public String getI18nKey()
{
return "gantt.objectType." + key;
}
GanttObjectType(final String key)
{
this.key = key;
}
}
868d6abb7 2025 -> 2026 63081666f Source file headers: 2024-> 2025. b6092df09 Copyright 2023 -> 2024 ab45d51fa Copyright 2001-2022 -> 2001-2023. 5f7ef41b8 Copyright 2021 -> 2022