Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
b3856b0e
Kaydet (Commit)
b3856b0e
authored
Ock 29, 2014
tarafından
Matúš Kukan
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Introduce com.sun.star.ui.theWindowContentFactoryManager singleton.
Change-Id: If979db945b2f5e50e146fdadafd1559530c50122
üst
823c2b18
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
50 additions
and
5 deletions
+50
-5
fwk.component
framework/util/fwk.component
+1
-0
UnoApi_offapi.mk
offapi/UnoApi_offapi.mk
+1
-0
WindowContentFactoryManager.idl
offapi/com/sun/star/ui/WindowContentFactoryManager.idl
+4
-2
theWindowContentFactoryManager.idl
offapi/com/sun/star/ui/theWindowContentFactoryManager.idl
+41
-0
precompiled_sfx.hxx
sfx2/inc/pch/precompiled_sfx.hxx
+1
-1
dockwin.cxx
sfx2/source/dialog/dockwin.cxx
+2
-2
No files found.
framework/util/fwk.component
Dosyayı görüntüle @
b3856b0e
...
...
@@ -156,6 +156,7 @@
</implementation>
<implementation
name=
"com.sun.star.comp.framework.WindowContentFactoryManager"
>
<service
name=
"com.sun.star.ui.WindowContentFactoryManager"
/>
<singleton
name=
"com.sun.star.ui.theWindowContentFactoryManager"
/>
</implementation>
<implementation
name=
"com.sun.star.comp.framework.WindowStateConfiguration"
>
<service
name=
"com.sun.star.ui.WindowStateConfiguration"
/>
...
...
offapi/UnoApi_offapi.mk
Dosyayı görüntüle @
b3856b0e
...
...
@@ -427,6 +427,7 @@ $(eval $(call gb_UnoApi_add_idlfiles_nohdl,offapi,com/sun/star/ui,\
WindowStateConfiguration \
theUICategoryDescription \
theUIElementFactoryManager \
theWindowContentFactoryManager \
))
$(eval $(call gb_UnoApi_add_idlfiles_nohdl,offapi,com/sun/star/ui/dialogs,\
AddressBookSourcePilot \
...
...
offapi/com/sun/star/ui/WindowContentFactoryManager.idl
Dosyayı görüntüle @
b3856b0e
...
...
@@ -26,9 +26,11 @@ module com { module sun { module star { module ui {
/**
This
interface
could
be
imcomplete
since
I
derived
it
from
it
's sole place of use
.
A
legacy
(
single
-
instance
)
service
-
variant
of
theWindowContentFactoryManager
singleton
.
@since LibreOffice 4.1
@
deprecated
Use
theWindowContentFactoryManager
singleton
instead
.
@
since
LibreOffice
4.1
*/
service
WindowContentFactoryManager
:
com
::
sun
::
star
::
lang
::
XSingleComponentFactory
;
...
...
offapi/com/sun/star/ui/theWindowContentFactoryManager.idl
0 → 100644
Dosyayı görüntüle @
b3856b0e
/*
-*-
Mode
:
C
++
; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
*
This
file
is
part
of
the
LibreOffice
project
.
*
*
This
Source
Code
Form
is
subject
to
the
terms
of
the
Mozilla
Public
*
License
,
v
.
2.0
.
If
a
copy
of
the
MPL
was
not
distributed
with
this
*
file
,
You
can
obtain
one
at
http
:
//
mozilla
.
org/MPL/2.0/.
*
*
This
file
incorporates
work
covered
by
the
following
license
notice
:
*
*
Licensed
to
the
Apache
Software
Foundation
(
ASF
)
under
one
or
more
*
contributor
license
agreements
.
See
the
NOTICE
file
distributed
*
with
this
work
for
additional
information
regarding
copyright
*
ownership
.
The
ASF
licenses
this
file
to
you
under
the
Apache
*
License
,
Version
2.0
(
the
"License"
)
; you may not use this file
*
except
in
compliance
with
the
License
.
You
may
obtain
a
copy
of
*
the
License
at
http
:
//
www
.
apache.org/licenses/LICENSE-2.0
.
*/
#
ifndef
__com_sun_star_ui_theWindowContentFactoryManager_idl__
#
define
__com_sun_star_ui_theWindowContentFactoryManager_idl__
#
include
<
com
/
sun
/
star
/
lang
/
XSingleComponentFactory
.
idl>
module
com
{
module
sun
{
module
star
{
module
ui
{
/**
This
interface
could
be
imcomplete
since
I
derived
it
from
it
's sole place of use.
Prior to LibreOffice 4.3, this singleton was only available as a
(single-instance) WindowContentFactoryManager service.
@since LibreOffice 4.3
*/
singleton theWindowContentFactoryManager : com::sun::star::lang::XSingleComponentFactory;
}; }; }; };
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sfx2/inc/pch/precompiled_sfx.hxx
Dosyayı görüntüle @
b3856b0e
...
...
@@ -445,7 +445,7 @@
#include <com/sun/star/ui/UIConfigurationManager.hpp>
#include <com/sun/star/ui/theUIElementFactoryManager.hpp>
#include <com/sun/star/ui/UIElementType.hpp>
#include <com/sun/star/ui/WindowContentFactoryManager.hpp>
#include <com/sun/star/ui/
the
WindowContentFactoryManager.hpp>
#include <com/sun/star/ui/WindowStateConfiguration.hpp>
#include <com/sun/star/ui/XDockingAreaAcceptor.hpp>
#include <com/sun/star/ui/XImageManager.hpp>
...
...
sfx2/source/dialog/dockwin.cxx
Dosyayı görüntüle @
b3856b0e
...
...
@@ -46,7 +46,7 @@
#include <com/sun/star/frame/ModuleManager.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/ui/WindowStateConfiguration.hpp>
#include <com/sun/star/ui/WindowContentFactoryManager.hpp>
#include <com/sun/star/ui/
the
WindowContentFactoryManager.hpp>
#define MAX_TOGGLEAREA_WIDTH 20
#define MAX_TOGGLEAREA_HEIGHT 20
...
...
@@ -139,7 +139,7 @@ SfxDockingWrapper::SfxDockingWrapper( Window* pParentWnd ,
// Use factory manager to retrieve XWindow factory. That can be used to instantiate
// the real window factory.
uno
::
Reference
<
lang
::
XSingleComponentFactory
>
xFactoryMgr
=
ui
::
WindowContentFactoryManager
::
create
(
xContext
);
uno
::
Reference
<
lang
::
XSingleComponentFactory
>
xFactoryMgr
=
ui
::
theWindowContentFactoryManager
::
get
(
xContext
);
SfxDispatcher
*
pDispatcher
=
pBindings
->
GetDispatcher
();
uno
::
Reference
<
frame
::
XFrame
>
xFrame
(
pDispatcher
->
GetFrame
()
->
GetFrame
().
GetFrameInterface
(),
uno
::
UNO_QUERY
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment