-
Notifications
You must be signed in to change notification settings - Fork 71
[1949] Allow redefining a PartUsage with the same name #2008
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
46 changes: 46 additions & 0 deletions
46
.../java/org/eclipse/syson/application/data/GeneralViewPartUsageRedefinitionProjectData.java
This file contains hidden or 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,46 @@ | ||
| /******************************************************************************* | ||
| * Copyright (c) 2026 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.syson.application.data; | ||
|
|
||
| /** | ||
| * Ids for project "GeneralView-GeneralView-PartUsage-redefinition". | ||
| * | ||
| * @author pcdavid | ||
| */ | ||
| public class GeneralViewPartUsageRedefinitionProjectData { | ||
|
|
||
| public static final String EDITING_CONTEXT_ID = "d84a3d30-a8c8-47a2-a278-f6212169b959"; | ||
|
|
||
| public static final String SCRIPT_PATH = "/scripts/database-content/GeneralView-PartUsage-redefinition.sql"; | ||
|
|
||
| /** | ||
| * Ids of the graphical elements elements. | ||
| */ | ||
| public static final class GraphicalIds { | ||
| public static final String DIAGRAM_ID = "72cccffa-81b6-4ed6-bc45-8b095440f11d"; | ||
|
|
||
| public static final String B_X_NODE_ID = "efb2c50e-53c9-3f66-97f2-298c13666cb7"; | ||
|
|
||
| public static final String Y_X_NODE_ID = "a32582de-926a-3f6c-8df3-72908e714121"; | ||
| } | ||
|
|
||
| /** | ||
| * Ids of the semantic elements. | ||
| */ | ||
| public static final class SemanticIds { | ||
| public static final String B_X_ID = "d43d7901-779e-4058-951a-0a0ad6e25733"; | ||
|
|
||
| public static final String Y_X_ID = "aeee4482-d95c-44d8-900c-36463eca802a"; | ||
| } | ||
|
|
||
| } |
This file contains hidden or 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
99 changes: 99 additions & 0 deletions
99
...cation/src/test/resources/scripts/database-content/GeneralView-PartUsage-redefinition.sql
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.