Blog

Posté le dans Blog
  Continuing the Sirius blog posts series, today we will see a small tip: how to create artificial containers in your diagram? One of the main advantage of Sirius is that the graphical representations are independent from the metamodel’s structure. This means that you can choose to not respect the containment hierarchy of your model when you display it graphically. This is possible thanks to Sirius being based on queries. In the following example, we define a metamodel of a family: To begin with, we define a Flat diagram, which displays all the members of the family at the same level: In the Person mapping, we use the Semantic Candidates Expression to provide which semantic elements must be represented. These expressions returning model elements are called queries. To write these queries, there are different languages provided by default in Sirius: specialized interpreters (var, feature, service), Acceleo, raw OCL or Java. Here, we use the feature interpreter to get for a f...
Mots clés: news obeo obeodesigner

Posté le dans Blog
This article is part 4 of a series covering cool features of Sirius and tips to create advanced modelers. See http://melb.enix.org/category/sirius/ for the complete series. Today we will present how diagrams can be refined to display information using interpolated colors. Diagrams with meaningful colors In your Viewpoint Specification Model (VSM), the specifier is not limited to use the provided colors but can define a palette with custom colors. A color can be defined using a RGB code (Red/Green/Blue). However, using this new color in a mapping will paint every mapping candidates to this color. As our goal is giving colors a meaning, it needs to be defined by an expression. Sirius provides two solutions: Computed Colors and Interpolated Colors. Note that RGB codes are defined with three integer values between 0 and 255. If the value is over 255, Sirius will use it as a 255 value. Diagrams with computed colors Computed colors are alike RGB Colors but instead of choosing an int ...
Mots clés: obeo obeodesigner

Posté le dans Blog
  Usually when you are using a graphical modeler, you do most of the actions with the mouse. Sirius based modelers have several built-in shortcut keys that you can use to save time in your day to day workflow. Shortcut keys are commonly accessed by using the key, key, or key in conjunction with other keys. Keyboards shortcuts Common shortcuts Diagram shortcuts Navigate Select Edit Diagram editor Palette Table & Tree shortcuts Common shortcuts Some shortcuts are available for all the representations (diagram, table, tree…). ActionShortcutDescription Go to open editors + To get a direct access to an editor, just press Ctrl + E, and either use the arrow buttons, or type the name of the representation you are editing. Navigate between visited representations + or + To cycle between visited representations use Alt + Arrows. On Mac : + + Select All + Direct Edit Open Help + Undo + On Mac: + Redo + On L...
Mots clés: obeo obeodesigner

Posté le dans Blog
Continuing from the example of our previous blog post on House of Cards, we’ll see today how one can customize the elements of diagrams by using pictures. Per-diagram instance customization In a Sirius based editor, the style of each diagram element can be customized. This customization can be applied from: the tool bar: the Appearance tab of the property view: the Diagram menu: the contextual menu Format: The elements you can customize are: container: background color, background style, border size, foreground color, label alignment, label size, label format and workspace image. node: border size, color, label alignment, format, position, size and workspace image. edge: the folding style, the color, the label alignment, format, position and size, the line and routing style, the size and the target and source arrow. If we set a workspace image on the Influence diagram resulting from the tree layout blog post, we are able to see Frank Underwood’s face instead of a simpl...
Mots clés: obeo obeodesigner

Posté le dans Blog
Now that one of the majors Obeo Designer Technologies is Open-Source you might wonder how we get to employ close to 60 people. It’s actually quite straightforward: We sell domain-dedicated products notably SmartEA, focused on Enterprise Architecture We sell support subscriptions offering you simplicity and safety when leveraging Sirius. We sell software bringing repository based collaborationon top of EMF and Sirius. We offer open-innovation services to develop features or adapt open-source technologies within the Eclipse eco-system. We offer training, expertise and development services when you want to build your own tooling. and this gets reflected in the products related to Sirius: Obeo Designer Community Edition This is the go to package to build your domain-specific tooling. We make sure you get the technologies you need in a consistent and compatible way, all in a single download (Sirius, Ecore Tools, EMF Compare…). Starting with this package you get to build graphical modele...
Mots clés: obeo obeodesigner