if (!isValidSelection(getCurrentSelection()))
if (!canModifyEditor() || !isValidSelection(getCurrentSelection()))
	public void update() {		super.update();				if (isEnabled()) {			if (!isValidSelection(getCurrentSelection()))				setEnabled(false);		}	}