Archi Forum

Archi Plug-ins => Other Plug-ins => Topic started by: Hervé on November 28, 2016, 19:36:35 PM

Title: New form plugin
Post by: Hervé on November 28, 2016, 19:36:35 PM
Hi JB, Phil,

In my day to day work, I use elements and relationships properties to store information (for servers I store cpu, memory, disc, IP address, ... information, for flow relationships I store the port and protocole, ... and so on).

When my models begin to have a certain amount of elements and relationships, it becomes difficult to follow which component has not got its properties, or if some properties are not filled in with correct value.

That's why I'm currently writing a new "form" Plugin for Archi to ease the filling-in objects properties.

At the moment, my plugin has got the following characteristics :
Title: Re: New form plugin
Post by: Jean-Baptiste Sarrodie on November 28, 2016, 20:06:06 PM
Hi,

I've create the form-plugin repository.

What you describe could be used as a basis for an ArchiMate profile editor, so I might contribute ;-)

Regards,

JB
Title: Re: New form plugin
Post by: Hervé on November 28, 2016, 20:18:44 PM
Yes, I remember the discussion we had about the profiles ... My plugin is just to wait (and because I use the properties today) ...

And, regarding your contribution, that's at you own risks and perils  ;D

Your programming skills are far beyond mines ... I do not develop very fast and my code is not conventional (that's the reason why I prefer writing plugins rather than update your code).

To summarise, my plugin is not more than an interpreter that reads a configuration file and creates the graphical objets (label, text, combo, chech box, ...) that are described. As you see, nothing really complicated except inserting an entry in the menu as I had to read a lot of document about the Eclipse framework. Wow, it's powerful but really complicated !!!

I will provide more information on the GitHub wiki.

Thanks
Hervé
Title: Re: New form plugin
Post by: Hervé on March 08, 2017, 20:33:33 PM
Dear all,

As I now really need it at work, I spent a bit of time on my form plugin. I relased the version 0.2.0 to Github : https://github.com/archi-contribs/form-plugin (https://github.com/archi-contribs/form-plugin)

Just copy the JAR and configuration file to Archi's plugin folder and adapt the configuration file to your need. The forms can be accessed with a right click on any view.

This release ncludes :

More details are provided in the wiki (https://github.com/archi-contribs/form-plugin/wiki (https://github.com/archi-contribs/form-plugin/wiki)). I will complete it in the coming days.

A lot still needs to be done, especially the integration of Eclipse commands to allow undo/redo mechanism.

Best regards
Hervé
Title: Re: New form plugin
Post by: brain_work on March 09, 2017, 08:55:06 AM
Hi Hervé,

I've installed the plugin and conf file and it works. I'm planning to play a bit with it but before I'm going to do that I'm curious if you have a similar problem as I have with the search feature of Archi in combination with propertes. BTW I have this problem with the plain version of Archi 4 Beta 7 so it's not related to your plugin.

The problem is that I can't select the Properties field in the Filter options window because it's grey, see the attachement with a screen shot. Is searching on properties working okay for you?

Regards,
Peter
Title: Re: New form plugin
Post by: brain_work on March 09, 2017, 09:11:46 AM
I think I've solved my problem. I created a property + value (in two elements). That didn't solved the problem immediately. But after restarting Archi I the problem was solved and I can now search on the property I made.

Regards,
Peter
Title: Re: New form plugin
Post by: Hervé on March 09, 2017, 10:12:24 AM
Hi Peter,

Yes, the search function searches and list the properties in your model. If it doesn't find any, the line is greyed.

Regarding my plugin, I know I need to give more details regarding the configuration file syntax. I plan to rework the wiki page in the coming days. Meanwhile, please do not hesitate to ask me  ;)

Best regards
Hervé
Title: Re: New form plugin
Post by: Hervé on April 16, 2017, 23:25:56 PM
Dear all,

I'm pleased to inform you that I released a version 1.0 of my form plugin to Github : https://github.com/archi-contribs/form-plugin (https://github.com/archi-contribs/form-plugin)

This is release 1.0 as it now has got all the functionalities that I wished, including the export to Excel. I will use this Excel export functionality at work to generate the spreadsheets I today create manually ;D which is the aim of this plugin really.

I spent some time to document the plugin in the wiki https://github.com/archi-contribs/form-plugin/wiki (https://github.com/archi-contribs/form-plugin/wiki).

Please be aware that at the moment, the plugin does not allow (yet) to undo the properties updates done through this plugin.

Best regards
Hervé
Title: Re: New form plugin
Post by: Hervé on May 23, 2017, 23:15:26 PM
Dear all,

I'm please to announce that I released the version 1.2 of my form plugin to GitHub : https://github.com/archi-contribs/form-plugin (https://github.com/archi-contribs/form-plugin)

The key changes are :

I'm currently updating the wiki (https://github.com/archi-contribs/form-plugin/wiki (https://github.com/archi-contribs/form-plugin/wiki)) with screenshots to provide you with more detailed information.

Best regards
Hervé
Title: Re: New form plugin
Post by: Pascal Dussart on May 24, 2017, 13:21:59 PM
Quote from: Hervé on November 28, 2016, 19:36:35 PM

In my day to day work, I use elements and relationships properties to store information (for servers I store cpu, memory, disc, IP address, ... information, for flow relationships I store the port and protocole, ... and so on).


Hervé,

(no real question, here. Just thinking out loud)

I'm sure you've made the reflexion yourself that this sounds a lot like a CMDB.  Of course, for your particular use case the setup you describe might be "(just) good enough". (I'm trying really hard not too sound judgemental,here ;)

This made me think about an earlier mention by JB about a little project he'd been working on called OpenEAR (http://forum.archimatetool.com/index.php?topic=330.msg1769#msg1769). Hopefully we get to hear a lot more about this soon.

grts
pascal
Title: Re: New form plugin
Post by: Hervé on May 24, 2017, 14:59:18 PM
Hi Pascal,

Yes you'er right about the CMDB stuff. The thing is that our CMDB contains what is deployed in production, and I work on projects. So my architecture diagrams reprensent what may (or may not, depending on the project) be in the future.

In some cases, I may describe several solutions that our clients may choose between them.

In our procedure, we calculate the infrastructure cost using Excel spreadsheets, that's why my plugin is able to export to Excel  :-[

Quite a long time ago, I developped a plugin for our CMDB provider (ServiceNow). It was my first plugin and my first Java development so it is very limited. But my aim is, at the end, to be able to synchronise some views (the ones that are validated by our clients) with our CMDB.

Best regards
Hervé
Title: Re: New form plugin
Post by: Hervé on May 26, 2017, 23:39:37 PM
Dear all,

I'm pleased to announce the version 1.3 of my form plugin. You can find more information and download the plugin on GitHub : https://github.com/archi-contribs/form-plugin (https://github.com/archi-contribs/form-plugin)

Of people who already have got the plugin can update it automatically through its preference page.

The key update are:

I'm a bit late in the wiki update, but I uploaded a working sample configuration file that has got all the key keywords (even if they've got the default values). I hope this sample file would make life easier for people who use my plugin (I know he configuration file is quite complex)  :P

Best regards
Hervé
Title: Re: New form plugin
Post by: Hervé on June 03, 2017, 00:13:47 AM
Dear all,

I'm pleased to announce the version 1.4 of my Form plugin. You can find more information and download the plugin on GitHub : https://github.com/archi-contribs/form-plugin (https://github.com/archi-contribs/form-plugin)

People who already have got the plugin can update it automatically through its preference page.

The key update are:

I know that the configuration file (JSON) is a bit complex, even when reading my wiki on Github, so one may beguins by downloading the provided sample file and go on from it. I also recommand to switch the plugin logging level to TRACE, which allows to print all the control attributes including the default values.

You are also more than welcome to frop me a line on this forum or on GitHub should you have any question, comment, or simply request new functionalities.

Best regards
Hervé
Title: Re: New form plugin
Post by: Hervé on June 17, 2017, 22:03:19 PM
Dear all,

I'm please to announce the version 1.5 of my form plugin. It is available on GitHub : https://github.com/archi-contribs/form-plugin (https://github.com/archi-contribs/form-plugin)

To install it, as usual you may download the .jar file anc copy it to Archi's plugins folder. Alternatively, if you already have got the form plugin installed, you may click on the "check for update" button to automatically install and install the new version.

The key updates are:

You are also more than welcome to drop me a line on this forum or on GitHub, should you have any question, comment, or a new functionality request.

Best regards
Hervé
Title: Re: New form plugin
Post by: Hervé on August 06, 2017, 22:16:30 PM
Dear all,

I'm please to announce the version 1.5.4 of my form plugin. It is available on GitHub : https://github.com/archi-contribs/form-plugin

To install it, as usual you may download the .jar file and copy it to Archi's plugins folder. Alternatively, if you already have got the form plugin installed, you may click on the "check for update" button to automatically install and install the new version.

The key updates are:

You are also more than welcome to drop me a line on this forum or on GitHub, should you have any question, comment, or a new functionality request.

Best regards
Hervé
Title: Re: New form plugin
Post by: Chris Usher on August 17, 2017, 17:18:16 PM
Hi Hervé,

I thought I'd try your form plugin as I have a many parameters to enter in my models.
The plugin works for me on small models but seems to hang on a larger model.

Running a trace, the plugin hangs while adding a line for a relationship.  These are the last lines from the trace which is 142740 lines long for requesting properties of a single element:

Quote
.
.
.
2017-08-17 16:59:38 TRACE 1307:FormDialog                     - Found relationship
2017-08-17 16:59:38 TRACE 2755:FormDialog                     -    filter ${class}("AssociationRelationship") matches ".*Relationship" --> true
2017-08-17 16:59:38 TRACE 1343:FormDialog                     -    adding line for AssociationRelationship ""
2017-08-17 16:59:38 TRACE 1354:FormDialog                     -       adding label cell with value "AssociationRelationship"
2017-08-17 16:59:38 TRACE   57:FormVariable                   -          getting real EObject the expression "${class}" refers to (from AssociationRelationship:""(c658d844))
2017-08-17 16:59:38 TRACE   73:FormVariable                   -          --> itself
2017-08-17 16:59:38 TRACE 1380:FormDialog                     -       adding text cell with value ""
2017-08-17 16:59:38 TRACE   57:FormVariable                   -          getting real EObject the expression "${name}" refers to (from AssociationRelationship:""(c658d844))
2017-08-17 16:59:38 TRACE   73:FormVariable                   -          --> itself
2017-08-17 16:59:38 TRACE 1380:FormDialog                     -       adding text cell with value ""
2017-08-17 16:59:38 TRACE   57:FormVariable                   -          getting real EObject the expression "${documentation}" refers to (from AssociationRelationship:""(c658d844))
2017-08-17 16:59:38 TRACE   73:FormVariable                   -          --> itself
2017-08-17 16:59:38 TRACE 1307:FormDialog                     - Found relationship
2017-08-17 16:59:38 TRACE 2755:FormDialog                     -    filter ${class}("AssociationRelationship") matches ".*Relationship" --> true
2017-08-17 16:59:38 TRACE 1343:FormDialog                     -    adding line for AssociationRelationship ""
2017-08-17 16:59:38 TRACE 1354:FormDialog                     -       adding label cell with value "AssociationRelationship"

The form isn't shown at all but the pointer shows the application is still busy.

Running on Windows 7, I tried with plugin version 1.4 and 1.5.4 against archimate 4.0.1 and 4.0.3-beta1 all with the same behaviour.

Is there a limit on the number of elements the model can contain?
Any assistance would be most helpful.
Title: Re: New form plugin
Post by: Hervé on August 17, 2017, 20:33:35 PM
Hi Chris,

I use my form plugin every week at work on a Windows 7 (32 bit) laptop.

I know that the trace mode is very verbose (because I use this mode it to debug my plugin) but I never generated such 142000 lines long files.

The fact that the form does not show is quite normal, because I wait until all the form controls are created before showing it (not doing so would be slower) but that does not explain why the plugin hangs ...

Unfortunately, the trace log  file is not of any help to me because I do not have any error message  :( But may be, the plugin does not hang but is very slow on your huge model ...

The only thing I can suggest is to wait longer:
   - either an error message is eventually added to the log file
   - either the form eventually shows up

While waiting, could you please have a look on the cpu consumption (it may indicate if the plugin really hangs on an event or if there is a loop somewhere).

Best regards
Hervé
Title: Re: New form plugin
Post by: Chris Usher on August 18, 2017, 10:34:27 AM
Hi Hervé,

Thank you for replying.

I was using the test form you provided (org.aricontribs.form.conf), and I found that changing
"refers": "model"
to "selected" or "view" produced the viewable form instantly.

That would suggest there is some element in my model that is causing the issue.  The issue does not occur when only scanning a single view or selected elements.

I can work with this until I come across the element causing the issue.  However, it means I can't use the form as I intended - to edit or export lists of elements contained in the whole model.


One other error that popped up was this:
Quote...
In table "tab"
Attribute "lines"

Failed to generate lines for unknown object class "DiagramModelConnection"

I have a note connected to a node, when I remove the note from the node the error disappears. This suggests the plugin (or my configuration) is not able to handle notes.

Thank you for making this plugin available.

Chris
Title: Re: New form plugin
Post by: Hervé on August 18, 2017, 10:41:50 AM
Hi Chris,

Regarding the "refers": "model" part, I unfortunately cannot help you further without an error message. If your form is not confidential, you may sent it to me by mail or in a private message on this forum. I can try it on my models but it is not sure that I can reproduce the same behaviour.

Regarding the error message you sent me, it is clearly a but that I will investigate. Thanks for pointing it out to me.

Best regards
Hervé
Title: Re: New form plugin
Post by: Chris Usher on August 18, 2017, 12:03:12 PM
Hi Hervé,

I monitored resource usage while executing the "refers": "model" variant and with logging set to DEBUG, CPU usage for Archi rose to ~60% for approximately 10 seconds, then returned to ~0%, however the process does not render the dialog and no error message is produced.

I suspect there is some issue with the content of my model.  The model has been through many transformations, has a mix of old and new style id's, has been exported and imported from the database plugin and also post-processed as XML with my own code to bulk update the XML, so there may be some inconsistencies in the model with orphaned relationships or connections.  Unless I could guarantee the model to be clean and consistent it would be unwise to spend further time looking for the cause of the error.  When I have more time I shall attempt to validate the XML and clean up the model before trying again.

My search for the culprit element continues...!

If I find a reason for the problem I shall let you know.


The more I look into the configuration with its filters for source and target relationships, I begin to see the full potential of this plugin. Thank you.

Chris.
Title: Re: New form plugin
Post by: Hervé on August 18, 2017, 12:54:24 PM
Hi Chris,

I do not believe it comes from your model because Archi is able to handle it so my plugin should be able to handle it. Please do not hesitate if you need me to investigate. If you find something on your side, please do not hesitate to tell me that I can correct my plugin.

Thanks a lot for your encouragement.

As few people required it, I'm currently developping a graphical interface to generate the configuration file. As it is quite very complex, I know that it is very difficult to get into it.

Best regards
Hervé
Title: Re: New form plugin
Post by: Hervé on September 25, 2017, 22:25:50 PM
Dear all,

I'm please to announce the version 1.6 of my form plugin. It is available on GitHub : https://github.com/archi-contribs/form-plugin (https://github.com/archi-contribs/form-plugin)

To install it, as usual you may download the .jar file and copy it to Archi's plugins folder. Alternatively, if you already have got the form plugin installed, you may click on the "check for update" button to automatically download and install the new version.

The key updates are:

To migrate your configuration files to this new version, you just need to do the three following updated :

If you haven't got any configuration file, you can of course create a new one using the configuration file graphical editor.

You are more than welcome to drop me a line on this forum or on GitHub, should you have any question, comment, or a new functionality request.

Best regards
Hervé
Title: Re: New form plugin
Post by: Jean-Baptiste Sarrodie on September 26, 2017, 08:01:11 AM
Hi Hervé,

I'll test soon, but did you fix the issue with nested elements not being listed in the form (when used on view content) ?

Regards,

JB
Title: Re: New form plugin
Post by: Hervé on September 26, 2017, 20:27:31 PM
Hi JB,

Yes, the nested elements bug has been solved.

Unfortunately, I'd forgotten that the getChildren() method on a container only gives the elements and not the relationships. I just released the version 1.6.1 to add the relationships  :-[

As I've rewritten more than half the code that parses the JSON file and that manages the widgets, I'm sure that I introduced other bugs. My plugin works well with my test forms but I cannot test 100% of the cases. I need to find a way to automate the testing to reduce the numbers of bug but I did not find a solution as my plugin relies heavily on the graphical interface.

Best regards
Hervé
Title: Re: New form plugin
Post by: Jose-Carlos on September 28, 2017, 13:21:05 PM
Hi Hervé,
I have used this plugin to display a form having all nodes with properties (typically CPU, RAM, Disk, ...).
The goal is to easy set values for all nodes.
Unfortunately, all nodes are displayed twice. It seems to be retreived from the model structure, but I'm unable to retreive in a unique row.
Is there some unique option or additional filter to get the short list of nodes?

Here is the configuration file and a screenshot in attachment.

{
"version": 3,
    "org.archicontribs.form":
{
"name": "Update Nodes properties for ${class} ${name}",
"refers": "model",
"width": 900,
"height": 400,
"spacing": 4,
"background": "250, 250, 250",
"buttonOk": "Ok",
"buttonCancel": "Cancel",
"buttonExport": "Export to Excel",
"variableSeparator": ":",
"whenEmpty": "ignore",
"tabs": [
{
"name": "Elements in the container",
"background": "200, 200, 200",
"controls": [
{
"class": "table",
"x": 10,
"y": 10,
"width": 870,
"height": 300,
"background": "255, 255, 255",
"foreground": "0, 0, 0",
"tooltip": "This table contains all the elements present in the view",
"excelSheet": "elements",
"excelFirstLine": 1,
"columns": [
{"name": "Class",         "ExcelColumn": "A",  "excelCellType": "string", "excelDefault": "zero", "width": 100,  "class": "label",  "fontItalic": true },
{"name": "Name",          "ExcelColumn": "B",  "excelCellType": "string", "excelDefault": "zero", "width": 100,  "class": "text",   "fontBold": true   },
{"name": "Documentation", "ExcelColumn": "C",  "excelCellType": "string", "excelDefault": "zero", "width": 100,  "class": "text",   "default": "${property:documentation_${model:property:language}}", "forceDefault": true },
{"name": "CPU",           "ExcelColumn": "D",  "excelCellType": "string", "excelDefault": "zero", "width": 50,  "class": "text",   "default": "${property:CPU_${model:property:language}}", "forceDefault": true },
{"name": "RAM",           "ExcelColumn": "E",  "excelCellType": "string", "excelDefault": "zero", "width": 50,  "class": "text",   "default": "${property:RAM_${model:property:language}}", "forceDefault": true },
{"name": "Disk",          "ExcelColumn": "F",  "excelCellType": "string", "excelDefault": "zero", "width": 50,  "class": "text",   "default": "${property:Disk_${model:property:language}}", "forceDefault": true },
{"name": "Other",         "ExcelColumn": "F",  "excelCellType": "string", "excelDefault": "zero", "width": 50,  "class": "text",   "default": "${property:Other_${model:property:language}}", "forceDefault": true },
],
"lines": [
{
"generate": true,
"cells": ["${class}", "${name}", "${documentation}", "${property:CPU}", "${property:RAM}", "${property:Disk}", , "${property:Other}"],
"filter": {
"genre": "OR",
"tests": [
{ "attribute": "${class}", "operation": "iequals", "value": "Node" },
{ "attribute": "${class}", "operation": "iequals", "value": "Device" }
]
}
}
]
}
]
}
]
}
}


Title: Re: New form plugin
Post by: Hervé on September 28, 2017, 15:45:45 PM
Hi Jose Carlos,

No, you should definitievly have the elements only once. Thanks for sharing your configuration file. I'll do some testing tonight and let you know.

Best regards
Hervé
Title: Re: New form plugin
Post by: Jose-Carlos on September 28, 2017, 16:36:40 PM
Hi Hervé,
thanks a lot for your support and your creative work!

I have activated the trace for form-plugin. The output is in attachment.
It looks that properties are loaded twice because it's coming from classes ArchimateModel and ArchimateDiagramModel:

2017-09-28 17:15:47 TRACE  907:FormJsonParser                 -    filter ${class}("ArchimateModel") equals (ignore case) "Node" --> false
2017-09-28 17:15:47 TRACE  907:FormJsonParser                 -    filter ${class}("ArchimateModel") equals (ignore case) "Device" --> false
2017-09-28 17:15:47 DEBUG  778:FormJsonParser                 - Creating table item
...
2017-09-28 17:15:47 TRACE  907:FormJsonParser                 -   filter ${class}("ArchimateDiagramModel") equals (ignore case) "Node" --> false
2017-09-28 17:15:47 TRACE  907:FormJsonParser                 -    filter ${class}("ArchimateDiagramModel") equals (ignore case) "Device" --> false
2017-09-28 17:15:47 DEBUG  778:FormJsonParser                 - Creating table item
....


Is it possible to add a filter on configuration file?

Regards
Title: Re: New form plugin
Post by: Hervé on September 28, 2017, 20:54:19 PM
Hi Jose-Carlos,

In fact, ArchimateModel is the model itself whereas ArchimateDiagramModel is a view. They are completely different objects so the error does not come from this.

My error comes from the fact that you apply your form to the whole model ("refers": "model").

So I consider all the folders (Strategy, Business, Application, ...) one by one and I recursively find all the elements and relationships. My bug is that, in your case, I did the same on the "views" folder. Therefore, I also found all the elements and relationships that were in one of your views ... and consequently leading to duplicates.


Regarding the filter on the configuration file, in fact my plugin already allows to specify a filter on the form but it has just been forgotten in the graphical editor. I just added it.


You will find the release 1.6.2 on GitHub in few minutes  :)

Thanks for pointing me these bugs. Please do not hesitate to drop me a line should you discover others  ;)

