Bug 166015 Refactor designer actions to eclipse command framework
Eclipse command framework provide a more explicit way to manage UI actions contributions, we can take it's advantage to make our actions code more clean and maintainable.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/schematic/actions/EditBindingAction.java
if ( Policy.TRACING_ACTIONS )
		{
			System.out.println( "Edit binding action >> Run ..." ); 
		}
		
		
		TableEditPart editPart = getTableEditPart( );
		
		ListEditPart listPart = getListEditPart( );
		
		if ( editPart != null || listPart!=null)
		{
			CommandStack stack = SessionHandleAdapter.getInstance( )
					.getCommandStack( );
			stack.startTrans( Messages.getString( "DesignerActionBarContributor.menu.element.editDataBinding" ) ); 
			DataBindingDialog dialog = new DataBindingDialog( PlatformUI.getWorkbench( )
					.getDisplay( )
					.getActiveShell( ),
					getSelectedElement( ) );
			if ( dialog.open( ) == Dialog.OK )
			{
				stack.commit( );
			}
			else
			{
				stack.rollback( );
			}
		}
	}
}