diff options
author | Thomas Benisch <tbe@openoffice.org> | 2002-05-02 12:41:52 +0000 |
---|---|---|
committer | Thomas Benisch <tbe@openoffice.org> | 2002-05-02 12:41:52 +0000 |
commit | 85f240b7c761cfe4005a154ddde8ef57359449f2 (patch) | |
tree | a0983619ab922e42e899c9eb8bc65823bf6b9600 | |
parent | b3a238ac338aa5822ee50831297a71da5b7cfee1 (diff) |
#98615# Testtool needs HelpIDs/UniqueIDs in Basic-IDE
-rw-r--r-- | basctl/inc/helpid.hrc | 10 | ||||
-rw-r--r-- | basctl/source/basicide/baside2b.cxx | 13 | ||||
-rw-r--r-- | basctl/source/basicide/bastypes.cxx | 7 | ||||
-rw-r--r-- | basctl/util/hidother.src | 10 |
4 files changed, 31 insertions, 9 deletions
diff --git a/basctl/inc/helpid.hrc b/basctl/inc/helpid.hrc index b689975dfad7..3a59c5ddd4a3 100644 --- a/basctl/inc/helpid.hrc +++ b/basctl/inc/helpid.hrc @@ -2,9 +2,9 @@ * * $RCSfile: helpid.hrc,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: mh $ $Date: 2000-09-29 11:02:34 $ + * last change: $Author: tbe $ $Date: 2002-05-02 13:40:32 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -101,6 +101,12 @@ #define HID_BASICIDE_MODULWINDOW (HID_BASICIDE_START + 25) #define HID_BASICIDE_DIALOGWINDOW (HID_BASICIDE_START + 26) +#define HID_BASICIDE_EDITORWINDOW (HID_BASICIDE_START + 27) +#define HID_BASICIDE_BREAKPOINTWINDOW (HID_BASICIDE_START + 28) +#define HID_BASICIDE_WATCHWINDOW (HID_BASICIDE_START + 29) +#define HID_BASICIDE_STACKWINDOW (HID_BASICIDE_START + 30) +#define HID_BASICIDE_TABBAR (HID_BASICIDE_START + 31) + #endif diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx index f94ae0f849ed..b922f8705ca9 100644 --- a/basctl/source/basicide/baside2b.cxx +++ b/basctl/source/basicide/baside2b.cxx @@ -2,9 +2,9 @@ * * $RCSfile: baside2b.cxx,v $ * - * $Revision: 1.20 $ + * $Revision: 1.21 $ * - * last change: $Author: ab $ $Date: 2002-04-23 07:23:26 $ + * last change: $Author: tbe $ $Date: 2002-05-02 13:36:21 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -74,6 +74,7 @@ #include <svtools/xtextedt.hxx> #include <svtools/txtattr.hxx> +#include <helpid.hrc> #include <baside2.hrc> #include <baside2.hxx> #include <brkdlg.hxx> @@ -342,6 +343,8 @@ EditorWindow::EditorWindow( Window* pParent ) : nCurTextWidth = 0; SetBackground( Wallpaper( COL_WHITE ) ); SetPointer( Pointer( POINTER_TEXT ) ); + + SetHelpId( HID_BASICIDE_EDITORWINDOW ); } @@ -1069,6 +1072,8 @@ BreakPointWindow::BreakPointWindow( Window* pParent ) : // nCurYOffset merken und nicht von EditEngine holen. // Falls in EditEngine autom. gescrollt wurde, wuesste ich sonst nicht, // wo ich gerade stehe. + + SetHelpId( HID_BASICIDE_BREAKPOINTWINDOW ); } @@ -1332,6 +1337,8 @@ WatchWindow::WatchWindow( Window* pParent ) : SetText( String( IDEResId( RID_STR_WATCHNAME ) ) ); + SetHelpId( HID_BASICIDE_WATCHWINDOW ); + // make watch window keyboard accessible GetSystemWindow()->GetTaskPaneList()->AddWindow( this ); } @@ -1481,6 +1488,8 @@ StackWindow::StackWindow( Window* pParent ) : SetText( String( IDEResId( RID_STR_STACKNAME ) ) ); + SetHelpId( HID_BASICIDE_STACKWINDOW ); + aGotoCallButton.SetClickHdl( LINK( this, StackWindow, ButtonHdl ) ); aGotoCallButton.SetPosPixel( Point( DWBORDER, 2 ) ); Size aSz( aGotoCallButton.GetImage().GetSizePixel() ); diff --git a/basctl/source/basicide/bastypes.cxx b/basctl/source/basicide/bastypes.cxx index ec2fa1a01a5e..26502ecd722a 100644 --- a/basctl/source/basicide/bastypes.cxx +++ b/basctl/source/basicide/bastypes.cxx @@ -2,9 +2,9 @@ * * $RCSfile: bastypes.cxx,v $ * - * $Revision: 1.15 $ + * $Revision: 1.16 $ * - * last change: $Author: tbe $ $Date: 2002-04-29 15:14:23 $ + * last change: $Author: tbe $ $Date: 2002-05-02 13:38:54 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -70,6 +70,7 @@ #ifndef _SBXCLASS_HXX //autogen #include <svtools/sbx.hxx> #endif +#include <helpid.hrc> #include <basidesh.hrc> #include <bastypes.hxx> #include <bastype2.hxx> @@ -590,6 +591,8 @@ BasicIDETabBar::BasicIDETabBar( Window* pParent ) : { pCurrentLib = NULL; EnableEditMode( TRUE ); + + SetHelpId( HID_BASICIDE_TABBAR ); } void __EXPORT BasicIDETabBar::MouseButtonDown( const MouseEvent& rMEvt ) diff --git a/basctl/util/hidother.src b/basctl/util/hidother.src index 50bdddac1c12..346404b0a0f9 100644 --- a/basctl/util/hidother.src +++ b/basctl/util/hidother.src @@ -2,9 +2,9 @@ * * $RCSfile: hidother.src,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: mh $ $Date: 2000-09-29 11:02:41 $ + * last change: $Author: tbe $ $Date: 2002-05-02 13:41:52 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -68,4 +68,8 @@ hidspecial HID_BASICIDE_OBJCAT_PROPS { HelpID = HID_BASICIDE_OBJCAT_PROPS hidspecial HID_BASICIDE_OBJCAT_HELP { HelpID = HID_BASICIDE_OBJCAT_HELP; }; hidspecial HID_BASICIDE_MODULWINDOW { HelpID = HID_BASICIDE_MODULWINDOW; }; hidspecial HID_BASICIDE_DIALOGWINDOW { HelpID = HID_BASICIDE_DIALOGWINDOW; }; - +hidspecial HID_BASICIDE_EDITORWINDOW { HelpID = HID_BASICIDE_EDITORWINDOW; }; +hidspecial HID_BASICIDE_BREAKPOINTWINDOW { HelpID = HID_BASICIDE_BREAKPOINTWINDOW; }; +hidspecial HID_BASICIDE_WATCHWINDOW { HelpID = HID_BASICIDE_WATCHWINDOW; }; +hidspecial HID_BASICIDE_STACKWINDOW { HelpID = HID_BASICIDE_STACKWINDOW; }; +hidspecial HID_BASICIDE_TABBAR { HelpID = HID_BASICIDE_TABBAR; }; |