<ZONE> : Zone

ROLE

This element defines a zone for a perspective. This zone contains a named view 'zoneId.view'.

ATTRIBUTES

<!ATTLIST ZONE
	  id NMTOKEN #REQUIRED
	  position ( LEFT | RIGHT | TOP | BOTTOM) "LEFT"
	  relativeZone NMTOKEN #IMPLIED
	  ratio CDATA #IMPLIED
	  type ( DOCKED | FASTVIEW) "DOCKED"
	  visible ( true | false) "true">
Attribute Mand. Description Default
id yes Identifier of the zone.  
position no Position of the zone relatively to the zone indicated by the relativeZone attribute. LEFT
relativeZone no Zone used to place the zone. If this attribute is not specified, the zone will be placed relatively to the editor.  
ratio no Indicates the ratio between the zone to be placed and the relative zone.
The value of this attribute must match a specific format, for example "0,25" or "0,7".
The use of this ratio is the same as it is in Eclipse. For a horizontal division, the ratio will be the place taken by the left zone; for a vertical division, the ratio will be the place taken by the upper zone.
 
type no Type of the zone. It can be docked or fastview. DOCKED
visible no Indicates if the zone is visible or not. true

ELEMENTS

<!ELEMENT ZONE 
	  (VIEW*)>
Element Mand. Mult. Description
VIEW no yes The view linked to this zone. Its identifier is built as followed : zoneId.view.

SAMPLE

<ZONE id="zone1" position="LEFT" relativeZone="zone2" ratio="0,25">
	<VIEW id="zone1.view"/>
</ZONE>