Bug 132644 getAllTocs(), getAllBookMarks() should be in ModuleHandle but not ReportDesignHandle
Steps to reproduce: 1.New a library, add a label with bookmark "a" 2.New another label, add "Internal Bookmark" hyperlink on it Expected result: "a" will be listed in the bookmark list Actual result: No bookmark will be returned coz getAllBookMarks() can only be used in ReportDesignHandle Note: getAllTocs() has the same problem
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/HyperlinkBuilder.java
messageLine.setText( "" ); 
				messageLine.setImage( null );
			}
			paramBindingTable.refresh( );
			paramBindingTable.getTable( )
					.setEnabled( !parameterList.isEmpty( ) );
			updateButtons( );
		}
	}
	private void initBookmarkList( Object handle )
	{
		bookmarkChooser.removeAll( );
		if ( handle != null && handle instanceof ReportDesignHandle )
		{
			bookmarkChooser.setItems( (String[]) ( (ReportDesignHandle) handle ).getAllBookmarks( )
					.toArray( new String[0] ) );
			bookmarkChooser.setText( bookmarkEditor.getText( ) );
		}
		bookmarkChooser.setEnabled( bookmarkChooser.getItemCount( ) > 0 );
	}
	private void initAnchorChooser( Object handle, boolean isToc )
	{
		anchorChooser.removeAll( );
		if ( handle instanceof ReportDesignHandle )
		{
			if ( isToc )
			{
				anchorChooser.setItems( (String[]) ( (ReportDesignHandle) handle ).getAllTocs( )
						.toArray( new String[0] ) );
			}