archetype

Is there somewhere an archetype available for testing purposes, which
has all/many possible item-kinds in it?

If there is not, I shall make one, does someone want to have it?

Bert

I was just talking to an epidemiologist recently about this. I do not
think there is one (from their account). But I think there is a great
need.

Cheers,
Tim

Tim Cook schreef:

  

Is there somewhere an archetype available for testing purposes, which
has all/many possible item-kinds in it?

If there is not, I shall make one, does someone want to have it?
    
I was just talking to an epidemiologist recently about this. I do not
think there is one (from their account). But I think there is a great
need.
  

If we are talking about the same.

I am at this moment combining some archetypes, to have all kind of
RM-objects in it, for testing my own software. If this is what you also
want, then you can download it after a day, or so, from my website. I
let it know on this list.

regards
Bert

Bert,

just look under 'test' - all kinds of archetypes like this -
http://www.openehr.org/wsvn/knowledge/archetypes/dev/adl/test/?rev=0&sc=0

- thomas beale

Bert Verhees wrote:

Thomas Beale schreef:

Bert,

just look under 'test' - all kinds of archetypes like this -
http://www.openehr.org/wsvn/knowledge/archetypes/dev/adl/test/?rev=0&sc=0
  
Thanks Thomas, very useful, saves me lots of time

Bert

A small issue (but maybe hard to repair), when copy and pasting the
source, it also copies the line-umbers, good would be an option for
removing the line-numbers.

thanks
Bert

Bert Verhees wrote:

A small issue (but maybe hard to repair), when copy and pasting the
source, it also copies the line-umbers, good would be an option for
removing the line-numbers.

I had that wish too, Bert, a few weeks ago.

In my opinion, the line numbers should not be embedded in the text as they
are now, but they should sit separately in a margin. I'm thinking of how it
is done in development environments such as EiffelStudio, Visual Studio,
Delphi, etc.

What do you think?

- Peter

Peter Gummer schreef:

Bert Verhees wrote:

A small issue (but maybe hard to repair), when copy and pasting the
source, it also copies the line-umbers, good would be an option for
removing the line-numbers.
    
I had that wish too, Bert, a few weeks ago.

In my opinion, the line numbers should not be embedded in the text as they
are now, but they should sit separately in a margin. I'm thinking of how it
is done in development environments such as EiffelStudio, Visual Studio,
Delphi, etc.

What do you think?
  

You are right, but maybe that is too much trouble, the Eiffel
environment does, maybe, not have advanced GUI-components which have
this feature.
If you can't find this GUI feature in the Eiffel language, you could
also consider write it in Delphi or VS and use it as a COM-GUI-object
But, for the purpose, for now, a quick fix could be: reloading the file
and display it without line-numbers.

Bert

Bert Verhees wrote:

In my opinion, the line numbers should not be embedded in the text as
they
are now, but they should sit separately in a margin. ...

You are right, but maybe that is too much trouble, the Eiffel environment
does, maybe, not have advanced GUI-components which have
this feature.

EiffelVision can definitely do this. EiffelStudio is proof of that. I would
study the EiffelStudio source code (which is open source) to see how they do
it.

But, for the purpose, for now, a quick fix could be: reloading the file
and display it without line-numbers.

Ok, I'll create to change requests for ADL Workbench:

1. To provide an option to display the ADL without line numbers. I agree,
this would be easy, probably less than an hour of programming.

2. To put the line numbers into a separate margin rather than embedding them
in the text.

- Peter

Should be simple enough - just change the control from being a text to 2 texts that are vertically parallel.....we want to retain the text controls, because AFAIK they update faster with large amounts of text like ADL, and one day w probably want a rich text control so as to have colourised / folding text...

- thomas

Peter Gummer wrote:

Bert Verhees wrote:

But, for the purpose, for now, a quick fix could be: reloading the file
and display it without line-numbers.

Bert, I've implemented this: ref_impl_eiffel revision 406. You can turn the
line numbers on and off via the Options dialog.

Thanks for the suggestion :slight_smile:

- Peter

Peter Gummer schreef:

Bert Verhees wrote:

But, for the purpose, for now, a quick fix could be: reloading the file
and display it without line-numbers.
    
Bert, I've implemented this: ref_impl_eiffel revision 406. You can turn the
line numbers on and off via the Options dialog.

Thanks for the suggestion :slight_smile:
  

Thank you for the fast implementation
Bert