diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc new file mode 100644 index 0000000..da791dc --- /dev/null +++ b/CHANGELOG.adoc @@ -0,0 +1,15 @@ += Changelog + +== v2022.11.0 + +=== Dependency update + +=== New features + +- https://github.com/ObeoNetwork/pepper/issues/1[#1] [meta-model] Add project-management meta-model and starter + +=== Improvements + + + +=== Bug fixes diff --git a/backend/deeplab-projectmanagement-edit/.classpath b/backend/deeplab-projectmanagement-edit/.classpath new file mode 100644 index 0000000..9c24476 --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/.classpath @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/backend/deeplab-projectmanagement-edit/.project b/backend/deeplab-projectmanagement-edit/.project new file mode 100644 index 0000000..09ab65e --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/.project @@ -0,0 +1,23 @@ + + + deeplab-projectmanagement-edit + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.eclipse.m2e.core.maven2Nature + org.eclipse.jdt.core.javanature + + \ No newline at end of file diff --git a/backend/deeplab-projectmanagement-edit/.settings/org.eclipse.core.resources.prefs b/backend/deeplab-projectmanagement-edit/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..99f26c0 --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/backend/deeplab-projectmanagement-edit/.settings/org.eclipse.jdt.apt.core.prefs b/backend/deeplab-projectmanagement-edit/.settings/org.eclipse.jdt.apt.core.prefs new file mode 100644 index 0000000..d4313d4 --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/.settings/org.eclipse.jdt.apt.core.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.apt.aptEnabled=false diff --git a/backend/deeplab-projectmanagement-edit/.settings/org.eclipse.jdt.core.prefs b/backend/deeplab-projectmanagement-edit/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..410f726 --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,10 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.methodParameters=generate +org.eclipse.jdt.core.compiler.codegen.targetPlatform=17 +org.eclipse.jdt.core.compiler.compliance=17 +org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled +org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning +org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore +org.eclipse.jdt.core.compiler.processAnnotations=disabled +org.eclipse.jdt.core.compiler.release=enabled +org.eclipse.jdt.core.compiler.source=17 diff --git a/backend/deeplab-projectmanagement-edit/.settings/org.eclipse.m2e.core.prefs b/backend/deeplab-projectmanagement-edit/.settings/org.eclipse.m2e.core.prefs new file mode 100644 index 0000000..f897a7f --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/.settings/org.eclipse.m2e.core.prefs @@ -0,0 +1,4 @@ +activeProfiles= +eclipse.preferences.version=1 +resolveWorkspaceProjects=true +version=1 diff --git a/backend/deeplab-projectmanagement-edit/deeplab-projectmanagement-edit.iml b/backend/deeplab-projectmanagement-edit/deeplab-projectmanagement-edit.iml new file mode 100644 index 0000000..9e3449c --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/deeplab-projectmanagement-edit.iml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/backend/deeplab-projectmanagement-edit/pom.xml b/backend/deeplab-projectmanagement-edit/pom.xml new file mode 100644 index 0000000..c6b4da0 --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/pom.xml @@ -0,0 +1,76 @@ + + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 3.3.1 + + + deeplab-projectmanagement + deeplab-projectmanagement-edit + 2024.11.0 + deeplab-projectmanagement-edit + Project Management - Edit Support + + + 17 + + + + + github + Apache Maven Packages + https://maven.pkg.github.com/TODO/deeplab-web + + + + + + org.eclipse.core + org.eclipse.core.runtime + 3.7.0 + + + org.eclipse.emf + org.eclipse.emf.edit + 2.16.0 + + + deeplab-projectmanagement + deeplab-projectmanagement + 2024.11.0 + + + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + + jar + + + + + + + diff --git a/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/AbstractTaskItemProvider.java b/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/AbstractTaskItemProvider.java new file mode 100644 index 0000000..76bb8df --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/AbstractTaskItemProvider.java @@ -0,0 +1,281 @@ +/** + * Copyright (c) 2024 CEA LIST. + * This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * Obeo - initial API and implementation + */ +package fr.cea.deeplab.projectmgmt.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.util.ResourceLocator; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import fr.cea.deeplab.projectmgmt.AbstractTask; +import fr.cea.deeplab.projectmgmt.ProjectmgmtFactory; +import fr.cea.deeplab.projectmgmt.ProjectmgmtPackage; + +/** + * This is the item provider adapter for a {@link fr.cea.deeplab.projectmgmt.AbstractTask} object. + * + * @generated + */ +public class AbstractTaskItemProvider extends ItemProviderAdapter + implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * @generated + */ + public AbstractTaskItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (this.itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + this.addNamePropertyDescriptor(object); + this.addDescriptionPropertyDescriptor(object); + this.addStartTimePropertyDescriptor(object); + this.addEndTimePropertyDescriptor(object); + this.addProgressPropertyDescriptor(object); + this.addComputeStartEndDynamicallyPropertyDescriptor(object); + this.addTagsPropertyDescriptor(object); + this.addAssignedPersonsPropertyDescriptor(object); + this.addAssignedTeamsPropertyDescriptor(object); + } + return this.itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Name feature. + * + * @generated + */ + protected void addNamePropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_AbstractTask_name_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_AbstractTask_name_feature", "_UI_AbstractTask_type"), + ProjectmgmtPackage.Literals.ABSTRACT_TASK__NAME, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Description feature. + * + * @generated + */ + protected void addDescriptionPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_AbstractTask_description_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_AbstractTask_description_feature", "_UI_AbstractTask_type"), + ProjectmgmtPackage.Literals.ABSTRACT_TASK__DESCRIPTION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Start Time feature. + * + * @generated + */ + protected void addStartTimePropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_AbstractTask_startTime_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_AbstractTask_startTime_feature", "_UI_AbstractTask_type"), + ProjectmgmtPackage.Literals.ABSTRACT_TASK__START_TIME, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the End Time feature. + * + * @generated + */ + protected void addEndTimePropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_AbstractTask_endTime_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_AbstractTask_endTime_feature", "_UI_AbstractTask_type"), + ProjectmgmtPackage.Literals.ABSTRACT_TASK__END_TIME, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Progress feature. + * + * @generated + */ + protected void addProgressPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_AbstractTask_progress_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_AbstractTask_progress_feature", "_UI_AbstractTask_type"), + ProjectmgmtPackage.Literals.ABSTRACT_TASK__PROGRESS, true, false, false, ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Compute Start End Dynamically feature. + * + * @generated + */ + protected void addComputeStartEndDynamicallyPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_AbstractTask_computeStartEndDynamically_feature"), + this.getString("_UI_PropertyDescriptor_description", "_UI_AbstractTask_computeStartEndDynamically_feature", "_UI_AbstractTask_type"), + ProjectmgmtPackage.Literals.ABSTRACT_TASK__COMPUTE_START_END_DYNAMICALLY, true, false, false, ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Tags feature. + * + * @generated + */ + protected void addTagsPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_AbstractTask_tags_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_AbstractTask_tags_feature", "_UI_AbstractTask_type"), + ProjectmgmtPackage.Literals.ABSTRACT_TASK__TAGS, true, false, true, null, null, null)); + } + + /** + * This adds a property descriptor for the Assigned Persons feature. + * + * @generated + */ + protected void addAssignedPersonsPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_AbstractTask_assignedPersons_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_AbstractTask_assignedPersons_feature", "_UI_AbstractTask_type"), + ProjectmgmtPackage.Literals.ABSTRACT_TASK__ASSIGNED_PERSONS, true, false, true, null, null, null)); + } + + /** + * This adds a property descriptor for the Assigned Teams feature. + * + * @generated + */ + protected void addAssignedTeamsPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_AbstractTask_assignedTeams_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_AbstractTask_assignedTeams_feature", "_UI_AbstractTask_type"), + ProjectmgmtPackage.Literals.ABSTRACT_TASK__ASSIGNED_TEAMS, true, false, true, null, null, null)); + } + + /** + * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an + * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or + * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}. + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (this.childrenFeatures == null) { + super.getChildrenFeatures(object); + this.childrenFeatures.add(ProjectmgmtPackage.Literals.ABSTRACT_TASK__SUB_TASKS); + } + return this.childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((AbstractTask) object).getName(); + return label == null || label.length() == 0 ? this.getString("_UI_AbstractTask_type") : this.getString("_UI_AbstractTask_type") + " " + label; + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached children and by creating + * a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + this.updateChildren(notification); + + switch (notification.getFeatureID(AbstractTask.class)) { + case ProjectmgmtPackage.ABSTRACT_TASK__NAME: + case ProjectmgmtPackage.ABSTRACT_TASK__DESCRIPTION: + case ProjectmgmtPackage.ABSTRACT_TASK__START_TIME: + case ProjectmgmtPackage.ABSTRACT_TASK__END_TIME: + case ProjectmgmtPackage.ABSTRACT_TASK__PROGRESS: + case ProjectmgmtPackage.ABSTRACT_TASK__COMPUTE_START_END_DYNAMICALLY: + this.fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + case ProjectmgmtPackage.ABSTRACT_TASK__SUB_TASKS: + this.fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + default: + super.notifyChanged(notification); + return; + } + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children that can be created + * under this object. + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors.add(this.createChildParameter(ProjectmgmtPackage.Literals.ABSTRACT_TASK__SUB_TASKS, ProjectmgmtFactory.eINSTANCE.createTask())); + } + + /** + * Return the resource locator for this item provider's resources. + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return ProjectManagementEditPlugin.INSTANCE; + } + +} diff --git a/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/ExternalStakeholderItemProvider.java b/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/ExternalStakeholderItemProvider.java new file mode 100644 index 0000000..83351fb --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/ExternalStakeholderItemProvider.java @@ -0,0 +1,133 @@ +/** + * Copyright (c) 2024 CEA LIST. + * This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * Obeo - initial API and implementation + */ +package fr.cea.deeplab.projectmgmt.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import fr.cea.deeplab.projectmgmt.ExternalStakeholder; +import fr.cea.deeplab.projectmgmt.ProjectmgmtPackage; + +/** + * This is the item provider adapter for a {@link fr.cea.deeplab.projectmgmt.ExternalStakeholder} object. + * + * @generated + */ +public class ExternalStakeholderItemProvider extends ResourceItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * @generated + */ + public ExternalStakeholderItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (this.itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + this.addGoalsPropertyDescriptor(object); + } + return this.itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Goals feature. + * + * @generated + */ + protected void addGoalsPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_ExternalStakeholder_goals_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_ExternalStakeholder_goals_feature", "_UI_ExternalStakeholder_type"), + ProjectmgmtPackage.Literals.EXTERNAL_STAKEHOLDER__GOALS, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This returns ExternalStakeholder.gif. + * + * @generated NOT + */ + @Override + public Object getImage(Object object) { + return this.overlayImage(object, this.getResourceLocator().getImage("full/obj16/ExternalStakeholder.svg")); + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((ExternalStakeholder) object).getName(); + return label == null || label.length() == 0 ? this.getString("_UI_ExternalStakeholder_type") : this.getString("_UI_ExternalStakeholder_type") + " " + label; + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached children and by creating + * a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + this.updateChildren(notification); + + switch (notification.getFeatureID(ExternalStakeholder.class)) { + case ProjectmgmtPackage.EXTERNAL_STAKEHOLDER__GOALS: + this.fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + default: + super.notifyChanged(notification); + return; + } + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children that can be created + * under this object. + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + +} diff --git a/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/InternalStakeholderItemProvider.java b/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/InternalStakeholderItemProvider.java new file mode 100644 index 0000000..2f28f8a --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/InternalStakeholderItemProvider.java @@ -0,0 +1,109 @@ +/** + * Copyright (c) 2024 CEA LIST. + * This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * Obeo - initial API and implementation + */ +package fr.cea.deeplab.projectmgmt.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; + +import fr.cea.deeplab.projectmgmt.InternalStakeholder; + +/** + * This is the item provider adapter for a {@link fr.cea.deeplab.projectmgmt.InternalStakeholder} object. + * + * @generated + */ +public class InternalStakeholderItemProvider extends ResourceItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * @generated + */ + public InternalStakeholderItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (this.itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return this.itemPropertyDescriptors; + } + + /** + * This returns InternalStakeholder.gif. + * + * @generated NOT + */ + @Override + public Object getImage(Object object) { + return this.overlayImage(object, this.getResourceLocator().getImage("full/obj16/InternalStakeholder.svg")); + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((InternalStakeholder) object).getName(); + return label == null || label.length() == 0 ? this.getString("_UI_InternalStakeholder_type") : this.getString("_UI_InternalStakeholder_type") + " " + label; + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached children and by creating + * a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + this.updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children that can be created + * under this object. + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + +} diff --git a/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/KeyResultItemProvider.java b/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/KeyResultItemProvider.java new file mode 100644 index 0000000..30b4669 --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/KeyResultItemProvider.java @@ -0,0 +1,109 @@ +/** + * Copyright (c) 2024 CEA LIST. + * This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * Obeo - initial API and implementation + */ +package fr.cea.deeplab.projectmgmt.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; + +import fr.cea.deeplab.projectmgmt.KeyResult; + +/** + * This is the item provider adapter for a {@link fr.cea.deeplab.projectmgmt.KeyResult} object. + * + * + * @generated + */ +public class KeyResultItemProvider extends AbstractTaskItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * @generated + */ + public KeyResultItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (this.itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return this.itemPropertyDescriptors; + } + + /** + * This returns KeyResult.gif. + * + * @generated NOT + */ + @Override + public Object getImage(Object object) { + return this.overlayImage(object, this.getResourceLocator().getImage("full/obj16/KeyResult.svg")); + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((KeyResult) object).getName(); + return label == null || label.length() == 0 ? this.getString("_UI_KeyResult_type") : this.getString("_UI_KeyResult_type") + " " + label; + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached children and by creating + * a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + this.updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children that can be created + * under this object. + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + +} diff --git a/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/ObjectiveItemProvider.java b/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/ObjectiveItemProvider.java new file mode 100644 index 0000000..00dddbc --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/ObjectiveItemProvider.java @@ -0,0 +1,153 @@ +/** + * Copyright (c) 2024 CEA LIST. + * This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * Obeo - initial API and implementation + */ +package fr.cea.deeplab.projectmgmt.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import fr.cea.deeplab.projectmgmt.Objective; +import fr.cea.deeplab.projectmgmt.ProjectmgmtFactory; +import fr.cea.deeplab.projectmgmt.ProjectmgmtPackage; + +/** + * This is the item provider adapter for a {@link fr.cea.deeplab.projectmgmt.Objective} object. + * + * + * @generated + */ +public class ObjectiveItemProvider extends AbstractTaskItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * @generated + */ + public ObjectiveItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (this.itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return this.itemPropertyDescriptors; + } + + /** + * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an + * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or + * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}. + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (this.childrenFeatures == null) { + super.getChildrenFeatures(object); + this.childrenFeatures.add(ProjectmgmtPackage.Literals.OBJECTIVE__OWNED_KEY_RESULTS); + } + return this.childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns Objective.gif. + * + * @generated NOT + */ + @Override + public Object getImage(Object object) { + return this.overlayImage(object, this.getResourceLocator().getImage("full/obj16/Objective.svg")); + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((Objective) object).getName(); + return label == null || label.length() == 0 ? this.getString("_UI_Objective_type") : this.getString("_UI_Objective_type") + " " + label; + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached children and by creating + * a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + this.updateChildren(notification); + + switch (notification.getFeatureID(Objective.class)) { + case ProjectmgmtPackage.OBJECTIVE__OWNED_KEY_RESULTS: + this.fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + default: + super.notifyChanged(notification); + return; + } + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children that can be created + * under this object. + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors.add(this.createChildParameter(ProjectmgmtPackage.Literals.OBJECTIVE__OWNED_KEY_RESULTS, ProjectmgmtFactory.eINSTANCE.createKeyResult())); + } + +} diff --git a/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/OrganizationItemProvider.java b/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/OrganizationItemProvider.java new file mode 100644 index 0000000..04b23e5 --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/OrganizationItemProvider.java @@ -0,0 +1,192 @@ +/** + * Copyright (c) 2024 CEA LIST. + * This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * Obeo - initial API and implementation + */ +package fr.cea.deeplab.projectmgmt.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.util.ResourceLocator; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import fr.cea.deeplab.projectmgmt.Organization; +import fr.cea.deeplab.projectmgmt.ProjectmgmtFactory; +import fr.cea.deeplab.projectmgmt.ProjectmgmtPackage; + +/** + * This is the item provider adapter for a {@link fr.cea.deeplab.projectmgmt.Organization} object. + * + * @generated + */ +public class OrganizationItemProvider extends ItemProviderAdapter + implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * @generated + */ + public OrganizationItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (this.itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + this.addNamePropertyDescriptor(object); + } + return this.itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Name feature. + * + * @generated + */ + protected void addNamePropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Organization_name_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Organization_name_feature", "_UI_Organization_type"), + ProjectmgmtPackage.Literals.ORGANIZATION__NAME, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an + * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or + * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}. + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (this.childrenFeatures == null) { + super.getChildrenFeatures(object); + this.childrenFeatures.add(ProjectmgmtPackage.Literals.ORGANIZATION__OWNED_PROJECTS); + this.childrenFeatures.add(ProjectmgmtPackage.Literals.ORGANIZATION__OWNED_RESOURCE_FOLDERS); + } + return this.childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns Organization.gif. + * + * @generated NOT + */ + @Override + public Object getImage(Object object) { + return this.overlayImage(object, this.getResourceLocator().getImage("full/obj16/Organization.svg")); + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((Organization) object).getName(); + return label == null || label.length() == 0 ? this.getString("_UI_Organization_type") : this.getString("_UI_Organization_type") + " " + label; + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached children and by creating + * a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + this.updateChildren(notification); + + switch (notification.getFeatureID(Organization.class)) { + case ProjectmgmtPackage.ORGANIZATION__NAME: + this.fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + case ProjectmgmtPackage.ORGANIZATION__OWNED_PROJECTS: + case ProjectmgmtPackage.ORGANIZATION__OWNED_RESOURCE_FOLDERS: + this.fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + default: + super.notifyChanged(notification); + return; + } + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children that can be created + * under this object. + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors.add(this.createChildParameter(ProjectmgmtPackage.Literals.ORGANIZATION__OWNED_PROJECTS, ProjectmgmtFactory.eINSTANCE.createProject())); + + newChildDescriptors.add(this.createChildParameter(ProjectmgmtPackage.Literals.ORGANIZATION__OWNED_RESOURCE_FOLDERS, ProjectmgmtFactory.eINSTANCE.createResourceFolder())); + } + + /** + * Return the resource locator for this item provider's resources. + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return ProjectManagementEditPlugin.INSTANCE; + } + +} diff --git a/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/PersonItemProvider.java b/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/PersonItemProvider.java new file mode 100644 index 0000000..3adcafe --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/PersonItemProvider.java @@ -0,0 +1,159 @@ +/** + * Copyright (c) 2024 CEA LIST. + * This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * Obeo - initial API and implementation + */ +package fr.cea.deeplab.projectmgmt.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import fr.cea.deeplab.projectmgmt.Person; +import fr.cea.deeplab.projectmgmt.ProjectmgmtPackage; + +/** + * This is the item provider adapter for a {@link fr.cea.deeplab.projectmgmt.Person} object. + * + * + * @generated + */ +public class PersonItemProvider extends ResourceItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * @generated + */ + public PersonItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (this.itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + this.addAliasPropertyDescriptor(object); + this.addBiographyPropertyDescriptor(object); + this.addImageUrlPropertyDescriptor(object); + } + return this.itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Alias feature. + * + * @generated + */ + protected void addAliasPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Person_alias_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Person_alias_feature", "_UI_Person_type"), + ProjectmgmtPackage.Literals.PERSON__ALIAS, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Biography feature. + * + * @generated + */ + protected void addBiographyPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Person_biography_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Person_biography_feature", "_UI_Person_type"), + ProjectmgmtPackage.Literals.PERSON__BIOGRAPHY, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Image Url feature. + * + * @generated + */ + protected void addImageUrlPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Person_imageUrl_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Person_imageUrl_feature", "_UI_Person_type"), + ProjectmgmtPackage.Literals.PERSON__IMAGE_URL, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This returns Person.gif. + * + * @generated NOT + */ + @Override + public Object getImage(Object object) { + return this.overlayImage(object, this.getResourceLocator().getImage("full/obj16/Person.svg")); + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((Person) object).getName(); + return label == null || label.length() == 0 ? this.getString("_UI_Person_type") : this.getString("_UI_Person_type") + " " + label; + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached children and by creating + * a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + this.updateChildren(notification); + + switch (notification.getFeatureID(Person.class)) { + case ProjectmgmtPackage.PERSON__ALIAS: + case ProjectmgmtPackage.PERSON__BIOGRAPHY: + case ProjectmgmtPackage.PERSON__IMAGE_URL: + this.fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + default: + super.notifyChanged(notification); + return; + } + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children that can be created + * under this object. + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + +} diff --git a/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/ProjectItemProvider.java b/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/ProjectItemProvider.java new file mode 100644 index 0000000..cf38282 --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/ProjectItemProvider.java @@ -0,0 +1,550 @@ +/** + * Copyright (c) 2024 CEA LIST. + * This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * Obeo - initial API and implementation + */ +package fr.cea.deeplab.projectmgmt.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.util.ResourceLocator; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import fr.cea.deeplab.projectmgmt.Project; +import fr.cea.deeplab.projectmgmt.ProjectmgmtFactory; +import fr.cea.deeplab.projectmgmt.ProjectmgmtPackage; + +/** + * This is the item provider adapter for a {@link fr.cea.deeplab.projectmgmt.Project} object. + * + * + * @generated + */ +public class ProjectItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * @generated + */ + public ProjectItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (this.itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + this.addNamePropertyDescriptor(object); + this.addReferencePropertyDescriptor(object); + this.addDescriptionPropertyDescriptor(object); + this.addLeadingUnitPropertyDescriptor(object); + this.addParticipantUnitsPropertyDescriptor(object); + this.addPlannifiedClientCopilMeetingsPropertyDescriptor(object); + this.addMainProgramBrickPropertyDescriptor(object); + this.addStatePropertyDescriptor(object); + this.addClientsPropertyDescriptor(object); + this.addPartnersPropertyDescriptor(object); + this.addIsTransversePropertyDescriptor(object); + this.addLeaderPropertyDescriptor(object); + this.addMembersPropertyDescriptor(object); + this.addIsSensitivePropertyDescriptor(object); + this.addContractualStartDatePropertyDescriptor(object); + this.addDurationPropertyDescriptor(object); + this.addContractualEndDatePropertyDescriptor(object); + this.addEffectiveStartDatePropertyDescriptor(object); + this.addEffectiveEndDatePropertyDescriptor(object); + this.addContractTermExtensionPropertyDescriptor(object); + this.addGlobalCostPropertyDescriptor(object); + this.addFundingRatePropertyDescriptor(object); + this.addFundingPropertyDescriptor(object); + this.addManpowerPropertyDescriptor(object); + this.addEOTPPropertyDescriptor(object); + this.addStatisticOrderPropertyDescriptor(object); + this.addInternalNeedPropertyDescriptor(object); + this.addClientNeedPropertyDescriptor(object); + } + return this.itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Name feature. + * + * @generated + */ + protected void addNamePropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Project_name_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Project_name_feature", "_UI_Project_type"), + ProjectmgmtPackage.Literals.PROJECT__NAME, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Reference feature. + * + * @generated + */ + protected void addReferencePropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Project_reference_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Project_reference_feature", "_UI_Project_type"), + ProjectmgmtPackage.Literals.PROJECT__REFERENCE, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Description feature. + * + * @generated + */ + protected void addDescriptionPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Project_description_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Project_description_feature", "_UI_Project_type"), + ProjectmgmtPackage.Literals.PROJECT__DESCRIPTION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Leading Unit feature. + * + * @generated + */ + protected void addLeadingUnitPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Project_leadingUnit_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Project_leadingUnit_feature", "_UI_Project_type"), + ProjectmgmtPackage.Literals.PROJECT__LEADING_UNIT, true, false, true, null, null, null)); + } + + /** + * This adds a property descriptor for the Participant Units feature. + * + * @generated + */ + protected void addParticipantUnitsPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Project_participantUnits_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Project_participantUnits_feature", "_UI_Project_type"), + ProjectmgmtPackage.Literals.PROJECT__PARTICIPANT_UNITS, true, false, true, null, null, null)); + } + + /** + * This adds a property descriptor for the Plannified Client Copil Meetings feature. + * + * @generated + */ + protected void addPlannifiedClientCopilMeetingsPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Project_plannifiedClientCopilMeetings_feature"), + this.getString("_UI_PropertyDescriptor_description", "_UI_Project_plannifiedClientCopilMeetings_feature", "_UI_Project_type"), + ProjectmgmtPackage.Literals.PROJECT__PLANNIFIED_CLIENT_COPIL_MEETINGS, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Main Program Brick feature. + * + * @generated + */ + protected void addMainProgramBrickPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Project_mainProgramBrick_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Project_mainProgramBrick_feature", "_UI_Project_type"), + ProjectmgmtPackage.Literals.PROJECT__MAIN_PROGRAM_BRICK, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the State feature. + * + * @generated + */ + protected void addStatePropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Project_state_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Project_state_feature", "_UI_Project_type"), + ProjectmgmtPackage.Literals.PROJECT__STATE, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Clients feature. + * + * @generated + */ + protected void addClientsPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Project_clients_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Project_clients_feature", "_UI_Project_type"), + ProjectmgmtPackage.Literals.PROJECT__CLIENTS, true, false, true, null, null, null)); + } + + /** + * This adds a property descriptor for the Partners feature. + * + * @generated + */ + protected void addPartnersPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Project_partners_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Project_partners_feature", "_UI_Project_type"), + ProjectmgmtPackage.Literals.PROJECT__PARTNERS, true, false, true, null, null, null)); + } + + /** + * This adds a property descriptor for the Is Transverse feature. + * + * @generated + */ + protected void addIsTransversePropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Project_isTransverse_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Project_isTransverse_feature", "_UI_Project_type"), + ProjectmgmtPackage.Literals.PROJECT__IS_TRANSVERSE, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Leader feature. + * + * @generated + */ + protected void addLeaderPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Project_leader_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Project_leader_feature", "_UI_Project_type"), + ProjectmgmtPackage.Literals.PROJECT__LEADER, true, false, true, null, null, null)); + } + + /** + * This adds a property descriptor for the Members feature. + * + * @generated + */ + protected void addMembersPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Project_members_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Project_members_feature", "_UI_Project_type"), + ProjectmgmtPackage.Literals.PROJECT__MEMBERS, true, false, true, null, null, null)); + } + + /** + * This adds a property descriptor for the Is Sensitive feature. + * + * @generated + */ + protected void addIsSensitivePropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Project_isSensitive_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Project_isSensitive_feature", "_UI_Project_type"), + ProjectmgmtPackage.Literals.PROJECT__IS_SENSITIVE, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Contractual Start Date feature. + * + * @generated + */ + protected void addContractualStartDatePropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Project_contractualStartDate_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Project_contractualStartDate_feature", "_UI_Project_type"), + ProjectmgmtPackage.Literals.PROJECT__CONTRACTUAL_START_DATE, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Duration feature. + * + * @generated + */ + protected void addDurationPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Project_duration_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Project_duration_feature", "_UI_Project_type"), + ProjectmgmtPackage.Literals.PROJECT__DURATION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Contractual End Date feature. + * + * @generated + */ + protected void addContractualEndDatePropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Project_contractualEndDate_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Project_contractualEndDate_feature", "_UI_Project_type"), + ProjectmgmtPackage.Literals.PROJECT__CONTRACTUAL_END_DATE, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Effective Start Date feature. + * + * @generated + */ + protected void addEffectiveStartDatePropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Project_effectiveStartDate_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Project_effectiveStartDate_feature", "_UI_Project_type"), + ProjectmgmtPackage.Literals.PROJECT__EFFECTIVE_START_DATE, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Effective End Date feature. + * + * @generated + */ + protected void addEffectiveEndDatePropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Project_effectiveEndDate_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Project_effectiveEndDate_feature", "_UI_Project_type"), + ProjectmgmtPackage.Literals.PROJECT__EFFECTIVE_END_DATE, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Contract Term Extension feature. + * + * @generated + */ + protected void addContractTermExtensionPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Project_contractTermExtension_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Project_contractTermExtension_feature", "_UI_Project_type"), + ProjectmgmtPackage.Literals.PROJECT__CONTRACT_TERM_EXTENSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Global Cost feature. + * + * @generated + */ + protected void addGlobalCostPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Project_globalCost_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Project_globalCost_feature", "_UI_Project_type"), + ProjectmgmtPackage.Literals.PROJECT__GLOBAL_COST, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Funding Rate feature. + * + * @generated + */ + protected void addFundingRatePropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Project_fundingRate_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Project_fundingRate_feature", "_UI_Project_type"), + ProjectmgmtPackage.Literals.PROJECT__FUNDING_RATE, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Funding feature. + * + * @generated + */ + protected void addFundingPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Project_funding_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Project_funding_feature", "_UI_Project_type"), + ProjectmgmtPackage.Literals.PROJECT__FUNDING, false, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Manpower feature. + * + * @generated + */ + protected void addManpowerPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Project_manpower_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Project_manpower_feature", "_UI_Project_type"), + ProjectmgmtPackage.Literals.PROJECT__MANPOWER, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the EOTP feature. + * + * @generated + */ + protected void addEOTPPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Project_eOTP_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Project_eOTP_feature", "_UI_Project_type"), + ProjectmgmtPackage.Literals.PROJECT__EOTP, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Statistic Order feature. + * + * @generated + */ + protected void addStatisticOrderPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Project_statisticOrder_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Project_statisticOrder_feature", "_UI_Project_type"), + ProjectmgmtPackage.Literals.PROJECT__STATISTIC_ORDER, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Internal Need feature. + * + * @generated + */ + protected void addInternalNeedPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Project_internalNeed_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Project_internalNeed_feature", "_UI_Project_type"), + ProjectmgmtPackage.Literals.PROJECT__INTERNAL_NEED, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Client Need feature. + * + * @generated + */ + protected void addClientNeedPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Project_clientNeed_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Project_clientNeed_feature", "_UI_Project_type"), + ProjectmgmtPackage.Literals.PROJECT__CLIENT_NEED, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an + * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or + * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}. + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (this.childrenFeatures == null) { + super.getChildrenFeatures(object); + this.childrenFeatures.add(ProjectmgmtPackage.Literals.PROJECT__OWNED_WORKPACKAGES); + this.childrenFeatures.add(ProjectmgmtPackage.Literals.PROJECT__OWNED_OBJECTIVES); + this.childrenFeatures.add(ProjectmgmtPackage.Literals.PROJECT__OWNED_TAG_FOLDERS); + this.childrenFeatures.add(ProjectmgmtPackage.Literals.PROJECT__OWNED_RISKS); + } + return this.childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns Project.gif. + * + * @generated NOT + */ + @Override + public Object getImage(Object object) { + return this.overlayImage(object, this.getResourceLocator().getImage("full/obj16/Project.svg")); + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((Project) object).getName(); + return label == null || label.length() == 0 ? this.getString("_UI_Project_type") : this.getString("_UI_Project_type") + " " + label; + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached children and by creating + * a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + this.updateChildren(notification); + + switch (notification.getFeatureID(Project.class)) { + case ProjectmgmtPackage.PROJECT__NAME: + case ProjectmgmtPackage.PROJECT__REFERENCE: + case ProjectmgmtPackage.PROJECT__DESCRIPTION: + case ProjectmgmtPackage.PROJECT__PLANNIFIED_CLIENT_COPIL_MEETINGS: + case ProjectmgmtPackage.PROJECT__MAIN_PROGRAM_BRICK: + case ProjectmgmtPackage.PROJECT__STATE: + case ProjectmgmtPackage.PROJECT__IS_TRANSVERSE: + case ProjectmgmtPackage.PROJECT__IS_SENSITIVE: + case ProjectmgmtPackage.PROJECT__CONTRACTUAL_START_DATE: + case ProjectmgmtPackage.PROJECT__DURATION: + case ProjectmgmtPackage.PROJECT__CONTRACTUAL_END_DATE: + case ProjectmgmtPackage.PROJECT__EFFECTIVE_START_DATE: + case ProjectmgmtPackage.PROJECT__EFFECTIVE_END_DATE: + case ProjectmgmtPackage.PROJECT__CONTRACT_TERM_EXTENSION: + case ProjectmgmtPackage.PROJECT__GLOBAL_COST: + case ProjectmgmtPackage.PROJECT__FUNDING_RATE: + case ProjectmgmtPackage.PROJECT__FUNDING: + case ProjectmgmtPackage.PROJECT__MANPOWER: + case ProjectmgmtPackage.PROJECT__EOTP: + case ProjectmgmtPackage.PROJECT__STATISTIC_ORDER: + case ProjectmgmtPackage.PROJECT__INTERNAL_NEED: + case ProjectmgmtPackage.PROJECT__CLIENT_NEED: + this.fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + case ProjectmgmtPackage.PROJECT__OWNED_WORKPACKAGES: + case ProjectmgmtPackage.PROJECT__OWNED_OBJECTIVES: + case ProjectmgmtPackage.PROJECT__OWNED_TAG_FOLDERS: + case ProjectmgmtPackage.PROJECT__OWNED_RISKS: + this.fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + default: + super.notifyChanged(notification); + return; + } + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children that can be created + * under this object. + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors.add(this.createChildParameter(ProjectmgmtPackage.Literals.PROJECT__OWNED_WORKPACKAGES, ProjectmgmtFactory.eINSTANCE.createWorkpackage())); + + newChildDescriptors.add(this.createChildParameter(ProjectmgmtPackage.Literals.PROJECT__OWNED_OBJECTIVES, ProjectmgmtFactory.eINSTANCE.createObjective())); + + newChildDescriptors.add(this.createChildParameter(ProjectmgmtPackage.Literals.PROJECT__OWNED_TAG_FOLDERS, ProjectmgmtFactory.eINSTANCE.createTagFolder())); + + newChildDescriptors.add(this.createChildParameter(ProjectmgmtPackage.Literals.PROJECT__OWNED_RISKS, ProjectmgmtFactory.eINSTANCE.createRisk())); + } + + /** + * Return the resource locator for this item provider's resources. + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return ProjectManagementEditPlugin.INSTANCE; + } + +} diff --git a/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/ProjectManagementEditPlugin.java b/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/ProjectManagementEditPlugin.java new file mode 100644 index 0000000..15ae28b --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/ProjectManagementEditPlugin.java @@ -0,0 +1,119 @@ +/******************************************************************************* + * Copyright (c) 2024 CEA LIST. + * This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package fr.cea.deeplab.projectmgmt.provider; + +import java.io.IOException; +import java.io.InputStream; +import java.net.URL; + +import org.eclipse.emf.common.EMFPlugin; +import org.eclipse.emf.common.util.ResourceLocator; + +/** + * This is the central singleton for the ProjectManagement edit plugin. + * + * @generated + */ +public final class ProjectManagementEditPlugin extends EMFPlugin { + /** + * Keep track of the singleton. + * + * @generated + */ + public static final ProjectManagementEditPlugin INSTANCE = new ProjectManagementEditPlugin(); + + /** + * Keep track of the singleton. + * + * @generated + */ + private static Implementation plugin; + + /** + * Create the instance. + * + * @generated + */ + public ProjectManagementEditPlugin() { + super(new ResourceLocator[] {}); + } + + /** + * Returns the singleton instance of the Eclipse plugin. + * + * @return the singleton instance. + * @generated + */ + @Override + public ResourceLocator getPluginResourceLocator() { + return plugin; + } + + @Override + protected Object doGetImage(String key) throws IOException { + URL url = new URL(this.getBaseURL() + "icons/" + key + extensionFor(key)); + InputStream inputStream = url.openStream(); + inputStream.close(); + return url; + } + + /** + * Computes the file extension to be used with the key to specify an image resource. + * + * @param key + * the key for the image. + * @return the file extension to be used with the key to specify an image resource. + */ + protected static String extensionFor(String key) { + String result = ".gif"; + int index = key.lastIndexOf('.'); + if (index != -1) { + String extension = key.substring(index + 1); + if ("png".equalsIgnoreCase(extension) || "gif".equalsIgnoreCase(extension) || "bmp".equalsIgnoreCase(extension) || "ico".equalsIgnoreCase(extension) || "jpg".equalsIgnoreCase(extension) + || "jpeg".equalsIgnoreCase(extension) || "tif".equalsIgnoreCase(extension) || "tiff".equalsIgnoreCase(extension) || "svg".equalsIgnoreCase(extension)) { + result = ""; + } + } + return result; + } + + /** + * Returns the singleton instance of the Eclipse plugin. + * + * @return the singleton instance. + * @generated + */ + public static Implementation getPlugin() { + return plugin; + } + + /** + * The actual implementation of the Eclipse Plugin. + * + * @generated + */ + public static class Implementation extends EclipsePlugin { + /** + * Creates an instance. + * + * @generated + */ + public Implementation() { + super(); + + // Remember the static instance. + // + plugin = this; + } + } +} diff --git a/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/ProjectmgmtItemProviderAdapterFactory.java b/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/ProjectmgmtItemProviderAdapterFactory.java new file mode 100644 index 0000000..fadbc47 --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/ProjectmgmtItemProviderAdapterFactory.java @@ -0,0 +1,558 @@ +/** + * Copyright (c) 2024 CEA LIST. + * This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * Obeo - initial API and implementation + */ +package fr.cea.deeplab.projectmgmt.provider; + +import java.util.ArrayList; +import java.util.Collection; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.Notifier; +import org.eclipse.emf.edit.provider.ChangeNotifier; +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.ComposedAdapterFactory; +import org.eclipse.emf.edit.provider.IChangeNotifier; +import org.eclipse.emf.edit.provider.IDisposable; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.INotifyChangedListener; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; + +import fr.cea.deeplab.projectmgmt.util.ProjectmgmtAdapterFactory; + +/** + * This is the factory that is used to provide the interfaces needed to support Viewers. The adapters generated by this + * factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}. The adapters + * also support Eclipse property sheets. Note that most of the adapters are shared among multiple instances. + * + * @generated + */ +public class ProjectmgmtItemProviderAdapterFactory extends ProjectmgmtAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable { + /** + * This keeps track of the root adapter factory that delegates to this adapter factory. + * + * @generated + */ + protected ComposedAdapterFactory parentAdapterFactory; + + /** + * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}. + * + * @generated + */ + protected IChangeNotifier changeNotifier = new ChangeNotifier(); + + /** + * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}. + * + * @generated + */ + protected Collection supportedTypes = new ArrayList<>(); + + /** + * This constructs an instance. + * + * @generated + */ + public ProjectmgmtItemProviderAdapterFactory() { + this.supportedTypes.add(IEditingDomainItemProvider.class); + this.supportedTypes.add(IStructuredItemContentProvider.class); + this.supportedTypes.add(ITreeItemContentProvider.class); + this.supportedTypes.add(IItemLabelProvider.class); + this.supportedTypes.add(IItemPropertySource.class); + } + + /** + * This keeps track of the one adapter used for all {@link fr.cea.deeplab.projectmgmt.Organization} instances. + * + * @generated + */ + protected OrganizationItemProvider organizationItemProvider; + + /** + * This creates an adapter for a {@link fr.cea.deeplab.projectmgmt.Organization}. + * + * @generated + */ + @Override + public Adapter createOrganizationAdapter() { + if (this.organizationItemProvider == null) { + this.organizationItemProvider = new OrganizationItemProvider(this); + } + + return this.organizationItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link fr.cea.deeplab.projectmgmt.ResourceFolder} instances. + * + * + * @generated + */ + protected ResourceFolderItemProvider resourceFolderItemProvider; + + /** + * This creates an adapter for a {@link fr.cea.deeplab.projectmgmt.ResourceFolder}. + * + * @generated + */ + @Override + public Adapter createResourceFolderAdapter() { + if (this.resourceFolderItemProvider == null) { + this.resourceFolderItemProvider = new ResourceFolderItemProvider(this); + } + + return this.resourceFolderItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link fr.cea.deeplab.projectmgmt.Team} instances. + * + * @generated + */ + protected TeamItemProvider teamItemProvider; + + /** + * This creates an adapter for a {@link fr.cea.deeplab.projectmgmt.Team}. + * + * @generated + */ + @Override + public Adapter createTeamAdapter() { + if (this.teamItemProvider == null) { + this.teamItemProvider = new TeamItemProvider(this); + } + + return this.teamItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link fr.cea.deeplab.projectmgmt.InternalStakeholder} + * instances. + * + * @generated + */ + protected InternalStakeholderItemProvider internalStakeholderItemProvider; + + /** + * This creates an adapter for a {@link fr.cea.deeplab.projectmgmt.InternalStakeholder}. + * + * + * @generated + */ + @Override + public Adapter createInternalStakeholderAdapter() { + if (this.internalStakeholderItemProvider == null) { + this.internalStakeholderItemProvider = new InternalStakeholderItemProvider(this); + } + + return this.internalStakeholderItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link fr.cea.deeplab.projectmgmt.ExternalStakeholder} + * instances. + * + * @generated + */ + protected ExternalStakeholderItemProvider externalStakeholderItemProvider; + + /** + * This creates an adapter for a {@link fr.cea.deeplab.projectmgmt.ExternalStakeholder}. + * + * + * @generated + */ + @Override + public Adapter createExternalStakeholderAdapter() { + if (this.externalStakeholderItemProvider == null) { + this.externalStakeholderItemProvider = new ExternalStakeholderItemProvider(this); + } + + return this.externalStakeholderItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link fr.cea.deeplab.projectmgmt.Person} instances. + * + * @generated + */ + protected PersonItemProvider personItemProvider; + + /** + * This creates an adapter for a {@link fr.cea.deeplab.projectmgmt.Person}. + * + * @generated + */ + @Override + public Adapter createPersonAdapter() { + if (this.personItemProvider == null) { + this.personItemProvider = new PersonItemProvider(this); + } + + return this.personItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link fr.cea.deeplab.projectmgmt.TagFolder} instances. + * + * @generated + */ + protected TagFolderItemProvider tagFolderItemProvider; + + /** + * This creates an adapter for a {@link fr.cea.deeplab.projectmgmt.TagFolder}. + * + * @generated + */ + @Override + public Adapter createTagFolderAdapter() { + if (this.tagFolderItemProvider == null) { + this.tagFolderItemProvider = new TagFolderItemProvider(this); + } + + return this.tagFolderItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link fr.cea.deeplab.projectmgmt.TaskTag} instances. + * + * @generated + */ + protected TaskTagItemProvider taskTagItemProvider; + + /** + * This creates an adapter for a {@link fr.cea.deeplab.projectmgmt.TaskTag}. + * + * @generated + */ + @Override + public Adapter createTaskTagAdapter() { + if (this.taskTagItemProvider == null) { + this.taskTagItemProvider = new TaskTagItemProvider(this); + } + + return this.taskTagItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link fr.cea.deeplab.projectmgmt.Task} instances. + * + * @generated + */ + protected TaskItemProvider taskItemProvider; + + /** + * This creates an adapter for a {@link fr.cea.deeplab.projectmgmt.Task}. + * + * @generated + */ + @Override + public Adapter createTaskAdapter() { + if (this.taskItemProvider == null) { + this.taskItemProvider = new TaskItemProvider(this); + } + + return this.taskItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link fr.cea.deeplab.projectmgmt.Objective} instances. + * + * @generated + */ + protected ObjectiveItemProvider objectiveItemProvider; + + /** + * This creates an adapter for a {@link fr.cea.deeplab.projectmgmt.Objective}. + * + * @generated + */ + @Override + public Adapter createObjectiveAdapter() { + if (this.objectiveItemProvider == null) { + this.objectiveItemProvider = new ObjectiveItemProvider(this); + } + + return this.objectiveItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link fr.cea.deeplab.projectmgmt.KeyResult} instances. + * + * @generated + */ + protected KeyResultItemProvider keyResultItemProvider; + + /** + * This creates an adapter for a {@link fr.cea.deeplab.projectmgmt.KeyResult}. + * + * @generated + */ + @Override + public Adapter createKeyResultAdapter() { + if (this.keyResultItemProvider == null) { + this.keyResultItemProvider = new KeyResultItemProvider(this); + } + + return this.keyResultItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link fr.cea.deeplab.projectmgmt.Project} instances. + * + * @generated + */ + protected ProjectItemProvider projectItemProvider; + + /** + * This creates an adapter for a {@link fr.cea.deeplab.projectmgmt.Project}. + * + * @generated + */ + @Override + public Adapter createProjectAdapter() { + if (this.projectItemProvider == null) { + this.projectItemProvider = new ProjectItemProvider(this); + } + + return this.projectItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link fr.cea.deeplab.projectmgmt.Workpackage} instances. + * + * @generated + */ + protected WorkpackageItemProvider workpackageItemProvider; + + /** + * This creates an adapter for a {@link fr.cea.deeplab.projectmgmt.Workpackage}. + * + * @generated + */ + @Override + public Adapter createWorkpackageAdapter() { + if (this.workpackageItemProvider == null) { + this.workpackageItemProvider = new WorkpackageItemProvider(this); + } + + return this.workpackageItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link fr.cea.deeplab.projectmgmt.WorkpackageArtefact} + * instances. + * + * @generated + */ + protected WorkpackageArtefactItemProvider workpackageArtefactItemProvider; + + /** + * This creates an adapter for a {@link fr.cea.deeplab.projectmgmt.WorkpackageArtefact}. + * + * + * @generated + */ + @Override + public Adapter createWorkpackageArtefactAdapter() { + if (this.workpackageArtefactItemProvider == null) { + this.workpackageArtefactItemProvider = new WorkpackageArtefactItemProvider(this); + } + + return this.workpackageArtefactItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link fr.cea.deeplab.projectmgmt.Risk} instances. + * + * @generated + */ + protected RiskItemProvider riskItemProvider; + + /** + * This creates an adapter for a {@link fr.cea.deeplab.projectmgmt.Risk}. + * + * @generated + */ + @Override + public Adapter createRiskAdapter() { + if (this.riskItemProvider == null) { + this.riskItemProvider = new RiskItemProvider(this); + } + + return this.riskItemProvider; + } + + /** + * This returns the root adapter factory that contains this factory. + * + * @generated + */ + @Override + public ComposeableAdapterFactory getRootAdapterFactory() { + return this.parentAdapterFactory == null ? this : this.parentAdapterFactory.getRootAdapterFactory(); + } + + /** + * This sets the composed adapter factory that contains this factory. + * + * @generated + */ + @Override + public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) { + this.parentAdapterFactory = parentAdapterFactory; + } + + /** + * + * + * @generated + */ + @Override + public boolean isFactoryForType(Object type) { + return this.supportedTypes.contains(type) || super.isFactoryForType(type); + } + + /** + * This implementation substitutes the factory itself as the key for the adapter. + * + * @generated + */ + @Override + public Adapter adapt(Notifier notifier, Object type) { + return super.adapt(notifier, this); + } + + /** + * + * + * @generated + */ + @Override + public Object adapt(Object object, Object type) { + if (this.isFactoryForType(type)) { + Object adapter = super.adapt(object, type); + if (!(type instanceof Class) || (((Class) type).isInstance(adapter))) { + return adapter; + } + } + + return null; + } + + /** + * This adds a listener. + * + * @generated + */ + @Override + public void addListener(INotifyChangedListener notifyChangedListener) { + this.changeNotifier.addListener(notifyChangedListener); + } + + /** + * This removes a listener. + * + * @generated + */ + @Override + public void removeListener(INotifyChangedListener notifyChangedListener) { + this.changeNotifier.removeListener(notifyChangedListener); + } + + /** + * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}. + * + * @generated + */ + @Override + public void fireNotifyChanged(Notification notification) { + this.changeNotifier.fireNotifyChanged(notification); + + if (this.parentAdapterFactory != null) { + this.parentAdapterFactory.fireNotifyChanged(notification); + } + } + + /** + * This disposes all of the item providers created by this factory. + * + * @generated + */ + @Override + public void dispose() { + if (this.organizationItemProvider != null) + this.organizationItemProvider.dispose(); + if (this.resourceFolderItemProvider != null) + this.resourceFolderItemProvider.dispose(); + if (this.teamItemProvider != null) + this.teamItemProvider.dispose(); + if (this.internalStakeholderItemProvider != null) + this.internalStakeholderItemProvider.dispose(); + if (this.externalStakeholderItemProvider != null) + this.externalStakeholderItemProvider.dispose(); + if (this.personItemProvider != null) + this.personItemProvider.dispose(); + if (this.tagFolderItemProvider != null) + this.tagFolderItemProvider.dispose(); + if (this.taskTagItemProvider != null) + this.taskTagItemProvider.dispose(); + if (this.taskItemProvider != null) + this.taskItemProvider.dispose(); + if (this.objectiveItemProvider != null) + this.objectiveItemProvider.dispose(); + if (this.keyResultItemProvider != null) + this.keyResultItemProvider.dispose(); + if (this.projectItemProvider != null) + this.projectItemProvider.dispose(); + if (this.workpackageItemProvider != null) + this.workpackageItemProvider.dispose(); + if (this.workpackageArtefactItemProvider != null) + this.workpackageArtefactItemProvider.dispose(); + if (this.riskItemProvider != null) + this.riskItemProvider.dispose(); + } + +} diff --git a/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/ResourceFolderItemProvider.java b/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/ResourceFolderItemProvider.java new file mode 100644 index 0000000..fa4ea43 --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/ResourceFolderItemProvider.java @@ -0,0 +1,198 @@ +/** + * Copyright (c) 2024 CEA LIST. + * This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * Obeo - initial API and implementation + */ +package fr.cea.deeplab.projectmgmt.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.util.ResourceLocator; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import fr.cea.deeplab.projectmgmt.ProjectmgmtFactory; +import fr.cea.deeplab.projectmgmt.ProjectmgmtPackage; +import fr.cea.deeplab.projectmgmt.ResourceFolder; + +/** + * This is the item provider adapter for a {@link fr.cea.deeplab.projectmgmt.ResourceFolder} object. + * + * @generated + */ +public class ResourceFolderItemProvider extends ItemProviderAdapter + implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * @generated + */ + public ResourceFolderItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (this.itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + this.addNamePropertyDescriptor(object); + } + return this.itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Name feature. + * + * @generated + */ + protected void addNamePropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_ResourceFolder_name_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_ResourceFolder_name_feature", "_UI_ResourceFolder_type"), + ProjectmgmtPackage.Literals.RESOURCE_FOLDER__NAME, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an + * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or + * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}. + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (this.childrenFeatures == null) { + super.getChildrenFeatures(object); + this.childrenFeatures.add(ProjectmgmtPackage.Literals.RESOURCE_FOLDER__OWNED_RESOURCES); + this.childrenFeatures.add(ProjectmgmtPackage.Literals.RESOURCE_FOLDER__SUB_FOLDERS); + } + return this.childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns ResourceFolder.gif. + * + * @generated NOT + */ + @Override + public Object getImage(Object object) { + return this.overlayImage(object, this.getResourceLocator().getImage("full/obj16/ResourceFolder.svg")); + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((ResourceFolder) object).getName(); + return label == null || label.length() == 0 ? this.getString("_UI_ResourceFolder_type") : this.getString("_UI_ResourceFolder_type") + " " + label; + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached children and by creating + * a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + this.updateChildren(notification); + + switch (notification.getFeatureID(ResourceFolder.class)) { + case ProjectmgmtPackage.RESOURCE_FOLDER__NAME: + this.fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + case ProjectmgmtPackage.RESOURCE_FOLDER__OWNED_RESOURCES: + case ProjectmgmtPackage.RESOURCE_FOLDER__SUB_FOLDERS: + this.fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + default: + super.notifyChanged(notification); + return; + } + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children that can be created + * under this object. + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors.add(this.createChildParameter(ProjectmgmtPackage.Literals.RESOURCE_FOLDER__OWNED_RESOURCES, ProjectmgmtFactory.eINSTANCE.createTeam())); + + newChildDescriptors.add(this.createChildParameter(ProjectmgmtPackage.Literals.RESOURCE_FOLDER__OWNED_RESOURCES, ProjectmgmtFactory.eINSTANCE.createInternalStakeholder())); + + newChildDescriptors.add(this.createChildParameter(ProjectmgmtPackage.Literals.RESOURCE_FOLDER__OWNED_RESOURCES, ProjectmgmtFactory.eINSTANCE.createExternalStakeholder())); + + newChildDescriptors.add(this.createChildParameter(ProjectmgmtPackage.Literals.RESOURCE_FOLDER__OWNED_RESOURCES, ProjectmgmtFactory.eINSTANCE.createPerson())); + + newChildDescriptors.add(this.createChildParameter(ProjectmgmtPackage.Literals.RESOURCE_FOLDER__SUB_FOLDERS, ProjectmgmtFactory.eINSTANCE.createResourceFolder())); + } + + /** + * Return the resource locator for this item provider's resources. + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return ProjectManagementEditPlugin.INSTANCE; + } + +} diff --git a/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/ResourceItemProvider.java b/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/ResourceItemProvider.java new file mode 100644 index 0000000..fc72782 --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/ResourceItemProvider.java @@ -0,0 +1,140 @@ +/** + * Copyright (c) 2024 CEA LIST. + * This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * Obeo - initial API and implementation + */ +package fr.cea.deeplab.projectmgmt.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.util.ResourceLocator; +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import fr.cea.deeplab.projectmgmt.ProjectmgmtPackage; +import fr.cea.deeplab.projectmgmt.Resource; + +/** + * This is the item provider adapter for a {@link fr.cea.deeplab.projectmgmt.Resource} object. + * + * + * @generated + */ +public class ResourceItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * @generated + */ + public ResourceItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (this.itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + this.addNamePropertyDescriptor(object); + } + return this.itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Name feature. + * + * @generated + */ + protected void addNamePropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Resource_name_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Resource_name_feature", "_UI_Resource_type"), + ProjectmgmtPackage.Literals.RESOURCE__NAME, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((Resource) object).getName(); + return label == null || label.length() == 0 ? this.getString("_UI_Resource_type") : this.getString("_UI_Resource_type") + " " + label; + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached children and by creating + * a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + this.updateChildren(notification); + + switch (notification.getFeatureID(Resource.class)) { + case ProjectmgmtPackage.RESOURCE__NAME: + this.fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + default: + super.notifyChanged(notification); + return; + } + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children that can be created + * under this object. + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return ProjectManagementEditPlugin.INSTANCE; + } + +} diff --git a/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/RiskItemProvider.java b/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/RiskItemProvider.java new file mode 100644 index 0000000..a2c0fb6 --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/RiskItemProvider.java @@ -0,0 +1,241 @@ +/** + * Copyright (c) 2024 CEA LIST. + * This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * Obeo - initial API and implementation + */ +package fr.cea.deeplab.projectmgmt.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.util.ResourceLocator; +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import fr.cea.deeplab.projectmgmt.ProjectmgmtPackage; +import fr.cea.deeplab.projectmgmt.Risk; +import fr.cea.deeplab.projectmgmt.RiskKind; + +/** + * This is the item provider adapter for a {@link fr.cea.deeplab.projectmgmt.Risk} object. + * + * @generated + */ +public class RiskItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * @generated + */ + public RiskItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (this.itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + this.addKindPropertyDescriptor(object); + this.addDescriptionPropertyDescriptor(object); + this.addCriticityPropertyDescriptor(object); + this.addActionPropertyDescriptor(object); + this.addResponsiblePropertyDescriptor(object); + this.addOperationDatePropertyDescriptor(object); + this.addStatePropertyDescriptor(object); + this.addWorkpackagesPropertyDescriptor(object); + } + return this.itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Kind feature. + * + * @generated + */ + protected void addKindPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Risk_kind_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Risk_kind_feature", "_UI_Risk_type"), ProjectmgmtPackage.Literals.RISK__KIND, true, + false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Description feature. + * + * @generated + */ + protected void addDescriptionPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Risk_description_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Risk_description_feature", "_UI_Risk_type"), + ProjectmgmtPackage.Literals.RISK__DESCRIPTION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Criticity feature. + * + * @generated + */ + protected void addCriticityPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Risk_criticity_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Risk_criticity_feature", "_UI_Risk_type"), + ProjectmgmtPackage.Literals.RISK__CRITICITY, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Action feature. + * + * @generated + */ + protected void addActionPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Risk_action_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Risk_action_feature", "_UI_Risk_type"), ProjectmgmtPackage.Literals.RISK__ACTION, + true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Responsible feature. + * + * @generated + */ + protected void addResponsiblePropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Risk_responsible_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Risk_responsible_feature", "_UI_Risk_type"), + ProjectmgmtPackage.Literals.RISK__RESPONSIBLE, true, false, true, null, null, null)); + } + + /** + * This adds a property descriptor for the Operation Date feature. + * + * @generated + */ + protected void addOperationDatePropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Risk_operationDate_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Risk_operationDate_feature", "_UI_Risk_type"), + ProjectmgmtPackage.Literals.RISK__OPERATION_DATE, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the State feature. + * + * @generated + */ + protected void addStatePropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Risk_state_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Risk_state_feature", "_UI_Risk_type"), ProjectmgmtPackage.Literals.RISK__STATE, + true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Workpackages feature. + * + * @generated + */ + protected void addWorkpackagesPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Risk_workpackages_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Risk_workpackages_feature", "_UI_Risk_type"), + ProjectmgmtPackage.Literals.RISK__WORKPACKAGES, true, false, true, null, null, null)); + } + + /** + * This returns Risk.gif. + * + * @generated NOT + */ + @Override + public Object getImage(Object object) { + return this.overlayImage(object, this.getResourceLocator().getImage("full/obj16/Risk.svg")); + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * @generated + */ + @Override + public String getText(Object object) { + RiskKind labelValue = ((Risk) object).getKind(); + String label = labelValue == null ? null : labelValue.toString(); + return label == null || label.length() == 0 ? this.getString("_UI_Risk_type") : this.getString("_UI_Risk_type") + " " + label; + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached children and by creating + * a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + this.updateChildren(notification); + + switch (notification.getFeatureID(Risk.class)) { + case ProjectmgmtPackage.RISK__KIND: + case ProjectmgmtPackage.RISK__DESCRIPTION: + case ProjectmgmtPackage.RISK__CRITICITY: + case ProjectmgmtPackage.RISK__ACTION: + case ProjectmgmtPackage.RISK__OPERATION_DATE: + case ProjectmgmtPackage.RISK__STATE: + this.fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + default: + super.notifyChanged(notification); + return; + } + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children that can be created + * under this object. + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return ProjectManagementEditPlugin.INSTANCE; + } + +} diff --git a/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/TagFolderItemProvider.java b/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/TagFolderItemProvider.java new file mode 100644 index 0000000..65f1695 --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/TagFolderItemProvider.java @@ -0,0 +1,192 @@ +/** + * Copyright (c) 2024 CEA LIST. + * This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * Obeo - initial API and implementation + */ +package fr.cea.deeplab.projectmgmt.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.util.ResourceLocator; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import fr.cea.deeplab.projectmgmt.ProjectmgmtFactory; +import fr.cea.deeplab.projectmgmt.ProjectmgmtPackage; +import fr.cea.deeplab.projectmgmt.TagFolder; + +/** + * This is the item provider adapter for a {@link fr.cea.deeplab.projectmgmt.TagFolder} object. + * + * + * @generated + */ +public class TagFolderItemProvider extends ItemProviderAdapter + implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * @generated + */ + public TagFolderItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (this.itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + this.addNamePropertyDescriptor(object); + } + return this.itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Name feature. + * + * @generated + */ + protected void addNamePropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_TagFolder_name_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_TagFolder_name_feature", "_UI_TagFolder_type"), + ProjectmgmtPackage.Literals.TAG_FOLDER__NAME, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an + * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or + * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}. + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (this.childrenFeatures == null) { + super.getChildrenFeatures(object); + this.childrenFeatures.add(ProjectmgmtPackage.Literals.TAG_FOLDER__OWNED_TAGS); + this.childrenFeatures.add(ProjectmgmtPackage.Literals.TAG_FOLDER__SUB_FOLDERS); + } + return this.childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns TagFolder.gif. + * + * @generated NOT + */ + @Override + public Object getImage(Object object) { + return this.overlayImage(object, this.getResourceLocator().getImage("full/obj16/TagFolder.svg")); + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((TagFolder) object).getName(); + return label == null || label.length() == 0 ? this.getString("_UI_TagFolder_type") : this.getString("_UI_TagFolder_type") + " " + label; + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached children and by creating + * a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + this.updateChildren(notification); + + switch (notification.getFeatureID(TagFolder.class)) { + case ProjectmgmtPackage.TAG_FOLDER__NAME: + this.fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + case ProjectmgmtPackage.TAG_FOLDER__OWNED_TAGS: + case ProjectmgmtPackage.TAG_FOLDER__SUB_FOLDERS: + this.fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + default: + super.notifyChanged(notification); + return; + } + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children that can be created + * under this object. + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors.add(this.createChildParameter(ProjectmgmtPackage.Literals.TAG_FOLDER__OWNED_TAGS, ProjectmgmtFactory.eINSTANCE.createTaskTag())); + + newChildDescriptors.add(this.createChildParameter(ProjectmgmtPackage.Literals.TAG_FOLDER__SUB_FOLDERS, ProjectmgmtFactory.eINSTANCE.createTagFolder())); + } + + /** + * Return the resource locator for this item provider's resources. + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return ProjectManagementEditPlugin.INSTANCE; + } + +} diff --git a/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/TaskItemProvider.java b/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/TaskItemProvider.java new file mode 100644 index 0000000..8d8b7bf --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/TaskItemProvider.java @@ -0,0 +1,123 @@ +/******************************************************************************* + * Copyright (c) 2024 CEA LIST. + * This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package fr.cea.deeplab.projectmgmt.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; + +import fr.cea.deeplab.projectmgmt.ProjectmgmtPackage; +import fr.cea.deeplab.projectmgmt.Task; + +/** + * This is the item provider adapter for a {@link fr.cea.deeplab.projectmgmt.Task} object. + * + * @generated + */ +public class TaskItemProvider extends AbstractTaskItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * @generated + */ + public TaskItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (this.itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + this.addDependenciesPropertyDescriptor(object); + } + return this.itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Dependencies feature. + * + * @generated + */ + protected void addDependenciesPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Task_dependencies_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Task_dependencies_feature", "_UI_Task_type"), + ProjectmgmtPackage.Literals.TASK__DEPENDENCIES, true, false, true, null, null, null)); + } + + /** + * This returns Task.gif. + * + * @generated NOT + */ + @Override + public Object getImage(Object object) { + return this.overlayImage(object, this.getResourceLocator().getImage("full/obj16/Task.svg")); + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((Task) object).getName(); + return label == null || label.length() == 0 ? this.getString("_UI_Task_type") : this.getString("_UI_Task_type") + " " + label; + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached children and by creating + * a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + this.updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children that can be created + * under this object. + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + +} diff --git a/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/TaskTagItemProvider.java b/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/TaskTagItemProvider.java new file mode 100644 index 0000000..a871543 --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/TaskTagItemProvider.java @@ -0,0 +1,166 @@ +/******************************************************************************* + * Copyright (c) 2024 CEA LIST. + * This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package fr.cea.deeplab.projectmgmt.provider; + +import java.util.Collection; +import java.util.List; +import java.util.Optional; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.util.ResourceLocator; +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import fr.cea.deeplab.projectmgmt.ProjectmgmtPackage; +import fr.cea.deeplab.projectmgmt.TaskTag; + +/** + * This is the item provider adapter for a {@link fr.cea.deeplab.projectmgmt.TaskTag} object. + * + * + * @generated + */ +public class TaskTagItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * @generated + */ + public TaskTagItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (this.itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + this.addPrefixPropertyDescriptor(object); + this.addSuffixPropertyDescriptor(object); + } + return this.itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Prefix feature. + * + * @generated + */ + protected void addPrefixPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_TaskTag_prefix_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_TaskTag_prefix_feature", "_UI_TaskTag_type"), + ProjectmgmtPackage.Literals.TASK_TAG__PREFIX, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Suffix feature. + * + * @generated + */ + protected void addSuffixPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_TaskTag_suffix_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_TaskTag_suffix_feature", "_UI_TaskTag_type"), + ProjectmgmtPackage.Literals.TASK_TAG__SUFFIX, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This returns TaskTag.gif. + * + * @generated NOT + */ + @Override + public Object getImage(Object object) { + return this.overlayImage(object, this.getResourceLocator().getImage("full/obj16/TaskTag.svg")); + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * @generated NOT + */ + @Override + public String getText(Object object) { + String prefix = Optional.ofNullable(((TaskTag) object).getPrefix()).orElse(""); + String suffix = Optional.ofNullable(((TaskTag) object).getSuffix()).orElse(""); + + return prefix.concat("::").concat(suffix); + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached children and by creating + * a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + this.updateChildren(notification); + + switch (notification.getFeatureID(TaskTag.class)) { + case ProjectmgmtPackage.TASK_TAG__PREFIX: + case ProjectmgmtPackage.TASK_TAG__SUFFIX: + this.fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + default: + super.notifyChanged(notification); + return; + } + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children that can be created + * under this object. + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return ProjectManagementEditPlugin.INSTANCE; + } + +} diff --git a/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/TeamItemProvider.java b/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/TeamItemProvider.java new file mode 100644 index 0000000..39539cf --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/TeamItemProvider.java @@ -0,0 +1,123 @@ +/** + * Copyright (c) 2024 CEA LIST. + * This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * Obeo - initial API and implementation + */ +package fr.cea.deeplab.projectmgmt.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; + +import fr.cea.deeplab.projectmgmt.ProjectmgmtPackage; +import fr.cea.deeplab.projectmgmt.Team; + +/** + * This is the item provider adapter for a {@link fr.cea.deeplab.projectmgmt.Team} object. + * + * @generated + */ +public class TeamItemProvider extends ResourceItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * @generated + */ + public TeamItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (this.itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + this.addMembersPropertyDescriptor(object); + } + return this.itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Members feature. + * + * @generated + */ + protected void addMembersPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Team_members_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Team_members_feature", "_UI_Team_type"), + ProjectmgmtPackage.Literals.TEAM__MEMBERS, true, false, true, null, null, null)); + } + + /** + * This returns Team.gif. + * + * @generated NOT + */ + @Override + public Object getImage(Object object) { + return this.overlayImage(object, this.getResourceLocator().getImage("full/obj16/Team.svg")); + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((Team) object).getName(); + return label == null || label.length() == 0 ? this.getString("_UI_Team_type") : this.getString("_UI_Team_type") + " " + label; + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached children and by creating + * a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + this.updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children that can be created + * under this object. + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + +} diff --git a/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/WorkpackageArtefactItemProvider.java b/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/WorkpackageArtefactItemProvider.java new file mode 100644 index 0000000..d2c96bc --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/WorkpackageArtefactItemProvider.java @@ -0,0 +1,277 @@ +/** + * Copyright (c) 2024 CEA LIST. + * This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * Obeo - initial API and implementation + */ +package fr.cea.deeplab.projectmgmt.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.util.ResourceLocator; +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import fr.cea.deeplab.projectmgmt.ProjectmgmtPackage; +import fr.cea.deeplab.projectmgmt.WorkpackageArtefact; + +/** + * This is the item provider adapter for a {@link fr.cea.deeplab.projectmgmt.WorkpackageArtefact} object. + * + * @generated + */ +public class WorkpackageArtefactItemProvider extends ItemProviderAdapter + implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * @generated + */ + public WorkpackageArtefactItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (this.itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + this.addNamePropertyDescriptor(object); + this.addDescriptionPropertyDescriptor(object); + this.addNaturePropertyDescriptor(object); + this.addPlannedDeadlinePropertyDescriptor(object); + this.addEffectiveDeadLinePropertyDescriptor(object); + this.addIsInvoiceTriggerPropertyDescriptor(object); + this.addInvoiceAmountPropertyDescriptor(object); + this.addResponsiblePropertyDescriptor(object); + this.addVersionPropertyDescriptor(object); + this.addIsObsoletePropertyDescriptor(object); + } + return this.itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Name feature. + * + * @generated + */ + protected void addNamePropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_WorkpackageArtefact_name_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_WorkpackageArtefact_name_feature", "_UI_WorkpackageArtefact_type"), + ProjectmgmtPackage.Literals.WORKPACKAGE_ARTEFACT__NAME, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Description feature. + * + * @generated + */ + protected void addDescriptionPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_WorkpackageArtefact_description_feature"), + this.getString("_UI_PropertyDescriptor_description", "_UI_WorkpackageArtefact_description_feature", "_UI_WorkpackageArtefact_type"), + ProjectmgmtPackage.Literals.WORKPACKAGE_ARTEFACT__DESCRIPTION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Nature feature. + * + * @generated + */ + protected void addNaturePropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_WorkpackageArtefact_nature_feature"), + this.getString("_UI_PropertyDescriptor_description", "_UI_WorkpackageArtefact_nature_feature", "_UI_WorkpackageArtefact_type"), + ProjectmgmtPackage.Literals.WORKPACKAGE_ARTEFACT__NATURE, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Planned Deadline feature. + * + * @generated + */ + protected void addPlannedDeadlinePropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_WorkpackageArtefact_plannedDeadline_feature"), + this.getString("_UI_PropertyDescriptor_description", "_UI_WorkpackageArtefact_plannedDeadline_feature", "_UI_WorkpackageArtefact_type"), + ProjectmgmtPackage.Literals.WORKPACKAGE_ARTEFACT__PLANNED_DEADLINE, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Effective Dead Line feature. + * + * @generated + */ + protected void addEffectiveDeadLinePropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_WorkpackageArtefact_effectiveDeadLine_feature"), + this.getString("_UI_PropertyDescriptor_description", "_UI_WorkpackageArtefact_effectiveDeadLine_feature", "_UI_WorkpackageArtefact_type"), + ProjectmgmtPackage.Literals.WORKPACKAGE_ARTEFACT__EFFECTIVE_DEAD_LINE, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Is Invoice Trigger feature. + * + * @generated + */ + protected void addIsInvoiceTriggerPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_WorkpackageArtefact_isInvoiceTrigger_feature"), + this.getString("_UI_PropertyDescriptor_description", "_UI_WorkpackageArtefact_isInvoiceTrigger_feature", "_UI_WorkpackageArtefact_type"), + ProjectmgmtPackage.Literals.WORKPACKAGE_ARTEFACT__IS_INVOICE_TRIGGER, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Invoice Amount feature. + * + * @generated + */ + protected void addInvoiceAmountPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_WorkpackageArtefact_invoiceAmount_feature"), + this.getString("_UI_PropertyDescriptor_description", "_UI_WorkpackageArtefact_invoiceAmount_feature", "_UI_WorkpackageArtefact_type"), + ProjectmgmtPackage.Literals.WORKPACKAGE_ARTEFACT__INVOICE_AMOUNT, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Responsible feature. + * + * @generated + */ + protected void addResponsiblePropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_WorkpackageArtefact_responsible_feature"), + this.getString("_UI_PropertyDescriptor_description", "_UI_WorkpackageArtefact_responsible_feature", "_UI_WorkpackageArtefact_type"), + ProjectmgmtPackage.Literals.WORKPACKAGE_ARTEFACT__RESPONSIBLE, true, false, true, null, null, null)); + } + + /** + * This adds a property descriptor for the Version feature. + * + * @generated + */ + protected void addVersionPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_WorkpackageArtefact_version_feature"), + this.getString("_UI_PropertyDescriptor_description", "_UI_WorkpackageArtefact_version_feature", "_UI_WorkpackageArtefact_type"), + ProjectmgmtPackage.Literals.WORKPACKAGE_ARTEFACT__VERSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Is Obsolete feature. + * + * @generated + */ + protected void addIsObsoletePropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_WorkpackageArtefact_isObsolete_feature"), + this.getString("_UI_PropertyDescriptor_description", "_UI_WorkpackageArtefact_isObsolete_feature", "_UI_WorkpackageArtefact_type"), + ProjectmgmtPackage.Literals.WORKPACKAGE_ARTEFACT__IS_OBSOLETE, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This returns WorkpackageArtefact.gif. + * + * @generated NOT + */ + @Override + public Object getImage(Object object) { + return this.overlayImage(object, this.getResourceLocator().getImage("full/obj16/WorkpackageArtefact.svg")); + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((WorkpackageArtefact) object).getName(); + return label == null || label.length() == 0 ? this.getString("_UI_WorkpackageArtefact_type") : this.getString("_UI_WorkpackageArtefact_type") + " " + label; + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached children and by creating + * a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + this.updateChildren(notification); + + switch (notification.getFeatureID(WorkpackageArtefact.class)) { + case ProjectmgmtPackage.WORKPACKAGE_ARTEFACT__NAME: + case ProjectmgmtPackage.WORKPACKAGE_ARTEFACT__DESCRIPTION: + case ProjectmgmtPackage.WORKPACKAGE_ARTEFACT__NATURE: + case ProjectmgmtPackage.WORKPACKAGE_ARTEFACT__PLANNED_DEADLINE: + case ProjectmgmtPackage.WORKPACKAGE_ARTEFACT__EFFECTIVE_DEAD_LINE: + case ProjectmgmtPackage.WORKPACKAGE_ARTEFACT__IS_INVOICE_TRIGGER: + case ProjectmgmtPackage.WORKPACKAGE_ARTEFACT__INVOICE_AMOUNT: + case ProjectmgmtPackage.WORKPACKAGE_ARTEFACT__VERSION: + case ProjectmgmtPackage.WORKPACKAGE_ARTEFACT__IS_OBSOLETE: + this.fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + default: + super.notifyChanged(notification); + return; + } + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children that can be created + * under this object. + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return ProjectManagementEditPlugin.INSTANCE; + } + +} diff --git a/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/WorkpackageItemProvider.java b/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/WorkpackageItemProvider.java new file mode 100644 index 0000000..a61b67c --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/src/main/java/fr/cea/deeplab/projectmgmt/provider/WorkpackageItemProvider.java @@ -0,0 +1,285 @@ +/** + * Copyright (c) 2024 CEA LIST. + * This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * Obeo - initial API and implementation + */ +package fr.cea.deeplab.projectmgmt.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.util.ResourceLocator; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import fr.cea.deeplab.projectmgmt.ProjectmgmtFactory; +import fr.cea.deeplab.projectmgmt.ProjectmgmtPackage; +import fr.cea.deeplab.projectmgmt.Workpackage; + +/** + * This is the item provider adapter for a {@link fr.cea.deeplab.projectmgmt.Workpackage} object. + * + * @generated + */ +public class WorkpackageItemProvider extends ItemProviderAdapter + implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * @generated + */ + public WorkpackageItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (this.itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + this.addNamePropertyDescriptor(object); + this.addDescriptionPropertyDescriptor(object); + this.addStartDatePropertyDescriptor(object); + this.addEndDatePropertyDescriptor(object); + this.addLeaderPropertyDescriptor(object); + this.addParticipantsPropertyDescriptor(object); + this.addEffortPropertyDescriptor(object); + this.addProgressPropertyDescriptor(object); + } + return this.itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Name feature. + * + * @generated + */ + protected void addNamePropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Workpackage_name_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Workpackage_name_feature", "_UI_Workpackage_type"), + ProjectmgmtPackage.Literals.WORKPACKAGE__NAME, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Description feature. + * + * @generated + */ + protected void addDescriptionPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Workpackage_description_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Workpackage_description_feature", "_UI_Workpackage_type"), + ProjectmgmtPackage.Literals.WORKPACKAGE__DESCRIPTION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Start Date feature. + * + * @generated + */ + protected void addStartDatePropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Workpackage_startDate_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Workpackage_startDate_feature", "_UI_Workpackage_type"), + ProjectmgmtPackage.Literals.WORKPACKAGE__START_DATE, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the End Date feature. + * + * @generated + */ + protected void addEndDatePropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Workpackage_endDate_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Workpackage_endDate_feature", "_UI_Workpackage_type"), + ProjectmgmtPackage.Literals.WORKPACKAGE__END_DATE, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Leader feature. + * + * @generated + */ + protected void addLeaderPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Workpackage_leader_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Workpackage_leader_feature", "_UI_Workpackage_type"), + ProjectmgmtPackage.Literals.WORKPACKAGE__LEADER, true, false, true, null, null, null)); + } + + /** + * This adds a property descriptor for the Participants feature. + * + * @generated + */ + protected void addParticipantsPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Workpackage_participants_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Workpackage_participants_feature", "_UI_Workpackage_type"), + ProjectmgmtPackage.Literals.WORKPACKAGE__PARTICIPANTS, true, false, true, null, null, null)); + } + + /** + * This adds a property descriptor for the Effort feature. + * + * @generated + */ + protected void addEffortPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Workpackage_effort_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Workpackage_effort_feature", "_UI_Workpackage_type"), + ProjectmgmtPackage.Literals.WORKPACKAGE__EFFORT, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Progress feature. + * + * @generated + */ + protected void addProgressPropertyDescriptor(Object object) { + this.itemPropertyDescriptors.add(this.createItemPropertyDescriptor(((ComposeableAdapterFactory) this.adapterFactory).getRootAdapterFactory(), this.getResourceLocator(), + this.getString("_UI_Workpackage_progress_feature"), this.getString("_UI_PropertyDescriptor_description", "_UI_Workpackage_progress_feature", "_UI_Workpackage_type"), + ProjectmgmtPackage.Literals.WORKPACKAGE__PROGRESS, true, false, false, ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, null, null)); + } + + /** + * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an + * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or + * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}. + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (this.childrenFeatures == null) { + super.getChildrenFeatures(object); + this.childrenFeatures.add(ProjectmgmtPackage.Literals.WORKPACKAGE__OUTPUTS); + this.childrenFeatures.add(ProjectmgmtPackage.Literals.WORKPACKAGE__OWNED_TASKS); + this.childrenFeatures.add(ProjectmgmtPackage.Literals.WORKPACKAGE__OWNED_OBJECTIVES); + } + return this.childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns Workpackage.gif. + * + * @generated NOT + */ + @Override + public Object getImage(Object object) { + return this.overlayImage(object, this.getResourceLocator().getImage("full/obj16/Workpackage.svg")); + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((Workpackage) object).getName(); + return label == null || label.length() == 0 ? this.getString("_UI_Workpackage_type") : this.getString("_UI_Workpackage_type") + " " + label; + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached children and by creating + * a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + this.updateChildren(notification); + + switch (notification.getFeatureID(Workpackage.class)) { + case ProjectmgmtPackage.WORKPACKAGE__NAME: + case ProjectmgmtPackage.WORKPACKAGE__DESCRIPTION: + case ProjectmgmtPackage.WORKPACKAGE__START_DATE: + case ProjectmgmtPackage.WORKPACKAGE__END_DATE: + case ProjectmgmtPackage.WORKPACKAGE__EFFORT: + case ProjectmgmtPackage.WORKPACKAGE__PROGRESS: + this.fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + case ProjectmgmtPackage.WORKPACKAGE__OUTPUTS: + case ProjectmgmtPackage.WORKPACKAGE__OWNED_TASKS: + case ProjectmgmtPackage.WORKPACKAGE__OWNED_OBJECTIVES: + this.fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + default: + super.notifyChanged(notification); + return; + } + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children that can be created + * under this object. + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors.add(this.createChildParameter(ProjectmgmtPackage.Literals.WORKPACKAGE__OUTPUTS, ProjectmgmtFactory.eINSTANCE.createWorkpackageArtefact())); + + newChildDescriptors.add(this.createChildParameter(ProjectmgmtPackage.Literals.WORKPACKAGE__OWNED_TASKS, ProjectmgmtFactory.eINSTANCE.createTask())); + + newChildDescriptors.add(this.createChildParameter(ProjectmgmtPackage.Literals.WORKPACKAGE__OWNED_OBJECTIVES, ProjectmgmtFactory.eINSTANCE.createObjective())); + } + + /** + * Return the resource locator for this item provider's resources. + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return ProjectManagementEditPlugin.INSTANCE; + } + +} diff --git a/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/ExternalStakeholder.svg b/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/ExternalStakeholder.svg new file mode 100644 index 0000000..d7d470d --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/ExternalStakeholder.svg @@ -0,0 +1,12 @@ + + + + \ No newline at end of file diff --git a/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/InternalStakeholder.svg b/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/InternalStakeholder.svg new file mode 100644 index 0000000..fd96793 --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/InternalStakeholder.svg @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/KeyResult.svg b/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/KeyResult.svg new file mode 100644 index 0000000..d92ef4a --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/KeyResult.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/Objective.svg b/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/Objective.svg new file mode 100644 index 0000000..119a9b8 --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/Objective.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/Organization.svg b/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/Organization.svg new file mode 100644 index 0000000..a15dd9b --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/Organization.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/Person.svg b/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/Person.svg new file mode 100644 index 0000000..57a02f9 --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/Person.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/Project.svg b/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/Project.svg new file mode 100644 index 0000000..a037a1d --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/Project.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/ResourceFolder.svg b/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/ResourceFolder.svg new file mode 100644 index 0000000..ca747b4 --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/ResourceFolder.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/Risk.svg b/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/Risk.svg new file mode 100644 index 0000000..d450f54 --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/Risk.svg @@ -0,0 +1,45 @@ + + + + + + + diff --git a/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/TagFolder.svg b/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/TagFolder.svg new file mode 100644 index 0000000..ce78e16 --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/TagFolder.svg @@ -0,0 +1,40 @@ + + + + + + diff --git a/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/Task.svg b/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/Task.svg new file mode 100644 index 0000000..32ab179 --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/Task.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/TaskTag.svg b/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/TaskTag.svg new file mode 100644 index 0000000..df361dd --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/TaskTag.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/Team.svg b/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/Team.svg new file mode 100644 index 0000000..3ad7b8e --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/Team.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/Workpackage.svg b/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/Workpackage.svg new file mode 100644 index 0000000..8b5f3da --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/Workpackage.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/WorkpackageArtefact.svg b/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/WorkpackageArtefact.svg new file mode 100644 index 0000000..236d3b1 --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/src/main/resources/icons/full/obj16/WorkpackageArtefact.svg @@ -0,0 +1,52 @@ + + + + + + + + + diff --git a/backend/deeplab-projectmanagement-edit/src/main/resources/plugin.properties b/backend/deeplab-projectmanagement-edit/src/main/resources/plugin.properties new file mode 100644 index 0000000..9e47bc9 --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/src/main/resources/plugin.properties @@ -0,0 +1,160 @@ +# Copyright (c) 2024 CEA LIST. +# This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v2.0 +# which accompanies this distribution, and is available at +# https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Obeo - initial API and implementation + +pluginName = ProjectManagement Edit Support +providerName = www.example.org + +_UI_CreateChild_text = {0} +_UI_CreateChild_text2 = {1} {0} +_UI_CreateChild_text3 = {1} +_UI_CreateChild_tooltip = Create New {0} Under {1} Feature +_UI_CreateChild_description = Create a new child of type {0} for the {1} feature of the selected {2}. +_UI_CreateSibling_description = Create a new sibling of type {0} for the selected {2}, under the {1} feature of their parent. + +_UI_PropertyDescriptor_description = The {0} of the {1} + +_UI_Organization_type = Organization +_UI_Resource_type = Resource +_UI_ResourceFolder_type = Resource Folder +_UI_Team_type = Team +_UI_InternalStakeholder_type = Internal Stakeholder +_UI_ExternalStakeholder_type = External Stakeholder +_UI_Person_type = Person +_UI_AbstractTask_type = Abstract Task +_UI_TagFolder_type = Tag Folder +_UI_TaskTag_type = Task Tag +_UI_Task_type = Task +_UI_Objective_type = Objective +_UI_KeyResult_type = Key Result +_UI_Project_type = Project +_UI_Workpackage_type = Workpackage +_UI_WorkpackageArtefact_type = Workpackage Artefact +_UI_Risk_type = Risk +_UI_Unknown_type = Object + +_UI_Unknown_datatype= Value + +_UI_Organization_name_feature = Name +_UI_Organization_ownedProjects_feature = Owned Projects +_UI_Organization_ownedResourceFolders_feature = Owned Resource Folders +_UI_Resource_name_feature = Name +_UI_ResourceFolder_name_feature = Name +_UI_ResourceFolder_ownedResources_feature = Owned Resources +_UI_ResourceFolder_subFolders_feature = Sub Folders +_UI_Team_members_feature = Members +_UI_ExternalStakeholder_goals_feature = Goals +_UI_Person_alias_feature = Alias +_UI_Person_biography_feature = Biography +_UI_Person_imageUrl_feature = Image Url +_UI_AbstractTask_name_feature = Name +_UI_AbstractTask_description_feature = Description +_UI_AbstractTask_startTime_feature = Start Time +_UI_AbstractTask_endTime_feature = End Time +_UI_AbstractTask_progress_feature = Progress +_UI_AbstractTask_computeStartEndDynamically_feature = Compute Start End Dynamically +_UI_AbstractTask_tags_feature = Tags +_UI_AbstractTask_assignedPersons_feature = Assigned Persons +_UI_AbstractTask_assignedTeams_feature = Assigned Teams +_UI_AbstractTask_subTasks_feature = Sub Tasks +_UI_TagFolder_name_feature = Name +_UI_TagFolder_ownedTags_feature = Owned Tags +_UI_TagFolder_subFolders_feature = Sub Folders +_UI_TaskTag_prefix_feature = Prefix +_UI_TaskTag_suffix_feature = Suffix +_UI_Task_dependencies_feature = Dependencies +_UI_Objective_ownedKeyResults_feature = Owned Key Results +_UI_Project_name_feature = Name +_UI_Project_ownedWorkpackages_feature = Owned Workpackages +_UI_Project_ownedObjectives_feature = Owned Objectives +_UI_Project_ownedTagFolders_feature = Owned Tag Folders +_UI_Project_ownedRisks_feature = Owned Risks +_UI_Project_reference_feature = Reference +_UI_Project_description_feature = Description +_UI_Project_leadingUnit_feature = Leading Unit +_UI_Project_participantUnits_feature = Participant Units +_UI_Project_plannifiedClientCopilMeetings_feature = Plannified Client Copil Meetings +_UI_Project_mainProgramBrick_feature = Main Program Brick +_UI_Project_state_feature = State +_UI_Project_clients_feature = Clients +_UI_Project_partners_feature = Partners +_UI_Project_isTransverse_feature = Is Transverse +_UI_Project_leader_feature = Leader +_UI_Project_members_feature = Members +_UI_Project_isSensitive_feature = Is Sensitive +_UI_Project_contractualStartDate_feature = Contractual Start Date +_UI_Project_duration_feature = Duration +_UI_Project_contractualEndDate_feature = Contractual End Date +_UI_Project_effectiveStartDate_feature = Effective Start Date +_UI_Project_effectiveEndDate_feature = Effective End Date +_UI_Project_contractTermExtension_feature = Contract Term Extension +_UI_Project_globalCost_feature = Global Cost +_UI_Project_fundingRate_feature = Funding Rate +_UI_Project_funding_feature = Funding +_UI_Project_manpower_feature = Manpower +_UI_Project_eOTP_feature = EOTP +_UI_Project_statisticOrder_feature = Statistic Order +_UI_Project_internalNeed_feature = Internal Need +_UI_Project_clientNeed_feature = Client Need +_UI_Workpackage_name_feature = Name +_UI_Workpackage_description_feature = Description +_UI_Workpackage_startDate_feature = Start Date +_UI_Workpackage_endDate_feature = End Date +_UI_Workpackage_leader_feature = Leader +_UI_Workpackage_participants_feature = Participants +_UI_Workpackage_effort_feature = Effort +_UI_Workpackage_outputs_feature = Outputs +_UI_Workpackage_ownedTasks_feature = Owned Tasks +_UI_Workpackage_ownedObjectives_feature = Owned Objectives +_UI_Workpackage_progress_feature = Progress +_UI_WorkpackageArtefact_name_feature = Name +_UI_WorkpackageArtefact_description_feature = Description +_UI_WorkpackageArtefact_nature_feature = Nature +_UI_WorkpackageArtefact_plannedDeadline_feature = Planned Deadline +_UI_WorkpackageArtefact_effectiveDeadLine_feature = Effective Dead Line +_UI_WorkpackageArtefact_isInvoiceTrigger_feature = Is Invoice Trigger +_UI_WorkpackageArtefact_invoiceAmount_feature = Invoice Amount +_UI_WorkpackageArtefact_responsible_feature = Responsible +_UI_WorkpackageArtefact_version_feature = Version +_UI_WorkpackageArtefact_isObsolete_feature = Is Obsolete +_UI_Risk_kind_feature = Kind +_UI_Risk_description_feature = Description +_UI_Risk_criticity_feature = Criticity +_UI_Risk_action_feature = Action +_UI_Risk_responsible_feature = Responsible +_UI_Risk_operationDate_feature = Operation Date +_UI_Risk_state_feature = State +_UI_Risk_workpackages_feature = Workpackages +_UI_Unknown_feature = Unspecified + +_UI_WorkpackageArtefactNature_Delivrable_literal = DELIVRABLE +_UI_WorkpackageArtefactNature_Decisional_literal = DECISIONAL +_UI_WorkpackageArtefactNature_ProjectReview_literal = PROJECT_REVIEW +_UI_WorkpackageArtefactNature_Action_literal = ACTION +_UI_WorkpackageArtefactNature_Invoicing_literal = INVOICING +_UI_WorkpackageArtefactNature_ExpenseStatement_literal = EXPENSE_STATEMENT +_UI_WorkpackageArtefactNature_ClientSatisfaction_literal = CLIENT_SATISFACTION +_UI_WorkpackageArtefactNature_Other_literal = OTHER +_UI_RiskKind_Manpower_literal = MANPOWER +_UI_RiskKind_Machine_literal = MACHINE +_UI_RiskKind_Material_literal = MATERIAL +_UI_RiskKind_Measurement_literal = MEASUREMENT +_UI_RiskKind_Method_literal = METHOD +_UI_RiskKind_Mission_literal = MISSION +_UI_RiskKind_Management_literal = MANAGEMENT +_UI_RiskKind_Maintenance_literal = MAINTENANCE +_UI_RiskState_OnGoing_literal = ON_GOING +_UI_RiskState_UnderInstruction_literal = UNDER_INSTRUCTION +_UI_RiskState_StopBeforeTerm_literal = STOP_BEFORE_TERM +_UI_RiskState_Completed_literal = COMPLETED +_UI_ProjectState_OnGoing_literal = ON_GOING +_UI_ProjectState_UnderInstruction_literal = UNDER_INSTRUCTION +_UI_ProjectState_StopBeforeTerm_literal = STOP_BEFORE_TERM +_UI_ProjectState_Completed_literal = COMPLETED diff --git a/backend/deeplab-projectmanagement-edit/src/main/resources/plugin_fr.properties b/backend/deeplab-projectmanagement-edit/src/main/resources/plugin_fr.properties new file mode 100644 index 0000000..6d1a0de --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/src/main/resources/plugin_fr.properties @@ -0,0 +1,160 @@ +# Copyright (c) 2024 CEA LIST. +# This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v2.0 +# which accompanies this distribution, and is available at +# https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Obeo - initial API and implementation + +pluginName = ProjectManagement Edit Support +providerName = www.example.org + +_UI_CreateChild_text = {0} +_UI_CreateChild_text2 = {1} {0} +_UI_CreateChild_text3 = {1} +_UI_CreateChild_tooltip = Create New {0} Under {1} Feature +_UI_CreateChild_description = Create a new child of type {0} for the {1} feature of the selected {2}. +_UI_CreateSibling_description = Create a new sibling of type {0} for the selected {2}, under the {1} feature of their parent. + +_UI_PropertyDescriptor_description = The {0} of the {1} + +_UI_Organization_type = Organization +_UI_Resource_type = Resource +_UI_ResourceFolder_type = Resource Folder +_UI_Team_type = Team +_UI_InternalStakeholder_type = Internal Stakeholder +_UI_ExternalStakeholder_type = External Stakeholder +_UI_Person_type = Person +_UI_AbstractTask_type = Abstract Task +_UI_TagFolder_type = Tag Folder +_UI_TaskTag_type = Task Tag +_UI_Task_type = Task +_UI_Objective_type = Objective +_UI_KeyResult_type = Key Result +_UI_Project_type = Project +_UI_Workpackage_type = Workpackage +_UI_WorkpackageArtefact_type = Workpackage Artefact +_UI_Risk_type = Risk +_UI_Unknown_type = Object + +_UI_Unknown_datatype= Value + +_UI_Organization_name_feature = Nom +_UI_Organization_ownedProjects_feature = Projets +_UI_Organization_ownedResourceFolders_feature = R\u00E9pertoire de resource +_UI_Resource_name_feature = Nom +_UI_ResourceFolder_name_feature = Nom +_UI_ResourceFolder_ownedResources_feature = Ressources +_UI_ResourceFolder_subFolders_feature = Sous r\u00E9pertoires +_UI_Team_members_feature = Membres +_UI_ExternalStakeholder_goals_feature = Buts +_UI_Person_alias_feature = Alias +_UI_Person_biography_feature = Biographie +_UI_Person_imageUrl_feature = Image Url +_UI_AbstractTask_name_feature = Nom +_UI_AbstractTask_description_feature = Description +_UI_AbstractTask_startTime_feature = Date d\u00E9but +_UI_AbstractTask_endTime_feature = Date fin +_UI_AbstractTask_progress_feature = Progr\u00E8s +_UI_AbstractTask_computeStartEndDynamically_feature = Calcul de date dynamique +_UI_AbstractTask_tags_feature = Tags +_UI_AbstractTask_assignedPersons_feature = Personnes Assign\u00E9es +_UI_AbstractTask_assignedTeams_feature = Equipes Assign\u00E9es +_UI_AbstractTask_subTasks_feature = Sous t\u00E2ches +_UI_TagFolder_name_feature = Nom +_UI_TagFolder_ownedTags_feature = Tags +_UI_TagFolder_subFolders_feature = Sous r\u00E9pertoires +_UI_TaskTag_prefix_feature = Prefix +_UI_TaskTag_suffix_feature = Suffix +_UI_Task_dependencies_feature = D\u00E9pendences +_UI_Objective_ownedKeyResults_feature = R\u00E9sultats cl\u00E9 +_UI_Project_name_feature = Nom +_UI_Project_ownedWorkpackages_feature = Workpackages +_UI_Project_ownedObjectives_feature = Objectifs +_UI_Project_ownedTagFolders_feature = Répertoire de tags +_UI_Project_ownedRisks_feature = Risques +_UI_Project_reference_feature = Référence +_UI_Project_description_feature = Description +_UI_Project_leadingUnit_feature = Unité porteuse +_UI_Project_participantUnits_feature = Unités associées +_UI_Project_plannifiedClientCopilMeetings_feature = Des COPIL avec le client sont planifiés +_UI_Project_mainProgramBrick_feature = Brique programe principale +_UI_Project_state_feature = Statut +_UI_Project_clients_feature = Clients +_UI_Project_partners_feature = Partenaires +_UI_Project_isTransverse_feature = Project transverse +_UI_Project_leader_feature = Chef de projet +_UI_Project_members_feature = Membres du projet +_UI_Project_isSensitive_feature = Ce projet est sensible +_UI_Project_contractualStartDate_feature = Date de début contractuelle +_UI_Project_duration_feature = Durée contractuelle(semaines) +_UI_Project_contractualEndDate_feature = Date de fin contractuelle +_UI_Project_effectiveStartDate_feature = Date de début effective +_UI_Project_effectiveEndDate_feature = Date de fin effective +_UI_Project_contractTermExtension_feature = Extention de durée contractuelle(semaines) +_UI_Project_globalCost_feature = Coût global(k\u20AC) +_UI_Project_fundingRate_feature = Taux de financement(%) +_UI_Project_funding_feature = Financement(k\u20AC) +_UI_Project_manpower_feature = Main d'oeuvre(p.m.) +_UI_Project_eOTP_feature = EOTP +_UI_Project_statisticOrder_feature = OS +_UI_Project_internalNeed_feature = Besoin interne +_UI_Project_clientNeed_feature = Besoin client +_UI_Workpackage_name_feature = Nom +_UI_Workpackage_description_feature = Description +_UI_Workpackage_startDate_feature = Date d\u00E9but +_UI_Workpackage_endDate_feature = Date fin +_UI_Workpackage_leader_feature = Leader +_UI_Workpackage_participants_feature = Participants +_UI_Workpackage_effort_feature = Effort +_UI_Workpackage_outputs_feature = Ech\u00E9ances +_UI_Workpackage_ownedTasks_feature = Taches +_UI_Workpackage_ownedObjectives_feature = Objectifs +_UI_Workpackage_progress_feature = Progr\u00E8s +_UI_WorkpackageArtefact_name_feature = Nom +_UI_WorkpackageArtefact_description_feature = Description +_UI_WorkpackageArtefact_nature_feature = Nature +_UI_WorkpackageArtefact_plannedDeadline_feature = Deadline plannifi\u00E9e +_UI_WorkpackageArtefact_effectiveDeadLine_feature = Deadline effective +_UI_WorkpackageArtefact_isInvoiceTrigger_feature = D\u00E9clenche facturation +_UI_WorkpackageArtefact_invoiceAmount_feature = Facturation +_UI_WorkpackageArtefact_responsible_feature = Responsible +_UI_WorkpackageArtefact_version_feature = Version +_UI_WorkpackageArtefact_isObsolete_feature = Est obsol\u00E8te +_UI_Risk_kind_feature = Sorte +_UI_Risk_description_feature = Description +_UI_Risk_criticity_feature = Criticit\u00E9 +_UI_Risk_action_feature = Action +_UI_Risk_responsible_feature = Responsable +_UI_Risk_operationDate_feature = Date d'opération +_UI_Risk_state_feature = Etat +_UI_Risk_workpackages_feature = Workpackages +_UI_Unknown_feature = Unspecified + +_UI_WorkpackageArtefactNature_Delivrable_literal = DELIVRABLE +_UI_WorkpackageArtefactNature_Decisional_literal = DECISIONAL +_UI_WorkpackageArtefactNature_ProjectReview_literal = PROJECT_REVIEW +_UI_WorkpackageArtefactNature_Action_literal = ACTION +_UI_WorkpackageArtefactNature_Invoicing_literal = INVOICING +_UI_WorkpackageArtefactNature_ExpenseStatement_literal = EXPENSE_STATEMENT +_UI_WorkpackageArtefactNature_ClientSatisfaction_literal = CLIENT_SATISFACTION +_UI_WorkpackageArtefactNature_Other_literal = OTHER +_UI_RiskKind_Manpower_literal = MANPOWER +_UI_RiskKind_Machine_literal = MACHINE +_UI_RiskKind_Material_literal = MATERIAL +_UI_RiskKind_Measurement_literal = MEASUREMENT +_UI_RiskKind_Method_literal = METHOD +_UI_RiskKind_Mission_literal = MISSION +_UI_RiskKind_Management_literal = MANAGEMENT +_UI_RiskKind_Maintenance_literal = MAINTENANCE +_UI_RiskState_OnGoing_literal = ON_GOING +_UI_RiskState_UnderInstruction_literal = UNDER_INSTRUCTION +_UI_RiskState_StopBeforeTerm_literal = STOP_BEFORE_TERM +_UI_RiskState_Completed_literal = COMPLETED +_UI_ProjectState_OnGoing_literal = ON_GOING +_UI_ProjectState_UnderInstruction_literal = UNDER_INSTRUCTION +_UI_ProjectState_StopBeforeTerm_literal = STOP_BEFORE_TERM +_UI_ProjectState_Completed_literal = COMPLETED diff --git a/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/ExternalStakeholder.svg b/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/ExternalStakeholder.svg new file mode 100644 index 0000000..d7d470d --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/ExternalStakeholder.svg @@ -0,0 +1,12 @@ + + + + \ No newline at end of file diff --git a/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/InternalStakeholder.svg b/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/InternalStakeholder.svg new file mode 100644 index 0000000..fd96793 --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/InternalStakeholder.svg @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/KeyResult.svg b/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/KeyResult.svg new file mode 100644 index 0000000..d92ef4a --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/KeyResult.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/Objective.svg b/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/Objective.svg new file mode 100644 index 0000000..119a9b8 --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/Objective.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/Organization.svg b/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/Organization.svg new file mode 100644 index 0000000..a15dd9b --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/Organization.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/Person.svg b/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/Person.svg new file mode 100644 index 0000000..57a02f9 --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/Person.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/Project.svg b/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/Project.svg new file mode 100644 index 0000000..a037a1d --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/Project.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/ResourceFolder.svg b/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/ResourceFolder.svg new file mode 100644 index 0000000..ca747b4 --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/ResourceFolder.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/Risk.svg b/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/Risk.svg new file mode 100644 index 0000000..d450f54 --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/Risk.svg @@ -0,0 +1,45 @@ + + + + + + + diff --git a/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/TagFolder.svg b/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/TagFolder.svg new file mode 100644 index 0000000..ce78e16 --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/TagFolder.svg @@ -0,0 +1,40 @@ + + + + + + diff --git a/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/Task.svg b/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/Task.svg new file mode 100644 index 0000000..32ab179 --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/Task.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/TaskTag.svg b/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/TaskTag.svg new file mode 100644 index 0000000..df361dd --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/TaskTag.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/Team.svg b/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/Team.svg new file mode 100644 index 0000000..3ad7b8e --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/Team.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/Workpackage.svg b/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/Workpackage.svg new file mode 100644 index 0000000..8b5f3da --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/Workpackage.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/WorkpackageArtefact.svg b/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/WorkpackageArtefact.svg new file mode 100644 index 0000000..236d3b1 --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/target/classes/icons/full/obj16/WorkpackageArtefact.svg @@ -0,0 +1,52 @@ + + + + + + + + + diff --git a/backend/deeplab-projectmanagement-edit/target/classes/plugin.properties b/backend/deeplab-projectmanagement-edit/target/classes/plugin.properties new file mode 100644 index 0000000..9e47bc9 --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/target/classes/plugin.properties @@ -0,0 +1,160 @@ +# Copyright (c) 2024 CEA LIST. +# This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v2.0 +# which accompanies this distribution, and is available at +# https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Obeo - initial API and implementation + +pluginName = ProjectManagement Edit Support +providerName = www.example.org + +_UI_CreateChild_text = {0} +_UI_CreateChild_text2 = {1} {0} +_UI_CreateChild_text3 = {1} +_UI_CreateChild_tooltip = Create New {0} Under {1} Feature +_UI_CreateChild_description = Create a new child of type {0} for the {1} feature of the selected {2}. +_UI_CreateSibling_description = Create a new sibling of type {0} for the selected {2}, under the {1} feature of their parent. + +_UI_PropertyDescriptor_description = The {0} of the {1} + +_UI_Organization_type = Organization +_UI_Resource_type = Resource +_UI_ResourceFolder_type = Resource Folder +_UI_Team_type = Team +_UI_InternalStakeholder_type = Internal Stakeholder +_UI_ExternalStakeholder_type = External Stakeholder +_UI_Person_type = Person +_UI_AbstractTask_type = Abstract Task +_UI_TagFolder_type = Tag Folder +_UI_TaskTag_type = Task Tag +_UI_Task_type = Task +_UI_Objective_type = Objective +_UI_KeyResult_type = Key Result +_UI_Project_type = Project +_UI_Workpackage_type = Workpackage +_UI_WorkpackageArtefact_type = Workpackage Artefact +_UI_Risk_type = Risk +_UI_Unknown_type = Object + +_UI_Unknown_datatype= Value + +_UI_Organization_name_feature = Name +_UI_Organization_ownedProjects_feature = Owned Projects +_UI_Organization_ownedResourceFolders_feature = Owned Resource Folders +_UI_Resource_name_feature = Name +_UI_ResourceFolder_name_feature = Name +_UI_ResourceFolder_ownedResources_feature = Owned Resources +_UI_ResourceFolder_subFolders_feature = Sub Folders +_UI_Team_members_feature = Members +_UI_ExternalStakeholder_goals_feature = Goals +_UI_Person_alias_feature = Alias +_UI_Person_biography_feature = Biography +_UI_Person_imageUrl_feature = Image Url +_UI_AbstractTask_name_feature = Name +_UI_AbstractTask_description_feature = Description +_UI_AbstractTask_startTime_feature = Start Time +_UI_AbstractTask_endTime_feature = End Time +_UI_AbstractTask_progress_feature = Progress +_UI_AbstractTask_computeStartEndDynamically_feature = Compute Start End Dynamically +_UI_AbstractTask_tags_feature = Tags +_UI_AbstractTask_assignedPersons_feature = Assigned Persons +_UI_AbstractTask_assignedTeams_feature = Assigned Teams +_UI_AbstractTask_subTasks_feature = Sub Tasks +_UI_TagFolder_name_feature = Name +_UI_TagFolder_ownedTags_feature = Owned Tags +_UI_TagFolder_subFolders_feature = Sub Folders +_UI_TaskTag_prefix_feature = Prefix +_UI_TaskTag_suffix_feature = Suffix +_UI_Task_dependencies_feature = Dependencies +_UI_Objective_ownedKeyResults_feature = Owned Key Results +_UI_Project_name_feature = Name +_UI_Project_ownedWorkpackages_feature = Owned Workpackages +_UI_Project_ownedObjectives_feature = Owned Objectives +_UI_Project_ownedTagFolders_feature = Owned Tag Folders +_UI_Project_ownedRisks_feature = Owned Risks +_UI_Project_reference_feature = Reference +_UI_Project_description_feature = Description +_UI_Project_leadingUnit_feature = Leading Unit +_UI_Project_participantUnits_feature = Participant Units +_UI_Project_plannifiedClientCopilMeetings_feature = Plannified Client Copil Meetings +_UI_Project_mainProgramBrick_feature = Main Program Brick +_UI_Project_state_feature = State +_UI_Project_clients_feature = Clients +_UI_Project_partners_feature = Partners +_UI_Project_isTransverse_feature = Is Transverse +_UI_Project_leader_feature = Leader +_UI_Project_members_feature = Members +_UI_Project_isSensitive_feature = Is Sensitive +_UI_Project_contractualStartDate_feature = Contractual Start Date +_UI_Project_duration_feature = Duration +_UI_Project_contractualEndDate_feature = Contractual End Date +_UI_Project_effectiveStartDate_feature = Effective Start Date +_UI_Project_effectiveEndDate_feature = Effective End Date +_UI_Project_contractTermExtension_feature = Contract Term Extension +_UI_Project_globalCost_feature = Global Cost +_UI_Project_fundingRate_feature = Funding Rate +_UI_Project_funding_feature = Funding +_UI_Project_manpower_feature = Manpower +_UI_Project_eOTP_feature = EOTP +_UI_Project_statisticOrder_feature = Statistic Order +_UI_Project_internalNeed_feature = Internal Need +_UI_Project_clientNeed_feature = Client Need +_UI_Workpackage_name_feature = Name +_UI_Workpackage_description_feature = Description +_UI_Workpackage_startDate_feature = Start Date +_UI_Workpackage_endDate_feature = End Date +_UI_Workpackage_leader_feature = Leader +_UI_Workpackage_participants_feature = Participants +_UI_Workpackage_effort_feature = Effort +_UI_Workpackage_outputs_feature = Outputs +_UI_Workpackage_ownedTasks_feature = Owned Tasks +_UI_Workpackage_ownedObjectives_feature = Owned Objectives +_UI_Workpackage_progress_feature = Progress +_UI_WorkpackageArtefact_name_feature = Name +_UI_WorkpackageArtefact_description_feature = Description +_UI_WorkpackageArtefact_nature_feature = Nature +_UI_WorkpackageArtefact_plannedDeadline_feature = Planned Deadline +_UI_WorkpackageArtefact_effectiveDeadLine_feature = Effective Dead Line +_UI_WorkpackageArtefact_isInvoiceTrigger_feature = Is Invoice Trigger +_UI_WorkpackageArtefact_invoiceAmount_feature = Invoice Amount +_UI_WorkpackageArtefact_responsible_feature = Responsible +_UI_WorkpackageArtefact_version_feature = Version +_UI_WorkpackageArtefact_isObsolete_feature = Is Obsolete +_UI_Risk_kind_feature = Kind +_UI_Risk_description_feature = Description +_UI_Risk_criticity_feature = Criticity +_UI_Risk_action_feature = Action +_UI_Risk_responsible_feature = Responsible +_UI_Risk_operationDate_feature = Operation Date +_UI_Risk_state_feature = State +_UI_Risk_workpackages_feature = Workpackages +_UI_Unknown_feature = Unspecified + +_UI_WorkpackageArtefactNature_Delivrable_literal = DELIVRABLE +_UI_WorkpackageArtefactNature_Decisional_literal = DECISIONAL +_UI_WorkpackageArtefactNature_ProjectReview_literal = PROJECT_REVIEW +_UI_WorkpackageArtefactNature_Action_literal = ACTION +_UI_WorkpackageArtefactNature_Invoicing_literal = INVOICING +_UI_WorkpackageArtefactNature_ExpenseStatement_literal = EXPENSE_STATEMENT +_UI_WorkpackageArtefactNature_ClientSatisfaction_literal = CLIENT_SATISFACTION +_UI_WorkpackageArtefactNature_Other_literal = OTHER +_UI_RiskKind_Manpower_literal = MANPOWER +_UI_RiskKind_Machine_literal = MACHINE +_UI_RiskKind_Material_literal = MATERIAL +_UI_RiskKind_Measurement_literal = MEASUREMENT +_UI_RiskKind_Method_literal = METHOD +_UI_RiskKind_Mission_literal = MISSION +_UI_RiskKind_Management_literal = MANAGEMENT +_UI_RiskKind_Maintenance_literal = MAINTENANCE +_UI_RiskState_OnGoing_literal = ON_GOING +_UI_RiskState_UnderInstruction_literal = UNDER_INSTRUCTION +_UI_RiskState_StopBeforeTerm_literal = STOP_BEFORE_TERM +_UI_RiskState_Completed_literal = COMPLETED +_UI_ProjectState_OnGoing_literal = ON_GOING +_UI_ProjectState_UnderInstruction_literal = UNDER_INSTRUCTION +_UI_ProjectState_StopBeforeTerm_literal = STOP_BEFORE_TERM +_UI_ProjectState_Completed_literal = COMPLETED diff --git a/backend/deeplab-projectmanagement-edit/target/classes/plugin_fr.properties b/backend/deeplab-projectmanagement-edit/target/classes/plugin_fr.properties new file mode 100644 index 0000000..6d1a0de --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/target/classes/plugin_fr.properties @@ -0,0 +1,160 @@ +# Copyright (c) 2024 CEA LIST. +# This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v2.0 +# which accompanies this distribution, and is available at +# https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Obeo - initial API and implementation + +pluginName = ProjectManagement Edit Support +providerName = www.example.org + +_UI_CreateChild_text = {0} +_UI_CreateChild_text2 = {1} {0} +_UI_CreateChild_text3 = {1} +_UI_CreateChild_tooltip = Create New {0} Under {1} Feature +_UI_CreateChild_description = Create a new child of type {0} for the {1} feature of the selected {2}. +_UI_CreateSibling_description = Create a new sibling of type {0} for the selected {2}, under the {1} feature of their parent. + +_UI_PropertyDescriptor_description = The {0} of the {1} + +_UI_Organization_type = Organization +_UI_Resource_type = Resource +_UI_ResourceFolder_type = Resource Folder +_UI_Team_type = Team +_UI_InternalStakeholder_type = Internal Stakeholder +_UI_ExternalStakeholder_type = External Stakeholder +_UI_Person_type = Person +_UI_AbstractTask_type = Abstract Task +_UI_TagFolder_type = Tag Folder +_UI_TaskTag_type = Task Tag +_UI_Task_type = Task +_UI_Objective_type = Objective +_UI_KeyResult_type = Key Result +_UI_Project_type = Project +_UI_Workpackage_type = Workpackage +_UI_WorkpackageArtefact_type = Workpackage Artefact +_UI_Risk_type = Risk +_UI_Unknown_type = Object + +_UI_Unknown_datatype= Value + +_UI_Organization_name_feature = Nom +_UI_Organization_ownedProjects_feature = Projets +_UI_Organization_ownedResourceFolders_feature = R\u00E9pertoire de resource +_UI_Resource_name_feature = Nom +_UI_ResourceFolder_name_feature = Nom +_UI_ResourceFolder_ownedResources_feature = Ressources +_UI_ResourceFolder_subFolders_feature = Sous r\u00E9pertoires +_UI_Team_members_feature = Membres +_UI_ExternalStakeholder_goals_feature = Buts +_UI_Person_alias_feature = Alias +_UI_Person_biography_feature = Biographie +_UI_Person_imageUrl_feature = Image Url +_UI_AbstractTask_name_feature = Nom +_UI_AbstractTask_description_feature = Description +_UI_AbstractTask_startTime_feature = Date d\u00E9but +_UI_AbstractTask_endTime_feature = Date fin +_UI_AbstractTask_progress_feature = Progr\u00E8s +_UI_AbstractTask_computeStartEndDynamically_feature = Calcul de date dynamique +_UI_AbstractTask_tags_feature = Tags +_UI_AbstractTask_assignedPersons_feature = Personnes Assign\u00E9es +_UI_AbstractTask_assignedTeams_feature = Equipes Assign\u00E9es +_UI_AbstractTask_subTasks_feature = Sous t\u00E2ches +_UI_TagFolder_name_feature = Nom +_UI_TagFolder_ownedTags_feature = Tags +_UI_TagFolder_subFolders_feature = Sous r\u00E9pertoires +_UI_TaskTag_prefix_feature = Prefix +_UI_TaskTag_suffix_feature = Suffix +_UI_Task_dependencies_feature = D\u00E9pendences +_UI_Objective_ownedKeyResults_feature = R\u00E9sultats cl\u00E9 +_UI_Project_name_feature = Nom +_UI_Project_ownedWorkpackages_feature = Workpackages +_UI_Project_ownedObjectives_feature = Objectifs +_UI_Project_ownedTagFolders_feature = Répertoire de tags +_UI_Project_ownedRisks_feature = Risques +_UI_Project_reference_feature = Référence +_UI_Project_description_feature = Description +_UI_Project_leadingUnit_feature = Unité porteuse +_UI_Project_participantUnits_feature = Unités associées +_UI_Project_plannifiedClientCopilMeetings_feature = Des COPIL avec le client sont planifiés +_UI_Project_mainProgramBrick_feature = Brique programe principale +_UI_Project_state_feature = Statut +_UI_Project_clients_feature = Clients +_UI_Project_partners_feature = Partenaires +_UI_Project_isTransverse_feature = Project transverse +_UI_Project_leader_feature = Chef de projet +_UI_Project_members_feature = Membres du projet +_UI_Project_isSensitive_feature = Ce projet est sensible +_UI_Project_contractualStartDate_feature = Date de début contractuelle +_UI_Project_duration_feature = Durée contractuelle(semaines) +_UI_Project_contractualEndDate_feature = Date de fin contractuelle +_UI_Project_effectiveStartDate_feature = Date de début effective +_UI_Project_effectiveEndDate_feature = Date de fin effective +_UI_Project_contractTermExtension_feature = Extention de durée contractuelle(semaines) +_UI_Project_globalCost_feature = Coût global(k\u20AC) +_UI_Project_fundingRate_feature = Taux de financement(%) +_UI_Project_funding_feature = Financement(k\u20AC) +_UI_Project_manpower_feature = Main d'oeuvre(p.m.) +_UI_Project_eOTP_feature = EOTP +_UI_Project_statisticOrder_feature = OS +_UI_Project_internalNeed_feature = Besoin interne +_UI_Project_clientNeed_feature = Besoin client +_UI_Workpackage_name_feature = Nom +_UI_Workpackage_description_feature = Description +_UI_Workpackage_startDate_feature = Date d\u00E9but +_UI_Workpackage_endDate_feature = Date fin +_UI_Workpackage_leader_feature = Leader +_UI_Workpackage_participants_feature = Participants +_UI_Workpackage_effort_feature = Effort +_UI_Workpackage_outputs_feature = Ech\u00E9ances +_UI_Workpackage_ownedTasks_feature = Taches +_UI_Workpackage_ownedObjectives_feature = Objectifs +_UI_Workpackage_progress_feature = Progr\u00E8s +_UI_WorkpackageArtefact_name_feature = Nom +_UI_WorkpackageArtefact_description_feature = Description +_UI_WorkpackageArtefact_nature_feature = Nature +_UI_WorkpackageArtefact_plannedDeadline_feature = Deadline plannifi\u00E9e +_UI_WorkpackageArtefact_effectiveDeadLine_feature = Deadline effective +_UI_WorkpackageArtefact_isInvoiceTrigger_feature = D\u00E9clenche facturation +_UI_WorkpackageArtefact_invoiceAmount_feature = Facturation +_UI_WorkpackageArtefact_responsible_feature = Responsible +_UI_WorkpackageArtefact_version_feature = Version +_UI_WorkpackageArtefact_isObsolete_feature = Est obsol\u00E8te +_UI_Risk_kind_feature = Sorte +_UI_Risk_description_feature = Description +_UI_Risk_criticity_feature = Criticit\u00E9 +_UI_Risk_action_feature = Action +_UI_Risk_responsible_feature = Responsable +_UI_Risk_operationDate_feature = Date d'opération +_UI_Risk_state_feature = Etat +_UI_Risk_workpackages_feature = Workpackages +_UI_Unknown_feature = Unspecified + +_UI_WorkpackageArtefactNature_Delivrable_literal = DELIVRABLE +_UI_WorkpackageArtefactNature_Decisional_literal = DECISIONAL +_UI_WorkpackageArtefactNature_ProjectReview_literal = PROJECT_REVIEW +_UI_WorkpackageArtefactNature_Action_literal = ACTION +_UI_WorkpackageArtefactNature_Invoicing_literal = INVOICING +_UI_WorkpackageArtefactNature_ExpenseStatement_literal = EXPENSE_STATEMENT +_UI_WorkpackageArtefactNature_ClientSatisfaction_literal = CLIENT_SATISFACTION +_UI_WorkpackageArtefactNature_Other_literal = OTHER +_UI_RiskKind_Manpower_literal = MANPOWER +_UI_RiskKind_Machine_literal = MACHINE +_UI_RiskKind_Material_literal = MATERIAL +_UI_RiskKind_Measurement_literal = MEASUREMENT +_UI_RiskKind_Method_literal = METHOD +_UI_RiskKind_Mission_literal = MISSION +_UI_RiskKind_Management_literal = MANAGEMENT +_UI_RiskKind_Maintenance_literal = MAINTENANCE +_UI_RiskState_OnGoing_literal = ON_GOING +_UI_RiskState_UnderInstruction_literal = UNDER_INSTRUCTION +_UI_RiskState_StopBeforeTerm_literal = STOP_BEFORE_TERM +_UI_RiskState_Completed_literal = COMPLETED +_UI_ProjectState_OnGoing_literal = ON_GOING +_UI_ProjectState_UnderInstruction_literal = UNDER_INSTRUCTION +_UI_ProjectState_StopBeforeTerm_literal = STOP_BEFORE_TERM +_UI_ProjectState_Completed_literal = COMPLETED diff --git a/backend/deeplab-projectmanagement-edit/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/backend/deeplab-projectmanagement-edit/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst new file mode 100644 index 0000000..3878028 --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst @@ -0,0 +1,20 @@ +fr\cea\deeplab\projectmgmt\provider\ProjectManagementEditPlugin.class +fr\cea\deeplab\projectmgmt\provider\ProjectManagementEditPlugin$Implementation.class +fr\cea\deeplab\projectmgmt\provider\ProjectmgmtItemProviderAdapterFactory.class +fr\cea\deeplab\projectmgmt\provider\KeyResultItemProvider.class +fr\cea\deeplab\projectmgmt\provider\RiskItemProvider.class +fr\cea\deeplab\projectmgmt\provider\ProjectItemProvider.class +fr\cea\deeplab\projectmgmt\provider\TaskItemProvider.class +fr\cea\deeplab\projectmgmt\provider\PersonItemProvider.class +fr\cea\deeplab\projectmgmt\provider\ResourceFolderItemProvider.class +fr\cea\deeplab\projectmgmt\provider\InternalStakeholderItemProvider.class +fr\cea\deeplab\projectmgmt\provider\TeamItemProvider.class +fr\cea\deeplab\projectmgmt\provider\OrganizationItemProvider.class +fr\cea\deeplab\projectmgmt\provider\WorkpackageItemProvider.class +fr\cea\deeplab\projectmgmt\provider\ResourceItemProvider.class +fr\cea\deeplab\projectmgmt\provider\TaskTagItemProvider.class +fr\cea\deeplab\projectmgmt\provider\ExternalStakeholderItemProvider.class +fr\cea\deeplab\projectmgmt\provider\AbstractTaskItemProvider.class +fr\cea\deeplab\projectmgmt\provider\WorkpackageArtefactItemProvider.class +fr\cea\deeplab\projectmgmt\provider\ObjectiveItemProvider.class +fr\cea\deeplab\projectmgmt\provider\TagFolderItemProvider.class diff --git a/backend/deeplab-projectmanagement-edit/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/backend/deeplab-projectmanagement-edit/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst new file mode 100644 index 0000000..209653e --- /dev/null +++ b/backend/deeplab-projectmanagement-edit/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst @@ -0,0 +1,19 @@ +C:\DEV\_git\pepper\backend\deeplab-projectmanagement-edit\src\main\java\fr\cea\deeplab\projectmgmt\provider\AbstractTaskItemProvider.java +C:\DEV\_git\pepper\backend\deeplab-projectmanagement-edit\src\main\java\fr\cea\deeplab\projectmgmt\provider\ExternalStakeholderItemProvider.java +C:\DEV\_git\pepper\backend\deeplab-projectmanagement-edit\src\main\java\fr\cea\deeplab\projectmgmt\provider\InternalStakeholderItemProvider.java +C:\DEV\_git\pepper\backend\deeplab-projectmanagement-edit\src\main\java\fr\cea\deeplab\projectmgmt\provider\KeyResultItemProvider.java +C:\DEV\_git\pepper\backend\deeplab-projectmanagement-edit\src\main\java\fr\cea\deeplab\projectmgmt\provider\ObjectiveItemProvider.java +C:\DEV\_git\pepper\backend\deeplab-projectmanagement-edit\src\main\java\fr\cea\deeplab\projectmgmt\provider\OrganizationItemProvider.java +C:\DEV\_git\pepper\backend\deeplab-projectmanagement-edit\src\main\java\fr\cea\deeplab\projectmgmt\provider\PersonItemProvider.java +C:\DEV\_git\pepper\backend\deeplab-projectmanagement-edit\src\main\java\fr\cea\deeplab\projectmgmt\provider\ProjectItemProvider.java +C:\DEV\_git\pepper\backend\deeplab-projectmanagement-edit\src\main\java\fr\cea\deeplab\projectmgmt\provider\ProjectManagementEditPlugin.java +C:\DEV\_git\pepper\backend\deeplab-projectmanagement-edit\src\main\java\fr\cea\deeplab\projectmgmt\provider\ProjectmgmtItemProviderAdapterFactory.java +C:\DEV\_git\pepper\backend\deeplab-projectmanagement-edit\src\main\java\fr\cea\deeplab\projectmgmt\provider\ResourceFolderItemProvider.java +C:\DEV\_git\pepper\backend\deeplab-projectmanagement-edit\src\main\java\fr\cea\deeplab\projectmgmt\provider\ResourceItemProvider.java +C:\DEV\_git\pepper\backend\deeplab-projectmanagement-edit\src\main\java\fr\cea\deeplab\projectmgmt\provider\RiskItemProvider.java +C:\DEV\_git\pepper\backend\deeplab-projectmanagement-edit\src\main\java\fr\cea\deeplab\projectmgmt\provider\TagFolderItemProvider.java +C:\DEV\_git\pepper\backend\deeplab-projectmanagement-edit\src\main\java\fr\cea\deeplab\projectmgmt\provider\TaskItemProvider.java +C:\DEV\_git\pepper\backend\deeplab-projectmanagement-edit\src\main\java\fr\cea\deeplab\projectmgmt\provider\TaskTagItemProvider.java +C:\DEV\_git\pepper\backend\deeplab-projectmanagement-edit\src\main\java\fr\cea\deeplab\projectmgmt\provider\TeamItemProvider.java +C:\DEV\_git\pepper\backend\deeplab-projectmanagement-edit\src\main\java\fr\cea\deeplab\projectmgmt\provider\WorkpackageArtefactItemProvider.java +C:\DEV\_git\pepper\backend\deeplab-projectmanagement-edit\src\main\java\fr\cea\deeplab\projectmgmt\provider\WorkpackageItemProvider.java diff --git a/backend/deeplab-projectmanagement-parent.iml b/backend/deeplab-projectmanagement-parent.iml new file mode 100644 index 0000000..9e3449c --- /dev/null +++ b/backend/deeplab-projectmanagement-parent.iml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/backend/deeplab-projectmanagement-starter/.checkstyle b/backend/deeplab-projectmanagement-starter/.checkstyle new file mode 100644 index 0000000..f62c550 --- /dev/null +++ b/backend/deeplab-projectmanagement-starter/.checkstyle @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/backend/deeplab-projectmanagement-starter/.classpath b/backend/deeplab-projectmanagement-starter/.classpath new file mode 100644 index 0000000..b75d850 --- /dev/null +++ b/backend/deeplab-projectmanagement-starter/.classpath @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/backend/deeplab-projectmanagement-starter/.project b/backend/deeplab-projectmanagement-starter/.project new file mode 100644 index 0000000..76e25ec --- /dev/null +++ b/backend/deeplab-projectmanagement-starter/.project @@ -0,0 +1,34 @@ + + + deeplab-projectmanagement-starter + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.springframework.ide.eclipse.boot.validation.springbootbuilder + + + + + net.sf.eclipsecs.core.CheckstyleBuilder + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.eclipse.m2e.core.maven2Nature + org.eclipse.jdt.core.javanature + net.sf.eclipsecs.core.CheckstyleNature + + diff --git a/backend/deeplab-projectmanagement-starter/.settings/org.eclipse.core.resources.prefs b/backend/deeplab-projectmanagement-starter/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..f9fe345 --- /dev/null +++ b/backend/deeplab-projectmanagement-starter/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,4 @@ +eclipse.preferences.version=1 +encoding//src/main/java=UTF-8 +encoding//src/test/java=UTF-8 +encoding/=UTF-8 diff --git a/backend/deeplab-projectmanagement-starter/.settings/org.eclipse.core.runtime.prefs b/backend/deeplab-projectmanagement-starter/.settings/org.eclipse.core.runtime.prefs new file mode 100644 index 0000000..a287fef --- /dev/null +++ b/backend/deeplab-projectmanagement-starter/.settings/org.eclipse.core.runtime.prefs @@ -0,0 +1,3 @@ +#Mon Sep 24 15:04:19 CEST 2007 +eclipse.preferences.version=1 +line.separator=\n diff --git a/backend/deeplab-projectmanagement-starter/.settings/org.eclipse.jdt.apt.core.prefs b/backend/deeplab-projectmanagement-starter/.settings/org.eclipse.jdt.apt.core.prefs new file mode 100644 index 0000000..d4313d4 --- /dev/null +++ b/backend/deeplab-projectmanagement-starter/.settings/org.eclipse.jdt.apt.core.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.apt.aptEnabled=false diff --git a/backend/deeplab-projectmanagement-starter/.settings/org.eclipse.jdt.core.prefs b/backend/deeplab-projectmanagement-starter/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..2ab93cd --- /dev/null +++ b/backend/deeplab-projectmanagement-starter/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,505 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.builder.annotationPath.allLocations=disabled +org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled +org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore +org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull +org.eclipse.jdt.core.compiler.annotation.nonnull.secondary= +org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault +org.eclipse.jdt.core.compiler.annotation.nonnullbydefault.secondary= +org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable +org.eclipse.jdt.core.compiler.annotation.nullable.secondary= +org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.methodParameters=generate +org.eclipse.jdt.core.compiler.codegen.targetPlatform=17 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=17 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.problem.APILeak=warning +org.eclipse.jdt.core.compiler.problem.annotatedTypeArgumentToUnannotated=info +org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.autoboxing=ignore +org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning +org.eclipse.jdt.core.compiler.problem.deadCode=warning +org.eclipse.jdt.core.compiler.problem.deprecation=warning +org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled +org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled +org.eclipse.jdt.core.compiler.problem.discouragedReference=warning +org.eclipse.jdt.core.compiler.problem.emptyStatement=warning +org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore +org.eclipse.jdt.core.compiler.problem.fallthroughCase=warning +org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled +org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore +org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning +org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning +org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning +org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning +org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled +org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning +org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning +org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore +org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore +org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning +org.eclipse.jdt.core.compiler.problem.missingDefaultCase=warning +org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore +org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled +org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled +org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning +org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore +org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning +org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning +org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore +org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning +org.eclipse.jdt.core.compiler.problem.nonnullTypeVariableFromLegacyInvocation=warning +org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error +org.eclipse.jdt.core.compiler.problem.nullReference=warning +org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error +org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning +org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning +org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore +org.eclipse.jdt.core.compiler.problem.pessimisticNullAnalysisForFreeTypeVariables=warning +org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore +org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning +org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore +org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning +org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning +org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning +org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore +org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore +org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore +org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore +org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning +org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled +org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning +org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled +org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled +org.eclipse.jdt.core.compiler.problem.suppressWarningsNotFullyAnalysed=info +org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled +org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore +org.eclipse.jdt.core.compiler.problem.terminalDeprecation=warning +org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning +org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled +org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning +org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore +org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=ignore +org.eclipse.jdt.core.compiler.problem.unlikelyCollectionMethodArgumentType=warning +org.eclipse.jdt.core.compiler.problem.unlikelyCollectionMethodArgumentTypeStrict=disabled +org.eclipse.jdt.core.compiler.problem.unlikelyEqualsArgumentType=info +org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore +org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore +org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore +org.eclipse.jdt.core.compiler.problem.unstableAutoModuleName=warning +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedImport=warning +org.eclipse.jdt.core.compiler.problem.unusedLabel=warning +org.eclipse.jdt.core.compiler.problem.unusedLocal=warning +org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled +org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning +org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning +org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning +org.eclipse.jdt.core.compiler.processAnnotations=disabled +org.eclipse.jdt.core.compiler.release=enabled +org.eclipse.jdt.core.compiler.source=17 +org.eclipse.jdt.core.formatter.align_assignment_statements_on_columns=false +org.eclipse.jdt.core.formatter.align_fields_grouping_blank_lines=2147483647 +org.eclipse.jdt.core.formatter.align_type_members_on_columns=false +org.eclipse.jdt.core.formatter.align_variable_declarations_on_columns=false +org.eclipse.jdt.core.formatter.align_with_spaces=false +org.eclipse.jdt.core.formatter.alignment_for_additive_operator=16 +org.eclipse.jdt.core.formatter.alignment_for_annotations_on_enum_constant=0 +org.eclipse.jdt.core.formatter.alignment_for_annotations_on_field=49 +org.eclipse.jdt.core.formatter.alignment_for_annotations_on_local_variable=49 +org.eclipse.jdt.core.formatter.alignment_for_annotations_on_method=49 +org.eclipse.jdt.core.formatter.alignment_for_annotations_on_package=49 +org.eclipse.jdt.core.formatter.alignment_for_annotations_on_parameter=0 +org.eclipse.jdt.core.formatter.alignment_for_annotations_on_type=49 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_assertion_message=0 +org.eclipse.jdt.core.formatter.alignment_for_assignment=0 +org.eclipse.jdt.core.formatter.alignment_for_bitwise_operator=16 +org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 +org.eclipse.jdt.core.formatter.alignment_for_compact_loops=16 +org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 +org.eclipse.jdt.core.formatter.alignment_for_conditional_expression_chain=0 +org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 +org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 +org.eclipse.jdt.core.formatter.alignment_for_expressions_in_for_loop_header=0 +org.eclipse.jdt.core.formatter.alignment_for_logical_operator=16 +org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 +org.eclipse.jdt.core.formatter.alignment_for_module_statements=16 +org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 +org.eclipse.jdt.core.formatter.alignment_for_multiplicative_operator=16 +org.eclipse.jdt.core.formatter.alignment_for_parameterized_type_references=0 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_record_components=16 +org.eclipse.jdt.core.formatter.alignment_for_relational_operator=0 +org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80 +org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_shift_operator=0 +org.eclipse.jdt.core.formatter.alignment_for_string_concatenation=16 +org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_record_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_type_annotations=0 +org.eclipse.jdt.core.formatter.alignment_for_type_arguments=0 +org.eclipse.jdt.core.formatter.alignment_for_type_parameters=0 +org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16 +org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_after_last_class_body_declaration=0 +org.eclipse.jdt.core.formatter.blank_lines_after_package=1 +org.eclipse.jdt.core.formatter.blank_lines_before_abstract_method=1 +org.eclipse.jdt.core.formatter.blank_lines_before_field=1 +org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 +org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 +org.eclipse.jdt.core.formatter.blank_lines_before_method=1 +org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 +org.eclipse.jdt.core.formatter.blank_lines_before_package=0 +org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 +org.eclipse.jdt.core.formatter.blank_lines_between_statement_group_in_switch=0 +org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 +org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_record_constructor=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_record_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.comment.align_tags_descriptions_grouped=false +org.eclipse.jdt.core.formatter.comment.align_tags_names_descriptions=false +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=true +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false +org.eclipse.jdt.core.formatter.comment.count_line_length_from_starting_position=false +org.eclipse.jdt.core.formatter.comment.format_block_comments=true +org.eclipse.jdt.core.formatter.comment.format_header=false +org.eclipse.jdt.core.formatter.comment.format_html=true +org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true +org.eclipse.jdt.core.formatter.comment.format_line_comments=true +org.eclipse.jdt.core.formatter.comment.format_source_code=true +org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true +org.eclipse.jdt.core.formatter.comment.indent_root_tags=true +org.eclipse.jdt.core.formatter.comment.indent_tag_description=false +org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert +org.eclipse.jdt.core.formatter.comment.insert_new_line_between_different_tags=do not insert +org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert +org.eclipse.jdt.core.formatter.comment.line_length=120 +org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true +org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true +org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false +org.eclipse.jdt.core.formatter.compact_else_if=true +org.eclipse.jdt.core.formatter.continuation_indentation=2 +org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 +org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off +org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on +org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false +org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_record_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true +org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_empty_lines=false +org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true +org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=true +org.eclipse.jdt.core.formatter.indentation.size=4 +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=insert +org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_additive_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_after_arrow_in_switch_case=insert +org.eclipse.jdt.core.formatter.insert_space_after_arrow_in_switch_default=insert +org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_bitwise_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_record_components=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_switch_case_expressions=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert +org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_after_logical_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_multiplicative_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_not_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_record_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_relational_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert +org.eclipse.jdt.core.formatter.insert_space_after_shift_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_string_concatenation=insert +org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_additive_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_before_arrow_in_switch_case=insert +org.eclipse.jdt.core.formatter.insert_space_before_arrow_in_switch_default=insert +org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_bitwise_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_record_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_record_components=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_switch_case_expressions=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_before_logical_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_multiplicative_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_record_constructor=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_record_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_record_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert +org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_relational_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_shift_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_string_concatenation=insert +org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.join_lines_in_comments=true +org.eclipse.jdt.core.formatter.join_wrapped_lines=true +org.eclipse.jdt.core.formatter.keep_annotation_declaration_on_one_line=one_line_if_empty +org.eclipse.jdt.core.formatter.keep_anonymous_type_declaration_on_one_line=one_line_if_empty +org.eclipse.jdt.core.formatter.keep_code_block_on_one_line=one_line_never +org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false +org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false +org.eclipse.jdt.core.formatter.keep_enum_constant_declaration_on_one_line=one_line_if_empty +org.eclipse.jdt.core.formatter.keep_enum_declaration_on_one_line=one_line_if_empty +org.eclipse.jdt.core.formatter.keep_if_then_body_block_on_one_line=one_line_never +org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false +org.eclipse.jdt.core.formatter.keep_lambda_body_block_on_one_line=one_line_never +org.eclipse.jdt.core.formatter.keep_loop_body_block_on_one_line=one_line_never +org.eclipse.jdt.core.formatter.keep_method_body_on_one_line=one_line_never +org.eclipse.jdt.core.formatter.keep_record_constructor_on_one_line=one_line_never +org.eclipse.jdt.core.formatter.keep_record_declaration_on_one_line=one_line_never +org.eclipse.jdt.core.formatter.keep_simple_do_while_body_on_same_line=false +org.eclipse.jdt.core.formatter.keep_simple_for_body_on_same_line=false +org.eclipse.jdt.core.formatter.keep_simple_getter_setter_on_one_line=false +org.eclipse.jdt.core.formatter.keep_simple_while_body_on_same_line=false +org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false +org.eclipse.jdt.core.formatter.keep_type_declaration_on_one_line=one_line_never +org.eclipse.jdt.core.formatter.lineSplit=200 +org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false +org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false +org.eclipse.jdt.core.formatter.number_of_blank_lines_after_code_block=0 +org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_code_block=0 +org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 +org.eclipse.jdt.core.formatter.number_of_blank_lines_at_end_of_code_block=0 +org.eclipse.jdt.core.formatter.number_of_blank_lines_at_end_of_method_body=0 +org.eclipse.jdt.core.formatter.number_of_blank_lines_before_code_block=0 +org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 +org.eclipse.jdt.core.formatter.parentheses_positions_in_annotation=common_lines +org.eclipse.jdt.core.formatter.parentheses_positions_in_catch_clause=common_lines +org.eclipse.jdt.core.formatter.parentheses_positions_in_enum_constant_declaration=common_lines +org.eclipse.jdt.core.formatter.parentheses_positions_in_for_statment=common_lines +org.eclipse.jdt.core.formatter.parentheses_positions_in_if_while_statement=common_lines +org.eclipse.jdt.core.formatter.parentheses_positions_in_lambda_declaration=common_lines +org.eclipse.jdt.core.formatter.parentheses_positions_in_method_delcaration=common_lines +org.eclipse.jdt.core.formatter.parentheses_positions_in_method_invocation=common_lines +org.eclipse.jdt.core.formatter.parentheses_positions_in_record_declaration=common_lines +org.eclipse.jdt.core.formatter.parentheses_positions_in_switch_statement=common_lines +org.eclipse.jdt.core.formatter.parentheses_positions_in_try_clause=common_lines +org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=false +org.eclipse.jdt.core.formatter.tabulation.char=space +org.eclipse.jdt.core.formatter.tabulation.size=4 +org.eclipse.jdt.core.formatter.text_block_indentation=0 +org.eclipse.jdt.core.formatter.use_on_off_tags=true +org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false +org.eclipse.jdt.core.formatter.wrap_before_additive_operator=true +org.eclipse.jdt.core.formatter.wrap_before_assertion_message_operator=true +org.eclipse.jdt.core.formatter.wrap_before_assignment_operator=false +org.eclipse.jdt.core.formatter.wrap_before_bitwise_operator=true +org.eclipse.jdt.core.formatter.wrap_before_conditional_operator=true +org.eclipse.jdt.core.formatter.wrap_before_logical_operator=true +org.eclipse.jdt.core.formatter.wrap_before_multiplicative_operator=true +org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true +org.eclipse.jdt.core.formatter.wrap_before_relational_operator=true +org.eclipse.jdt.core.formatter.wrap_before_shift_operator=true +org.eclipse.jdt.core.formatter.wrap_before_string_concatenation=true +org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true +org.eclipse.jdt.core.javaFormatter=org.eclipse.jdt.core.defaultJavaFormatter diff --git a/backend/deeplab-projectmanagement-starter/.settings/org.eclipse.jdt.ui.prefs b/backend/deeplab-projectmanagement-starter/.settings/org.eclipse.jdt.ui.prefs new file mode 100644 index 0000000..f789e68 --- /dev/null +++ b/backend/deeplab-projectmanagement-starter/.settings/org.eclipse.jdt.ui.prefs @@ -0,0 +1,210 @@ +cleanup.add_default_serial_version_id=true +cleanup.add_generated_serial_version_id=false +cleanup.add_missing_annotations=true +cleanup.add_missing_deprecated_annotations=true +cleanup.add_missing_methods=false +cleanup.add_missing_nls_tags=false +cleanup.add_missing_override_annotations=true +cleanup.add_missing_override_annotations_interface_methods=true +cleanup.add_serial_version_id=false +cleanup.always_use_blocks=true +cleanup.always_use_parentheses_in_expressions=false +cleanup.always_use_this_for_non_static_field_access=true +cleanup.always_use_this_for_non_static_method_access=true +cleanup.convert_functional_interfaces=false +cleanup.convert_to_enhanced_for_loop=false +cleanup.correct_indentation=true +cleanup.format_source_code=true +cleanup.format_source_code_changes_only=false +cleanup.insert_inferred_type_arguments=false +cleanup.make_local_variable_final=true +cleanup.make_parameters_final=false +cleanup.make_private_fields_final=true +cleanup.make_type_abstract_if_missing_method=false +cleanup.make_variable_declarations_final=false +cleanup.never_use_blocks=false +cleanup.never_use_parentheses_in_expressions=true +cleanup.organize_imports=true +cleanup.qualify_static_field_accesses_with_declaring_class=true +cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true +cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true +cleanup.qualify_static_member_accesses_with_declaring_class=false +cleanup.qualify_static_method_accesses_with_declaring_class=true +cleanup.remove_private_constructors=true +cleanup.remove_redundant_modifiers=false +cleanup.remove_redundant_semicolons=false +cleanup.remove_redundant_type_arguments=true +cleanup.remove_trailing_whitespaces=true +cleanup.remove_trailing_whitespaces_all=true +cleanup.remove_trailing_whitespaces_ignore_empty=false +cleanup.remove_unnecessary_casts=true +cleanup.remove_unnecessary_nls_tags=true +cleanup.remove_unused_imports=true +cleanup.remove_unused_local_variables=false +cleanup.remove_unused_private_fields=true +cleanup.remove_unused_private_members=false +cleanup.remove_unused_private_methods=true +cleanup.remove_unused_private_types=true +cleanup.sort_members=false +cleanup.sort_members_all=false +cleanup.use_anonymous_class_creation=false +cleanup.use_blocks=false +cleanup.use_blocks_only_for_return_and_throw=false +cleanup.use_lambda=true +cleanup.use_parentheses_in_expressions=false +cleanup.use_this_for_non_static_field_access=true +cleanup.use_this_for_non_static_field_access_only_if_necessary=false +cleanup.use_this_for_non_static_method_access=true +cleanup.use_this_for_non_static_method_access_only_if_necessary=false +cleanup_profile=_Sirius +cleanup_settings_version=2 +eclipse.preferences.version=1 +editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true +formatter_profile=_Sirius +formatter_settings_version=21 +org.eclipse.jdt.ui.ignorelowercasenames=true +org.eclipse.jdt.ui.importorder=com;fr;java;javax;org; +org.eclipse.jdt.ui.javadoc=true +org.eclipse.jdt.ui.ondemandthreshold=99 +org.eclipse.jdt.ui.staticondemandthreshold=99 +org.eclipse.jdt.ui.text.custom_code_templates=