} );
}
private void showEditPopup() {
DSLMappingEntry selected = getCurrentSelected();
if (selected != null) {
MappingEditor editor = new MappingEditor( getSite().getShell() );
editor.create();
editor.getShell().setText( "Edit language mapping" );
editor.setTitle( "Edit an existing language mapping item." );
editor.setTitleImage( getTitleImage() );
editor.setNLMappingItem( selected );
editor.open();
if ( !editor.isCancelled() ) {
refreshModel();
makeDirty();
exprText.setText(selected.getMappingKey());
mappingText.setText(selected.getMappingValue());
objText.setText(selected.getMetaData().getMetaData() == null ? "" : selected.getMetaData().getMetaData());
}
}
}