RE: DIA PLUGIN



Sorry for this delay. I am currently very busy and this is a quick sample, perhaps a little bit out of date. 
I will try something better next time if it is interesting for somebody. Feel free to show the attached file 
to anybody interested if there is.

Best regards

__________________________
Ãscar CÃrdoba MuÃoz
ITP Performance Team
Tel.  +34 91 207 94 37
Fax. +34 91 676 46 76
________________________

-----Mensaje original-----
De: dia-list-bounces gnome org [mailto:dia-list-bounces gnome org] En nombre de Lars Clausen
Enviado el: jueves, 27 de septiembre de 2007 18:32
Para: discussions about usage and development of dia
Asunto: RE: DIA PLUGIN

On Mon, 2007-09-24 at 11:14 +0200, Cordoba MuÃoz, Oscar (ITP) wrote:
Thanks for the answer,
I will try to change dynamically the file ~/.dia/pluginrc. I will be happy if it works.

I wrote more than one year ago and explained that I am using dia as a
tool for building physical models rather than only making beautiful
pictures. For that purpose there are C++ plug-ins where the user
describes the physics behind the icon that is dragged and dropped in
the dia kanvas. Once the user double clicks in one icon appears a
dialog to insert what he defined as input in the physical description
of an icon. The user who describes the modelling properties of an icon
does not know anything related to dia and that is because I wrote
another plug-in that makes that works. This special plug-in needs to
be loaded before any other. So far I have linked the special plug-in
when building the others, but it will not happen any more. I have
already found a solution for my problem, so do not worry about this.
As the plug-ins loading order is very OS dependant, I have changed the
way to load and the code checks if the special plug-in was loaded
before, otherwise is dynamically done. Hope it serves as an answer.

Ok, so the loading is not a problem anymore.  Is the dialog popped up a
properties dialog or something else?

I wonder if I can review issues that were not solved in the past. I
need to identify each specific connection point within a component
when making connections in dia diagrams. Long time ago I sent you an
easy piece of code to do that. Will it be possible to get that in
future versions?

Feel free to bring it up, I've had periods where I didn't answer mail
that ought to be answered simply due to real life pressure.  I take it
you're referring to this part:

For some plug-ins would be interesting that when the user places the
pointer over a connection a brief description or keyword appears
showing information. I have found one option for dia developers to be
considered in following versions. Perhaps a different alternative
would be much better. Anyway, I would like to ask you to include this
feature in following versions. 

That is an interesting feature.  Since the name is not used at the
moment, it doesn't interfere with other objects.  Your code has the name
turn up in the statusbar, which I don't think is necessarily the best,
I'd actually suggest a tooltip-like popup.  But I don't see any
fundamental problem with having a way to show the name.  I guess the
next thing will be a description field:)  

I do not know if you are interested in the use of dia I usually do. If
the answer is yes, please let me know and I will give you further
details. 

While it's an interesting way to use Dia, it seems to go somewhat
outside Dia's primary purpose, so there's limits to what I'd tweak Dia
to support for it.  But I'd love to hear more details, and it'd be great
if you could put them up on the Dia Wiki (you can just make a page off
of http://live.gnome.org/Dia/Examples) -- there may be others out there
looking for how to do that kind of thing.

-Lars


_______________________________________________
Dia-list mailing list
Dia-list gnome org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



==========================================================

"Este correo electrÃnico y la informaciÃn que el mismo contiene, asà como en su caso los adjuntos incluidos 
en el mismo, se consideran de carÃcter CONFIDENCIAL y pertenecientes al Grupo ITP, siendo su distribuciÃn 
restringida y dedicada solo al destinatario pretendido.

Si Vd. no es la persona a la que deba ir dirigido y/o le ha sido enviado indebidamente por error, debe saber 
que cualquier uso o aprovechamiento de la misma, copia, divulgaciÃn o distribuciÃn de la informaciÃn està 
expresamente prohibida y puede ser ilegal e incluso constitutiva de responsabilidad penal. Por tanto Si Vd. 
ha recibido este correo por error debe eliminar el mensaje de su sistema informÃtico y se ruega avisar sobre 
el error a quien se lo haya enviado, a vuelta de este correo, o en su caso contactar con el departamento de 
seguridad de grupo ITP en el telÃfono +34 94 466 2262."

----------------------------------------------------------

"This e-mail and all the information herein as well as any attachments hereto are considered as CONFIDENTIAL 
Information belonging to ITP Group. Which disclosure is privileged only for the intended recipient.

 If you are not the intended recipient and/or it has been unduly sent to you, you must know that any use of 
or benefit from it, or any  disclosure, copying, distribution thereof is expressly prohibited and may be 
unlawful and even become criminal liable; thus in any such event you must  delete the message from your 
system and please notify immediately about the error to the sender herein by reply e-mail  or contact with 
ITP Group Security Department in the phone +34 94 466 2262 "

==========================================================


Attachment: CASPER.pdf
Description: CASPER.pdf



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]