/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* Every tab of a tab bar has, besides its localized title and help
text, the URL of a view. A possible alternative would be to use a
command URL instead of the view URL. In the current Impress implementation a tab bar is only used for the
center pane to switch between views in the center pane. Tab bars can
make sense for other panes as well, i.e. for showing either the slide
sorter or the outline view in the left pane. Tab bar buttons are identified by their resource id. Note that
because the resource anchors are all the same (the tab bar), it is the
resource URL that really identifies a button. There can not be two
buttons with the same resource id.
A better place for this interface (in an extended version) would be
com::sun::star::awt
Their order reflects the visible order in the tab bar.
This method can be used when