blob: 606070a430b8fd80c41287f2035de2dfcd9ad559 [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.sirius" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.sirius" id="sessionManagerListener" name="org.eclipse.sirius.sessionManagerListener"/>
</appInfo>
<documentation>
This extension point allows to add new listeners on the SessionManager, thus the client can be aware of :&lt;br&gt;
&lt;ul&gt;
&lt;li&gt;session creation, removal and edition&lt;/li&gt;
&lt;li&gt;viewpoints selection/deselection.&lt;/li&gt;
&lt;/ul&gt;
</documentation>
</annotation>
<element name="extension">
<annotation>
<appInfo>
<meta.element />
</appInfo>
</annotation>
<complexType>
<sequence>
<element ref="listener" minOccurs="1" maxOccurs="unbounded"/>
</sequence>
<attribute name="point" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="id" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="name" type="string">
<annotation>
<documentation>
</documentation>
<appInfo>
<meta.attribute translatable="true"/>
</appInfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="listener">
<annotation>
<documentation>
A Session Manager listener.
</documentation>
</annotation>
<complexType>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
The listener. This class has to implement the &lt;code&gt;org.eclipse.sirius.business.api.session.SessionManagerListener&lt;/code&gt; contract.
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn=":org.eclipse.sirius.business.api.session.SessionManagerListener"/>
</appInfo>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
<appInfo>
<meta.section type="examples"/>
</appInfo>
<documentation>
&lt;pre&gt;
&lt;extension
point=&quot;org.eclipse.sirius.sessionManagerListener&quot;&gt;
&lt;listener
class=&quot;org.xyz.core.MySessionManagerListener&quot;&gt;
&lt;/listener&gt;
&lt;/extension&gt;
&lt;/pre&gt;
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="apiInfo"/>
</appInfo>
<documentation>
Session Manager listeners registered using this extension point are aware of all session modifications and viewpoint selection/deselection. A Session Manager listener registered with this extension point does not need to be registered at runtime using &lt;code&gt;SessionManager.INSTANCE.addSessionsListener&lt;/code&gt;.
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="copyright"/>
</appInfo>
<documentation>
Copyright (c) 2008 THALES GLOBAL SERVICES&lt;br&gt;
This program and the accompanying materials
are made available under the terms of the Eclipse Public License 2.0
which accompanies this distribution, and is available at
&lt;a href=&quot;https://www.eclipse.org/legal/epl-2.0&quot;&gt;https://www.eclipse.org/legal/epl-v20.html&lt;/a&gt;/
SPDX-License-Identifier: EPL-2.0
</documentation>
</annotation>
</schema>