Qgis 3.12 - Add part tool is missing - qgis

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.

Related

Visio "breaking" arrow

Can anyone help me how to stop Visio doing what is in the left example (in the picture). If I put the above object not centered with the bellow object, the arrow is ok.
You should be able to right-click the connector and select Straight Connector.
Screenshot from Visio
Note that I moved the document object to show the difference between a straight-line connector and a right-angle connector. In my case, I was getting a straight line with both connectors if I center the document object.
First you can right click on the arrow and select "Straight Connector". If this is not working, then try the following.
You can add connector points to the below object wherever required so that the arrow can be straight vertically.
Click on X mark next to connector option, then hold the ctrl button and click on the object to place the connector end then connect the objects.
Hope this might solve your problem.
You can try fiddling with the Layout & Routing settings.
Right-click the Page Tab, then go to:
Page Setup > Layout and Routing > Routing
There are a bunch of settings for the style of chart, but have an extra look at the Style and Appearance drop-downs.
These settings govern the default layout/routing settings for the page.
Some of this can also be set via: Design > Layout > Re-layout Page and Design > Layout > Connectors

Viewing "alphabetical filters" on a small screen

The Paraview "Alphabetical Filters" menu appears to be bigger than my laptop screen.
When I open the menu, a list of filters covers my entire screen (as has happened when I've used Paraview previously on other, larger, screens). I see filters listed alphabetically. They start at "AMR connectivity" on the upper-left corner of the screen, but terminate with "Tube" at the bottom right, with filters U through Z out of sight.
How can I access the full set of filters on this laptop?
This is Paraview 5.4.1 64-bit on lubuntu.
There is a dedicated option for this, but only with ParaView >= 5.5.0
Edit->Settings->Show advanced options (cogwheel)
General->Force Single Column Filter Menu
In Paraview 5.4, the menu text size can be reduced, allowing more options to fit on the screen:
edit > settings > general > GUI font > override font > set font size to 8
This fix works down to a 14" or 15" screen, provided the user is comfortable reading small text.

Papyrus palette customization

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.

Eclipse GEF graphical editor without header

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?)

Implementing quick fixes list in eclipse

I develop plugin for eclipse, which marks some location in files. Also, user must have ability to do some actions with this markers, something like this list of actions in spellchecker:
http://i.stack.imgur.com/euB3g.png
but the only realization i've found is http://wiki.eclipse.org/FAQ_How_do_I_implement_Quick_Fixes_for_my_own_language%3F
which implements quick fixes list which looks more like autocompletion list (screenshot is in article above).
So how i can implement list of quick fixes, which will be shown in marker's tooltip? This must work in any editor, or at least in CDT's editor and default text editor in eclipse.
The Eclipse Wiki article you reference is the correct way to add quick fixes. The quick fixes are associated with markers which may appear in your editor (if they are associated with a resource and line number).
There are several ways markers and their quick fixes are visible. In the java editor, markers by default appear highlighted with an icon in the ruler. Clicking on the icon, hitting ctrl+1 while editing that line, or hovering over the marker will open a popup with quickfixes.
Markers are also visible in the problems view. Similarly you can use the context menu or Ctrl+1 to open possble quickfixes.