![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Complex Canvases Help Topic Summary: Created On: 7-Nov-2003 18:07 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Bless you Roger! I'm finally able to experiment properly. Brad Porter bporter@ball.com | |
![]() |
|
For years I've seen the complex canvas functions in the DXL reference manual and I've dreamed of different ways to use them for the creation of dialog boxes - BUT I've never been able to get them to work at all. Here's my main problems:
• The callback function for hasInPlace expects an event type argument which carries the following constant values (inPlaceTextFilled or inPlaceTextChange) • The callback function for hasScrollBars expects an event type argument which carries one of the following constant values (scrollToEnd, scrollToHome, scrollPageUp, scrollPageDown, scrollUp, scrollDown, scrollToPos) and a scrollBar type argument which carries one of the following constant values (vertical or horizontal). The scrollSet function also expects a scrollBar type argument. • The callback function for hasHeader expects a headerEvent type argument which carries the following constant values (headerResize, headerEdit, headerSelect, headerReorder). • The inPlaceMove, inPlaceShow, inPlaceCut, inPlaceCopy, inPlacePaste, inPlaceGet, inPlaceSet and inPlaceReset all expect an editor type argument which carries one of the following constant values (inPlaceString, inPlaceText, inPlaceChoice). How are these expected types captured in the callbacks and functions? In other words, what goes in the blank space in the following example code: void inPlaceReset(DBE d, ______ editor) { if (editor == inPlaceString) do Something } It doesn't work with int or string and it can't be bool, char, or real, so it must be a derived type. What are the derived types for the following arguments: • event • scrollBar • headerEvent • editor Thanks in advance if you can help. Brad Porter bporter@ball.com 303-939-4103 |
|
![]() |
|
![]() |
|
<< [snipp] ... [snapp] I'm working on an improved DXL editor which will hopefully include documentation on functions like these. ![]() Hi Roger. This could be a nice idea, if your editor will be extensible. I.e. showing tooltips for function parameters (also user defined functions), parameter completion, extensible via Scripting and an implemented interface to DOORS. I've examining some editors doing that -- or something else -- (jedit, exclipse, AnyEdit, editplus, CRedit, cedit, pfe, ultraedit). I found, that jedit is the best and full featured of them, but not very fast (JAVA) and not stable enough. Today, I'am working with editplus, because I mean this editor is fast and stable. But this editor has no rich editor features like scripting and so on. Wht's about the idea, to customize jedit (www.jedit.org) to edit DOORS DXL Scripts ? Or much better to customize eclipse (www.eclipse.org), because eclipse will be supported from a various companies like Borland, IBM, Rational (now IBM), and much more. And, I think, for a perfect coder it should be possible to implement a graphical gui builder for DXL, although I know this is not really need and difficult to develop. .. and anywhay not to implement from a customer ;-) As attachment, I've added the file dxl.xml (not sure, but DOORS 5.0 syntax only) for jedit to play with this editor. (To Edit with the 'correct' buffer, please edit the modes/catalog - file and add the line <MODE NAME="doors" FILE="dxl.xml" FILE_NAME_GLOB="*.dxl" /> to this file) Dirk. ------------------------- Dirk Plaschke |
|
![]() |
|
![]() |
|
Bless you Roger! I'm finally able to experiment properly.
Brad Porter bporter@ball.com |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Complex Canvases Help
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.