I'm using Papyrus MDT with eclipse Kepler. I need to customize the palette in order to include activity diagram elements (CallOperationAction) into a sequence diagram. I read papyrus palette customization tutorial but I didn't find a solution.
Do you have any suggestions?
Thanks in advance.
Right click on the palette
Customize...
In the left panel (Available palettes) choose groups you need
But notice, diagrams from ALL elements are turned on by default. Rather you need turn them off.
Related
I have Qgis 3.12 and I want to add a part to a polygon but there is no add part button?
I enable advanced digitising tools but I get error: cad tools cannot be used on geographic co-ordinates.
How do I enable this?
I think you'll find you've tried to enable the Advanced Digitizing Panel (which is the CAD Tools plugin), not the Advanced Digitizing Toolbar.
Right-click on an empty toolbar area. There should be a list of Panels at the top and Toolbars below it.
I want to disable this. It is keep on populating while coding. I am using Eclipse Oxygen version.
Here is the link for the image. https://i.stack.imgur.com/gzV6F.jpg
Why you would want to do this is beyond my understanding, but anyways..
Uncheck the Combined Hover in Preferences->Java->Editor->Hovers.
I am Using Eclipse for android, I have installed SDK ADT bundle. While coding, some times I need to know description of Classes, Methods etc. When I hover my mouse over class, method definitions, it does not show the tooltip, after some time it begins to show it. This goes on and off. Can anyone help me solve this problem? Thanks!!
Go to Window > Preferences > Java > Editors > Hovers
select Combined Hover.
You can restart Eclipse for good measure.
I am developing RCP plug-in with GEF framework.
I've created basic graphical editor (GraphicalEditor and IEditorInput)
IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
page.openEditor(new TEditorInput("T"), TGraphicalEditor.ID,false);
When I run the application I get editor with a header that contains the tab with the name of the editor and control buttons to maximize and minimize the editor.
What I need is to display just the editor, without the header.
Can it be done?
To my knowledge, it is not possible to just hide an editor's tab.
However, you can try two workarounds:
Have your GEF editor be displayed in an Eclipse view instead of an editor and open such a view as a standalone view. An example of how to open a GEF diagram in a view can be found in GEF's Directed Graph Example. An example of how to open a view as standalone can be found in one the Eclipse RCP official tutorials.
Extend the presentation factories extension point to control how workbench parts are displayed (which includes control over the part stack tab).
I suggest you try the first approach, as to me it seems easier to implement.
The idea with editors is that you can instantiate them multiply for different editor inputs. I am not aware of any way to restrict the number of open editors to just one (well, it appears you can in Eclipse 4.2 if that helps you)
For views, what you want can be done by setting the perspective to fixed and set showTitle of the org.eclipse.ui.perspectiveExtensions extension to false on the view. Maybe you can use a view instead of an editor and control the editor input yourself?
(For example, using an editor, the default Open action would instantiate a new editor, while you probably want to replace the contents in your only editor, right?)
I use a lot of eclipse shortcuts, but for some tasks there arnt any convenient ones. For example I frequently look at the subversion history for java files.
I see these icons next to the right-click menu items that I assume I should be able to place on the eclipse taskbar so that I can save a couple of mouse clicks. But I havnt been able to figure out how to do that yet.
I am talking about the icon next to RightClick-Team-Show History once you install the subclipse plugin. I would like this icon to be on my taskbar so I can just do a single click and look at the history.
Any suggestions?
Other tips on customizing eclipse for java development are also welcome.
Take a look at my answer for similar question: How to add undo / redo buttons to toolbar in Eclipse?
It is possible to do the same for Show History command. Differences are: 1) you need to declare dependency on org.tigris.subversion.subclipse.ui plugin, and command ID you are looking for is org.tigris.subversion.subclipse.ui.showresourceinhistoryaction. You may want to include custom icon to avoid having long "Show History" button on your toolbar.
Update: Here is downloadable plugin for you: showsvnhistory_1.0.0.jar
The only way I know of to "customize" the Eclipse taskbar is via Window -> Customize Perspective. Oddly enough, the "Commands" tab has some influence on the toolbar.
But the developer of whatever component you want to use must have enabled the commmand and (at least for me), SVN doesn't offer a history button.
Maybe some XML hacking is more helpful here?