-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix] Restore support for Gantt representation images
Signed-off-by: Stéphane Bégaudeau <[email protected]>
- Loading branch information
1 parent
0f86ef8
commit b047d9e
Showing
3 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
...java/org/eclipse/sirius/components/collaborative/gantt/service/GanttImagePathService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2024 Obeo. | ||
* 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 org.eclipse.sirius.components.collaborative.gantt.service; | ||
|
||
import java.util.List; | ||
|
||
import org.eclipse.sirius.components.core.api.IImagePathService; | ||
import org.springframework.stereotype.Service; | ||
|
||
/** | ||
* Register the gantt images folder. | ||
* | ||
* @author sbegaudeau | ||
*/ | ||
@Service | ||
public class GanttImagePathService implements IImagePathService { | ||
@Override | ||
public List<String> getPaths() { | ||
return List.of("/gantt-images/"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes