Hi all, I just want to follow up.. Would any one particularly object to me implementing (or getting someone to implement) some variation of the theme below implemented in dia? Would another notation be preferable? The reason I ask is the proposal is being presented on Thursday to our programmers at which point I'm going to basically ask them to add the below functionality to dia (contributed back of course) (or look into doing this myself)
-regards. -avi ---- Hey Hans I just had a chat w/ our coders and they are going to meet next Thursday to see if they take this on. If they do not, I will do this myself in my spare time as it'll certainly be useful. I think you are absolutely right, it would be better to put it in as a regular property for all objects I'll take a look at prop_dict.c. My only fear with putting as a standard property is many of my objects would have multiple links to the outside (and ideally they may be embedded multiple links) so basically right now when I click a particular thingy I currently have the following show up: Below the standard dialogue box (line width and so forth) Gene Symbols [ comma separated list of strings ] Gene IDs [ comma separated list of integers ] Exp Value [ comma separated list of reals ] What I want to add is the ability to hack it so it looks like this: Gene Symbols [ comma separated list of strings ] Gene IDs [ comma separated list of integers ] Exp Value [ comma separated list of reals ] NCBI Info [ comma separated list of URLs ] KEGG Info [ URL ] Internal Database 1 [ comma separated list of URLs ] I can auto fill in the what those urls actually are from the gene symbol list.. So there need to be more than one URL per object.. Would the standard dialogue still let me do this or would each object only have one link? Incidentally if ext_att is depreciated what is the new notation? Will there be a way to convert over? I think I am just using whatever dia generated at some point and that file just gets edited by perl scripts.. -regards, -avi On 6/26/09 12:03 PM, "Hans Breuer" <[email protected]> wrote: > At 25.06.2009 19:37, avijit ghosh wrote: >> I was thinking of making it more general so any custom shape can have this >> property when you click the shape .. > For my current idea this is not generic enough ;) At least I would like to > have it as generic property for all objects. See lib/prop_dict.c for first > traces of that idea. > >> What I was hoping was to add an >> ext_attribute flag which allows people to add the URL link to any custom >> shape: To pick a probably totally wrong notation: >> >> <ext_attributes> >> <ext_attribute name="NCBIURL" description="NCBI Info" >> url="http://www.ncbi.nih.gov/blah_blah" >> type="url"/> >> </ext_attributes> >> > These ext_attributes stuff should be considered deprecated. It has at least > one unsolveable design flaw - see warning when compiling objects/custom. > >> If you guys come up w/ a syntax you don't object to, let me know and I'll >> try and get this done.. >> > The proposed data handling already is available. The only thing missing is > an interface to edit the meta info dictionary - probably to be put in an > additional tab of the standard properties dialog. > > Additionally I was thinking of some entry in the context menu to follow > links, maybe also implement internal links target ... > > Patches accepted ;) > Hans > > -------- Hans "at" Breuer "dot" Org ----------- > Tell me what you need, and I'll tell you how to > get along without it. -- Dilbert > _______________________________________________ > dia-list mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/dia-list > FAQ at http://live.gnome.org/Dia/Faq > Main page at http://live.gnome.org/Dia > _______________________________________________ dia-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/dia-list FAQ at http://live.gnome.org/Dia/Faq Main page at http://live.gnome.org/Dia ------ End of Forwarded Message _______________________________________________ dia-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/dia-list FAQ at http://live.gnome.org/Dia/Faq Main page at http://live.gnome.org/Dia
