Object () { if (myCurrentEditor == myOptionsEditor) { return myOptionsEditor.getEditorValue(); } else if (myCurrentEditor == myBooleanEditor) { return myBooleanEditor.isSelected(); } else if (myCurrentEditor == myIntOptionsEditor) { return myIntOptionsEditor.getValue(); } else { Object value = getCustomNodeEditorValue(myCurrentEditor); if (value != null) return value; } return null; }