Best regards
Hervé
Title: Re: New form plugin
Post by: Jose-Carlos on September 29, 2017, 11:25:42 AM
Hi Hervé,
thanks a lot for your new version and reactivity. It's working fine!

I have one question about the usage: is it possible to filter objects only for the current view and not the overall model? I tried to change the item refers in configuration file, but not sure which value to set...

Thanks for your help.

Best regards.
Title: Re: New form plugin
Post by: Hervé on September 29, 2017, 17:33:12 PM
Hi Jose-Carlos,

If you use the graphical editor to manage your form, you have a combo with the list of valid value for the "refers" keyword.

One of them is "view"  ;D

Best regards
Hervé
Title: Re: New form plugin
Post by: Jose-Carlos on September 30, 2017, 06:31:14 AM
Hi Hervé,
I have modified the configuration file with values in combo and it works fine. Thanks!

However, on my installation, I'm unable to save the new value through the graphical editor. Perhaps the field about refer is missing from the saving function.

Perhaps I should also open an issue on Github instead of polluting this thread... :-)

Best Regards
Title: Re: New form plugin
Post by: Hervé on September 30, 2017, 16:46:24 PM
Hi Jose-Carlos,

Thanks for pointing out this issue to me. I effectively did not record correctly the "refers" and "whenEmpty" fields on the form page.

