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/parts/GraphicalEditorWithFlyoutPalette.java
getSelectionActions().clear();
		getActionRegistry( ).dispose( );
		List list = new ArrayList();
		Iterator actions = getActionRegistry( ).getActions();
		while (actions.hasNext()) {
			IAction action = (IAction)actions.next();
			list.add(action);
			
		}
		for (int i=0;i<list.size(); i++)
		{
			getActionRegistry( ).removeAction((IAction)list.get(i));
		}
		
	}
	/**
	 * @see org.eclipse.core.runtime.IAdaptable#getAdapter(java.lang.Class)
	 */
	public Object getAdapter( Class type )
	{
		if ( type == PalettePage.class )
		{
			if ( splitter == null )
			{
				page = createPalettePage( );
				return page;
			}
			return createPalettePage( );
		}
		if ( type == PaletteRoot.class )