r10 - 06 Sep 2003 - 11:36:43 - MichaelSparksYou are here: TWiki >  Codev Web > TWikiDrawImageMaps
Tags:
, create new tag
I've often though it would be good to have Imagine maps created more easily. Thoughts here would allow a WikiWord or hyperlink to be attatched to an object in TWikiDraw. Any such properties would result in an image map being added.

Is the source available for the applet? I notice the TWikiDraw page includes the right to modify, but can't see the source.

-- JohnTalintyre - 04 Jan 2001

The source is at TWikiDrawApplet in the Codev web, please go ahead and make the enhancement.

The original JHotDraw program or KmWiki ( http://www.eng.untech.com/serg/bin/KmWiki?Load=FrontPage ), I don't remember which one, has clickable object where you can assign a URL to a rectangle. This implies that the drawing applet or application is running. TWiki uses static GIF files instead for view. As you said, it could be realized with an image map instead.

-- PeterThoeny - 04 Jan 2001

I've done a first cut of adding Image maps, and also put TWikiDraw? into the plugin framework. There are a few issues:

  • URL attachments can be full URL or relative, but I haven't got proper WikiWord processing (I think internalLink routine will need a small mod for that)
  • Image map should be enabled by specifiying "mappath" parameter to applet - I haven't checked that it works without this.
  • It might also be nice to be able to add Images in a similar way to the early app, only based on being in the topic.
  • I hope I've upload the files correctly ...
  • Also, Perl is new to me, to might have made some errors in that area.

-- JohnTalintyre - 17 Jan 2001

This is a really nice feature, though I found a bit cumbersome to install - maybe due to the plugin pages not being clear as to what you have to do in order for plugins to be active. Currently I'm also find that the system isn't able to insert the image it's (correctly & very nicely) creating. I'll look at the Perl code to see what the problem is.

NO MORE ASCII ART, Yay! smile

-- TWikiGuest - 05 Mar 2001

Found the problem. The latest codebase does this for plugins:

    sub initPlugin
    {
        ( $topic, $web, $user, $installWeb ) = @_;
                                                                                                                                                   
    

The Draw Plugin assumes:

    sub initPlugin
    {
        (  $web, $topic, $user ) = @_;
                                                                                                                                                   
    
-- TWikiGuest - 05 Mar 2001

Yes, we are still refining the API, the only plugins following the latest Alpha are ones in the Plugins web.

All other plugins around work with earlier releases (e.g., betas or stable, depending on the code)

-- AndreaSterbini - 06 Mar 2001

Cool. OK. Excellent smile

-- TWikiGuest - 05 Mar 2001

Given the last edit the image map is on hold... That's a shame, really would like to use TwikiDraw? to build UML diagrams... -- DennisDaniels - 16 Mar 2002

Topic attachments
I Attachment Action Size Date Who Comment
zipzip drawplugin.zip manage 174.1 K 17 Jan 2001 - 09:32 JohnTalintyre  
zipzip twikidraw.zip manage 516.2 K 17 Jan 2001 - 09:33 JohnTalintyre  
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r10 < r9 < r8 < r7 < r6 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo