EXCEL like table in eclipse GEF - excel

I have a project that need to create several graphic editing.
A new feature is to create a excel like table using GEF.
Column / Row add/delete is needed.
The current plan is to many Node. As add new column / row, add lots of Node to make it like a table.
About the Node width / height adjustment, the current plan is use can adjust size of each Node.
Other corresponding node will be change according the current node change.
Currently some tests is working, but I wonder if there are better solution this this?
(Using plan SWT table is not ok, for some GEF feature is still needed.)

I think it would be better to render the excel table on Canvas than using GEF figures to represent column/row..etc. Because you will not be able to optimize performance with GEF as its UpdateManager(that does painting) is very generic and it doesn't know about a thing about excel like behavior that you are looking for.

Related

Gradient of Unstructured grid filter in paraview

There used to be a quite useful filter in Paraview called GradinetOfUnstructuredGrid. We could efficiently and effectively calculate the divergence, curl and vorticity of vector field quite easily. For some reasons, they removed this feature in the latest version.
Is there any other way to do the same in ParaView now? Or is there any way to re-install the much better older version?
Edit :
The filter called GradientOfUnstructuredDataset is not similar. For instance, it will not give us Gradient, Curl and Vorticity.
When we apply this filter we get a set of arrays confusingly named from 0- 9, for my uses and purposes this filter is totally useless.
I'm using V 5.8.0
It is still here and called GradientOfUnstructuredDataSet.
Tested in the 5.9.0 RC3 downloaded from the website (where you can also download previous versions)
Sorry for the confusion. The option is still there, just difficult to find.
(1) You can choose the GradientOfUnstructuredDataset filter by going to the filters tool bar.
(2) Then select the vector field of which you want to compute the divergence.
(3) Then click on the Settings icon ( it is right under the properties panel ),
the advanced properties tab will pp open. You can choose to calculate divergence, curl and vorticity from there.

How to Create Entry form easily

Qusetion:
What is the best tool for creating Entry forms Tools should be easy to use with most drag and drop functionality and less coding?
Current Use:
I am using Angular Material library, Node js & Mongo Db but it takes a good time to build forms.
can anyone please suggest the some shortest way or tools which I used to create a form?
There is no drag and drop tool except.
Bootstrap, just copy and paste.
https://getbootstrap.com/docs/4.0/components/forms/

Design pattern for Excel like workbook editor

I've been assigned to a software development task for a excel like editor. Basically the editor is working on 2-dimensional data, should have the basic editing features such as add/remove rows/columns, edit cells, undo redo etc.
Please point me some good design patterns for this type of job, Thanks!
Rather than trying to figure out all design patterns for a project in advance, wait until you run into a specific design issue and think about patterns that address that issue.
That being said, the features you list here do call out the likelyhood that you'll be wanting to use the Command pattern, so that each possible operation (add column, add row, remove column, edit cell, etc.) is supported by a command object, and enabling undo/redo for your commands with additional help from the Memento pattern.
Depends on context of use.
You could check out some common usage guidelines for tables here: http://www.oracle.com/webfolder/ux/middleware/richclient/index.html?/webfolder/ux/middleware/richclient/guidelines5/tblInteraction.html
Very often users want an Excel-like UX for table data manipulation, including actual export to Excel. You can provide for edit, sort, add row, enlarge, etc. If the user is editing in a table try that guideline. It's intended for enterprise users, so customize accordingly.
HTH

How do I use Structure to output a select menu

I am working on a responsive site and need to output my Structure powered nav into a select menu for smaller screens. In looking at Structure's documentation this doesn't seem possible natively. Am I missing something?
After some digging it seems like the add-on Structure Entries is the ticket I need with one caveat. SE has quite a bit of overheard (in terms of queries) while using it to spit out custom nav. What's the best approach to minimize the impact performance for complicated menus?
I am doing this currently using Twitter Bootstrap's Button Dropdown javascript plugin. http://twitter.github.com/bootstrap/javascript.html#dropdowns
I also use MX Mobile Device Detect to serve devices the dropdown while the desktop users get the full menu.
I think the Dropdown Button script only allows for a single level list, however since its mobile do you need more than one?
I know it's obviously preferable to do it in the template itself, but a JS alternative is TinyNav.js.
It will convert your nav to a select dropdown.
http://tinynav.viljamis.com/

MonoTouch.Dialog's OwnerDrawnElement highlight not working

I am using MonoTouch.Dialog's OwnerDrawnElement, but it doesn't seem to allow the user to 'highlight' the cell when touching the screen. I've looked at the sample, but it doesn't show the highlighting. Any suggestions?
I noticed that TweetStation doesn't seem to user OwnerDrawnElement. Should I take another approach? I need to create a custom display cell much like TweetStation.
The OwnerDrawnElement was a contribution from the community, and it is not as sophisticated as it should be. I would not depend on it for anything beyond the trivially basic.
I strongly recommend that you create your own Element, if you want to reuse some of the code for OwnerDrawElement, you could copy and paste that.

Resources