public class AddConditionAction
extends org.eclipse.jface.action.Action
Constructor and Description |
---|
AddConditionAction(EntityDefinition entity,
List<String> values,
boolean combine)
Create an action for creating condition contexts
|
Modifier and Type | Method and Description |
---|---|
protected void |
addSingleValueExpression(StringBuilder filterTerm,
String value)
Add the filter expression for checking a single value to the filter term
|
protected EntityDefinition |
getContextEntity() |
EntityDefinition |
getEntity() |
protected String |
getPropertyReference() |
void |
run() |
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
addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
public AddConditionAction(EntityDefinition entity, List<String> values, boolean combine)
entity
- the entity to create contexts forvalues
- the values the condition should matchcombine
- if the values should be combined to one conditionpublic void run()
run
in interface org.eclipse.jface.action.IAction
run
in class org.eclipse.jface.action.Action
Action.run()
public EntityDefinition getEntity()
protected void addSingleValueExpression(StringBuilder filterTerm, String value)
filterTerm
- the filter term to add the expression tovalue
- the value on which should be checkedprotected String getPropertyReference()
protected EntityDefinition getContextEntity()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a