Commit 55b2a7c4 authored by Florian Hölzl's avatar Florian Hölzl
Browse files

AF3: Increased zoom levels of graphical editors.

Issue-Ref: 3970
Issue-Url: https://af3-developer.fortiss.org/issues/3970


Signed-off-by: Florian Hölzl's avatarFlorian Hoelzl <hoelzl@fortiss.org>
parent eeffbebc
ComponentControllerFactory.java 57c48af3d6c2d51a9040a8b754a8b19b73525777 GREEN
ComponentModelFactory.java 9141373b9498b8e947ef1ca8921128bdf66ec308 GREEN
ComponentStructureFXEditor.java f700dad49091eda8711bc7917b31f56b7097bea5 YELLOW
ComponentStructureFXEditor.java c9016fd1b30ee8ed98cace186615c03ccb894abc YELLOW
ComponentStructureFXEditorBinding.java 19ca73be6a4ea974994d26db537329878748b20d GREEN
ComponentVisualFactory.java 5422167d12bb5553ed816363d41e0288fe481056 GREEN
......@@ -45,8 +45,5 @@ public class ComponentStructureFXEditor extends LWFXEFEditorBase<Component> {
DiagramViewerFeatures features = viewer.getFeatures();
features.setIndicatorSpacing(new Dimension2D(12, 12));
features.setBackgroundColor(LIGHTGRAY);
// extend zoom factors
features.setZoomFactors(new double[] {0.5, 0.75, 1, 1.5, 2, 4, 6});
features.setZoomFactorIndex(2); // Zoom x1
}
}
ModeAutomatonControllerFactory.java 3e60fb8432aef914d0c63e8dfeb18b6ac57ddb6f GREEN
ModeAutomatonFXEditor.java a04e0c314265b7e2036c90778ba49500b88d491c YELLOW
ModeAutomatonFXEditor.java 0e772da01045f7dc39c1005735c47e51d8b92a5b YELLOW
ModeAutomatonFXEditorBinding.java d3503a20fc9fccc6a8805674bdabaa2135fd28c2 GREEN
ModeAutomatonModelFactory.java 90826e0ff88b73784e41cc71f473c11daa6bc36d GREEN
ModeAutomatonVisualFactory.java a9b82127b572bf9533474bcf22168e79922b2f16 GREEN
......
......@@ -46,8 +46,5 @@ public class ModeAutomatonFXEditor extends LWFXEFEditorBase<ModeAutomaton> {
features.setIndicatorType(IndicatorType.INVISIBLE);
features.setUseSnapToGrid(false);
features.setBackgroundColor(LIGHTGRAY.brighter());
// extend zoom factors
features.setZoomFactors(new double[] {0.5, 0.75, 1, 1.5, 2, 4, 6});
features.setZoomFactorIndex(2); // Zoom x1
}
}
PartitionControllerFactory.java 4344a25817d430e2e311354cf87b0753107f9e79 GREEN
PartitionModelFactory.java 3ef78670e39599c365f79c4c12926d1cdbb244dd GREEN
PartitionStructureFXEditor.java 895fd14c5a1bd3f6c8843cfa6e1b0da86e6db3ba YELLOW
PartitionStructureFXEditor.java 698364f7c536de966efe44c80450ba0196b5b140 YELLOW
PartitionStructureFXEditorBinding.java 13e7a89639e26ec012549bceabecff6d55353fc6 GREEN
PartitionVisualFactory.java f9bf5e8e98c2ae4c8d1bc8829d2dc1163f972e09 GREEN
......@@ -47,8 +47,5 @@ public class PartitionStructureFXEditor extends LWFXEFEditorBase<PartitionArchit
DiagramViewerFeatures features = viewer.getFeatures();
features.setIndicatorSpacing(new Dimension2D(12, 12));
features.setBackgroundColor(LIGHTGRAY);
// extend zoom factors
features.setZoomFactors(new double[] {0.5, 0.75, 1, 1.5, 2, 4, 6});
features.setZoomFactorIndex(2); // Zoom x1
}
}
PlatformArchitectureFXEditor.java 0d8634b7788bc5eda514dbe72469155ed548a914 YELLOW
PlatformArchitectureFXEditor.java 40bfae198b562b291e8b203b50872d1ed6790b6d YELLOW
PlatformArchitectureFXEditorBinding.java 045f273a65df5baabfe8627a12d24eabdedf0747 GREEN
PlatformControllerFactory.java 4532d4e47238dc20caa31477991404869d1665dd GREEN
PlatformModelFactory.java 45e11ea2eb8b8b6a69a1548f1dc8847e45d5a5fa GREEN
......
......@@ -18,7 +18,6 @@ package org.fortiss.af3.platform.ui.editor.fx;
import org.eclipse.emf.ecore.EObject;
import org.fortiss.af3.platform.model.IPlatformArchitectureElement;
import org.fortiss.af3.platform.model.PlatformArchitecture;
import org.fortiss.tooling.common.ui.javafx.lwfxef.DiagramViewerFeatures;
import org.fortiss.tooling.kernel.ui.extension.base.LWFXEFEditorBase;
/**
......@@ -33,13 +32,4 @@ public class PlatformArchitectureFXEditor extends LWFXEFEditorBase<PlatformArchi
public Class<? extends EObject>[] getVisibleEObjectTypes() {
return new Class[] {PlatformArchitecture.class, IPlatformArchitectureElement.class};
}
/** {@inheritDoc} */
@Override
protected void customizeViewer() {
DiagramViewerFeatures features = viewer.getFeatures();
// extend zoom factors
features.setZoomFactors(new double[] {0.5, 0.75, 1, 1.5, 2, 4, 8});
features.setZoomFactorIndex(2); // Zoom x1
}
}
ArgumentModuleFXEditor.java 28b85e1f6c9b5f9360a141ee6b62ce1083bf42f1 YELLOW
ArgumentModuleFXEditor.java e01566f22bf80abb13d429d5ce9697d61f423ee6 YELLOW
ArgumentModuleFXEditorBinding.java bdd1868c9360aaf13c61ce34ecca72c4f86a1479 GREEN
ContractModuleFXEditor.java a87bc1ca56f48889668a431b72f752c3fdbd3f65 YELLOW
ContractModuleFXEditor.java a83278c801f379cb57cba2b7ae416bda5e425aa5 YELLOW
ContractModuleFXEditorBinding.java 44affdcff2783eb4425f36b90ca08be2f98b2846 GREEN
ModuleRefFXController.java c8eb3734050639550391b1f882d44557cbd9825b GREEN
ModuleRefFXEditor.java be6b5d86feb12f031b7b0d55aec838d1824a1c91 GREEN
ModuleRefFXEditorBinding.java 46ce72f3632dbb14a036ca738bdd1774ee3f52bc GREEN
SafetyCaseControllerFactory.java dfa02ba553df3a2311b2c30175e5052bf0f310ba GREEN
SafetyCaseFXEditor.java d33144b98dbdc032f980951e321bd8e4ed2e1715 YELLOW
SafetyCaseFXEditor.java 98d2175dbdf2d8e1b73cf65ac9d3211d4f08b5d0 YELLOW
SafetyCaseFXEditorBinding.java 2f2ca5a8293787b80766987f5c4ef4302ca73db3 GREEN
SafetyCaseModelFactory.java 11bc0d6d87ead39789b160ebec5fb5b2b5edd6d3 GREEN
SafetyCaseVisualFactory.java 6bc4cd538eee4f501a5f330127aaef5143790709 GREEN
......
......@@ -52,8 +52,5 @@ public class ArgumentModuleFXEditor extends LWFXEFEditorBase<SafetyModule> {
DiagramViewerFeatures features = viewer.getFeatures();
features.setIndicatorSpacing(new Dimension2D(12, 12));
features.setBackgroundColor(LIGHTGRAY);
// extend zoom factors
features.setZoomFactors(new double[] {0.5, 0.75, 1, 1.5, 2, 4, 6});
features.setZoomFactorIndex(2); // Zoom x1
}
}
......@@ -54,8 +54,5 @@ public class ContractModuleFXEditor extends LWFXEFEditorBase<SafetyModule> {
DiagramViewerFeatures features = viewer.getFeatures();
features.setIndicatorSpacing(new Dimension2D(12, 12));
features.setBackgroundColor(LIGHTGRAY);
// extend zoom factors
features.setZoomFactors(new double[] {0.5, 0.75, 1, 1.5, 2, 4, 6});
features.setZoomFactorIndex(2); // Zoom x1
}
}
......@@ -49,8 +49,5 @@ public class SafetyCaseFXEditor extends LWFXEFEditorBase<SafetyCase> {
DiagramViewerFeatures features = viewer.getFeatures();
features.setIndicatorSpacing(new Dimension2D(12, 12));
features.setBackgroundColor(LIGHTGRAY);
// extend zoom factors
features.setZoomFactors(new double[] {0.5, 0.75, 1, 1.5, 2, 4, 6});
features.setZoomFactorIndex(2); // Zoom x1
}
}
......@@ -5,7 +5,7 @@ DataStateFXEditorContentProvider.java 324cd24e2219ba2cf360b0f82e3628ca1b5dabba G
DataStateFXEditorUIProvider.java 4993d4a6685b7738dd28a7a55177ab43fe81fc53 GREEN
StateAutomatonControllerFactory.java 03d624ad560508280c01898da29eac0450bbb237 GREEN
StateAutomatonFXEditor.java eea88e496c873ec92f6b2a0735cbd3d542a3063f GREEN
StateAutomatonFXEditorBase.java c859156abb63435b2c1095a9a1e121ad4548a288 YELLOW
StateAutomatonFXEditorBase.java 901e1ce52a2a53fb73c160b0af7fd7fbfc1e3044 YELLOW
StateAutomatonFXEditorBinding.java 5fae7a8e04236c07d176a2b1ed22f7043e3a09fe GREEN
StateAutomatonFXEditorBindingBase.java c2bf20b1e1d709a9c7662a62795662f8fc33b855 GREEN
StateAutomatonModelFactory.java 07989fa95608fc8ce25e977cba898cf94932e0ae GREEN
......
......@@ -46,8 +46,5 @@ public abstract class StateAutomatonFXEditorBase<T extends EObject> extends LWFX
features.setIndicatorType(IndicatorType.INVISIBLE);
features.setUseSnapToGrid(false);
features.setBackgroundColor(LIGHTGRAY.brighter());
// extend zoom factors
features.setZoomFactors(new double[] {0.5, 0.75, 1, 1.5, 2, 4, 6});
features.setZoomFactorIndex(2); // Zoom x1
}
}
TaskControllerFactory.java 0848ed11c7540bc33da0f7cc83b6f38ac5967c66 GREEN
TaskModelFactory.java 0cc5667983d0a3a05cfccf2c112c0b9fdd2f2b18 GREEN
TaskStructureFXEditor.java 0bec0bb44d5d56aad708e379fdf89410a0dfaf30 YELLOW
TaskStructureFXEditor.java 3ef57ad59ab27e8f967a5f228d5344dd77762cc2 YELLOW
TaskStructureFXEditorBinding.java 9fb0efbe02efba3b2152d4a339f0f118e184e251 GREEN
TaskVisualFactory.java 361801eb860ac472bc9284ad7dea52b591b19739 GREEN
......@@ -45,8 +45,5 @@ public class TaskStructureFXEditor extends LWFXEFEditorBase<TaskArchitecture> {
DiagramViewerFeatures features = viewer.getFeatures();
features.setIndicatorSpacing(new Dimension2D(12, 12));
features.setBackgroundColor(LIGHTGRAY);
// extend zoom factors
features.setZoomFactors(new double[] {0.5, 0.75, 1, 1.5, 2, 4, 6});
features.setZoomFactorIndex(2); // Zoom x1
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment