patchSkencil - Patches: patch #4516, Temporary tools

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #4516: Temporary tools

Submitter:  Valentin Ungureanu <vung>
Submitted:  Sat 15 Oct 2005 09:18:52 AM UTC
   
 
Category:  0.7.x Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed

Sun 26 Feb 2006 10:13:55 PM UTC, comment #3: 

Thanks for the patch.  I've just commited temptool2.diff.

I've made some small modifications:

1. renamed the new instance variable of EditorWithSelection from tools too tool_stack as that describes its putpose better

2. tool_stack is now a list of (tool, toolname) pairs to avoid having to stick the name into tool in SetTool

3. test_tool now also checks the TOOL messages.

Bernhard Herzog <bh>
Group administrator
Sun 18 Dec 2005 11:22:53 AM UTC, comment #2: 

The patch that is supposed to implement temporary tools is now
temptool2.diff which is rewritten according to the suggestions
made on the sketch-devel mailing list.

Valentin Ungureanu <vung>
Thu 20 Oct 2005 04:26:37 PM UTC, comment #1: 

I got an ideea about a Pick tool, it's in the attached userscript.

The Pick tool is a temporary one and it exits at the first click.
When the click occurs it issues a global PICKED message with the
picked object (or None) as argument.

The script also shows how it could be used, adding a Pick button
to the fill panel.

Install & run:
1. put picktool.py in ~/.devsketch/
2. add the line
       import picktool
to ~/.devsketch/userhooks.py

The script depends on temptool.diff

Valentin Ungureanu <vung>
Sat 15 Oct 2005 09:18:52 AM UTC, original submission:  

This patch implements temporary tools.
Temporary tools are instantiated by the editor without ending its current tool.

More details are on the sketch-devel mailing list.

Valentin Ungureanu <vung>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #4050:  temptool2.diff added by vung (18KiB - text/x-diff)
file #8098:  picktool.py added by vung (4KiB - application/x-python)
file #7991:  temptool.diff added by vung (28KiB - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 5 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-02-26 bh StatusNone Done
    Open/ClosedOpen Closed
2005-12-18 vung Attached File- Added temptool2.diff, #5632
2005-10-20 vung Attached File- Added picktool.py, #5349
2005-10-15 vung Attached File- Added temptool.diff, #5328

Back to the top

Powered by Savane 3.13-d3ae.
Corresponding source code