/ Published in: Java

i love those ternary expressions, they really make things clear, don't they? found in org.eclipse.jface.action.Action
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
public void setEnabled(boolean enabled) { if (enabled != this.enabled) { this.enabled = enabled; firePropertyChange(ENABLED, oldVal, newVal); } }
Comments
