Pål Hagen
756e793519
( #386 ) Added "Delete" to the grid case group context menu
...
Note: Used to be "Close" in the old tree view. Using existing feature
for deletion, for now.
2015-08-21 15:44:12 +02:00
Pål Hagen
89ee164c8a
Added "Paste" to the context menu of "Derived Statistics"
2015-08-21 15:08:07 +02:00
Pål Hagen
762083a5b6
( #388 ) Added RicComputeStatisticsFeature
2015-08-21 14:53:45 +02:00
Pål Hagen
afe596aa2a
( #388 ) Added RicNewStatisticsCaseFeature
2015-08-21 11:47:59 +02:00
Jacob Støren
bbde32af26
( #374 ) Fixed property filter not working when no color results was active
2015-08-20 17:50:07 +02:00
Jacob Støren
2e1a542749
Some context menu cleanup
2015-08-20 17:19:38 +02:00
Jacob Støren
a6c59f4160
( #384 ) Fixed Script tree in the new project tree
2015-08-20 15:48:37 +02:00
Jacob Støren
f174615098
Replaced use of capability template with convenience
2015-08-20 15:24:49 +02:00
Pål Hagen
c5606a46aa
( #339 ) Added "New Grid Case Group" to the context menu of "Grid Models"
2015-08-20 14:20:13 +02:00
Pål Hagen
fb6baee197
( #339 ) Added RicCreateGridCaseGroupFeature
2015-08-20 14:11:21 +02:00
Pål Hagen
6e48e036c1
( #339 ) Added RicImportEclipseCaseFeature
2015-08-20 13:54:20 +02:00
Pål Hagen
cd1e04d6e8
( #339 ) Added RicImportEclipseCaseFeature
2015-08-20 13:44:45 +02:00
Pål Hagen
4d1f98c138
( #339 ) Added RicAddScriptPathFeature and RicDeleteScriptPathFeature
...
Did some additional refactoring - added code common to script related
features to RicScriptFeatureImpl.
2015-08-20 11:59:07 +02:00
Jacob Støren
c599fd39f8
( #372 ) Drag Drop Move implemented.
...
User question on closing/moving a statistics source case
2015-08-20 10:43:49 +02:00
Pål Hagen
ac529b77da
( #339 ) Added RicNewScriptFeature
2015-08-20 10:32:03 +02:00
Jacob Støren
c1b971e4d4
Added OBSOLETE to the old toggle commands
2015-08-20 08:03:32 +02:00
Pål Hagen
a01618cc8e
( #339 ) Added RicEditScriptFeature
2015-08-19 18:17:45 +02:00
Pål Hagen
28e7c8b19c
( #339 ) Refactored execution of scripts for selected cases
...
Moved slotExecuteScriptForSelectedCases() from RiuMainWindow to
RicExecuteScriptForCasesFeature.
2015-08-19 13:23:26 +02:00
Pål Hagen
ea87fc0746
( #339 ) Added RicExecuteScriptForCasesFeature
2015-08-18 16:36:37 +02:00
Pål Hagen
d466d58164
( #339 ) Added RicExecuteScriptFeature
2015-08-18 15:07:00 +02:00
Pål Hagen
c52c029045
( #339 ) Using generic deletion feature to delete views
...
Note: Old version used to say "Delete" in the context menu, now it says
"Delete object".
2015-08-18 14:10:34 +02:00
Pål Hagen
9c4766a262
( #339 ) Added RicCloseCaseFeature
2015-08-18 13:41:53 +02:00
Jacob Storen
5defe45209
Linux compile fix
2015-08-18 03:42:51 -07:00
Jacob Støren
c3db342474
( #361 ) Toggle commands now implemented in new tree
2015-08-18 12:08:46 +02:00
Jacob Støren
eadf1ca300
( #361 ) Refactored "On" as a start on the toggle commands
2015-08-18 10:52:18 +02:00
Pål Hagen
67fedfd699
( #339 ) Added RicNewViewFeature
...
TODO: Expand new view in treeview when inserted
2015-08-18 10:36:23 +02:00
Pål Hagen
5b4de5dae1
( #366 ) Made sure that feature names correspond to the class names
2015-08-17 15:09:01 +02:00
Pål Hagen
03fcd1ad9d
Commented out command ids that are not implemented yet
2015-08-17 14:27:21 +02:00
Pål Hagen
b5726e1051
Added comments for obsolete treeview slots (added to new project tree)
2015-08-17 11:45:37 +02:00
Jacob Støren
b9343fd21e
Made the menu builder in RimProject handle separators.
...
Also rigging for Script commands and generic toggle
2015-08-17 10:51:13 +02:00
Jacob Støren
bb2eda3e73
( #379 )( #377 ) Moved store/restore of tree view state to new tree
...
Also refactored slotCreateCommandObject
2015-08-17 09:38:27 +02:00
Jacob Støren
6ca74621ef
( #378 ) Refactored Expansion in MainWindow,
...
Removed some use of the obsolete tree view model
2015-08-14 18:06:22 +02:00
Jacob Storen
f3810640ca
Fixed Linux compile issues
2015-08-14 06:42:12 -07:00
Jacob Støren
a8a1b61646
( #373 ) Fixed update after delete.
...
Removed the editors used to update after delete, and did all the updating from
the command directly.
Less code easier to follow, not as generic.
2015-08-14 15:20:50 +02:00
Jacob Støren
f5d15c19e1
firstAnchestorOfType now considers the object itself as well.
...
It is thus renamed to firstAnchestorOrThisOfType
2015-08-14 14:04:47 +02:00
Jacob Støren
1719a10954
Fixed crash when deleting Geomech Range filters
2015-08-14 13:27:31 +02:00
Jacob Støren
d371da246f
Renamed uiPdmModel() to uiPdmModel_OBSOLETE()
...
To make it easier to see what code is using the obsolete stuff.
2015-08-14 13:27:17 +02:00
Magne Sjaastad
6a28ea2070
Show only paste command if selection contains multiple objects
2015-08-14 12:08:56 +02:00
Magne Sjaastad
15f3e793f8
Added paste of geo mech views feature
2015-08-14 10:50:08 +02:00
Magne Sjaastad
d466624e45
Added command features for paste of Eclipse view and Eclipse case
2015-08-14 10:17:32 +02:00
Magne Sjaastad
a1ecc50605
Added CopyReferencesToClipboardFeature
2015-08-14 10:17:31 +02:00
Jacob Støren
235e024533
( #354 ) Called updateConnectedEditors everywhere updateUiSubTree is called
2015-08-13 21:28:09 +02:00
Jacob Støren
369797b3d8
Re-introduced firstAnchestorOfType
2015-08-13 11:38:32 +02:00
Magne Sjaastad
fd5bd534f6
Added dummy static class to fix issue with single macro in cpp
...
The implementation of this dummy class is put in the file with the
single macro defining the UI editor. This will cause the cpp file to
always be compiled.
2015-08-12 21:51:02 +02:00
Magne Sjaastad
ee78d3c148
Use a string list to represent commands for context menu
2015-08-12 21:19:06 +02:00
Magne Sjaastad
bf5dae4887
Renamed files
2015-08-12 21:09:03 +02:00
Magne Sjaastad
9bee1b81fc
Added commands for well path features
2015-08-12 20:59:38 +02:00
Magne Sjaastad
9f16c859c6
Added command feature for SSIHUB import
2015-08-12 20:12:50 +02:00
Magne Sjaastad
8f051e6a72
Added UI editor handle to update 3D view
2015-08-12 11:30:27 +02:00
Magne Sjaastad
bcf1109412
Use general delete on property filters, and deleted obsolete files
2015-08-12 11:10:20 +02:00
Magne Sjaastad
f9df484974
Added a property filter UI editor handle
...
A UI editor handle is attache to the "propertyFilters" field used to
update 3D view and other UI editors
2015-08-12 11:10:20 +02:00
Magne Sjaastad
fb5fb51fc1
Added initAfterRead()
2015-08-12 11:10:19 +02:00
Magne Sjaastad
eefa1c0ca8
Simplified property filters and removed m_parentContainer
2015-08-12 11:10:19 +02:00
Jacob Støren
fb88414fec
Reset textfields in Project storing TreeView selection and expansion state
...
This avoids an assert, and that selection stat bleeds through from one project to next.
2015-08-12 10:51:52 +02:00
Jacob Støren
3e1ff60c82
Fixed new tree view regarding Statisics Cases
2015-08-12 10:51:48 +02:00
Magne Sjaastad
232d44b58c
Added general delete feature and use from cell range filter
2015-08-11 20:59:05 +02:00
Magne Sjaastad
250a2f6a93
Find parent container instead of having a member pointer
2015-08-11 20:58:10 +02:00
Magne Sjaastad
005114cc3e
Fixed several todo for RimEclipseStatisticsCaseCollection::parentCaseGroup(), removed comments
2015-08-11 18:42:44 +02:00
Pål Hagen
b18cd87727
Renamed command
2015-08-11 15:38:20 +02:00
Pål Hagen
b0aac08827
Removed unused action
2015-08-11 15:35:53 +02:00
Pål Hagen
45ec9543c7
Added "new" and "insert" commands for geomech property filters
2015-08-11 15:33:17 +02:00
Jacob Støren
8bc9c734a2
Fixed the GeoMech part of the tree.
2015-08-11 15:23:57 +02:00
Jacob Støren
3d599542f4
Fixed the top levels of the new tree
...
Including Scripts and Well Paths
2015-08-11 15:22:49 +02:00
Magne Sjaastad
421c2e3685
Added guarding of missing legendConfig
2015-08-11 11:15:31 +02:00
Pål Hagen
198da4d553
Using variable for first selected UI item
2015-08-11 10:55:53 +02:00
Magne Sjaastad
5610bf5a10
Fixed visibility and rebuild of child items for filters
2015-08-10 23:23:41 +02:00
Magne Sjaastad
56907a5c6e
Fixed typo
2015-08-10 21:59:07 +02:00
Jacob Støren
b35e37bde2
Alligned the GeoMechResultDefinition to the EclipseResultDefinition way of updating the PropertyFilter
2015-08-10 17:28:32 +02:00
Jacob Støren
df0b4164c5
Got rid of the "ownership"-changes in EclipseResultDefinition with friends.
...
Updating is now done more explicitly.
2015-08-10 17:28:29 +02:00
Pål Hagen
9ab60b1477
Added command features for "insert" and "delete" for property filters
...
Made sure that only "new" is available for property filter collections,
while "insert" and "delete" are available for property filters in the
tree view. TODO: Implement execution for insert and delete
2015-08-10 13:35:57 +02:00
Magne Sjaastad
8fe6831355
Fixed visibility of even more items in tree view
2015-08-10 08:00:16 +02:00
Magne Sjaastad
65d372dd70
Fixed visibility of more items in tree view
2015-08-09 14:12:09 +02:00
Magne Sjaastad
111509e52a
Set uiHidden states in order to make the new tree view identical to previous
2015-08-09 11:16:52 +02:00
Pål Hagen
cf1cda6fb0
Added some new command features for the treeview context menu (WIP)
2015-08-07 15:08:17 +02:00
Magne Sjaastad
322866b929
Removed comment
2015-08-07 12:41:18 +02:00
Magne Sjaastad
767defd90f
Set pointer to NULL before insterting into ChildArray
2015-08-07 12:40:47 +02:00
Jacob Støren
78323e2299
Fixed crash due to missing LegendConfig
2015-08-07 11:09:05 +02:00
Pål Hagen
566f2c4cd7
Added some commands for eclipse views (WIP)
2015-08-06 16:24:33 +02:00
Magne Sjaastad
d041f27416
Added uiTreeViewOrdering to RimProject
2015-08-06 16:05:32 +02:00
Pål Hagen
a9e7a8f461
WIP - command for adding property filters
2015-08-06 14:54:18 +02:00
Pål Hagen
ad800bc594
WIP - commands for adding range filters
...
TODO: Implement actions when commands are triggered, and update project
treeview
2015-08-06 14:01:23 +02:00
Magne Sjaastad
f748b68e0c
Prototyped commands for new treeview
2015-08-06 11:00:21 +02:00
Magne Sjaastad
f8871e9808
Use PtrField as placeholder for current legend config
...
Set previous current legend to obsolete
When reading a file < 1.3.7.-dev, copy current legend config into legend
list
2015-08-06 08:08:16 +02:00
Magne Sjaastad
cb6564e381
Removed unused function setPosition. Access legendConfig as pointer instead of field
2015-08-06 08:08:16 +02:00
Pål Hagen
f45c50fb43
Bugfix - getting correct pointer for parent case group
...
Getting the parent field's owner object instead of the owner of this.
Removed some out-commented TODO code/comments.
2015-08-05 14:55:16 +02:00
Magne Sjaastad
90762d0f0f
Use uiCapability/xmlCapability instead of capability<caf::PdmUiFieldHandle>()(capability<caf::PdmXmlFieldHandle>()
2015-08-05 13:27:36 +02:00
Magne Sjaastad
57e363896f
Replaced uiField() and xmlField() with uiCapability() and xmlCapability()
2015-08-05 12:34:07 +02:00
Magne Sjaastad
05ebf92e62
Fixed includes for linux
2015-08-04 13:40:57 +02:00
Magne Sjaastad
690a264c81
Use helper class to read/write using QSettings
2015-08-04 11:47:06 +02:00
Magne Sjaastad
31b3e506e9
Changed container from PdmChildArrayField to std::vector
2015-08-01 23:16:01 +02:00
Magne Sjaastad
92f0d64eaf
PdmDocument inherits directly from PdmObject and not PdmObjectGroup
2015-08-01 23:04:04 +02:00
Magne Sjaastad
453ee2e4ea
Updated macro
2015-07-31 19:02:11 +02:00
Magne Sjaastad
737936d846
Major modularization adjustments
...
Use uiField() when issuing setUi....() commands
Use PdmChildArrayField instead of PdmPointersFielc
Use PdmChildField instead of PdmField to pdm pointer objects
Use PdmChildArrayField instead of PdmField< std::list< caf::PdmPointer<
type > > >
Use PdmObjectHandle instead of PdmObject
Replaced parentFields(std::vector) with parentField()
Use PdmUiPropertyViewDialog instead of PdmUiPropertyDialog
2015-07-31 18:58:23 +02:00
Pål Hagen
22c0c812af
( #80 ) Refactored navigation mode related code
...
Made sure that navigation policies are created only one place, in the
new member function RiuViewer::updateNavigationPolicy().
2015-07-02 14:53:35 +02:00
Pål Hagen
c863d087f0
( #80 ) Added navigation modes
...
New navigation modes: GeoQuest and RMS. In addition, right mouse button
can now be used for panning in CAD navigation mode.
2015-07-02 14:53:34 +02:00
Jacob Støren
1a3a2f1ff5
( #119 ) Improved naming of Property Filters
...
Finalized.
2015-07-02 12:50:38 +02:00
Jacob Støren
34a88c0215
( #119 ) New property filter gets name from the active result
2015-07-01 15:26:00 +02:00
Jacob Støren
dad1520948
( #226 ) Cell Edge defaults for new views: Off and MULT
2015-07-01 14:46:44 +02:00
Jacob Støren
46bca827aa
( #226 ) CellEdge Result: Check box in tree.
...
The MULT result is not yet set as default property.
2015-07-01 14:46:44 +02:00
Pål Hagen
dccfe9afb3
Bugfix: Correct handling of deletion of geo mech property filters
2015-07-01 12:07:01 +02:00