Questions tagged [graphiti]

Use this tag for questions about Graphiti which is an Eclipse-RCP graphics framework that enables rapid development of diagram editors for domain models, with focus on EMF domain models.

http://www.eclipse.org/graphiti/

Graphiti is an Eclipse-RCP framework for desktop Java applications.

Not to be confused with the javascript library Graphiti JS http://draw2d.org/graphiti/jsdoc/

20 questions
2
votes
1 answer

Eclipse graphiti tutorials

From where can I get the Eclipse Graphiti tutorials? For more information on this software you can get here. Also please let me know the knowledge of Eclipse plugin development and EMF is mandatory in better understanding of Graphiti? Eclipse…
Vinay Bedre
  • 360
  • 1
  • 6
  • 16
2
votes
0 answers

How to add Combo Feature in a ContainerShape Graphiti

I want to add a drop down combo box filter inside a container in the Graphiti Editor. It appears if I override this method: public IDirectEditingFeature getDirectEditingFeature(IDirectEditingContext context) ...as shown in the figure…
Alok
  • 839
  • 8
  • 24
2
votes
1 answer

Eclipse: Xtext and integration with Epsilon/GMF/Graphiti

I want to create a DSL with graphical support in Eclipse. For the DSL I use Xtext, but cannot find good example on how to integrate the graphical part. I have not decided on one of the technologies to prove a graphical part and are prepared to use…
Johan
  • 553
  • 5
  • 18
2
votes
0 answers

Eclipse Graphiti on RCP Application

I have an existing Eclipse RCP application with several views. The idea is to create an application where I can drag and drop objects from one view to another (for instance like Microsoft Visio). My questions How do I instantiate an empty (grid)…
abiieez
  • 2,983
  • 13
  • 44
  • 101
1
vote
2 answers

How do I disable/remove the Palette of an Eclipse Graphiti editor?

Trying to remove the palette of a Eclipse Graphiti editor. org.eclipse.graphiti.ui.editor.DiagramBehavior has a createPaletteBehaviour() to override but if I return null, the editor crashes. I also tried this in the diagram behavior, but I actually…
flavio.donze
  • 6,077
  • 9
  • 41
  • 69
1
vote
0 answers

How to reset dirty state in a graphiti diagram?

After opening an Eclipse Graphiti editor I want to do some initialization changes on the diagram. Doing that, using transactions, the editor turns dirty. I didn't find a way to reset the dirty state, I don't want to save the diagram at this…
flavio.donze
  • 6,077
  • 9
  • 41
  • 69
1
vote
2 answers

how to create an image of a GEF diagram on a server

I would like to create an image of an Eclipse GEF diagram on the server side without having to load the entire editor environment. The diagram is designed using eclipse bpmn2-modeler which is based on eclipse graphiti which is based on GEF. The idea…
flavio.donze
  • 6,077
  • 9
  • 41
  • 69
1
vote
1 answer

Is it possible to read and parse graphiti diagram file in standalone app?

I am doing some research before putting my hand on a project.i need to implement an app that needs to read a diagram file generated by graphiti and parse the file as a standalone app without running in eclipse as plugin. As I understand , graphiti…
1
vote
1 answer

automatic update of graphiti diagrams in case of changes in the datamodel

I have an EMF Datamodel and represent it with the framework "Graphiti". In case of changes in the datamodel the method "updateNeeded()" in my UpdateFeature is randomly called or not. Therefor I have a listener. This listener calls the method…
julianemue
  • 41
  • 6
1
vote
2 answers

Eclipse Graphiti, How to create "CustomFeature's create & get all Elements"?

I have 2 questions, maybe somebody can give me an idea how i can do this I've created new "testFeature" extended from AbstractCustomFeature and can call it in my Diagram. How can i get a List which contains all Elements from the Diagram?(i want to…
AndrejK
  • 11
  • 3
0
votes
0 answers

Which time series database system on an SD card

I have briefly looked at Graphiti and InfluxDB for storing time series data. Usually these systems are deployed in a cluster in the 'cloud' which allows them to process large amounts of data. Now I am researching if I could run these systems on an…
dwjbosman
  • 770
  • 7
  • 23
0
votes
1 answer

how to create Graphiti shapes with scroll bar

My Graphiti editor has shape that represents db table with it rows.. i am looking for a way to add scroll bar to my shape. any one know how to do that?
Happy Coder
  • 978
  • 11
  • 27
0
votes
2 answers

org.eclipse.swt.SWTException: Graphic in Eclipse Graphiti when executing feature

I was working with graphiti application and implemented a feature that modifies an attribute of a resource. Upon changing, it notifies my implemented ResourceSetListener class and updates the respective shape in the diagram editor. It is doing fine…
Ken
  • 11
  • 5
0
votes
1 answer

Eclipse Graphiti Spray Properties View Issue

I am a beginner on Graphiti and Spray and sort of a beginner on Eclipse as well. I'm making a graphical editor using Spray DSL and the problem I'm having is that the properties view is not getting activated no matter what I try. I have gone through…
KamiZub
  • 1
  • 1
0
votes
0 answers

Rotating coordinates

I am working with shapes, that are defined in the Graphiti-Framework. It supports the following: Rectangle(int x, int y, int width, int height), whereas x/y defines the lower-left point, Text (which is a rectangle as well), Ellipse(int x, int y,…
John
  • 735
  • 2
  • 14
  • 32
1
2