Hiding tree nodes from the Git Repositories view - rcp

I am including the EGit plug-in as part of an RCP application I am developing. However, I would like to hide some parts of the EGit UI.
The aspect I am looking at now is removing some nodes from the containment tree (implemented as a CommonViewer) displayed in the Git Repositories view. By default, every repository shown in this view has the "Tags" and "References" sub-nodes. How could I prevent these nodes from being shown?
I had some success hiding other UI elements using Activities, but I think this approach does not work in this case (Activities can only hide UI elements with unique IDs declared in a plugin.xml file).
Another approach I have looked into is programmatically adding a ViewerFilter to the CommonViewer. However, it seems this will only allow me to filter an entire repository from the view, not the sub-nodes displayed for each repository.

Related

Update user interface suggestions

I have an intranet system that uses the DHTMLX UI Framework as user interface, but I'm looking for more modern interfaces that suits the current interface. The current version of DHTMLX I'm using only supports jQuery 1.x, that is a serious security problem. I already asked to update the version using the same UI, but there is a lack of documentation on its updated product. I.e., if I Googled for specific method or some way to run specific task or behavior, I'm always being redirected to elder documentation, or it simply doesn't exist!
I sketched here the current main UI I have: https://dhtmlx.com/docs/products/visualDesigner/live/?preview=true&id=967kh4
Explaining the behaviors: I have the layout separated by tabs, but the Tab 0 is the main record, and "sub tabs" are records according the selected row on grid of Tab 0. If there is no selected row, all sub tabs are disabled by default. If I add a new record on specific tab, automatically it adds a new row to equivalent tab.
This front is not so usual, but allows user previewing quickly the dependencies.
Question is... Do some of you have something similar to this layout? I'm disposing layouts that has to click on the main record, have to load an entire screen just to preview its dependencies.
The image below shows the current system interface
Any suggestion will be appreciated.

Reusing form in two projects loses the images on the toolbar

I have a form which I would like to reuse across multiple projects. I add the form into the projects by linking them, therefore have one version with one set of changes which will affect all the projects.
My problem is that the form will display the images in the original project, but in any subsequent projects, the images on the toolbar have disappeared.
Do I have to add the images into the resources (which doesn't seem to work)?

Ontology tree view based on object property

I use Protege and WebProtege and I wish to see a tree view based on a different object property such as partOf. I tried the plugin Existential Viewer that claims, but that errors out.
Does anybody know of a tool that can do this, Protege or other?
TIA
It seems you need the OWL Hierarchy plugin. It was recently added to registry, you don't need to install it manually. Just select File > Check for plugins.
After installation, select Window > Tabs > Individual Hierarchy Tab. Update: do not forget to select the property you need in the left tree.
Probably, the bundled OntoGraf plugin is also suitable for your needs.
Unfortunately, it seems that one should expand nodes manually in order to view full tree.
OwlPropViz plugin
looks promising, but it is not working with Protégé 5.2.

Multiple DIFFERENT CKeditor instances on the same page

I've made 2 custom builds of CKEditor for my CMS:
For general purposes
Just for creating of maps with Leaflet plugin
In general every page can consist of several "general" CKeditor blocks (and all is OK here). But some pages (like "Contacts", for example) can also contain "maps" instances. The instances are totally independent, it's not the same repo with different configs, it's 2 different builds. So I need to connect some textareas with the 1st build, and some with the 2nd. Is it possible?
Screenshots are attached below:
Folders with different repos
Maps editor
You can't use different CKEditor builds on the same page. There's only a single CKEDITOR namespace, so there's no way to tell apart which build do you want to use.
Instead, you should use the extraPlugins and removePlugins config options to adjust each instance the way that you want.

DropDownMenu using MVCSiteMapProvider

I am using asp.net mvc3 razor engine and trying to use the MVCSiteMap provider for rendering the menu, but when i am using the multi-level Site-map, menu control render all the node over the page without and Hover functionality.
Please tell, there is any way to this.
This isn't worded very well, but basically he's asking for navigation menu functionality. I'm looking for the same thing myself. Basically, the MVC sitmap provider default template just seems to show all the nodes all at once, regardless if it's a child node or not. What he's looking for (and myself as well) is for only the TOP level nodes to be shown (which you can do easily enough), but for the CHILD level nodes to be visible when you hover over the parent links. Basically, the way the old asp:Menu used to work in ASP.Net with the original sitemapprovider.
I'm sure this is just a templating issue, but I'd be shocked if no one else has already done this. Not having much luck finding it though.

Resources