I Use This!
Activity Not Available


Analyzed about 1 month ago. based on code collected about 1 month ago.
Posted about 18 hours ago
Do you ever feel that? This week I often dreamt I had the gift of ubiquity… I could replicate myself and be in several places at once. It would be a really useful skill to participate to EclipseCon Europe. I am angry to not be able to see all the ... [More] talks I would have liked to attend. Happily, as every year all the slides will be available on the EclipseCon website and most of the talks are recorded and will be available on the Eclipse Foundation youtube channel. If you missed our talk yesterday, do not miss our slides available online. [Less]
Posted 1 day ago by gr...@itemis.de (Andreas Graf)
On September 28th the 9th AUTOSAR Open Conference took place in Gothenburg. From an Eclipse/Open Source point of view, Bernd Jäger's (BMW) talk on their Symphony project is very interesting. BMW has built the impressive AUTOSAR ECU engineering ... [More] backbone with Eclipse open source technologies. Engineering data is consolidated from different data sources, merged in a big common model and then exported to AUTOSAR. Bernd Jäger mentions in his slides a few projects and I am happy to see that some of them are sponsored mainly or in part by itemis. Let us have a look, what the benefits of some of these technologies are. Xtend: Flexible and expressive Java-dialect Obviously, we can infer that there are a lot of model-to-model transformations. Xtend supports these transformations with its "create" statements that help a lot to avoid caching and multiple passes. Also, you can create strong transformator frameworks with active annotations. In addition, its concise syntax and lambda support makes it a better Java-dialect – not only for transformations but for any code.  Xtext: Develop applications based on text based languages Xtext supports the creation of textual domain specific languages. It can be used e.g. to easily create parsers for input files that follow a textual syntax (e.g. a LIN description file - .ldf). In addition, you can create languages for modifying, managing and serializing EMF models. This helps e.g. in creating test data. Artop: Sphinx based framework  As the common platform for Eclipse/Java based AUTOSAR tooling Artop provides you with an implementation of the AUTOSAR metamodel, complete with (de-) serialization to ARXML. It is the most convenient way to read, process and write AUTOSAR. Sphinx: Eclipse Modeling Framework-Extension Artop is based on Sphinx – a powerful open source project that manages complex models and adds a strong framework on top of the modelling supported by Eclipse EMF. All of the technologies above have been created and/or are maintained with the involvement of itemis. It is great to see the acceptance they find in the automotive industry. If you want to know more about the open source projects of itemis meet us at EclipseCon 2016!  [Less]
Posted 1 day ago by nore...@blogger.com (Christian Pontesegger)
Being at EclipseCon Europe for me is always a highlight throughout the year. While I am enjoying the talks and discussions (and some beer) you might be interested in what to expect from my talk on EASE today:Well I guess lots of you are already ... [More] familiar with the basic concept of running scripts in Eclipse. Therefore the talk will focus on scripts that augment the IDE (or any other RCP application) in special ways. We will use them to add toolbar and menu items, we will create a custom builder prototype, learn something about the Event Broker and finally have a look at script deployment methods. Therefore we will use a generic keyword mechanism which can be extended easily to your own needs.Even if you do not care about scripting but prefer pure Java this talk might be for you. Using EASE you may extend the IDE without deployment of features (and without a restart).As I am a big fan of live sessions we will rush through some slides in 3 minutes and use the rest for a live demo. Got your interest? Join me on Wednesday, 11:45 at Silchersaal. [Less]
Posted 1 day ago
You can now use dependency injection (di) in your Eclipse 3.x. views.You can enable this for a view via the new inject flag in the org.eclipse.ui.views extension. public class SampleView extends ViewPart { @Inject IWorkbench workbench; private ... [More] TableViewer viewer; @Override public void createPartControl(Composite parent) { viewer = new TableViewer(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL); viewer.setContentProvider(ArrayContentProvider.getInstance()); viewer.setInput(new String[] { "One", "Two", "Three" }); viewer.setLabelProvider(new ViewLabelProvider()); // Create the help context id for the viewer's control workbench.getHelpSystem().setHelp(viewer.getControl(), "test7.viewer"); } // more stuff } I hope that this will help Eclipse IDE extenders to move towards the Eclipse 4.x programming approach. [Less]
Posted 1 day ago
Wednesday will be a huge day for Obeo at EclipseCon Europe 2016. You will find several talks about Eclipse Sirius in the program, and one thing for you, you have to attend our talk about Sirius 4.1: Let Me Sirius That For You! As usual when I have ... [More] to give a talk I am a little frightened but in fact I love this feeling which pushes me to do my best Our slides are ready, our demo is exciting, now we just need you at Theater Stage – Wednesday, October 26, 2016 – 16:00. [Less]
Posted 2 days ago by nore...@blogger.com (Pascal)
To celebrate the release of EGerrit 1.1, we are enumerating the top 5 features of the tool. After last week's #5 - Being in Eclipse, this week reason is simple checkout.Reason #4 – Simple checkout.Reviews often need to be downloaded to be examined in ... [More] depth. For efficiency, EGerrit allows to download the code by the push of a button. You can find this button in two places: in the EGerrit dashboard (see picture), where it will always cause the most recent revision to be downloaded, and in the editor where you can chose the revision to download. You can download EGerrit from the Neon release repo or from the Eclipse Marketplace. For questions, you can connect with us on egerrit-dev@eclipse.org; and for bugs or to take a peek at the future you can see our Kanban board. [Less]
Posted 2 days ago
It doesn’t seem that long ago since I was last at EclipseCon Europe, but time has flown by – and my hair has gone even more grey 👴🏻 – someone complained that my headshot was out of date! In any case, as with last time, I’ve managed to negotiate a ... [More] discount on my newest Eclipse book – Eclipse Plug-in Development for Beginners, 2nd ed – which came out earlier this year. You can get 30% off the eBook until the end of October with CONECD30, or you can reach out to me via @alblue on Twitter if you’re interested I’ve also got a pair of my Eclipse Plug-in books (Eclipse Plug-in Development, second edition, and Mastering Eclipse Plug-in Development) that I’m going to give away to someone randomly chosen from those who retweet this link 🐦, and will hand it out after my session on Thursday before lunchtime. I’ll tweet out the winner of the books before my session starts, and you can meet me at the Bürgersaal 2 room at 11:35 or shortly thereafter. My session is on optimising Eclipse plug-ins; a generally useful overview for how to optimise Java programs generally, but also tailored to some of the specifics that affect Eclipse and OSGi applications. I’ll talk about how to measure Eclipse’s use with Java Flight Recorder and Memory Analyzer Toolkit, as well as touching on YourKit and Censum as well. Slides will be available on my speakerdeck profile afterwards. I’m also happy to have a discussion over lunch in more detail if anyone is interested. [Less]
Posted 3 days ago by stad...@itemis.de (Bernhard Stadler)
This blog series will illustrate the integration of a simple Xtext DSL within a .NET command-line application written in C# by using the Java-to-.NET translator IKVM.NET. In this first part of the series, we will give an overview of the example use ... [More] case, a command-line calculator. Introduction  Developing a textual DSL in .NET is a tedious process consisting of manually defining data structures and writing a grammar with actions to construct syntax trees, symbol tables, basic validations and so on. Xtext automatizes a large part of the process of DSL creation: By writing an Xtext grammar, one doesn't only get a parser and a serializer, but also abstract syntax trees and the corresponding classes, syntax validations and cross-references to other EMF models. Apart from the generated classes, Xtext includes a runtime library which provides an extensive infrastructure of re-usable, customizable services for handling DSL models. Use case overview To demonstrate the integration, we start with a DSL developed with Xtext – in this case a language for simple arithmetical expressions and functions. A snippet of this language's grammar is listed below. From the grammar Xtext generates a parser which maps DSL instances to Java objects. For example, the parser would map the expression 1 + 2 to an instance of the generated class Plus whose left and right properties areNumberLiterals with value = 1 and value = 2, respectively. Based on this, we will write a C# interpreter for evaluating the arithmetical expressions of our DSL and a command-line interface to the interpreter, in order to show that it's possible to embed Xtext DSLs in .NET applications by consuming them in C# programs and thus avoid most of the tedious work connected with parser development. In order to realize this embedding, we first convert the DSL's generated Java classes and the runtime libraries to a .NET assembly. To do this, we build an Uber JAR containing all these classes and their dependencies using Maven and the Maven Shade Plugin, and then invoke IKVM.NET from Maven to create a DLL from the JAR. Then, we can reference this DLL from a C# project and use the classes originally written in Java in our C# application. The figure above illustrates the integration of the Xtext DSL in C# – it shows a part of the interpreter, whose purpose is to evaluate an arithmetical expression (input parameter type Expression), with a number (BigDecimal) as result. In the evaluate method, we dispatch by expression class, such that for a Plus, first the left and right summand are evaluated and the results are added with add, and similarly for Minus and so on. Running the example In order to run the example, download the binary distribution and unzip it, e.g. to C:\apps on Windows. The execulable file is called calculate.exe. It can be used either with in-line expressions using the -e switch or with input files using the -f switch. For importing modules, the files containing the module have to be added using the -iswitch (multiple files separated by colons). Examples are: C:\apps\calculate>calculate.exe -e "2 + 3" - 2 + 3: 5 C:\apps\calculate>calculate.exe -i example\polynomialexample.calc:example\linearexample.calc ^ -e "examplepolynomial(4,7) ; examplepolynomial(weightedsum(3, 4), 19)" - examplepolynomial(4, 7): 73 - examplepolynomial(weightedsum(3, 4), 19): 1665 C:\apps\calculate>calculate.exe -i example\linearexample.calc -f example\evaluation.calc - weightedsum(10, 12): 80 - weightedsum(0, 1): 5 - (weightedsum(1, 0)): 2 - 15 * 44 + 12: 672 Conclusion In this post we have sketched a way of integrating Xtext developed DSLs into the .NET platform by using IKVM.NET, which allows to consume Xtext generated classes in a C# program. The following blog entries of this series will provide more detail regarding the creation of the .NET assembly and the integration into the C# application. [Less]
Posted 3 days ago
What feeling do you never want to encounter in life? For me it’s Disgust! Nevertheless, I encounter it sometimes, in very special cases… for example when as a Java developer I have to work with the reflection API to fix some unthinkable problem.  As ... [More] the team behind Sirius, what matters most to us is to be sure that our final users never feel this about our product. That’s why in each release we work on improving the user experience by enhancing some diagram behaviours. In the new Sirius 4.1 we focused on: Better zoom: In a diagram editor, the zoom with mouse wheel is now zooming on mouse location instead of center of the editor. Edges improvements: Straighten an edge: we have worked on some improvements on the diagram editor to offer a better experience to the end user. Sirius 4.1 comes with the possibility to straighten an edge to top, bottom, left or right. These actions are available on edge contextual menu Layout/Straighten. Display link between edge and labels: it is now possible to display an attachment link between an edge and its labels when a label or edge is selected. This is not the default behavior but it can be enabled by a preference in Sirius/Sirius Diagram/Connections preference page. Improve edge labels move: we also enhanced the move of compound edges with labels and connected ports. Now if you select several edges, their ports will follow the move smoothly. Snap back labels: snap back labels functionality is available on edge selection to improve snap backing speed for example on begin, centered and end labels on edges. Snap to shapes border nodes: the “Snap To Shapes” feature now also exists on border nodes. We want to hear you, we need to hear you to prepare the future of Sirius! That’s why we are organizing a Sirius BOF on Tuesday evening, join us and tell us what you think about Sirius! Right after the Sirius BOF, I will participate to the Diversity BOF. If you are interested by this topic go also to Tracy’s talk this Tuesday afternoon. [Less]
Posted 4 days ago
This week I am participating to EclipseCon Europe to present what’s new in Eclipse Sirius 4.1.  What I feel like on monday morning: Joy! On Monday evening I’ll be in Ludwigsburg for EclipseCon! This one is little special as it will be my first one ... [More] as an official Sirius committer. I am really happy to introduce you to the new features of the 4.1 release, especially what we did to improve the specifier experience: Pre-registered service class: starting from Sirius 4.1, by default when you create a new Viewpoint Specification Project, a service class is pre-registered. Improve the selection of deeply contained Viewpoint Specification Model elements: in a style property customization, the “applied on” field was used to open a popup with all styles of the VSM. As they are identified by type and color (e.g. square blue) a lot of entries are identical, making it difficult to select the correct one. Now it is more user friendly as the mapping container of the style is also presented. Properly configured I18N: we have completed our work on the internationalization, with the runtime strings being properly externalized. As a result, you can specify keys in your VSM and using a properties file you can have translated labels in your user interface, here in Japanese. Since Sirius 4.1, new Viewpoint Specification Projects are properly configured for I18N. Specifier editor for properties view description: we provide also the completion, and contribute a new simplified reference widget. I invite you to join the Sirius team tomorrow morning for the Sirius workshop to experience in live all these new improvements. See you there! [Less]