I just released the version 1.6.3 to GitHub that fixes this issue. This new release also include a fix on the automatic plugin update and some tooltips on the graphical editor to provide guidance about fields  ;D

Best regards
Hervé
Title: Re: New form plugin
Post by: Jose-Carlos on October 02, 2017, 08:54:47 AM
Hi Hervé,
thanks a lot for your reactivity, it' perfect, it's working fine!
Regards
Title: Re: New form plugin
Post by: Hervé on November 12, 2017, 22:29:17 PM
Dear all,

I just release the version 1.7 ofthe form plugin : https://github.com/archi-contribs/form-plugin (https://github.com/archi-contribs/form-plugin)

To install it, you may download the jar file and copy it into Archi's plugins folder. Alternatively, if you already have got a previous version of the plugin, you may update it using the "check for update" button on the plugin's preference page.

This release is a solves few bugs:

As some people asked me, the todo list includes :

Best regards
Hervé
Title: Re: New form plugin
Post by: bebran on November 14, 2017, 21:53:55 PM
Hi Hervé,

Excellent work on the form plugin, but I'm struggling with displaying elements stored in subfolders (ex. Application/subfolderXYZ/).
My models contains >3000 elements and use subfolders for grouping elements in the Models panel, but it seems like the forms plugin does not include elements stored in subfolders.
Are there any parameters in the configuration file for including elements in subfolders?

