Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [epsilon-dev] epsilon-dev Digest, Vol 58, Issue 3

Hi Betty,

This is indeed possible as Alfonso described, however it would be
useful to have at least one example under examples/ that shows how it
can actually be done for custom EMF models. I've added a card to our
Trello board to keep track of this.

Cheers,
Dimitris

On Wed, 18 Mar 2020 at 17:43, <alfonso.delavega@xxxxxxx> wrote:
>
> Hello Betty (and everyone),
>
> Yes! There is a way to associate extensions to specific Picto visualisations.
>
> In Picto, the different available visualisations are denoted as PictoSources. For instance, the pictoSource associated with general .picto extensions is a StandalonePictoSource. However, there are already several other pictoSources available, which directly understand some model extensions, such as .dot, .html or .svg files. If you open a .dot file, it would be visualised right away without needing a .picto file. There are other supported extensions, such as .emf Emfatic files, that still need some extra information at the moment.
>
> Apart from what Picto offers out of the box, there is an extension point to define your own PictoSource visualisations. So, you could create a custom PictoSource to visualise your .library models without the need of creating a .picto file every time. As an example, that extension point is the one I am using to define .pictodiff files to show the differences between two model files [1].
>
>
> Kind Regards,
> Alfonso
>
> [1] https://github.com/epsilonlabs/picto-diff
>
> Mar 18, 2020, 16:28 by basp91@xxxxxxxxx:
>
> Hi Dimitris,
>
> Thanks for publishing the Picto article!
>
> I was wondering if there is a way in which we could associate a Picto configuration for a model with a specific extension. For example lets say that model instances of a library ecore metamodel ended with the *.library extension and I wanted all of them to be associated with a specific Picto visualisation. As I understand it, we currently need to create a *.library.picto file for each of the model instances. Is this something that Picto could support? Maybe the Picto file could be associated to the ecore metamodel and targeted to instances with a specific extension or conformant with the metamodel.
>
> Any thoughts?
>
> Regards
> Betty
>
> On 18 Mar 2020, at 16:00, epsilon-dev-request@xxxxxxxxxxx wrote:
>
> Send epsilon-dev mailing list submissions to
> epsilon-dev@xxxxxxxxxxx
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://www.eclipse.org/mailman/listinfo/epsilon-dev
> or, via email, send a message with subject or body 'help' to
> epsilon-dev-request@xxxxxxxxxxx
>
> You can reach the person managing the list at
> epsilon-dev-owner@xxxxxxxxxxx
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of epsilon-dev digest..."
>
>
> Today's Topics:
>
> 1. Picto article (Dimitris Kolovos)
> 2. Committer Election for Alfonso de la Vega on Eclipse Epsilon
> has started (emo@xxxxxxxxxxxxxxxxxxxxxx)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 17 Mar 2020 16:11:32 +0000
> From: Dimitris Kolovos <dimitris.kolovos@xxxxxxxxxx>
> To: Epsilon Project developer discussions <epsilon-dev@xxxxxxxxxxx>
> Subject: [epsilon-dev] Picto article
> Message-ID:
> <CAEs3cJjMmuNV1nNZG-w=tNjgPDK7tqB6x6JpBymxTmxeZ66nWA@xxxxxxxxxxxxxx>
> Content-Type: text/plain; charset="UTF-8"
>
> Hi everyone,
>
> I've pushed an article describing Picto in
> https://www.eclipse.org/epsilon/doc/articles/picto/
>
> Any comments/suggestions would be more than welcome!
>
> Thanks,
> Dimitris
>
> --
> Dimitris Kolovos
> Professor of Software Engineering
> Department of Computer Science
> University of York
> http://www.cs.york.ac.uk/~dkolovos
>
> EMAIL DISCLAIMER http://www.york.ac.uk/docs/disclaimer/email.htm
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 17 Mar 2020 19:21:33 -0400 (EDT)
> From: emo@xxxxxxxxxxxxxxxxxxxxxx
> To: Eclipse Epsilon Dev List <epsilon-dev@xxxxxxxxxxx>
> Cc: Eclipse Management Organization <emo@xxxxxxxxxxx>, modeling-pmc
> PMC List <modeling-pmc@xxxxxxxxxxx>
> Subject: [epsilon-dev] Committer Election for Alfonso de la Vega on
> Eclipse Epsilon has started
> Message-ID: <20200317232133.D18EF3A8045@xxxxxxxxxxxxxxxxxxx>
> Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes
>
> A committer election for Alfonso de la Vega on project Eclipse Epsilon
> (modeling.epsilon) was started by Dimitris Kolovos with this criteria:
>
> Alfonso has contributed patches for the Epsilon development tools [1-3], has
> developed a language on top of Epsilon's EOL [4], and is currently working on
> extending Picto with view differencing capabilities [5].
>
> [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=561201
> [2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=560908
> [3] https://bugs.eclipse.org/bugs/show_bug.cgi?id=561020
> [4] https://github.com/alfonsodelavega/pinset
> [5] https://github.com/epsilonlabs/picto-diff/
>
> Eclipse Epsilon project committers can click the election link below to vote.
>
> Election:
> https://projects.eclipse.org/projects/modeling.epsilon/elections/election-alfonso-de-la-vega-committer-eclipse-epsilon
>
> Project: https://projects.eclipse.org/projects/modeling.epsilon
>
>
>
> ------------------------------
>
> _______________________________________________
> epsilon-dev mailing list
> epsilon-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/epsilon-dev
>
> End of epsilon-dev Digest, Vol 58, Issue 3
> ******************************************
>
>
> _______________________________________________
> epsilon-dev mailing list
> epsilon-dev@xxxxxxxxxxx
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/epsilon-dev
>
>
> _______________________________________________
> epsilon-dev mailing list
> epsilon-dev@xxxxxxxxxxx
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/epsilon-dev



-- 
Dimitris Kolovos
Professor of Software Engineering
Department of Computer Science
University of York
http://www.cs.york.ac.uk/~dkolovos

EMAIL DISCLAIMER http://www.york.ac.uk/docs/disclaimer/email.htm


Back to the top