drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/dsl/editor/MappingEditor.java
public void setNLMappingItem(DSLMappingEntry item) {
        model = item;
        setSection( model.getSection() );
        exprText.setText( model.getMappingKey() == null ? "" : model.getMappingKey() );
        mappingText.setText( model.getMappingValue() == null ? "" : model.getMappingValue() );
        objText.setText( model.getMetaData().getMetaData() == null ? "" : model.getMetaData().getMetaData() );
    }
public void setNLMappingItem(DSLMappingEntry item) {
        model = item;
        setSection( model.getSection() );
        exprText.setText( model.getMappingKey() == null ? "" : model.getMappingKey() );
        mappingText.setText( model.getMappingValue() == null ? "" : model.getMappingValue() );
        objText.setText( model.getMetaData().getMetaData() == null ? "" : model.getMetaData().getMetaData() );
    }
Pass in a NLMapping item for display/edits.
Changes will be applied to this object only if the user clicks OK.