/Bent
Title: Re: New form plugin
Post by: Hervé on November 15, 2017, 08:23:38 AM
Hi Bent,

The plugin should definitively display elements stored in sub-folders.

Thanks for pointing out this bug, I'll solve it ASAP.

Best regards
Hervé
Title: Re: New form plugin
Post by: Hervé on November 16, 2017, 23:00:15 PM
Dear all,

I just released the version 1.8 of my form plugin : https://github.com/archi-contribs/form-plugin (https://github.com/archi-contribs/form-plugin)

As I've been requested by some people, the updates are:

The GitHub's wiki will be updated asap to provide mode details on how to use them.

Best regards
Hervé
Title: Re: New form plugin
Post by: Hervé on November 17, 2017, 22:48:09 PM
Dear all,

Following your first feed backs by emails, I just released the version 1.8.1 of my form plugin : https://github.com/archi-contribs/form-plugin (https://github.com/archi-contribs/form-plugin)

The updates are:

Best regards
Hervé
Title: Re: New form plugin
Post by: Hervé on November 21, 2017, 22:28:24 PM
Dear all,

I just released the version 1.8.2 of my form plugin : https://github.com/archi-contribs/form-plugin (https://github.com/archi-contribs/form-plugin)

For a fresh install, just copy the JAR file into archi's plugins folder. To upgrade an already installed plugin, just click on the "check for update" button on the preferece page (you may even check the "automatically check for update at startup" box).

