Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Activate In-Place editing from DXL
Topic Summary:
Created On: 18-Dec-2006 21:54
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 18-Dec-2006 21:54
User is offline View Users Profile Print this message


Chris Jones

Posts: 177
Joined: 1-Jul-2005

Is it possible to get into "in-place edit mode" for object text, from within DXL?

I've investigated the following, which I found in the ASCII dump, but none of them do what I need.

bool inplaceDisable(Module, bool) //disables ability to edit objects
bool inplaceEditing(Module) //tells you if you're editing an object
bool inplaceEditOff(Module, bool) //takes you out of inplace; true = save changes, false=don't
bool inplaceEnabled(Module) //tells you if you've disabled it
void inplaceEnable(Module) //re-enables ability


All I need is to do the same thing that happens when you click on Edit->In-Place->Edit Text. formal.dxl uses "createItem inplaceTextItem" to put it in the menu.....

Chris
Report this to a Moderator Report this to a Moderator
 19-Dec-2006 07:52
User is offline View Users Profile Print this message


Reik Schroeder

Posts: 361
Joined: 28-Jul-2003

Hi Chris,

you can use:
callStdItem_ (inplaceTextItem);

It will invoke inplace edit of Object Text of current Object.

You can find the other item names in formal.dxl in config directory

Greetings
Reik

-------------------------
Evosoft GmbH
for Siemens Industry Sector


Berlin, Germany
Report this to a Moderator Report this to a Moderator
 19-Dec-2006 17:55
User is offline View Users Profile Print this message


Chris Jones

Posts: 177
Joined: 1-Jul-2005

Ah, handy! And upon further investigation I notice that:

  • callStdItem_ takes the same argument as createItem
  • The valid arguments are listed in the reference under "DOORS Window Control"->"Module menus" (the "standard items")

    I've added a menu item under my addins path to Edit DXL (editDXLItem) and mapped it to Ctrl-D.

    Thanks!

    Edited: 19-Dec-2006 at 18:01 by Chris Jones
  • Report this to a Moderator Report this to a Moderator
    Statistics
    20925 users are registered to the Telelogic DOORS forum.
    There are currently 2 users logged in.
    The most users ever online was 15 on 15-Jan-2009 at 16:36.
    There are currently 0 guests browsing this forum, which makes a total of 2 users using this forum.
    You have posted 0 messages to this forum. 0 overall.

    FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.