net.refractions.udig.ui.action
Class NewObjectDelegate

java.lang.Object
  extended by net.refractions.udig.ui.action.NewObjectDelegate

public class NewObjectDelegate
extends java.lang.Object

Description of NewObjectAction.

Information about NewObjectAction is processed from the extension point IConfigurationElement data.

You can consider this a really early version of "Action" back before Eclipse 3.3 made this sort of thing easy.

Since:
0.6.0
Author:
jones

Field Summary
 IConfigurationElement element
          NewItem element field
 ImageDescriptor icon
          NewItem icon field
 java.lang.String id
          NewItem id field
 java.lang.String text
          NewItem text field
 
Constructor Summary
NewObjectDelegate(IConfigurationElement element, IWorkbenchWindow window)
          Construct UDIGActionBarAdvisor.NewContribution.NewItem.
 
Method Summary
 void runAction()
          Create the IWorkbenchWindowActionDelegate (if required) and call run.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

public final java.lang.String id
NewItem id field


text

public final java.lang.String text
NewItem text field


icon

public final ImageDescriptor icon
NewItem icon field


element

public final IConfigurationElement element
NewItem element field

Constructor Detail

NewObjectDelegate

public NewObjectDelegate(IConfigurationElement element,
                         IWorkbenchWindow window)
Construct UDIGActionBarAdvisor.NewContribution.NewItem.

Parameters:
element - The configuration element that holds the properties (from plugin.xml)
window - The window this action will operate in.
Method Detail

runAction

public void runAction()
Create the IWorkbenchWindowActionDelegate (if required) and call run.