The key updates:

As an example, here is a form created by Glem that is very well done and that provides a clear view on the kind of form that can be created with my plugin:


Best regards
Hervé
Title: Re: New form plugin
Post by: Jose-Carlos on January 16, 2018, 13:38:46 PM
Hi,
is there a way to sort the displayed elements in a table? It could be by name or by a property.

My use case is to use a table to list all nodes and fill properties such as RAM, CPU, Disk, etc...

Thanks.
Title: Re: New form plugin
Post by: Hervé on January 16, 2018, 14:14:52 PM
Hi Jose-Carlos,

There is no way to sort the elements during the table creation. Nevertheless, it is possible to sort them once the able is created by clicking on the columns title (an little arrow is then shown to indicate the sorted column).

Best regards
Hervé
Title: Re: New form plugin
Post by: Jose-Carlos on January 17, 2018, 16:44:25 PM
Hi Hervé,
thanks for your help. I didn't had the last plugin version. It's working fine now.
:)
Title: Re: New form plugin
Post by: Hervé on January 17, 2018, 16:54:40 PM
good news  :)
Title: Re: New form plugin
Post by: Clément on March 23, 2018, 13:51:44 PM
Hello Hervé,

First, let me say that you did a great job with this plugin, it's very useful !

I just have one problem : I can't force a "default text" when I'm configuring a textbox in a table (it works fine when I'm not doing it in a table). Whether I do it with the graphical editor or directly in the conf file, it always disappear.
I am using the 1.8.3 version.

Do you know why this doesn't work ?

Thanks for your help.
Regards,
Clément.
Title: Re: New form plugin
Post by: Jean-Baptiste Sarrodie on March 23, 2018, 13:55:40 PM
Hi Clément,

The best place for questions, issues or bug report is on GitHub: https://github.com/archi-contribs/form-plugin/issues

Can you please open a new issue there ?

Regards,

JB
Title: Re: New form plugin
Post by: Hervé on March 23, 2018, 15:09:44 PM
Hi Clément,

I will have a look and let you know ASAP.  In the mean time, would you please open an issue on GitHub https://github.com/archi-contribs/form-plugin/issues (https://github.com/archi-contribs/form-plugin/issues) as JB suggest ?

Thanks and regards
Hervé
Title: Re: New form plugin
Post by: Hervé on April 09, 2018, 23:32:13 PM
Deall all,

I'm please to announce the version 1.8.4 of the form plugin (https://github.com/archi-contribs/form-plugin (https://github.com/archi-contribs/form-plugin))

Installation instructions:

The key updates are:

Please do not hesitate to come back to me should you have any comment or experience any issue.

Best regards
Hervé