# statusLineContributionItemProviders

###### Identifier:

org.eclipse.gmf.runtime.common.ui.services.statusLineContributionItemProviders

###### Since:

1.2

###### Description:

This extension point is used to define status line contribution item providers for the status line service. (`org.eclipse.gmf.runtime.common.ui.services.statusline.StatusLineService`).

The status line service supplies contribution items to the status line.

###### Configuration Markup:

<!ELEMENT extension (statusLineContributionItemProvider)>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #IMPLIED

name CDATA #IMPLIED

>

<!ELEMENT statusLineContributionItemProvider (Priority , Policy?)>

<!ATTLIST statusLineContributionItemProvider

class CDATA #REQUIRED

>

- class - The provider class. Providers implement service functionality (operations).

<!ELEMENT Priority EMPTY>

<!ATTLIST Priority

name (Lowest|Low|Medium|High|Highest)

>

- name - The name of the provider priority, i.e. Lowest, Low, Medium, High, or Highest.

<!ELEMENT Policy EMPTY>

<!ATTLIST Policy

class CDATA #REQUIRED

>

- class - The provider policy class. Provider policies can optionally be associated with providers to determine whether the providers provide a given operation.

###### Examples:

Following is an example of a status line item provider extension:

       <extension
          id="statusLineContributionItemProviders"
          name="%ext.statusLineContributionItemProviders"
          point="org.eclipse.gmf.runtime.common.ui.services.statusLineContributionItemProviders">
          <statusLineContributionItemProvider
             class="org.eclipse.gmf.examples.diagram.providers.StatusLineItemProvider">
             <Priority
                name="Lowest">
             </Priority>
          </statusLineContributionItemProvider>
       </extension>

###### API Information:

The value of the `class` attribute must represent a subclass of `org.eclipse.gmf.runtime.common.core.service.AbstractProvider` that implements `org.eclipse.gmf.runtime.common.ui.services.statusline.AbstractStatusLineContributionItemProvider`.

Copyright (c) 2009 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