Class ExtendedLoadResourceAction
- java.lang.Object
-
- org.eclipse.core.commands.common.EventManager
-
- org.eclipse.jface.action.AbstractAction
-
- org.eclipse.jface.action.Action
-
- org.eclipse.emf.edit.ui.action.LoadResourceAction
-
- org.modelversioning.emfprofile.presentation.ExtendedLoadResourceAction
-
- All Implemented Interfaces:
IAction
public class ExtendedLoadResourceAction extends LoadResourceAction
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.edit.ui.action.LoadResourceAction
LoadResourceAction.LoadResourceDialog
-
-
Field Summary
-
Fields inherited from class org.eclipse.emf.edit.ui.action.LoadResourceAction
domain
-
Fields inherited from interface org.eclipse.jface.action.IAction
AS_CHECK_BOX, AS_DROP_DOWN_MENU, AS_PUSH_BUTTON, AS_RADIO_BUTTON, AS_UNSPECIFIED, CHECKED, DESCRIPTION, ENABLED, HANDLED, IMAGE, RESULT, TEXT, TOOL_TIP_TEXT
-
-
Constructor Summary
Constructors Constructor Description ExtendedLoadResourceAction()
ExtendedLoadResourceAction(EditingDomain domain)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Collection<EPackage>
getAllPackages(Resource resource)
EditingDomain
getEditingDomain()
Object[]
getRegistryEntries()
void
run()
void
setActiveWorkbenchPart(IWorkbenchPart workbenchPart)
void
setEditingDomain(EditingDomain domain)
void
setText(String text)
void
update()
-
Methods inherited from class org.eclipse.emf.edit.ui.action.LoadResourceAction
setActiveEditor
-
Methods inherited from class org.eclipse.jface.action.Action
convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setToolTipText
-
Methods inherited from class org.eclipse.jface.action.AbstractAction
addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener
-
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
-
-
-
-
Constructor Detail
-
ExtendedLoadResourceAction
public ExtendedLoadResourceAction()
-
ExtendedLoadResourceAction
public ExtendedLoadResourceAction(EditingDomain domain)
-
-
Method Detail
-
getEditingDomain
public EditingDomain getEditingDomain()
- Overrides:
getEditingDomain
in classLoadResourceAction
-
setEditingDomain
public void setEditingDomain(EditingDomain domain)
- Overrides:
setEditingDomain
in classLoadResourceAction
-
run
public void run()
- Specified by:
run
in interfaceIAction
- Overrides:
run
in classLoadResourceAction
-
getAllPackages
protected Collection<EPackage> getAllPackages(Resource resource)
-
update
public void update()
- Overrides:
update
in classLoadResourceAction
-
setText
public void setText(String text)
-
setActiveWorkbenchPart
public void setActiveWorkbenchPart(IWorkbenchPart workbenchPart)
- Overrides:
setActiveWorkbenchPart
in classLoadResourceAction
-
getRegistryEntries
public Object[] getRegistryEntries()
-
-