org.eclipse.emf.ecore.action
Class CreateDynamicInstanceAction

java.lang.Object
  extended byorg.eclipse.ui.actions.ActionDelegate
      extended byorg.eclipse.emf.ecore.action.CreateDynamicInstanceAction
All Implemented Interfaces:
IActionDelegate, IActionDelegate2

public class CreateDynamicInstanceAction
extends ActionDelegate
implements IActionDelegate

Create a dynamic instance of an EClass.


Field Summary
protected  EClass eClass
           
protected static URI PLATFORM_RESOURCE
           
 
Constructor Summary
CreateDynamicInstanceAction()
           
 
Method Summary
 void run(IAction action)
           
 void selectionChanged(IAction action, ISelection selection)
           
 
Methods inherited from class org.eclipse.ui.actions.ActionDelegate
dispose, init, runWithEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PLATFORM_RESOURCE

protected static final URI PLATFORM_RESOURCE

eClass

protected EClass eClass
Constructor Detail

CreateDynamicInstanceAction

public CreateDynamicInstanceAction()
Method Detail

run

public void run(IAction action)
Specified by:
run in interface IActionDelegate

selectionChanged

public void selectionChanged(IAction action,
                             ISelection selection)
Specified by:
selectionChanged in interface IActionDelegate

Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.