I have a RCP application with a set of my views and i needn't such views as Debug/* views or Team/* views. How can i remove them from Window->SHow view->Other dialog?
I found here a solution with visibleWhen attribute, but i need to disable not mine items.
Could anyone help me?
Thank you
The best way to ensure that unwanted views do not appear, is to remove the contributing plugins from your RCP app. Presumably, if you don't want the debug view to appear, then you don't need any debug.ui functionality. So, it seems to me that you should be removing that plugin from your app.
Andrew is correct, if you don't need the extra view, you can just remove the plugin that contributes the view.
On the other hand, if you need the view but don't want it to be readily available from the UI, you can also use the concept of activities to selectively hide any ui contributions.
please see http://www.vogella.de/blog/2009/07/13/eclipse-activities/ for details on how to use them
Related
Can you suggest me how to build a Table with Eclipse WindowBuilder Plugin and SWT?
I read the official docs but I found orrible example with fixed column size. I would like to build a Table who fit the parent container (I used composite) when it is resized.
P.S.: Maybe I should use Swing instead?? All valid example I have seen are with JTable..
Can you help me?
Thank you
Thank you for your reply!
I have to do a little GUI application for a friend, I'm not so practice nor with Swing neither with SWT.
Anyway I manage to do a Simple ApplicationWindow with menubar, some submenu item and a composite container under the menu where panel should appear when user clicks on menu item.
Than I manage to build a TableViewer inside that composite component.. but now I would like add another table in the same place (the table represents different thing and should appear or disappear when user click some menu button).
In Swing I see many example of CardLayout but nothing with SWT.
Can you suggest me a simple example of layered layout with SWT?? I have the impression that Swing is much more simple..
Thank you all
On my modest opinion, Swing is well documented than SWT and maybe more simple. I switched to it.
Thank you.
I have a question regarding the linkage of the selection made on the nattable in a custom editor view and the sirius property view. Any ideas, how should i go for it, it will be really kind of you if you can highlight the steps in an easy to understand manner, because i have researched a lot on it and nothing is concrete enough to get me started to solve this task.
I am attaching two screenshots describing, what is the nature of the issue i am facing and what i want to implement.
Screenshots>
1. https://imgur.com/bVqfGc4
In the first screenshot, when i click on the element in the model explorer , its properties show up in the sirius properties view, and they should as that is how sirius property view works
2. https://imgur.com/DKsFQBi
In the second screenshot, when i click on any element on the nattable in a custom editor view containing my nattable, the sirius property view does not respond to the selection made on the nattable in that custom editor view.
I want to implement a solution where when i click on any element in the nattable, its properties hsow up in the sirius property view.
Your help and guidance in this regard will be highly appreciated. Thanks in advance.
Best Regards,
Abu
You need to implement and register an ISelectionProvider. NatTable provides currently only row based providers like the RowSelectionProvider or the E4SelectionListener.
The corresponding examples can be found here:
https://github.com/eclipse/nebula.widgets.nattable/blob/master/org.eclipse.nebula.widgets.nattable.examples/src/org/eclipse/nebula/widgets/nattable/examples/_500_Layers/_505_Selection/_5054_SelectionProviderExample.java
https://github.com/eclipse/nebula.widgets.nattable/blob/master/org.eclipse.nebula.widgets.nattable.examples.e4/src/org/eclipse/nebula/widgets/nattable/examples/e4/part/SelectionListenerExample.java
Is there a way to add a custom column menu tab with my own favourite icon which on click would render my custom react component?
something like
myColDef.menuTabs: ['generalMenuTab', 'filterMenuTab', 'myCustomMenuTab']
FYI I'm using v12.0.2
What you're after can't be done I'm afraid. The grid supports React components in all sorts of ways (renderers, editors, filters etc), but not via the column menu.
I've updated the docs page to remove the gibberish issue - it'll be fixed properly in the next release, thanks for highlighting this.
This would be helpful to have. In particular for us, we'd like to filter based off row properties, and not row values. Creating our own tab to filter by cell colors that we have assigned with our own set of labels would be useful.
I agree that it would be a nice feature to have. Apparently, there's no quick out-of-the-box solution to do it. The only workaround I see is to implement your own custom Header component which would display any buttons your want.
There you can put a button to open your own custom menu, which you can implement as any regular UI component. It also means you'll need to manually implement all standard menu options that Ag-Grid provides out of the box if you need them.
I'm developing an Eclipse plugin where I need to add custom items to Eclipse's problems view. Custom items under maybe custom categories (for example list a bunch of problems under a category named "security").
I have looked into marker, but these are for file editors. I want to add custom items to the problems view without having to do anything with a source editor. Is that possible? Or do I have to create my own view?
Thanks!
I think you just need to add the problem view to your plug-in.
org.eclipse.ui.views.ProblemView
You can create markers on Folders/Projects. You don't need to have a File to create a marker. The markers can be grouped via the type of Marker in the Problems View
The Problems view only supports displaying markers.
Markers are associated with resources (usually files) but any plugin can create them, they don't have to done by editors.
What is this control? Or is it something that has been custom made? I see it in the Twitter and several other applications. I'm referring to the two triangles, and if you've ever used them, they refresh the view below them, usually going through a list of content items.
(I'm not referring to the navigation controller with a back button)
They are UISegmentedControls with custom images and the style set to UISegmentedControlStyleBar.
Its right there in Apple's NavBar sample code. You have the entire source code for the project. Search for NavBar within the Documentation and API reference item under the Help menu of Xcode 4.