Use “Merge Items in Room” option to merge Items List in two differents rooms together. With this option it is possible to handle more than one version of the same room.
The Occurrences in a Room will have a connection to the occurrence within the original room, that gives an option to merge the Occurrences.
Select the Room that the merge Item lists should be placed within.
Select “Merge Items from” within the Ribbon menu. And a window will appear.
Select the room you want to merge the Items from.
Select “Ok”. A list of actions will appear:
...
5. Uncheck boxes of actions that should not be included in the merge.
6. Select “ok”
The Occurrences of the items selected in step 3 are now merge with the Occurrences in the room selected in step 1.
The goal of merging is to keep as much of the historical values of the occurrences, that means that dRofus tries to keep the oldest version of the occurrence if that is possible.
Info |
---|
Example
|
Note |
---|
The Copy room and merge items function can be used to work with rooms that are in two phases in once. |
Rules applied to the Merge items from room function
With the merge function there is a lot of rules that decide what will happen in each case.
These rules are:
Only Exists In Source:
•The occurrence is new in the source room (created after the copied was performed).
•The merge will move it to the target room;
Only Exists In Target:
•The occurrence is new in the target room (created after the copied was performed).
•The merge will leave it in the target room;
Source Equals Target:
•The occurrence in both source and target rooms is equal.
•The merge will not change the occurrence in target room but will delete the occurrence in the source room;
Source Exists Target Deleted:
•The occurrence still exists in the source room, but it was deleted in the target room.
•The merge won't do anything with the occurrences;
Source Deleted Target Exist:
•The occurrence was deleted in the source room, but still exists in target.
•The merge will delete the occurrence in the target room;
SourceAndTargetChanged':
•The occurrence was change in both the source and target rooms.
•The merge will move the changed occurrence in the source room to the target room, keeping both occurrences in the source room.
'OnlySourceChanged':
•The occurrence was changed only in the source room.
•The merge will move the original occurrence to the target room and delete the other occurrence in target;
'OnlyTargetChanged':
•The occurrence was changed only in the target room.
•The merge will move the original occurrence to the target room, apply the changes that were done in target room to this and delete the other occurrence in target;
'SourceIsSystemComponentAndTargetChanged':
•This is a special case of 'OnlyTargetChanged', where only the occurrence in the source room was changed, but the occurrence in the source room is a system component.
•The merge will move the occurrence in the source room to the target room and keep the modified occurrence in the target room."部屋のアイテムをマージ (Merge Items in Room)" オプションを使用すると、
2つの異なる部屋の、アイテムリストを一緒にマージすることができます。
このオプションを使用すると、同じ部屋の複数のバージョンを扱うことができます。
部屋内のオカレンスは、オリジナルの部屋との接続を持ち、
オカレンスをマージするオプションがあります。
マージアイテムリストを配置する部屋を選択します。
リボンメニューから "マージ・アイテム元" を選択します。ウィンドウが表示されます。
アイテムをマージしたい部屋を選択します。
"OK" を選択します。実行リストが表示されます:
...
5. マージに含めるべきではないアクションのチェックボックスをオフにします。
6. "OK "を選択します。
ステップ3で選択されたアイテムのオカレンスは、ステップ1で選択された部屋のオカレ ンスと、
マージされます。
つまり、dRofusは可能であれば、オカレンスの最も古いバージョンを保持しようとします
- マージする目的は、オカレンスの過去の値をできるだけ保持することです。
Info |
---|
例
|
Note |
---|
部屋のコピーとアイテムのマージ機能は、一度に2つのフェーズにある部屋を操作するために、 |
部屋機能からアイテムのマージに適用されるルール
マージ 機能には、それぞれのケースで何が起こるかを決定づける多くのルールがあります。
これらのルールは以下の通りです:
Only Exists In Source:
•そのオカレンスは、ソース部屋で新たに発生したものである (コピーされた後に作成されたもの)。
•マージ はそれをターゲット部屋に移動させる;
Only Exists In Target:
•オカレンスは新しいターゲット部屋 (コピー後に作成)である。
•マージはターゲット部屋に置く;
Source Equals Target:
•ソース部屋とターゲット部屋の両方でのオカレンスは等しい。
•マージはターゲット部屋のオカレンスを変更しませんが、ソース部屋のオカレンスを削除します;
Source Exists Target Deleted:
•このオカレンスはソース部屋にはまだ存在しますが、ターゲット部屋では削除されました。
•マージはオカレンスに対して何もしない;
Source Deleted Target Exist:
•オカレンスはソース部屋で削除されたが、ターゲット部屋にはまだ存在する。
•マージ はターゲット部屋のオカレンスを削除します;
SourceAndTargetChanged':
•オカレンスはソース部屋とターゲット部屋の両方で変化した。
•マージは、ソース部屋の変更されたオカレンスをターゲット部屋に移動し、両方のオカレンスを
ソース部屋に残します。
'OnlySourceChanged':
•オカレンスはソース部屋でのみ変更された。
•マージは、元のオカレンスをターゲット部屋に移動し、ターゲットにあるもう1つのオカレンスを
削除する;
'OnlyTargetChanged':
•オカレンスはターゲット部屋でのみ変更された。
•マージ は元のオカレンスをターゲット部屋に移動し、ターゲット部屋で行われた変更をこれに適用し、
ターゲット部屋にあるもう一つのオカレンスを削除します;
'SourceIsSystemComponentAndTargetChanged':
•これは “OnlyTargetChanged” の特殊なケースで、ソース部屋のオカレンスのみが変更されたが、
ソース部屋のオカレンスはシステムコンポーネントである。
•マージ はソース部屋のオカレンスをターゲット部屋に移動し、変更されたオカレンスを、
ターゲット部屋に保持します。