Dashboard > uDig > Home > Procedures > uDig Extension Points
uDig
uDig Extension Points
Added by Jive , last edited by jeichar@refractions.net on Aug 03, 2004  (view change)
Labels: 
(None)

Rich Client Platform Extention Points

We are making use of the following Eclipse Rich Client Platform Extention Points:

  • org.eclipse.core.runtime.applications
    • id="net.refractions.udig.ui.UDigApplication"
  • org.eclipse.ui.perspectives
    • id="net.refractions.udig.ui.UDigPerspective"

UDig Application Extention Points

The list of all uDig's extension points and the documentation can be found here

Extentions Points & Plug-in Manifest

When setting up your plug-in manifest the extention points bind the Java classes in your Plug-in to ids.
Because we are sane we are going to keep the ids matching the classname they refer to. This level of sanity
is not required by the Eclipse framework - it is an additional restriction of the uDig application.

Example Top-Level Plug-in Element:

<extension
        id="uDigApplication"
        point="org.eclipse.core.runtime.applications">
        <application>
            <run
                class="net.refractions.udig.ui.UDigApplication">
            </run>
        </application>
    </extension>

Because this is a "top-level plug-in element" the id="uDigApplication" gets prepended with "net.refractions.udig.core" giving us the direct match we were after.

Example Plug-in Element:

<extension
        point="org.eclipse.ui.perspectives">
        <perspective
            name="%perspectiveName"
            class="net.refractions.udig.ui.UDigPerspective"
            id="net.refractions.udig.ui.UDigPerspective">
        </perspective>
    </extension>

The subelement persepective has to be completely specified with id="net.refractions.udig.ui.UDigPerspective".

Powered by a free Atlassian Confluence Open Source Project License granted to uDig. Evaluate Confluence today.
Powered by Atlassian Confluence 2.7.1, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators
User-friendly Desktop Internet GIS