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
017824fc
Kaydet (Commit)
017824fc
authored
Mar 26, 2003
tarafından
Stephan Wunderlich
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
CHG: choosing another menu item
üst
5919aad9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
11 deletions
+7
-11
AccessibleMenuItem.java
qadevOOo/tests/java/mod/_toolkit/AccessibleMenuItem.java
+7
-11
No files found.
qadevOOo/tests/java/mod/_toolkit/AccessibleMenuItem.java
Dosyayı görüntüle @
017824fc
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: AccessibleMenuItem.java,v $
*
* $Revision: 1.
2
$
* $Revision: 1.
3
$
*
* last change: $Date: 2003-03-26 12:
06
:26 $
* last change: $Date: 2003-03-26 12:
24
:26 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -149,20 +149,16 @@ public class AccessibleMenuItem extends TestCase {
XAccessible
xRoot
=
at
.
getAccessibleObject
(
xWindow
);
// at.printAccessibleTree(log, xRoot);
XAccessibleContext
Menu
=
at
.
getAccessibleObjectForRole
(
xRoot
,
AccessibleRole
.
MENU
);
XAccessibleContext
Menu
Bar
=
at
.
getAccessibleObjectForRole
(
xRoot
,
AccessibleRole
.
MENUBAR
);
try
{
//activate File-Menu
//activate Edit-Menu
XAccessible
Menu
=
MenuBar
.
getAccessibleChild
(
1
);
XAccessibleAction
act
=
(
XAccessibleAction
)
UnoRuntime
.
queryInterface
(
XAccessibleAction
.
class
,
Menu
);
act
.
doAccessibleAction
(
0
);
//activate File-Autopilots submenu
act
=
(
XAccessibleAction
)
UnoRuntime
.
queryInterface
(
XAccessibleAction
.
class
,
Menu
.
getAccessibleChild
(
0
));
act
.
doAccessibleAction
(
0
);
//get the first child of this submenu
oObj
=
Menu
.
getAccessibleChild
(
0
).
getAccessibleContext
().
getAccessibleChild
(
1
);
//get a menue-item
oObj
=
Menu
.
getAccessibleContext
().
getAccessibleChild
(
6
);
}
catch
(
com
.
sun
.
star
.
lang
.
IndexOutOfBoundsException
e
)
{
...
...
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