How can I paint the grid itself (e.g. grid lines) on a Figure, which has grid layout. I think i need to paint it in another layer, but i can not figure out what exactly to do, to paint 'above' the layer with grid layout.
Draw 2D: Paint grid on grid layout figure
1k Views Asked by execc At
2
There are 2 best solutions below
Related Questions in ECLIPSE
- Set log4j.properties for GWT
- Compound classes stored in an array are not accessible in selenium java
- Eclipse color highlighting broken
- Eclipse Luna with Nodeclipse hangs when navigating a .js file with the Outline view
- Java Heap Space error on Layout xml: GC overhead limit exceeded
- Eclipse, how to find how many attributes defined in a class?
- Eclipse and Windows Headers
- Eclipse find source file from library
- mingw-64 conflicting declarations when cross-compiling
- String.split() not behaving in android
- local variable referenced before assignment in strange condition
- eclipse errors when try to change to master git branch
- Scala Eclipse IDE compiler giving errors until "clean" is run
- Not able to send email in java using SMTP,its blocked by firewall in my office.Is there any other method by which we can send mail?
- Behaviour Difference: Intellij vs Eclipse
Related Questions in RCP
- How to align image to center of table cell (SWT Table) RAP Platform
- Editable combo is not properly binding to model property
- How export Eclipse 3.7 rcp product with AspectJ support?
- XML source formatter not working on plugin.xml sources
- installing swtChart RCP/SWT- java.lang.ClassNotFoundException: org.swtchart.Chart
- ECLIPSE E4 dependencies issue
- How to close a part when error occurs during initialization in eclipse e4 rcp?
- Eclipse RCP 4 + JavaFX - How to load Scene saved as FXML
- How to improve RCP application start times
- Not able to launch Eclipse RCP product in Eclipse Neon which was built on Eclipse Indigo
- How to visible Plugin A all classes to Plugin B
- How to make the children of a composite visible immediately after disposed them and loaded them again in SWT?
- Using FormEditor, how can I programmatically give focus to the content instead of the header?
- How to pass data from plugin B to Plugin A
- how to save data after closing view
Related Questions in ECLIPSE-GEF
- GEF : How to programmatically create a connection?
- java.lang.NoClassDefFoundError: org/eclipse/ui/views/properties/IPropertySource
- How to relayout SWT composite container when FigureCanvas is changed?
- How to dispose of an SWT Font set on a Draw2D Label?
- what is the use of Eclipse Modelling Frameowrk and Eclipse Graphical Editing Framework?
- How drop GEF editors figures in the outside world?
- Eclipse plugin - nodes and connection + code generation
- How to achieve the screen using Graphical Editing Framework in eclipse
- How to add/edit Label name in Panel of GEF
- how to create an editable components for GEF Eclipse
- GEF : automatic scrolling during drag and drop
- Direct Edit Confirmation in GEF EditParts
- How to implement dragdetection on Slider without using dragdetect listener?
- Retrieve point of selection in Eclipse GEF
- 'Prevented recursive attempt to activate part' when clicking on a marker
Related Questions in DRAW2D
- How to dispose of an SWT Font set on a Draw2D Label?
- Unable to cancel zooming operation using Job
- Eclipse Indigo with Subclipse and draw2d
- Direct Edit Confirmation in GEF EditParts
- Can I get a scrollable tooltip in draw2d?
- How to Drag and Resize Polygon in Draw2d of Eclipse org.eclipse.draw2d.Polygon
- How to implement dragdetection on Slider without using dragdetect listener?
- Long press on up/down scroll button of the slider widget should scroll the slider widget thumb continuously
- Draw 2D: Paint grid on grid layout figure
- Draw a PolylineConnection between existing Nodes on a FigureCanvas
- How to draw diagrams using draw2d?
- regarding gef selection
- rectangle without border
- draw2d and gef classes in windowbuilder implementation
- GEF: How to add figures to different BorderLayout sections of RootEditPart/-Figure
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can just override the
paint(Graphics)method of your figure with the grid layout:Everything you paint where the comment is will appear above the figure and its children.