How to add Hierarchical Tags in Redoc - redoc

Currently Redoc only supports 2 depths of menu on the left hand panel. Is there any way, we can add one more depth? Someone has already created issue for this - https://github.com/Redocly/redoc/issues/1489

Related

Unable to add a script button as a left sidebar new tool item in Tabletop Simulator

I am preparing a mod for a tabletop simulator game, and I will be using clickable buttons as there are many options and different setups depending on the number of players that come and how they want to play the game. However, the game is extensive in the number of pieces in the table, so I was trying to add the buttons (that run the setup scripts) as left sidebar tool add-ons so we didn't stretch the table further to the sides to house the setup buttons.
I have looked through the app documentation and I found no way to script-force the buttons into left sidebar tool icons. All I could find was to add some dropdown menus by using XML in the CUSTOM UI but nothing specific that would create a left sidebar new buttons and items.
Is there something I missed and there is a possibility to do it?
Thanks in advance
Best regards
Luis Lima
I stumbled upon this workshop
https://steamcommunity.com/sharedfiles/filedetails/?id=1393821479
in it there's a section of coding under the UI tab that if you modify it then the created floating button can be moved over to the left side. I believe with this you could create your own drop down menus as well. Note I did edit the below line of coding to put the button on the left below the rest of the menu buttons. Hope this helps you achieve what you want.
id="rollerLayout"
height="280"
width="80"
allowDragging="true"
returnToOriginalPositionWhenReleased="false"
rectAlignment="UpperLeft"
offsetXY="00 -525"
>

Creating a hierarchical menu in Vaadin 23

I returned to the Vaadin ecosystem after some years out and I can't find the good old Tree component for creating a left navigational menu hierarchies in Vaadin 23.
What I found is a TreeGrid, however, it is explicitly stated in the docs, that it is not intended for that use case: "Tree Grid is not meant to be used as a navigation menu."
In the docs for Tree from the V8 we see that the Tree was intended for menus: "A typical use of the Tree component is for displaying a hierarchical menu".
So it seems now there is a gap - there is no dedicated component in Vaadin for hierarchical menus. How to fill this gap in Vaadin 23?

Add / use custom SVG as material-icon

I'm using the material design package for my application layout menu.
I have 2 menus items where I can't find an icon that fits, so I got 2 SVG files that I added to the project.
I want to use this as the material-list-item icon instead of a material-icon.
Is there a way to do this by either adding a custom icon to the material-icon library or replacing the icon in the list.
If yes, please I need a complete example as I am new to DartAngular, still trying to figure out some stuff.
There is a mixin for material-icon which will get allow you to change a material-icon into using an SVG. https://github.com/dart-lang/angular_components/blob/c6cb3d783e72ff1ed7974f18b7f169778c73d39b/angular_components/lib/material_icon/_mixins.scss#L49
There is indeed a mixin for this as pointed out in Ted Sander's answer, but for the moment it does not seem to work. I've asked this on Gitter but did not get an answer, and I also opened a ticket on Github for this seemingly broken feature.
It's a telltale sign that even the official Angular Components Gallery has a broken SVG icon example.
I'd suggest to implement this by using separate list item rendering for those that have an official material-icon representation and those that need a custom SVG image, and conditionally render them with the ngIf directive.

How can I put an eclipse editor inside another eclipse editor?

I am trying to develop an eclipse plug-in that has an editor. The editor needs to show two instances of another editor (showing two different documents), and a toolbar. The internal editors are coming from another plugin. The toolbar needs to control the two internal editors (e.g., when clicking a button, change the background color of some items in one of the internal editors, assuming the internal editor has the API to change background color of course).
Can this be done? Any hints on how to start?
Many thanks for your advice.
You can try and see if a MultiPageEditorPart could be helpful in your case.
/**
* A multi-page editor is an editor with multiple pages, each of which may
* contain an editor or an arbitrary SWT control.
*/
I would have the logic of the editors as SWT Composites. Then the Editor is just a wrapper on top of the composites.
This way, you can create a new editor that combines functionality of other editors by combining the composites in different ways.
Extending VonC's answer, then you can have the composites as tabs in the MultiPageEditor, or just combine them anyway you want

Silverlight 3 Treeview

Is there any way one can display the Silverlight 3 (Either toolkit version or the built-in Blend version) treeview horizontally?i.e. instead of top to bottom, I wan to go from left to right.
There is no inherit method of the treeview to accomplish this. However, you might be able to achieve this by changing the ItemsPanelTemplate and the ItemsTemplate.
This forum discusses it in more detail.

Resources