|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.commands.common.EventManager
org.eclipse.jface.action.AbstractAction
org.eclipse.jface.action.Action
org.eclipse.emf.edit.ui.action.ValidateAction
org.eclipse.ocl.examples.xtext.base.ui.commands.ValidateCommand
public class ValidateCommand
Nested Class Summary | |
---|---|
protected static class |
ValidateCommand.Diagnostician_2_8
|
protected static class |
ValidateCommand.Diagnostician_2_9
|
protected static class |
ValidateCommand.PivotDiagnostician
|
Nested classes/interfaces inherited from class org.eclipse.emf.edit.ui.action.ValidateAction |
---|
org.eclipse.emf.edit.ui.action.ValidateAction.EclipseResourcesUtil |
Field Summary |
---|
Fields inherited from class org.eclipse.emf.edit.ui.action.ValidateAction |
---|
domain, eclipseResourcesUtil, selectedObjects, selectionProvider |
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 | |
---|---|
ValidateCommand()
|
Method Summary | |
---|---|
protected org.eclipse.emf.ecore.util.Diagnostician |
createDiagnostician(org.eclipse.emf.common.notify.AdapterFactory adapterFactory,
org.eclipse.core.runtime.IProgressMonitor progressMonitor)
|
protected static boolean |
diagnosticianHasDoValidate()
|
protected void |
fireHandlerChanged(org.eclipse.core.commands.HandlerEvent handlerEvent)
Fires an event to all registered listeners describing changes to this instance. |
protected void |
handleDiagnostic(org.eclipse.emf.common.util.Diagnostic diagnostic)
|
protected boolean |
hasListeners()
Returns true iff there is one or more IHandlerListeners attached to this AbstractHandler. |
void |
setActiveWorkbenchPart(org.eclipse.ui.IWorkbenchPart workbenchPart)
|
boolean |
updateSelection(org.eclipse.jface.viewers.IStructuredSelection selection)
|
Methods inherited from class org.eclipse.emf.edit.ui.action.ValidateAction |
---|
run, selectionChanged, validate |
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, setText, 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValidateCommand()
Method Detail |
---|
protected static boolean diagnosticianHasDoValidate()
protected org.eclipse.emf.ecore.util.Diagnostician createDiagnostician(org.eclipse.emf.common.notify.AdapterFactory adapterFactory, org.eclipse.core.runtime.IProgressMonitor progressMonitor)
createDiagnostician
in class org.eclipse.emf.edit.ui.action.ValidateAction
protected void fireHandlerChanged(org.eclipse.core.commands.HandlerEvent handlerEvent)
Subclasses may extend the definition of this method (i.e., if a different
type of listener can be attached to a subclass). This is used primarily
for support of AbstractHandler
in
org.eclipse.ui.workbench
, and clients should be wary of
overriding this behaviour. If this method is overridden, then the first
line of the method should be "super.fireHandlerChanged(handlerEvent);
".
handlerEvent
- the event describing changes to this instance. Must not be
null
.protected void handleDiagnostic(org.eclipse.emf.common.util.Diagnostic diagnostic)
handleDiagnostic
in class org.eclipse.emf.edit.ui.action.ValidateAction
protected boolean hasListeners()
Returns true iff there is one or more IHandlerListeners attached to this AbstractHandler.
Subclasses may extend the definition of this method (i.e., if a different
type of listener can be attached to a subclass). This is used primarily
for support of AbstractHandler
in
org.eclipse.ui.workbench
, and clients should be wary of
overriding this behaviour. If this method is overridden, then the return
value should include "super.hasListeners() ||
".
public void setActiveWorkbenchPart(org.eclipse.ui.IWorkbenchPart workbenchPart)
setActiveWorkbenchPart
in class org.eclipse.emf.edit.ui.action.ValidateAction
public boolean updateSelection(org.eclipse.jface.viewers.IStructuredSelection selection)
updateSelection
in class org.eclipse.emf.edit.ui.action.ValidateAction
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |