I have the EMF model and created the Sirius project for that EMF model. When I run the application and select the created view point I get the diagram editor to drag and drop the features of the model to the editor and I save it. But when I tried to reload the application I get cannot load the part control exception
java.lang.NullPointerException
at org.eclipse.sirius.diagram.business.internal.experimental.sync.DDiagramSynchronizer.getAllMandatoriesAdditionalLayers(DDiagramSynchronizer.java:328)
Any solution for this problem? Thanks in advance
Related
I am creating a custom view in eclipse for a project and I need to be able to bring in data from an outside source and graph it in a custom view. What is the best way to go about doing this? Thanks!
You'l want to look at the Graphical Modeling Project (GMP). That's where you'll find the base classes to build a custom graphical editor from scratch. There are also GMP sub-projects that generate graphical editor implementations from EMF models.
I have eclipse 4.2 and papyrus 0.9. I have started modelling a project by creating class Diagrams but the issue is that papyrus does not draw the diagrams on the editor pane. I can create and add attributes and operations from the model explorer and i can view them from there but i can't see any diagrams on the editor. i do use the papyrus perspective when modelling. so my question is.
what am i doing wrong?
do i need to add other papyrus components?
or is this how papyrus works?
but from the pdf tutorials from the eclipse papyrus project site shows diagrams being drawn with a palette view that i can't seem to find in my eclipse..
On Eclipse Kepler (4.3) and Papyrus (4.3), I was unable to find a way to update the view (class diagram) from the model (model explorer.) If I created the operation by dragging an operation node from the palette to the class in the view, the operation was added to both the diagram and model explorer.
You need to switch to the Papyrus perspective in order for palette view to show up.
I just blogged about this and a few other annoyances. (I realize this question is old enough that you've likely given up, but I found it while searching for a solution to this same problem.)
I wrote some custom composite widgets for a project and compiled them into a separate jar file. I added this jar file to the build path for the GWT project. When I try to add the widgets to the palette (by pressing the "Choose component" button), I can pick the composite widget's class in the list, but I get the following error:
WindowBuilder was unable to load com.test.common.ui.LocationBox. This may be caused by
ClassLoader problems. Do you want to refresh editor and try again?
What am I doing wrong here? Is there something I need to add to the jar to make it load properly?
Sometimes the GWT Designer does not pick up changed classes or is not able to find them.
I would recommend to a full rebuild using the menu "Project->Clean" and then closing and reopening the designer.
If this does not help, try a restart of eclipse before reopening the designer.
We can drag and drop UI components in Netbeans and swing code is auto
generated.
We can drag and drop UI components in Eclipse to do
Android development, and xml is auto generated.
We can drag and drop
UI components in Dreamwaver and html is auto generated.
We can drag and drop UI components in Eclipse BIRT plugin, and xml is auto generated.
If I want to create a IDE tool like the above to drag and drop some components and have some xml code auto generated. Is there any framework I can take advantage of?
I am thinking about eclipse plug-in development. I am wondering if there is any existing code/framework for this so that I don't have to code much to make the DND UI, properties setting and so on, but just put my business logic for xml generation into plugin.
My final work should be: an eclipse plug-in I can install into eclipse. I can drag and drop UI components and auto generate the xml according to the business logic I code into the plugin.
Take a look at the Graphical Editing Framework - GEF
I want to update my ADO.NET Entities Framework Model from the database, but I cannot find the Entity Model Browser Window. There is an example of how to update my model here, but I cannot find how to open the model browser. Could someone please tell me exactly how to open it using Visual Studio 2010?
I tried finding it through the view menu, and I do not get any valid options when right-clicking on the .edmx file.
First, open up the EDMX file. Then, in main menu select View > Other Windows > Entity Data Model Browser (it usually opens in the same panel as Solution explorer).
For me, the sequence was:
Double-click the .edmx file
Right click any white space in the opened diagram
Click Model Browser in the context menu that appears
Happy coding, all. :-)
Double click the edmx file in the Solution Explorer to bring up the Designer. The Model Browser should appear.
In my workspace it shows up in the same tab grouping as the Solution Explorer.