Package org.eclipse.compare.internal
Class ChangePropertyAction
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.jface.action.AbstractAction
org.eclipse.jface.action.Action
org.eclipse.compare.internal.ChangePropertyAction
- All Implemented Interfaces:
- EventListener,- IAction,- IPropertyChangeListener,- DisposeListener
public class ChangePropertyAction
extends Action
implements IPropertyChangeListener, DisposeListener
Toggles a boolean property of an 
CompareConfiguration.- 
Field SummaryFields inherited from interface org.eclipse.jface.action.IActionAS_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 SummaryConstructorsConstructorDescriptionChangePropertyAction(ResourceBundle bundle, CompareConfiguration cc, String rkey, String pkey) 
- 
Method SummaryModifier and TypeMethodDescriptionstatic ChangePropertyActioncreateIgnoreWhiteSpaceAction(ResourceBundle bundle, CompareConfiguration compareConfiguration) static ChangePropertyActioncreateShowPseudoConflictsAction(ResourceBundle bundle, CompareConfiguration compareConfiguration) voiddispose()voidNotification that a property has changed.voidrun()The default implementation of thisIActionmethod does nothing.voidsetChecked(boolean state) Sets the checked status of this action.voidvoidSent when the widget is disposed.Methods inherited from class org.eclipse.jface.action.ActionconvertAccelerator, 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, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipTextMethods inherited from class org.eclipse.jface.action.AbstractActionaddPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListenerMethods inherited from class org.eclipse.core.commands.common.EventManageraddListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
- 
Constructor Details- 
ChangePropertyActionpublic ChangePropertyAction(ResourceBundle bundle, CompareConfiguration cc, String rkey, String pkey) 
 
- 
- 
Method Details- 
createIgnoreWhiteSpaceActionpublic static ChangePropertyAction createIgnoreWhiteSpaceAction(ResourceBundle bundle, CompareConfiguration compareConfiguration) 
- 
createShowPseudoConflictsActionpublic static ChangePropertyAction createShowPseudoConflictsAction(ResourceBundle bundle, CompareConfiguration compareConfiguration) 
- 
runpublic void run()Description copied from class:ActionThe default implementation of thisIActionmethod does nothing. Subclasses should override this method if they do not need information from the triggering event, or overriderunWithEvent(Event)if they do.
- 
setCheckedpublic void setChecked(boolean state) Description copied from interface:IActionSets the checked status of this action. Applicable for the stylesAS_CHECK_BOXorAS_RADIO_BUTTON.Fires a property change event for the CHECKEDproperty if the checked status actually changes as a consequence.- Specified by:
- setCheckedin interface- IAction
- Overrides:
- setCheckedin class- Action
- Parameters:
- state- the new checked status
- See Also:
 
- 
setCompareConfiguration
- 
propertyChangeDescription copied from interface:IPropertyChangeListenerNotification that a property has changed.This method gets called when the observed object fires a property change event. - Specified by:
- propertyChangein interface- IPropertyChangeListener
- Parameters:
- event- the property change event object describing which property changed and how
 
- 
disposepublic void dispose()
- 
widgetDisposedDescription copied from interface:DisposeListenerSent when the widget is disposed.- Specified by:
- widgetDisposedin interface- DisposeListener
- Parameters:
- e- an event containing information about the dispose
 
 
-