Extensions to the service can provide additional layout behaviour. For example, a new provider could implement a specialized inheritance layout.
<!ELEMENT extension (layoutProvider)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT layoutProvider (Priority)>
<!ATTLIST layoutProvider
class CDATA #REQUIRED>
The layout provider description tag.
<!ELEMENT Priority EMPTY>
<!ATTLIST Priority
name (Lowest|Low|Medium|High|Highest) >
The description for the priority of the layout provider.
Consideration of dependencies has to be done when choosing the priority. The layout operation is executed on the first provider (in descending order of priority) that is found to provide the operation.
<extension id="presentationLayoutProvider" name="RadialProvider" point="org.eclipse.gmf.runtime.diagram.ui.layoutProviders"> <layoutProvider class="org.eclipse.gmf.runtime.diagram.ui.providers.layout.RadialProvider"> <Priority name="Lowest"> </Priority> </layoutProvider> </extension>
Copyright (c) 2003, 2004 IBM Corporation and others.
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