]> gerrit.simantics Code Review - simantics/platform.git/commit
Improved PDF diagram export wizard user experience 26/626/4
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Wed, 14 Jun 2017 16:45:36 +0000 (19:45 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Wed, 14 Jun 2017 17:24:08 +0000 (20:24 +0300)
commit83b58da86c173e771f7083778799b79b2fb152c8
tree2b5cf490416fc54ec51993a735a1ea4dd6365673
parent75809ec96a58c23cc89131637fbc65435ac482af
Improved PDF diagram export wizard user experience

* Page number addition is now an option in the wizard page
* The diagram selection tree no longer automatically expands itself
  fully when any node is (un)checked. Automatic expansion is only done
  up to the second node level only.
* The diagram filter now works with a 500ms quiet time delay which means
  writing in the filter shouldn't slow down the UI like it used to.
* Initial selection is more properly taken into account when
  initializing the wizard page. The containing model/index root is
  always sought based on the selection and the diagrams contained by the
  selected resource are then initially selected for that model in the
  diagram list.
* The Select/Deselect Visible buttons have been removed and Expand and
  Collapse buttons have been added instead for expanding and collapsing
  the selected tree nodes.
* The Select All and Deselect All buttons now work differently. If any
  filter is applied to the current tree view, only the diagrams shown in
  the tree are selected/deselected when either button is pressed. If no
  filter is applied, all diagrams will be selected/deselected.

refs #7297

Change-Id: I078a80528ba91c337f9921422d08a75c95cad45f
bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/pdf/NodeTree.java [new file with mode: 0644]
bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/pdf/PDFDiagramExportWizard.java
bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/pdf/PDFExportPage.java
bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/pdf/PDFExportPlan.java
bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/pdf/Preferences.java
bundles/org.simantics.modeling/src/org/simantics/modeling/requests/CollectionRequest.java
bundles/org.simantics.modeling/src/org/simantics/modeling/requests/CollectionResult.java
bundles/org.simantics.modeling/src/org/simantics/modeling/requests/Node.java
bundles/org.simantics.modeling/src/org/simantics/modeling/requests/Nodes.java