Skip to content

Commit

Permalink
Merge pull request #13 from DataFlowAnalysis/viewpoint-fix
Browse files Browse the repository at this point in the history
Fixes missing viewpoint availability in Editor
  • Loading branch information
sebinside authored Dec 5, 2023
2 parents 701cd8d + 6c5ce0b commit cfd5ded
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
public final class PCMSiriusUtils {

private static final String PCM_CONFIDENTIALITY_VIEWPOINT_NAME = "PCM-Confidentiality";
private static final String PCM_INDIRECTIONS_VIEWPOINT_NAME = "PCM-Indirections";

private PCMSiriusUtils() {
// intentionally left blank
Expand All @@ -23,6 +22,6 @@ public static void initProject(IProject project, IProgressMonitor monitor) {

public static void enableSpecificViewpoints(Session session) {
SiriusUtils.enableViewpoints(session,
Arrays.asList(PCM_INDIRECTIONS_VIEWPOINT_NAME, PCM_CONFIDENTIALITY_VIEWPOINT_NAME));
Arrays.asList(PCM_CONFIDENTIALITY_VIEWPOINT_NAME));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -177,4 +177,11 @@
version="0.0.0"
unpack="false"/>

<plugin
id="org.dataflowanalysis.pcm.extension.editor.sirius"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

</feature>

0 comments on commit cfd5ded

Please sign in to comment.