Skip to content

Commit

Permalink
[2185] Add in semantic browser Referenced Elements Contextual Elements
Browse files Browse the repository at this point in the history
refactor plugin.xml


Bug: 2185

Change-Id: I4601aea24e590a78fc5aea5b1239b5273ad46844
Signed-off-by: Joacquim Esabe <joacquim.esabe@laposte.net>
  • Loading branch information
Joacquim Esabe committed Sep 13, 2018
1 parent a9098c3 commit 9cb4d1d
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
Expand Up @@ -77,6 +77,22 @@
</basicQuery>
</categoryQuery>
</category>
<category
id="org.polarsys.capella.core.semantic.queries.sirius.contextualElement"
isTopLevel="true"
name="Contextual Elements">
<categoryQuery>
<basicQuery
class="org.polarsys.capella.core.semantic.queries.sirius.annotation.eoi.RepresentationToContextualElement">
</basicQuery>
</categoryQuery>
<availableForType
class="org.eclipse.sirius.viewpoint.DRepresentationDescriptor">
</availableForType>
<targetBrowserId
id="ReferencedElementBrowser">
</targetBrowserId>
</category>
</extension>

</plugin>
@@ -0,0 +1,22 @@
/*******************************************************************************
* Copyright (c) 2018 THALES GLOBAL SERVICES.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Thales - initial API and implementation
*******************************************************************************/
package org.polarsys.capella.core.semantic.queries.sirius.annotation.eoi;

import org.polarsys.capella.core.diagram.helpers.IRepresentationAnnotationConstants;
import org.polarsys.capella.core.semantic.queries.sirius.annotation.DAnnotationReference;

public class RepresentationToContextualElement extends DAnnotationReference {

public RepresentationToContextualElement() {
super(IRepresentationAnnotationConstants.ContextualElements);
}

}

0 comments on commit 9cb4d1d

Please sign in to comment.