@Override
	public void adjust() {
		boolean enable = false;
		Component comp = getFocusOwner();
		if (comp instanceof JTextComponent && comp.isEnabled()) {
			JTextComponent textComp = (JTextComponent) comp;
			if (textComp.isEditable()) {
				int selectionEnd = textComp.getSelectionEnd();
				enable = textComp.getSelectionStart() != selectionEnd || selectionEnd < textComp.getDocument().getLength();
			}
		} else {
			Deletable deletable = getTarget(Deletable.class);
			if (deletable != null) {
				enable = deletable.canDeleteSelection();
			}
		}
		setEnabled(enable);
	}