From fb283ab668cb594d92f40a1832309eab27542f95 Mon Sep 17 00:00:00 2001 From: Eyck Jentzsch Date: Thu, 2 Apr 2020 14:13:39 +0200 Subject: [PATCH 01/15] change database interface --- .../com/minres/scviewer/database/leveldb/LevelDBLoader.java | 2 +- .../com/minres/scviewer/database/sqlite/SQLiteDbLoader.java | 2 +- .../src/com/minres/scviewer/database/text/TextDbLoader.groovy | 4 ++-- .../src/com/minres/scviewer/database/vcd/VCDDbLoader.java | 2 +- .../src/com/minres/scviewer/database/IWaveformDbLoader.java | 3 +-- 5 files changed, 6 insertions(+), 7 deletions(-) diff --git a/com.minres.scviewer.database.leveldb/src/com/minres/scviewer/database/leveldb/LevelDBLoader.java b/com.minres.scviewer.database.leveldb/src/com/minres/scviewer/database/leveldb/LevelDBLoader.java index 8f7ee35..c5c844a 100644 --- a/com.minres.scviewer.database.leveldb/src/com/minres/scviewer/database/leveldb/LevelDBLoader.java +++ b/com.minres.scviewer.database.leveldb/src/com/minres/scviewer/database/leveldb/LevelDBLoader.java @@ -64,7 +64,7 @@ public class LevelDBLoader implements IWaveformDbLoader { } @Override - public List getAllWaves() { + public Collection getAllWaves() { List streams=new ArrayList(); SeekingIterator it = levelDb.iterator(); it.seek("s~"); diff --git a/com.minres.scviewer.database.sqlite/src/com/minres/scviewer/database/sqlite/SQLiteDbLoader.java b/com.minres.scviewer.database.sqlite/src/com/minres/scviewer/database/sqlite/SQLiteDbLoader.java index d90f686..a1f2ac6 100644 --- a/com.minres.scviewer.database.sqlite/src/com/minres/scviewer/database/sqlite/SQLiteDbLoader.java +++ b/com.minres.scviewer.database.sqlite/src/com/minres/scviewer/database/sqlite/SQLiteDbLoader.java @@ -61,7 +61,7 @@ public class SQLiteDbLoader implements IWaveformDbLoader { } @Override - public List getAllWaves() { + public Collection getAllWaves() { SQLiteDatabaseSelectHandler handler = new SQLiteDatabaseSelectHandler(ScvStream.class, database); List streams=new ArrayList(); try { diff --git a/com.minres.scviewer.database.text/src/com/minres/scviewer/database/text/TextDbLoader.groovy b/com.minres.scviewer.database.text/src/com/minres/scviewer/database/text/TextDbLoader.groovy index 2ae1676..3b3a45a 100644 --- a/com.minres.scviewer.database.text/src/com/minres/scviewer/database/text/TextDbLoader.groovy +++ b/com.minres.scviewer.database.text/src/com/minres/scviewer/database/text/TextDbLoader.groovy @@ -50,8 +50,8 @@ public class TextDbLoader implements IWaveformDbLoader{ } @Override - public List getAllWaves() { - return new LinkedList(streams); + public Collection getAllWaves() { + return streams; } public Map getGeneratorsById() { diff --git a/com.minres.scviewer.database.vcd/src/com/minres/scviewer/database/vcd/VCDDbLoader.java b/com.minres.scviewer.database.vcd/src/com/minres/scviewer/database/vcd/VCDDbLoader.java index a0f12db..fb7f474 100644 --- a/com.minres.scviewer.database.vcd/src/com/minres/scviewer/database/vcd/VCDDbLoader.java +++ b/com.minres.scviewer.database.vcd/src/com/minres/scviewer/database/vcd/VCDDbLoader.java @@ -128,7 +128,7 @@ public class VCDDbLoader implements IWaveformDbLoader, IVCDDatabaseBuilder { * @see com.minres.scviewer.database.ITrDb#getAllWaves() */ @Override - public List getAllWaves() { + public Collection getAllWaves() { return signals; } diff --git a/com.minres.scviewer.database/src/com/minres/scviewer/database/IWaveformDbLoader.java b/com.minres.scviewer.database/src/com/minres/scviewer/database/IWaveformDbLoader.java index 16f897d..1ccba07 100644 --- a/com.minres.scviewer.database/src/com/minres/scviewer/database/IWaveformDbLoader.java +++ b/com.minres.scviewer.database/src/com/minres/scviewer/database/IWaveformDbLoader.java @@ -12,7 +12,6 @@ package com.minres.scviewer.database; import java.io.File; import java.util.Collection; -import java.util.List; public interface IWaveformDbLoader { @@ -20,7 +19,7 @@ public interface IWaveformDbLoader { public Long getMaxTime(); - public List getAllWaves() ; + public Collection getAllWaves() ; public Collection getAllRelationTypes() ; From 20824e75c109114491dda4113220eabb7e2986a1 Mon Sep 17 00:00:00 2001 From: Eyck Jentzsch Date: Thu, 2 Apr 2020 14:15:01 +0200 Subject: [PATCH 02/15] remove fixed color assignment --- .../scviewer/database/ui/TrackEntry.java | 31 ++++--------------- 1 file changed, 6 insertions(+), 25 deletions(-) diff --git a/com.minres.scviewer.database.ui/src/com/minres/scviewer/database/ui/TrackEntry.java b/com.minres.scviewer.database.ui/src/com/minres/scviewer/database/ui/TrackEntry.java index 534d4a9..3bc00a5 100644 --- a/com.minres.scviewer.database.ui/src/com/minres/scviewer/database/ui/TrackEntry.java +++ b/com.minres.scviewer.database.ui/src/com/minres/scviewer/database/ui/TrackEntry.java @@ -51,31 +51,12 @@ public class TrackEntry { result[0] = fallback; result[1] = highlightedFallback; - - // assign colors to standard values - if (streamValue.contains("read")){ - result[0] = new Color(86,174,53); - result[1] = new Color (86,194,53); - }else if (streamValue.contains("rdata")){ - result[0] = new Color(138,151,71); - result[1] = new Color (138,171,71); - }else if (streamValue.contains("addr")){ - result[0] = new Color(233,187,68); - result[1] = new Color (233,207,68); - }else if (streamValue.contains("write")){ - result[0] = new Color(1,128,191); - result[1] = new Color (1,128,211); - }else if (streamValue.contains("wdata")){ - result[0] = new Color(2,181,160); - result[1] = new Color (2,201,160); - - }else { - // assign "random" color here, one name always results in the same color! - if( randomColors.length > 0 ) { - int index = Math.abs(streamValue.hashCode()) % randomColors.length; - result[0] = randomColors[index][0]; - result[1] = randomColors[index][1]; - } + + // assign "random" color here, one name always results in the same color! + if( streamValue!=null && randomColors.length > 0 ) { + int index = Math.abs(streamValue.hashCode()) % randomColors.length; + result[0] = randomColors[index][0]; + result[1] = randomColors[index][1]; } return result; From 8b84f1341bf6c6c2e42c3b778b2d70fcdaf47371 Mon Sep 17 00:00:00 2001 From: Eyck Jentzsch Date: Fri, 8 May 2020 08:38:43 +0200 Subject: [PATCH 03/15] add performance improvement fixes --- com.minres.scviewer.database.text/pom.xml | 4 +- .../database/text/TextDbLoader.groovy | 47 ++++++------------- com.minres.scviewer.parent/pom.xml | 4 +- 3 files changed, 18 insertions(+), 37 deletions(-) diff --git a/com.minres.scviewer.database.text/pom.xml b/com.minres.scviewer.database.text/pom.xml index 24efc0c..c09a4f5 100644 --- a/com.minres.scviewer.database.text/pom.xml +++ b/com.minres.scviewer.database.text/pom.xml @@ -24,8 +24,8 @@ - 1.7 - 1.7 + 1.8 + 1.8 diff --git a/com.minres.scviewer.database.text/src/com/minres/scviewer/database/text/TextDbLoader.groovy b/com.minres.scviewer.database.text/src/com/minres/scviewer/database/text/TextDbLoader.groovy index 3b3a45a..6fd56d6 100644 --- a/com.minres.scviewer.database.text/src/com/minres/scviewer/database/text/TextDbLoader.groovy +++ b/com.minres.scviewer.database.text/src/com/minres/scviewer/database/text/TextDbLoader.groovy @@ -83,7 +83,7 @@ public class TextDbLoader implements IWaveformDbLoader{ .make() // NPE here ---> parseInput(gzipped?new GZIPInputStream(new FileInputStream(file)):new FileInputStream(file)) - calculateConcurrencyIndicees() + streams.each{ TxStream stream -> stream.getMaxConcurrency() } return true } } catch (IndexOutOfBoundsException e) { @@ -136,7 +136,7 @@ public class TextDbLoader implements IWaveformDbLoader{ case "ms":return 1000000000000L case "s": return 1000000000000000L } - return "fs" + return 1L } private def parseInput(InputStream inputStream){ @@ -153,23 +153,29 @@ public class TextDbLoader implements IWaveformDbLoader{ def tokens = line.split(/\s+/) as ArrayList switch(tokens[0]){ case "scv_tr_stream": - case "scv_tr_generator": - case "begin_attribute": - case "end_attribute": if ((matcher = line =~ /^scv_tr_stream\s+\(ID (\d+),\s+name\s+"([^"]+)",\s+kind\s+"([^"]+)"\)$/)) { def id = Integer.parseInt(matcher[0][1]) def stream = new TxStream(this, id, matcher[0][2], matcher[0][3]) streams< stream.getMaxConcurrency() } - } - - public Collection getAllRelationTypes(){ return relationTypes.values(); } diff --git a/com.minres.scviewer.parent/pom.xml b/com.minres.scviewer.parent/pom.xml index edd3538..42dec6e 100644 --- a/com.minres.scviewer.parent/pom.xml +++ b/com.minres.scviewer.parent/pom.xml @@ -24,8 +24,8 @@ 1.5.0 - 3.5.0 - 2.5.8-03 + 3.6.0-03 + 3.0.3-01 From 077a6f801127e8f6704b59b7a504bfc58b1a6fd7 Mon Sep 17 00:00:00 2001 From: Eyck Jentzsch Date: Fri, 8 May 2020 09:53:36 +0200 Subject: [PATCH 04/15] update to Eclipse 2020-03 RCP base --- .../META-INF/MANIFEST.MF | 1 - .../.settings/org.eclipse.jdt.core.prefs | 1 + .../.settings/org.eclipse.jdt.core.prefs | 1 + .../DatabaseServicesTest.launch | 144 ++++++++++++------ .../META-INF/MANIFEST.MF | 1 - .../.settings/org.eclipse.jdt.core.prefs | 1 + .../.settings/org.eclipse.jdt.core.prefs | 1 + .../META-INF/MANIFEST.MF | 1 - .../.settings/org.eclipse.jdt.core.prefs | 1 + .../.settings/org.eclipse.jdt.core.prefs | 1 + .../META-INF/MANIFEST.MF | 1 - .../scviewer/e4/application/E4LifeCycle.java | 1 - .../com.minres.scviewer.target.target | 29 ++-- .../.settings/org.eclipse.jdt.core.prefs | 1 + 14 files changed, 124 insertions(+), 61 deletions(-) diff --git a/com.minres.scviewer.database.leveldb/META-INF/MANIFEST.MF b/com.minres.scviewer.database.leveldb/META-INF/MANIFEST.MF index 7e68178..ff10c05 100644 --- a/com.minres.scviewer.database.leveldb/META-INF/MANIFEST.MF +++ b/com.minres.scviewer.database.leveldb/META-INF/MANIFEST.MF @@ -9,7 +9,6 @@ Import-Package: org.osgi.framework;version="1.3.0" Automatic-Module-Name: com.minres.scviewer.database.leveldb Service-Component: OSGI-INF/*.xml Require-Bundle: com.minres.scviewer.database;bundle-version="1.0.0", - org.eclipse.equinox.util;bundle-version="1.0.500", org.eclipse.equinox.ds;bundle-version="1.4.200", org.eclipse.osgi.services;bundle-version="3.4.0" Bundle-ActivationPolicy: lazy diff --git a/com.minres.scviewer.database.sqlite/.settings/org.eclipse.jdt.core.prefs b/com.minres.scviewer.database.sqlite/.settings/org.eclipse.jdt.core.prefs index 0c68a61..9f6ece8 100644 --- a/com.minres.scviewer.database.sqlite/.settings/org.eclipse.jdt.core.prefs +++ b/com.minres.scviewer.database.sqlite/.settings/org.eclipse.jdt.core.prefs @@ -4,4 +4,5 @@ org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 org.eclipse.jdt.core.compiler.compliance=1.8 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.release=disabled org.eclipse.jdt.core.compiler.source=1.8 diff --git a/com.minres.scviewer.database.test/.settings/org.eclipse.jdt.core.prefs b/com.minres.scviewer.database.test/.settings/org.eclipse.jdt.core.prefs index 6e80039..4e4a3ad 100644 --- a/com.minres.scviewer.database.test/.settings/org.eclipse.jdt.core.prefs +++ b/com.minres.scviewer.database.test/.settings/org.eclipse.jdt.core.prefs @@ -5,4 +5,5 @@ org.eclipse.jdt.core.compiler.compliance=1.8 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.enumIdentifier=error org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning +org.eclipse.jdt.core.compiler.release=disabled org.eclipse.jdt.core.compiler.source=1.8 diff --git a/com.minres.scviewer.database.test/DatabaseServicesTest.launch b/com.minres.scviewer.database.test/DatabaseServicesTest.launch index c44770d..f8e3594 100644 --- a/com.minres.scviewer.database.test/DatabaseServicesTest.launch +++ b/com.minres.scviewer.database.test/DatabaseServicesTest.launch @@ -1,46 +1,104 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/com.minres.scviewer.database.text/META-INF/MANIFEST.MF b/com.minres.scviewer.database.text/META-INF/MANIFEST.MF index 605975f..d073c7a 100644 --- a/com.minres.scviewer.database.text/META-INF/MANIFEST.MF +++ b/com.minres.scviewer.database.text/META-INF/MANIFEST.MF @@ -8,7 +8,6 @@ Bundle-RequiredExecutionEnvironment: JavaSE-1.8 Import-Package: org.osgi.framework;version="1.3.0" Require-Bundle: com.minres.scviewer.database, org.codehaus.groovy;bundle-version="2.5.8", - org.eclipse.equinox.util;bundle-version="1.0.500", org.eclipse.equinox.ds;bundle-version="1.4.200", org.eclipse.osgi.services;bundle-version="3.4.0", com.google.guava;bundle-version="15.0.0" diff --git a/com.minres.scviewer.database.ui.swt/.settings/org.eclipse.jdt.core.prefs b/com.minres.scviewer.database.ui.swt/.settings/org.eclipse.jdt.core.prefs index ce96ddf..ddb046a 100644 --- a/com.minres.scviewer.database.ui.swt/.settings/org.eclipse.jdt.core.prefs +++ b/com.minres.scviewer.database.ui.swt/.settings/org.eclipse.jdt.core.prefs @@ -98,4 +98,5 @@ org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning +org.eclipse.jdt.core.compiler.release=disabled org.eclipse.jdt.core.compiler.source=1.8 diff --git a/com.minres.scviewer.database.vcd/.settings/org.eclipse.jdt.core.prefs b/com.minres.scviewer.database.vcd/.settings/org.eclipse.jdt.core.prefs index 0c68a61..9f6ece8 100644 --- a/com.minres.scviewer.database.vcd/.settings/org.eclipse.jdt.core.prefs +++ b/com.minres.scviewer.database.vcd/.settings/org.eclipse.jdt.core.prefs @@ -4,4 +4,5 @@ org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 org.eclipse.jdt.core.compiler.compliance=1.8 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.release=disabled org.eclipse.jdt.core.compiler.source=1.8 diff --git a/com.minres.scviewer.database.vcd/META-INF/MANIFEST.MF b/com.minres.scviewer.database.vcd/META-INF/MANIFEST.MF index 3f0cc56..f83fd29 100644 --- a/com.minres.scviewer.database.vcd/META-INF/MANIFEST.MF +++ b/com.minres.scviewer.database.vcd/META-INF/MANIFEST.MF @@ -6,7 +6,6 @@ Bundle-Version: 2.0.2.qualifier Bundle-Vendor: MINRES Technologies GmbH Bundle-RequiredExecutionEnvironment: JavaSE-1.8 Require-Bundle: com.minres.scviewer.database;bundle-version="1.0.0", - org.eclipse.equinox.util;bundle-version="1.0.500", org.eclipse.equinox.ds;bundle-version="1.4.200", org.eclipse.osgi.services;bundle-version="3.4.0", com.google.guava;bundle-version="15.0.0" diff --git a/com.minres.scviewer.database/.settings/org.eclipse.jdt.core.prefs b/com.minres.scviewer.database/.settings/org.eclipse.jdt.core.prefs index 6e80039..4e4a3ad 100644 --- a/com.minres.scviewer.database/.settings/org.eclipse.jdt.core.prefs +++ b/com.minres.scviewer.database/.settings/org.eclipse.jdt.core.prefs @@ -5,4 +5,5 @@ org.eclipse.jdt.core.compiler.compliance=1.8 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.enumIdentifier=error org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning +org.eclipse.jdt.core.compiler.release=disabled org.eclipse.jdt.core.compiler.source=1.8 diff --git a/com.minres.scviewer.e4.application/.settings/org.eclipse.jdt.core.prefs b/com.minres.scviewer.e4.application/.settings/org.eclipse.jdt.core.prefs index a698e59..87b7a7a 100644 --- a/com.minres.scviewer.e4.application/.settings/org.eclipse.jdt.core.prefs +++ b/com.minres.scviewer.e4.application/.settings/org.eclipse.jdt.core.prefs @@ -9,4 +9,5 @@ org.eclipse.jdt.core.compiler.debug.localVariable=generate org.eclipse.jdt.core.compiler.debug.sourceFile=generate org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.release=disabled org.eclipse.jdt.core.compiler.source=1.8 diff --git a/com.minres.scviewer.e4.application/META-INF/MANIFEST.MF b/com.minres.scviewer.e4.application/META-INF/MANIFEST.MF index 21b1443..32d5ccc 100644 --- a/com.minres.scviewer.e4.application/META-INF/MANIFEST.MF +++ b/com.minres.scviewer.e4.application/META-INF/MANIFEST.MF @@ -18,7 +18,6 @@ Require-Bundle: javax.inject;bundle-version="1.0.0", com.minres.scviewer.database.ui, com.minres.scviewer.database;bundle-version="1.0.0", org.eclipse.equinox.ds;bundle-version="1.4.300", - org.eclipse.equinox.util;bundle-version="1.0.500", org.eclipse.osgi.services;bundle-version="3.5.0", org.eclipse.e4.core.services;bundle-version="2.0.0", org.eclipse.osgi.services;bundle-version="3.5.0", diff --git a/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/E4LifeCycle.java b/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/E4LifeCycle.java index 7532fb8..310323a 100644 --- a/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/E4LifeCycle.java +++ b/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/E4LifeCycle.java @@ -46,7 +46,6 @@ import com.minres.scviewer.e4.application.options.Options.Separator; * org.eclipse.core.runtime.products' extension point) that references * this class. **/ -@SuppressWarnings("restriction") public class E4LifeCycle { /** diff --git a/com.minres.scviewer.target/com.minres.scviewer.target.target b/com.minres.scviewer.target/com.minres.scviewer.target.target index 4571d61..e7ffad1 100644 --- a/com.minres.scviewer.target/com.minres.scviewer.target.target +++ b/com.minres.scviewer.target/com.minres.scviewer.target.target @@ -3,23 +3,26 @@ - - - - - - - - + + + + + + + + + + - - - + + + + - - + + diff --git a/com.minres.scviewer.ui/.settings/org.eclipse.jdt.core.prefs b/com.minres.scviewer.ui/.settings/org.eclipse.jdt.core.prefs index a698e59..87b7a7a 100644 --- a/com.minres.scviewer.ui/.settings/org.eclipse.jdt.core.prefs +++ b/com.minres.scviewer.ui/.settings/org.eclipse.jdt.core.prefs @@ -9,4 +9,5 @@ org.eclipse.jdt.core.compiler.debug.localVariable=generate org.eclipse.jdt.core.compiler.debug.sourceFile=generate org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.release=disabled org.eclipse.jdt.core.compiler.source=1.8 From f8a177c9e05a56857bcefc9d33d973938159ab59 Mon Sep 17 00:00:00 2001 From: Eyck Jentzsch Date: Fri, 8 May 2020 10:39:43 +0200 Subject: [PATCH 05/15] Revert "update to Eclipse 2020-03 RCP base" This reverts commit 077a6f801127e8f6704b59b7a504bfc58b1a6fd7. --- .../META-INF/MANIFEST.MF | 1 + .../.settings/org.eclipse.jdt.core.prefs | 1 - .../.settings/org.eclipse.jdt.core.prefs | 1 - .../DatabaseServicesTest.launch | 144 ++++++------------ .../META-INF/MANIFEST.MF | 1 + .../.settings/org.eclipse.jdt.core.prefs | 1 - .../.settings/org.eclipse.jdt.core.prefs | 1 - .../META-INF/MANIFEST.MF | 1 + .../.settings/org.eclipse.jdt.core.prefs | 1 - .../.settings/org.eclipse.jdt.core.prefs | 1 - .../META-INF/MANIFEST.MF | 1 + .../scviewer/e4/application/E4LifeCycle.java | 1 + .../com.minres.scviewer.target.target | 29 ++-- .../.settings/org.eclipse.jdt.core.prefs | 1 - 14 files changed, 61 insertions(+), 124 deletions(-) diff --git a/com.minres.scviewer.database.leveldb/META-INF/MANIFEST.MF b/com.minres.scviewer.database.leveldb/META-INF/MANIFEST.MF index ff10c05..7e68178 100644 --- a/com.minres.scviewer.database.leveldb/META-INF/MANIFEST.MF +++ b/com.minres.scviewer.database.leveldb/META-INF/MANIFEST.MF @@ -9,6 +9,7 @@ Import-Package: org.osgi.framework;version="1.3.0" Automatic-Module-Name: com.minres.scviewer.database.leveldb Service-Component: OSGI-INF/*.xml Require-Bundle: com.minres.scviewer.database;bundle-version="1.0.0", + org.eclipse.equinox.util;bundle-version="1.0.500", org.eclipse.equinox.ds;bundle-version="1.4.200", org.eclipse.osgi.services;bundle-version="3.4.0" Bundle-ActivationPolicy: lazy diff --git a/com.minres.scviewer.database.sqlite/.settings/org.eclipse.jdt.core.prefs b/com.minres.scviewer.database.sqlite/.settings/org.eclipse.jdt.core.prefs index 9f6ece8..0c68a61 100644 --- a/com.minres.scviewer.database.sqlite/.settings/org.eclipse.jdt.core.prefs +++ b/com.minres.scviewer.database.sqlite/.settings/org.eclipse.jdt.core.prefs @@ -4,5 +4,4 @@ org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 org.eclipse.jdt.core.compiler.compliance=1.8 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.release=disabled org.eclipse.jdt.core.compiler.source=1.8 diff --git a/com.minres.scviewer.database.test/.settings/org.eclipse.jdt.core.prefs b/com.minres.scviewer.database.test/.settings/org.eclipse.jdt.core.prefs index 4e4a3ad..6e80039 100644 --- a/com.minres.scviewer.database.test/.settings/org.eclipse.jdt.core.prefs +++ b/com.minres.scviewer.database.test/.settings/org.eclipse.jdt.core.prefs @@ -5,5 +5,4 @@ org.eclipse.jdt.core.compiler.compliance=1.8 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.enumIdentifier=error org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning -org.eclipse.jdt.core.compiler.release=disabled org.eclipse.jdt.core.compiler.source=1.8 diff --git a/com.minres.scviewer.database.test/DatabaseServicesTest.launch b/com.minres.scviewer.database.test/DatabaseServicesTest.launch index f8e3594..c44770d 100644 --- a/com.minres.scviewer.database.test/DatabaseServicesTest.launch +++ b/com.minres.scviewer.database.test/DatabaseServicesTest.launch @@ -1,104 +1,46 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/com.minres.scviewer.database.text/META-INF/MANIFEST.MF b/com.minres.scviewer.database.text/META-INF/MANIFEST.MF index d073c7a..605975f 100644 --- a/com.minres.scviewer.database.text/META-INF/MANIFEST.MF +++ b/com.minres.scviewer.database.text/META-INF/MANIFEST.MF @@ -8,6 +8,7 @@ Bundle-RequiredExecutionEnvironment: JavaSE-1.8 Import-Package: org.osgi.framework;version="1.3.0" Require-Bundle: com.minres.scviewer.database, org.codehaus.groovy;bundle-version="2.5.8", + org.eclipse.equinox.util;bundle-version="1.0.500", org.eclipse.equinox.ds;bundle-version="1.4.200", org.eclipse.osgi.services;bundle-version="3.4.0", com.google.guava;bundle-version="15.0.0" diff --git a/com.minres.scviewer.database.ui.swt/.settings/org.eclipse.jdt.core.prefs b/com.minres.scviewer.database.ui.swt/.settings/org.eclipse.jdt.core.prefs index ddb046a..ce96ddf 100644 --- a/com.minres.scviewer.database.ui.swt/.settings/org.eclipse.jdt.core.prefs +++ b/com.minres.scviewer.database.ui.swt/.settings/org.eclipse.jdt.core.prefs @@ -98,5 +98,4 @@ org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning -org.eclipse.jdt.core.compiler.release=disabled org.eclipse.jdt.core.compiler.source=1.8 diff --git a/com.minres.scviewer.database.vcd/.settings/org.eclipse.jdt.core.prefs b/com.minres.scviewer.database.vcd/.settings/org.eclipse.jdt.core.prefs index 9f6ece8..0c68a61 100644 --- a/com.minres.scviewer.database.vcd/.settings/org.eclipse.jdt.core.prefs +++ b/com.minres.scviewer.database.vcd/.settings/org.eclipse.jdt.core.prefs @@ -4,5 +4,4 @@ org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 org.eclipse.jdt.core.compiler.compliance=1.8 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.release=disabled org.eclipse.jdt.core.compiler.source=1.8 diff --git a/com.minres.scviewer.database.vcd/META-INF/MANIFEST.MF b/com.minres.scviewer.database.vcd/META-INF/MANIFEST.MF index f83fd29..3f0cc56 100644 --- a/com.minres.scviewer.database.vcd/META-INF/MANIFEST.MF +++ b/com.minres.scviewer.database.vcd/META-INF/MANIFEST.MF @@ -6,6 +6,7 @@ Bundle-Version: 2.0.2.qualifier Bundle-Vendor: MINRES Technologies GmbH Bundle-RequiredExecutionEnvironment: JavaSE-1.8 Require-Bundle: com.minres.scviewer.database;bundle-version="1.0.0", + org.eclipse.equinox.util;bundle-version="1.0.500", org.eclipse.equinox.ds;bundle-version="1.4.200", org.eclipse.osgi.services;bundle-version="3.4.0", com.google.guava;bundle-version="15.0.0" diff --git a/com.minres.scviewer.database/.settings/org.eclipse.jdt.core.prefs b/com.minres.scviewer.database/.settings/org.eclipse.jdt.core.prefs index 4e4a3ad..6e80039 100644 --- a/com.minres.scviewer.database/.settings/org.eclipse.jdt.core.prefs +++ b/com.minres.scviewer.database/.settings/org.eclipse.jdt.core.prefs @@ -5,5 +5,4 @@ org.eclipse.jdt.core.compiler.compliance=1.8 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.enumIdentifier=error org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning -org.eclipse.jdt.core.compiler.release=disabled org.eclipse.jdt.core.compiler.source=1.8 diff --git a/com.minres.scviewer.e4.application/.settings/org.eclipse.jdt.core.prefs b/com.minres.scviewer.e4.application/.settings/org.eclipse.jdt.core.prefs index 87b7a7a..a698e59 100644 --- a/com.minres.scviewer.e4.application/.settings/org.eclipse.jdt.core.prefs +++ b/com.minres.scviewer.e4.application/.settings/org.eclipse.jdt.core.prefs @@ -9,5 +9,4 @@ org.eclipse.jdt.core.compiler.debug.localVariable=generate org.eclipse.jdt.core.compiler.debug.sourceFile=generate org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.release=disabled org.eclipse.jdt.core.compiler.source=1.8 diff --git a/com.minres.scviewer.e4.application/META-INF/MANIFEST.MF b/com.minres.scviewer.e4.application/META-INF/MANIFEST.MF index 32d5ccc..21b1443 100644 --- a/com.minres.scviewer.e4.application/META-INF/MANIFEST.MF +++ b/com.minres.scviewer.e4.application/META-INF/MANIFEST.MF @@ -18,6 +18,7 @@ Require-Bundle: javax.inject;bundle-version="1.0.0", com.minres.scviewer.database.ui, com.minres.scviewer.database;bundle-version="1.0.0", org.eclipse.equinox.ds;bundle-version="1.4.300", + org.eclipse.equinox.util;bundle-version="1.0.500", org.eclipse.osgi.services;bundle-version="3.5.0", org.eclipse.e4.core.services;bundle-version="2.0.0", org.eclipse.osgi.services;bundle-version="3.5.0", diff --git a/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/E4LifeCycle.java b/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/E4LifeCycle.java index 310323a..7532fb8 100644 --- a/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/E4LifeCycle.java +++ b/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/E4LifeCycle.java @@ -46,6 +46,7 @@ import com.minres.scviewer.e4.application.options.Options.Separator; * org.eclipse.core.runtime.products' extension point) that references * this class. **/ +@SuppressWarnings("restriction") public class E4LifeCycle { /** diff --git a/com.minres.scviewer.target/com.minres.scviewer.target.target b/com.minres.scviewer.target/com.minres.scviewer.target.target index e7ffad1..4571d61 100644 --- a/com.minres.scviewer.target/com.minres.scviewer.target.target +++ b/com.minres.scviewer.target/com.minres.scviewer.target.target @@ -3,26 +3,23 @@ - - - - - - - - - - + + + + + + + + - - - - + + + - - + + diff --git a/com.minres.scviewer.ui/.settings/org.eclipse.jdt.core.prefs b/com.minres.scviewer.ui/.settings/org.eclipse.jdt.core.prefs index 87b7a7a..a698e59 100644 --- a/com.minres.scviewer.ui/.settings/org.eclipse.jdt.core.prefs +++ b/com.minres.scviewer.ui/.settings/org.eclipse.jdt.core.prefs @@ -9,5 +9,4 @@ org.eclipse.jdt.core.compiler.debug.localVariable=generate org.eclipse.jdt.core.compiler.debug.sourceFile=generate org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.release=disabled org.eclipse.jdt.core.compiler.source=1.8 From 5fe8b261ecfb8099c9de00d02e7c3d7523fcdb8a Mon Sep 17 00:00:00 2001 From: Eyck Jentzsch Date: Fri, 8 May 2020 12:44:06 +0200 Subject: [PATCH 06/15] fix reference to org.eclipse.equinox.util --- .../META-INF/MANIFEST.MF | 1 - .../META-INF/MANIFEST.MF | 1 - .../META-INF/MANIFEST.MF | 3 ++- .../META-INF/MANIFEST.MF | 1 - .../META-INF/MANIFEST.MF | 1 - com.minres.scviewer.feature/feature.xml | 14 ++++++-------- 6 files changed, 8 insertions(+), 13 deletions(-) diff --git a/com.minres.scviewer.database.leveldb/META-INF/MANIFEST.MF b/com.minres.scviewer.database.leveldb/META-INF/MANIFEST.MF index 7e68178..ff10c05 100644 --- a/com.minres.scviewer.database.leveldb/META-INF/MANIFEST.MF +++ b/com.minres.scviewer.database.leveldb/META-INF/MANIFEST.MF @@ -9,7 +9,6 @@ Import-Package: org.osgi.framework;version="1.3.0" Automatic-Module-Name: com.minres.scviewer.database.leveldb Service-Component: OSGI-INF/*.xml Require-Bundle: com.minres.scviewer.database;bundle-version="1.0.0", - org.eclipse.equinox.util;bundle-version="1.0.500", org.eclipse.equinox.ds;bundle-version="1.4.200", org.eclipse.osgi.services;bundle-version="3.4.0" Bundle-ActivationPolicy: lazy diff --git a/com.minres.scviewer.database.text/META-INF/MANIFEST.MF b/com.minres.scviewer.database.text/META-INF/MANIFEST.MF index 605975f..d073c7a 100644 --- a/com.minres.scviewer.database.text/META-INF/MANIFEST.MF +++ b/com.minres.scviewer.database.text/META-INF/MANIFEST.MF @@ -8,7 +8,6 @@ Bundle-RequiredExecutionEnvironment: JavaSE-1.8 Import-Package: org.osgi.framework;version="1.3.0" Require-Bundle: com.minres.scviewer.database, org.codehaus.groovy;bundle-version="2.5.8", - org.eclipse.equinox.util;bundle-version="1.0.500", org.eclipse.equinox.ds;bundle-version="1.4.200", org.eclipse.osgi.services;bundle-version="3.4.0", com.google.guava;bundle-version="15.0.0" diff --git a/com.minres.scviewer.database.ui/META-INF/MANIFEST.MF b/com.minres.scviewer.database.ui/META-INF/MANIFEST.MF index 7895eed..91e16dc 100644 --- a/com.minres.scviewer.database.ui/META-INF/MANIFEST.MF +++ b/com.minres.scviewer.database.ui/META-INF/MANIFEST.MF @@ -7,5 +7,6 @@ Bundle-Vendor: MINRES Technologies GmbH Bundle-RequiredExecutionEnvironment: JavaSE-1.8 Export-Package: com.minres.scviewer.database.ui Require-Bundle: com.minres.scviewer.database, - org.eclipse.jface + org.eclipse.jface, + org.eclipse.swt Automatic-Module-Name: com.minres.scviewer.database.ui diff --git a/com.minres.scviewer.database.vcd/META-INF/MANIFEST.MF b/com.minres.scviewer.database.vcd/META-INF/MANIFEST.MF index 3f0cc56..f83fd29 100644 --- a/com.minres.scviewer.database.vcd/META-INF/MANIFEST.MF +++ b/com.minres.scviewer.database.vcd/META-INF/MANIFEST.MF @@ -6,7 +6,6 @@ Bundle-Version: 2.0.2.qualifier Bundle-Vendor: MINRES Technologies GmbH Bundle-RequiredExecutionEnvironment: JavaSE-1.8 Require-Bundle: com.minres.scviewer.database;bundle-version="1.0.0", - org.eclipse.equinox.util;bundle-version="1.0.500", org.eclipse.equinox.ds;bundle-version="1.4.200", org.eclipse.osgi.services;bundle-version="3.4.0", com.google.guava;bundle-version="15.0.0" diff --git a/com.minres.scviewer.e4.application/META-INF/MANIFEST.MF b/com.minres.scviewer.e4.application/META-INF/MANIFEST.MF index 21b1443..32d5ccc 100644 --- a/com.minres.scviewer.e4.application/META-INF/MANIFEST.MF +++ b/com.minres.scviewer.e4.application/META-INF/MANIFEST.MF @@ -18,7 +18,6 @@ Require-Bundle: javax.inject;bundle-version="1.0.0", com.minres.scviewer.database.ui, com.minres.scviewer.database;bundle-version="1.0.0", org.eclipse.equinox.ds;bundle-version="1.4.300", - org.eclipse.equinox.util;bundle-version="1.0.500", org.eclipse.osgi.services;bundle-version="3.5.0", org.eclipse.e4.core.services;bundle-version="2.0.0", org.eclipse.osgi.services;bundle-version="3.5.0", diff --git a/com.minres.scviewer.feature/feature.xml b/com.minres.scviewer.feature/feature.xml index 289e335..f32b411 100644 --- a/com.minres.scviewer.feature/feature.xml +++ b/com.minres.scviewer.feature/feature.xml @@ -30,11 +30,12 @@ http://www.eclipse.org/legal/epl-v10.html - - - + + + + @@ -43,15 +44,12 @@ http://www.eclipse.org/legal/epl-v10.html - - - - - + + Date: Sat, 9 May 2020 12:50:28 +0200 Subject: [PATCH 07/15] fix #33 --- .../DatabaseServicesTest.launch | 144 ++++++++++++------ .../META-INF/MANIFEST.MF | 2 +- com.minres.scviewer.e4.application/pom.xml | 2 +- .../e4/application/messages.properties | 2 +- .../e4/application/parts/DesignBrowser.java | 14 +- .../application/parts/TransactionDetails.java | 70 +++++++-- com.minres.scviewer.e4.product/pom.xml | 2 +- .../scviewer.product | 4 +- 8 files changed, 174 insertions(+), 66 deletions(-) diff --git a/com.minres.scviewer.database.test/DatabaseServicesTest.launch b/com.minres.scviewer.database.test/DatabaseServicesTest.launch index c44770d..f8e3594 100644 --- a/com.minres.scviewer.database.test/DatabaseServicesTest.launch +++ b/com.minres.scviewer.database.test/DatabaseServicesTest.launch @@ -1,46 +1,104 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/com.minres.scviewer.e4.application/META-INF/MANIFEST.MF b/com.minres.scviewer.e4.application/META-INF/MANIFEST.MF index 32d5ccc..7fcaa46 100644 --- a/com.minres.scviewer.e4.application/META-INF/MANIFEST.MF +++ b/com.minres.scviewer.e4.application/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %Bundle-Name Bundle-SymbolicName: com.minres.scviewer.e4.application;singleton:=true -Bundle-Version: 2.5.0.qualifier +Bundle-Version: 2.6.0.qualifier Bundle-Vendor: %Bundle-Vendor Require-Bundle: javax.inject;bundle-version="1.0.0", org.eclipse.core.runtime;bundle-version="3.11.1", diff --git a/com.minres.scviewer.e4.application/pom.xml b/com.minres.scviewer.e4.application/pom.xml index e94b70a..4ab7a62 100644 --- a/com.minres.scviewer.e4.application/pom.xml +++ b/com.minres.scviewer.e4.application/pom.xml @@ -1,7 +1,7 @@ 4.0.0 com.minres.scviewer.e4.application - 2.5.0-SNAPSHOT + 2.6.0-SNAPSHOT com.minres.scviewer com.minres.scviewer.parent diff --git a/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/messages.properties b/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/messages.properties index bde69ab..ea3c33b 100644 --- a/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/messages.properties +++ b/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/messages.properties @@ -1,5 +1,5 @@ AboutDialog_0=\nSCViewer - a SystemC waveform viewer\n\nVersion: {0}\n -AboutDialog_1=\nCopyright (c) 2015, 2019 MINRES Technologies GmbH and others.\n\nAll rights reserved. MINRES and the MINRES logo are trademarks of MINRES Technologies GmbH, http://www.minres.com/. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html\n\nParts of the software are governed by the Apache License Version 2.0 available at http://www.apache.org/licenses/. These are namely org.mapdb and org.sqlite JDBC driver\n\nSource code is hosted at https://git.minres.com/VP-Tools/SCViewer and the master branch is mirrored to GitHub: https://github.com/minres/SCViewer\n +AboutDialog_1=\nCopyright (c) 2015, 2019, 2020 MINRES Technologies GmbH and others.\n\nAll rights reserved. MINRES and the MINRES logo are trademarks of MINRES Technologies GmbH, http://www.minres.com/. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html\n\nParts of the software are governed by the Apache License Version 2.0 available at http://www.apache.org/licenses/. These are namely org.mapdb and org.sqlite JDBC driver\n\nSource code is hosted at https://git.minres.com/VP-Tools/SCViewer and the master branch is mirrored to GitHub: https://github.com/minres/SCViewer\n DesignBrowser_12=Append all after DesignBrowser_16=Insert all before DesignBrowser_2=Enter text to filter waveforms diff --git a/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/parts/DesignBrowser.java b/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/parts/DesignBrowser.java index e49a360..37be256 100644 --- a/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/parts/DesignBrowser.java +++ b/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/parts/DesignBrowser.java @@ -328,13 +328,15 @@ public class DesignBrowser { */ @Focus public void setFocus() { - txTableViewer.getTable().setFocus(); - IStructuredSelection selection = (IStructuredSelection)txTableViewer.getSelection(); - if(selection.size()==0){ - appendItem.setEnabled(false); + if(txTableViewer!=null) { + txTableViewer.getTable().setFocus(); + IStructuredSelection selection = (IStructuredSelection)txTableViewer.getSelection(); + if(selection.size()==0){ + appendItem.setEnabled(false); + } + selectionService.setSelection(selection); + thisSelectionCount=selection.toList().size(); } - selectionService.setSelection(selection); - thisSelectionCount=selection.toList().size(); updateButtons(); } diff --git a/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/parts/TransactionDetails.java b/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/parts/TransactionDetails.java index a562c1e..db80d80 100644 --- a/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/parts/TransactionDetails.java +++ b/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/parts/TransactionDetails.java @@ -10,8 +10,14 @@ *******************************************************************************/ package com.minres.scviewer.e4.application.parts; +import java.util.AbstractMap; import java.util.ArrayList; +import java.util.HashMap; +import java.util.Map; +import java.util.TreeMap; import java.util.Vector; +import java.util.regex.PatternSyntaxException; +import java.util.stream.Collectors; import javax.annotation.PostConstruct; import javax.inject.Inject; @@ -477,12 +483,19 @@ public class TransactionDetails { return true; } if(element instanceof ITxAttribute){ - return (((ITxAttribute) element).getName().toLowerCase().matches(searchString.toLowerCase())); + try { + return (((ITxAttribute) element).getName().toLowerCase().matches(searchString.toLowerCase())); + } catch (PatternSyntaxException e) { + return true; + } } if(element instanceof Object[]) { - return (((Object[])element)[0]).toString().toLowerCase().matches(searchString.toLowerCase()); + try { + return (((Object[])element)[0]).toString().toLowerCase().matches(searchString.toLowerCase()); + } catch (PatternSyntaxException e) { + return true; + } } - return false; } } @@ -490,11 +503,13 @@ public class TransactionDetails { /** * The Enum Type. */ - enum Type {/** The props. */ - PROPS, /** The attrs. */ - ATTRS, /** The in rel. */ - IN_REL, /** The out rel. */ - OUT_REL} + enum Type { + PROPS, /** The props. */ + ATTRS, /** The attrs. */ + IN_REL, /** The in rel. */ + OUT_REL,/** The out rel. */ + HIER + } /** * The Class TreeNode. @@ -507,6 +522,7 @@ public class TransactionDetails { /** The element. */ public ITx element; + private String hier_path; /** * Instantiates a new tree node. * @@ -516,6 +532,13 @@ public class TransactionDetails { public TreeNode(ITx element, Type type){ this.element=element; this.type=type; + this.hier_path=""; + } + + public TreeNode(ITx element, String path){ + this.element=element; + this.type=Type.HIER; + this.hier_path=path; } /* (non-Javadoc) @@ -527,9 +550,33 @@ public class TransactionDetails { case ATTRS: return Messages.TransactionDetails_11; case IN_REL: return Messages.TransactionDetails_12; case OUT_REL: return Messages.TransactionDetails_13; + case HIER:{ + String[] tokens = hier_path.split("\\."); + return tokens[tokens.length-1]; + } } return ""; //$NON-NLS-1$ } + + public Object[] getAttributeListForHier() { + if(childs==null) { + Map res = element.getAttributes().stream() + .filter(txAttr -> txAttr.getName().startsWith(hier_path)) + .map(txAttr -> { + String target = hier_path.length()==0?txAttr.getName():txAttr.getName().replace(hier_path+'.', ""); + String[] tokens = target.split("\\."); + if(tokens.length==1) + return new AbstractMap.SimpleEntry<>(tokens[0], txAttr); + else + return new AbstractMap.SimpleEntry<>(tokens[0], new TreeNode(element, hier_path.length()>0?hier_path+"."+tokens[0]:tokens[0])); + }) + .collect(Collectors.toMap(p -> p.getKey(), p -> p.getValue(), (first, second) -> first)); + childs = new TreeMap(res).values().toArray(); + } + return childs; + } + + private Object[] childs=null; } /** @@ -577,8 +624,8 @@ public class TransactionDetails { {Messages.TransactionDetails_19, Messages.TransactionDetails_20, timeToString(propertyHolder.element.getBeginTime())}, {Messages.TransactionDetails_21, Messages.TransactionDetails_20, timeToString(propertyHolder.element.getEndTime())} }; - }else if(propertyHolder.type == Type.ATTRS) - return propertyHolder.element.getAttributes().toArray(); + }else if(propertyHolder.type == Type.ATTRS || propertyHolder.type == Type.HIER) + return propertyHolder.getAttributeListForHier(); else if(propertyHolder.type == Type.IN_REL){ Vector res = new Vector<>(); for(ITxRelation rel:propertyHolder.element.getIncomingRelations()){ @@ -655,7 +702,8 @@ public class TransactionDetails { case NAME: if (element instanceof ITxAttribute) { ITxAttribute attribute = (ITxAttribute) element; - return new StyledString(attribute.getName()); + String[] tokens = attribute.getName().split("\\."); + return new StyledString(tokens[tokens.length-1]); }else if (element instanceof ITxRelation) { return new StyledString(Messages.TransactionDetails_4); }else if(element instanceof Object[]){ diff --git a/com.minres.scviewer.e4.product/pom.xml b/com.minres.scviewer.e4.product/pom.xml index edb91a5..f87674d 100644 --- a/com.minres.scviewer.e4.product/pom.xml +++ b/com.minres.scviewer.e4.product/pom.xml @@ -10,7 +10,7 @@ ../com.minres.scviewer.parent com.minres.scviewer.e4.product - 2.5.0-SNAPSHOT + 2.6.0-SNAPSHOT eclipse-repository com.minres.scviewer diff --git a/com.minres.scviewer.e4.product/scviewer.product b/com.minres.scviewer.e4.product/scviewer.product index 2d7cfdd..0e3f141 100644 --- a/com.minres.scviewer.e4.product/scviewer.product +++ b/com.minres.scviewer.e4.product/scviewer.product @@ -1,7 +1,7 @@ - + @@ -56,6 +56,7 @@ + @@ -113,7 +114,6 @@ - From e5bcb25d243df6aab645b7cc4e9226cb5d94517e Mon Sep 17 00:00:00 2001 From: Eyck Jentzsch Date: Sat, 9 May 2020 14:20:29 +0200 Subject: [PATCH 08/15] update RCP to 2019-12 --- .../META-INF/MANIFEST.MF | 3 +- .../META-INF/MANIFEST.MF | 1 - .../META-INF/MANIFEST.MF | 1 - .../scviewer/e4/application/E4LifeCycle.java | 1 - .../application/parts/TransactionDetails.java | 1 - .../scviewer.product | 8 ++-- com.minres.scviewer.parent/pom.xml | 20 +++++----- .../com.minres.scviewer.target.target | 38 +++++++++---------- .../minres/scviewer/ui/TxEditorPlugin.java | 3 +- 9 files changed, 36 insertions(+), 40 deletions(-) diff --git a/com.minres.scviewer.database.text/META-INF/MANIFEST.MF b/com.minres.scviewer.database.text/META-INF/MANIFEST.MF index d073c7a..80af2a0 100644 --- a/com.minres.scviewer.database.text/META-INF/MANIFEST.MF +++ b/com.minres.scviewer.database.text/META-INF/MANIFEST.MF @@ -7,8 +7,7 @@ Bundle-Vendor: MINRES Technologies GmbH Bundle-RequiredExecutionEnvironment: JavaSE-1.8 Import-Package: org.osgi.framework;version="1.3.0" Require-Bundle: com.minres.scviewer.database, - org.codehaus.groovy;bundle-version="2.5.8", - org.eclipse.equinox.ds;bundle-version="1.4.200", + org.codehaus.groovy;bundle-version="2.5.0", org.eclipse.osgi.services;bundle-version="3.4.0", com.google.guava;bundle-version="15.0.0" Service-Component: OSGI-INF/component.xml diff --git a/com.minres.scviewer.database.vcd/META-INF/MANIFEST.MF b/com.minres.scviewer.database.vcd/META-INF/MANIFEST.MF index f83fd29..15323ef 100644 --- a/com.minres.scviewer.database.vcd/META-INF/MANIFEST.MF +++ b/com.minres.scviewer.database.vcd/META-INF/MANIFEST.MF @@ -6,7 +6,6 @@ Bundle-Version: 2.0.2.qualifier Bundle-Vendor: MINRES Technologies GmbH Bundle-RequiredExecutionEnvironment: JavaSE-1.8 Require-Bundle: com.minres.scviewer.database;bundle-version="1.0.0", - org.eclipse.equinox.ds;bundle-version="1.4.200", org.eclipse.osgi.services;bundle-version="3.4.0", com.google.guava;bundle-version="15.0.0" Service-Component: OSGI-INF/component.xml diff --git a/com.minres.scviewer.e4.application/META-INF/MANIFEST.MF b/com.minres.scviewer.e4.application/META-INF/MANIFEST.MF index 7fcaa46..c96729f 100644 --- a/com.minres.scviewer.e4.application/META-INF/MANIFEST.MF +++ b/com.minres.scviewer.e4.application/META-INF/MANIFEST.MF @@ -17,7 +17,6 @@ Require-Bundle: javax.inject;bundle-version="1.0.0", com.minres.scviewer.database.ui.swt;bundle-version="1.0.0", com.minres.scviewer.database.ui, com.minres.scviewer.database;bundle-version="1.0.0", - org.eclipse.equinox.ds;bundle-version="1.4.300", org.eclipse.osgi.services;bundle-version="3.5.0", org.eclipse.e4.core.services;bundle-version="2.0.0", org.eclipse.osgi.services;bundle-version="3.5.0", diff --git a/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/E4LifeCycle.java b/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/E4LifeCycle.java index 7532fb8..310323a 100644 --- a/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/E4LifeCycle.java +++ b/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/E4LifeCycle.java @@ -46,7 +46,6 @@ import com.minres.scviewer.e4.application.options.Options.Separator; * org.eclipse.core.runtime.products' extension point) that references * this class. **/ -@SuppressWarnings("restriction") public class E4LifeCycle { /** diff --git a/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/parts/TransactionDetails.java b/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/parts/TransactionDetails.java index db80d80..48118da 100644 --- a/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/parts/TransactionDetails.java +++ b/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/parts/TransactionDetails.java @@ -12,7 +12,6 @@ package com.minres.scviewer.e4.application.parts; import java.util.AbstractMap; import java.util.ArrayList; -import java.util.HashMap; import java.util.Map; import java.util.TreeMap; import java.util.Vector; diff --git a/com.minres.scviewer.e4.product/scviewer.product b/com.minres.scviewer.e4.product/scviewer.product index 0e3f141..ec29a85 100644 --- a/com.minres.scviewer.e4.product/scviewer.product +++ b/com.minres.scviewer.e4.product/scviewer.product @@ -3,6 +3,7 @@ + @@ -19,6 +20,7 @@ + @@ -35,6 +37,7 @@ + org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8 org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8 @@ -78,7 +81,6 @@ - @@ -97,6 +99,7 @@ + @@ -104,7 +107,6 @@ - @@ -117,7 +119,6 @@ - @@ -147,6 +148,7 @@ + diff --git a/com.minres.scviewer.parent/pom.xml b/com.minres.scviewer.parent/pom.xml index 42dec6e..e016903 100644 --- a/com.minres.scviewer.parent/pom.xml +++ b/com.minres.scviewer.parent/pom.xml @@ -86,21 +86,21 @@ - - linux - gtk - x86 - + + + + + linux gtk x86_64 - - win32 - win32 - x86 - + + + + + win32 win32 diff --git a/com.minres.scviewer.target/com.minres.scviewer.target.target b/com.minres.scviewer.target/com.minres.scviewer.target.target index 4571d61..6b8700f 100644 --- a/com.minres.scviewer.target/com.minres.scviewer.target.target +++ b/com.minres.scviewer.target/com.minres.scviewer.target.target @@ -2,32 +2,30 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + -x86_64 -de_DE + x86_64 + de_DE --Dosgi.requiredJavaVersion=1.6 -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts -Xdock:icon=../Resources/Eclipse.icns -Xms40m -Xmx2G + -Dosgi.requiredJavaVersion=1.6 -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts -Xdock:icon=../Resources/Eclipse.icns -Xms40m -Xmx2G \ No newline at end of file diff --git a/com.minres.scviewer.ui/src/com/minres/scviewer/ui/TxEditorPlugin.java b/com.minres.scviewer.ui/src/com/minres/scviewer/ui/TxEditorPlugin.java index bd14536..8550cd2 100644 --- a/com.minres.scviewer.ui/src/com/minres/scviewer/ui/TxEditorPlugin.java +++ b/com.minres.scviewer.ui/src/com/minres/scviewer/ui/TxEditorPlugin.java @@ -15,6 +15,7 @@ import java.util.MissingResourceException; import java.util.ResourceBundle; import org.eclipse.jface.resource.ImageDescriptor; +import org.eclipse.jface.resource.ResourceLocator; import org.eclipse.swt.SWT; import org.eclipse.swt.graphics.Color; import org.eclipse.swt.graphics.Image; @@ -93,7 +94,7 @@ public class TxEditorPlugin extends AbstractUIPlugin { */ public static ImageDescriptor getImageDescriptor(String path) { String fullpath = File.separator+"res"+File.separator+"images"+File.separator+path; - return imageDescriptorFromPlugin(PLUGIN_ID, fullpath); + return ResourceLocator.imageDescriptorFromBundle(PLUGIN_ID, fullpath).orElse(null); } public static Image createImage(String name) { From 572e999a5b0498c96964605b37fcdd9d6d2af344 Mon Sep 17 00:00:00 2001 From: eyck Date: Mon, 1 Jun 2020 11:10:07 +0200 Subject: [PATCH 09/15] remove version constraint on groovy bundle --- com.minres.scviewer.target/com.minres.scviewer.target.target | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.minres.scviewer.target/com.minres.scviewer.target.target b/com.minres.scviewer.target/com.minres.scviewer.target.target index 6b8700f..32faf2d 100644 --- a/com.minres.scviewer.target/com.minres.scviewer.target.target +++ b/com.minres.scviewer.target/com.minres.scviewer.target.target @@ -17,7 +17,7 @@ - + From 4ab3000b699a8ebf45eb5b5c99843b8ad124ee66 Mon Sep 17 00:00:00 2001 From: eyck Date: Mon, 1 Jun 2020 12:06:33 +0200 Subject: [PATCH 10/15] fix left-overs --- com.minres.scviewer.e4.product/scviewer.product | 1 - .../com.minres.scviewer.target.target | 8 ++------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/com.minres.scviewer.e4.product/scviewer.product b/com.minres.scviewer.e4.product/scviewer.product index ec29a85..008d29c 100644 --- a/com.minres.scviewer.e4.product/scviewer.product +++ b/com.minres.scviewer.e4.product/scviewer.product @@ -139,7 +139,6 @@ - diff --git a/com.minres.scviewer.target/com.minres.scviewer.target.target b/com.minres.scviewer.target/com.minres.scviewer.target.target index 32faf2d..c2d147a 100644 --- a/com.minres.scviewer.target/com.minres.scviewer.target.target +++ b/com.minres.scviewer.target/com.minres.scviewer.target.target @@ -20,12 +20,8 @@ - - x86_64 - de_DE - - + - -Dosgi.requiredJavaVersion=1.6 -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts -Xdock:icon=../Resources/Eclipse.icns -Xms40m -Xmx2G + -Xms40m -Xmx2G \ No newline at end of file From ad80671dd23393d0bcb0bfb237f36a06a8d49110 Mon Sep 17 00:00:00 2001 From: eyck Date: Mon, 1 Jun 2020 12:38:51 +0200 Subject: [PATCH 11/15] fxi start issues --- .../scviewer.product | 21 +++++++++---------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/com.minres.scviewer.e4.product/scviewer.product b/com.minres.scviewer.e4.product/scviewer.product index 008d29c..3fc9e81 100644 --- a/com.minres.scviewer.e4.product/scviewer.product +++ b/com.minres.scviewer.e4.product/scviewer.product @@ -3,24 +3,17 @@ - - -clearPersistedState - - -Xmx2G --Dosgi.instance.area=@user.home/.scviewer --Dosgi.instance.area.default=@user.home/.scviewer - - -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts - + -clearPersistedState + -Xmx2G -Dosgi.instance.area=@user.home/.scviewer -Dosgi.instance.area.default=@user.home/.scviewer + -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts - @@ -37,7 +30,6 @@ - org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8 org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8 @@ -118,7 +110,11 @@ + + + + @@ -130,6 +126,7 @@ + @@ -137,9 +134,11 @@ + + From 3e5ab7b0ac8e5dcbf002975ad7a4fc9dab5d41c6 Mon Sep 17 00:00:00 2001 From: Eyck Jentzsch Date: Sat, 9 May 2020 14:27:27 +0200 Subject: [PATCH 12/15] cleanup use of org.equinox.ds --- .../META-INF/MANIFEST.MF | 1 - .../DatabaseServicesTest.launch | 1 - com.minres.scviewer.database.test/pom.xml | 9 --------- com.minres.scviewer.feature/feature.xml | 1 - 4 files changed, 12 deletions(-) diff --git a/com.minres.scviewer.database.leveldb/META-INF/MANIFEST.MF b/com.minres.scviewer.database.leveldb/META-INF/MANIFEST.MF index ff10c05..e073c5b 100644 --- a/com.minres.scviewer.database.leveldb/META-INF/MANIFEST.MF +++ b/com.minres.scviewer.database.leveldb/META-INF/MANIFEST.MF @@ -9,7 +9,6 @@ Import-Package: org.osgi.framework;version="1.3.0" Automatic-Module-Name: com.minres.scviewer.database.leveldb Service-Component: OSGI-INF/*.xml Require-Bundle: com.minres.scviewer.database;bundle-version="1.0.0", - org.eclipse.equinox.ds;bundle-version="1.4.200", org.eclipse.osgi.services;bundle-version="3.4.0" Bundle-ActivationPolicy: lazy Bundle-ClassPath: leveldb-0.11-SNAPSHOT-uber.jar, diff --git a/com.minres.scviewer.database.test/DatabaseServicesTest.launch b/com.minres.scviewer.database.test/DatabaseServicesTest.launch index f8e3594..4937b10 100644 --- a/com.minres.scviewer.database.test/DatabaseServicesTest.launch +++ b/com.minres.scviewer.database.test/DatabaseServicesTest.launch @@ -72,7 +72,6 @@ - diff --git a/com.minres.scviewer.database.test/pom.xml b/com.minres.scviewer.database.test/pom.xml index 37e3094..98726df 100644 --- a/com.minres.scviewer.database.test/pom.xml +++ b/com.minres.scviewer.database.test/pom.xml @@ -16,15 +16,6 @@ org.eclipse.tycho tycho-surefire-plugin ${tycho-version} - - - - - p2-installable-unit - org.eclipse.equinox.ds - - - diff --git a/com.minres.scviewer.feature/feature.xml b/com.minres.scviewer.feature/feature.xml index f32b411..bebca53 100644 --- a/com.minres.scviewer.feature/feature.xml +++ b/com.minres.scviewer.feature/feature.xml @@ -29,7 +29,6 @@ http://www.eclipse.org/legal/epl-v10.html - From 97693cd0c442ec5a44a61fdac2e4f9b5bd75e7b8 Mon Sep 17 00:00:00 2001 From: eyck Date: Mon, 1 Jun 2020 17:26:56 +0200 Subject: [PATCH 13/15] [WIP ]reorganized dir structure --- com.minres.scviewer.e4.product/pom.xml | 2 +- com.minres.scviewer.parent/.gitignore | 1 - com.minres.scviewer.parent/.project | 17 - .../com.minres.scviewer.target.target | 6 +- com.minres.scviewer.target/pom.xml | 4 +- .../.settings/org.eclipse.m2e.core.prefs | 4 - .../internal/E4PreferenceRegistry.java | 325 ------------------ .../com.minres.scviewer.feature}/.gitignore | 0 .../com.minres.scviewer.feature}/.project | 0 .../.settings/org.eclipse.m2e.core.prefs | 0 .../build.properties | 0 .../feature.properties | 0 .../com.minres.scviewer.feature}/feature.xml | 0 .../com.minres.scviewer.feature}/pom.xml | 4 +- .../.gitignore | 0 .../com.minres.scviewer.updateSite}/.project | 0 .../.settings/org.eclipse.m2e.core.prefs | 0 .../category.xml | 0 .../com.minres.scviewer.updateSite}/pom.xml | 2 +- .../src/main/resources/index.html | 0 .../src/main/resources/web/site.css | 0 .../src/main/resources/web/site.xsl | 0 .../.classpath | 0 .../.gitignore | 0 .../.project | 0 .../.settings/org.eclipse.jdt.core.prefs | 0 .../.settings/org.eclipse.pde.core.prefs | 0 .../org.eclipse.pde.ds.annotations.prefs | 0 .../META-INF/MANIFEST.MF | 0 .../OSGI-INF/component.xml | 0 .../build.properties | 0 .../json-20180813-sources.jar | Bin .../json-20180813.jar | Bin .../leveldb-0.11-SNAPSHOT-sources.jar | Bin .../leveldb-0.11-SNAPSHOT-uber.jar | Bin .../pom.xml | 4 +- .../database/leveldb/LevelDBLoader.java | 0 .../database/leveldb/StringDbIterator.java | 0 .../minres/scviewer/database/leveldb/Tx.java | 0 .../database/leveldb/TxAttribute.java | 0 .../database/leveldb/TxDBWrapper.java | 0 .../scviewer/database/leveldb/TxEvent.java | 0 .../database/leveldb/TxGenerator.java | 0 .../scviewer/database/leveldb/TxRelation.java | 0 .../scviewer/database/leveldb/TxStream.java | 0 .../.classpath | 0 .../.gitignore | 0 .../.project | 0 .../.settings/org.eclipse.jdt.core.prefs | 0 .../.settings/org.eclipse.m2e.core.prefs | 0 .../.settings/org.eclipse.pde.core.prefs | 0 .../META-INF/MANIFEST.MF | 0 .../OSGI-INF/component.xml | 0 .../build.properties | 0 .../pom.xml | 4 +- .../sqlite-jdbc-3.8.7.jar | Bin .../database/sqlite/SQLiteDbLoader.java | 0 .../minres/scviewer/database/sqlite/Tx.java | 0 .../scviewer/database/sqlite/TxAttribute.java | 0 .../scviewer/database/sqlite/TxEvent.java | 0 .../scviewer/database/sqlite/TxGenerator.java | 0 .../scviewer/database/sqlite/TxRelation.java | 0 .../scviewer/database/sqlite/TxStream.java | 0 .../sqlite/db/AbstractDatabaseHandler.java | 0 .../database/sqlite/db/IDatabase.java | 0 .../database/sqlite/db/SQLiteDatabase.java | 0 .../db/SQLiteDatabaseInsertHandler.java | 0 .../db/SQLiteDatabaseSelectHandler.java | 0 .../database/sqlite/tables/ScvGenerator.java | 0 .../database/sqlite/tables/ScvSimProps.java | 0 .../database/sqlite/tables/ScvStream.java | 0 .../database/sqlite/tables/ScvTx.java | 0 .../sqlite/tables/ScvTxAttribute.java | 0 .../database/sqlite/tables/ScvTxEvent.java | 0 .../database/sqlite/tables/ScvTxRelation.java | 0 .../.classpath | 0 .../.gitignore | 0 .../.project | 0 .../.settings/org.eclipse.jdt.core.prefs | 0 .../org.eclipse.jdt.groovy.core.prefs | 0 .../.settings/org.eclipse.m2e.core.prefs | 0 .../META-INF/MANIFEST.MF | 0 .../OSGI-INF/component.xml | 0 .../build.properties | 0 .../lib/eclipse-collections-9.2.0.jar | Bin .../lib/eclipse-collections-api-9.2.0.jar | Bin .../eclipse-collections-forkjoin-9.2.0.jar | Bin .../lib/elsa-3.0.0-M5.jar | Bin .../lib/kotlin-stdlib-1.2.42.jar | Bin .../lib/lz4-1.3.0.jar | Bin .../lib/mapdb-3.0.7-javadoc.jar | Bin .../lib/mapdb-3.0.7-sources.jar | Bin .../lib/mapdb-3.0.7.jar | Bin .../pom.xml | 4 +- .../database/text/TextDbLoader.groovy | 0 .../minres/scviewer/database/text/Tx.groovy | 0 .../scviewer/database/text/TxAttribute.groovy | 0 .../database/text/TxAttributeType.groovy | 0 .../text/TxAttributeTypeFactory.groovy | 0 .../scviewer/database/text/TxEvent.groovy | 0 .../scviewer/database/text/TxGenerator.groovy | 0 .../scviewer/database/text/TxRelation.groovy | 0 .../scviewer/database/text/TxStream.groovy | 0 .../.classpath | 0 .../.gitignore | 0 .../.project | 0 .../.settings/org.eclipse.jdt.core.prefs | 0 .../.settings/org.eclipse.m2e.core.prefs | 0 .../.settings/org.eclipse.pde.core.prefs | 0 .../META-INF/MANIFEST.MF | 0 .../build.properties | 0 .../pom.xml | 4 +- .../scviewer/database/swt/Constants.java | 0 .../database/swt/DatabaseUiPlugin.java | 0 .../database/swt/ToolTipContentProvider.java | 0 .../database/swt/ToolTipHelpTextProvider.java | 0 .../database/swt/WaveformViewerFactory.java | 0 .../database/swt/internal/ArrowPainter.java | 0 .../database/swt/internal/CursorPainter.java | 0 .../database/swt/internal/IPainter.java | 0 .../swt/internal/IWaveformPainter.java | 0 .../database/swt/internal/ObservableList.java | 0 .../swt/internal/RelSelectionDialog.java | 0 .../database/swt/internal/RulerPainter.java | 0 .../database/swt/internal/SignalPainter.java | 0 .../database/swt/internal/StreamPainter.java | 0 .../database/swt/internal/ToolTipHandler.java | 0 .../swt/internal/TrackAreaPainter.java | 0 .../database/swt/internal/TrackPainter.java | 0 .../database/swt/internal/WaveformCanvas.java | 0 .../database/swt/internal/WaveformViewer.java | 0 .../eclipse/wb/swt/SWTResourceManager.java | 0 .../.classpath | 0 .../.gitignore | 0 .../com.minres.scviewer.database.ui}/.project | 0 .../.settings/org.eclipse.jdt.core.prefs | 0 .../.settings/org.eclipse.pde.core.prefs | 0 .../META-INF/MANIFEST.MF | 0 .../build.properties | 0 .../com.minres.scviewer.database.ui}/pom.xml | 4 +- .../scviewer/database/ui/GotoDirection.java | 0 .../minres/scviewer/database/ui/ICursor.java | 0 .../scviewer/database/ui/IWaveformViewer.java | 0 .../database/ui/IWaveformViewerFactory.java | 0 .../scviewer/database/ui/TrackEntry.java | 0 .../scviewer/database/ui/WaveformColors.java | 0 .../.classpath | 0 .../.gitignore | 0 .../.project | 0 .../.settings/org.eclipse.jdt.core.prefs | 0 .../.settings/org.eclipse.m2e.core.prefs | 0 .../.settings/org.eclipse.pde.core.prefs | 0 .../META-INF/MANIFEST.MF | 0 .../OSGI-INF/component.xml | 0 .../build.properties | 0 .../com.minres.scviewer.database.vcd}/pom.xml | 4 +- .../database/vcd/IVCDDatabaseBuilder.java | 0 .../scviewer/database/vcd/VCDDbLoader.java | 0 .../scviewer/database/vcd/VCDFileParser.java | 0 .../scviewer/database/vcd/VCDSignal.java | 0 .../com.minres.scviewer.database}/.classpath | 0 .../com.minres.scviewer.database}/.gitignore | 0 .../com.minres.scviewer.database}/.project | 0 .../.settings/org.eclipse.jdt.core.prefs | 0 .../.settings/org.eclipse.m2e.core.prefs | 0 .../META-INF/MANIFEST.MF | 0 .../OSGI-INF/component.xml | 0 .../OSGI-INF/component2.xml | 0 .../build.properties | 0 .../com.minres.scviewer.database}/pom.xml | 4 +- .../scviewer/database/AssociationType.java | 0 .../minres/scviewer/database/BitValue.java | 0 .../minres/scviewer/database/BitVector.java | 0 .../minres/scviewer/database/DataType.java | 0 .../minres/scviewer/database/HierNode.java | 0 .../minres/scviewer/database/IHierNode.java | 0 .../com/minres/scviewer/database/ISignal.java | 0 .../src/com/minres/scviewer/database/ITx.java | 0 .../scviewer/database/ITxAttribute.java | 0 .../scviewer/database/ITxAttributeType.java | 0 .../minres/scviewer/database/ITxEvent.java | 0 .../scviewer/database/ITxGenerator.java | 0 .../minres/scviewer/database/ITxRelation.java | 0 .../minres/scviewer/database/ITxStream.java | 0 .../minres/scviewer/database/IWaveform.java | 0 .../minres/scviewer/database/IWaveformDb.java | 0 .../scviewer/database/IWaveformDbFactory.java | 0 .../scviewer/database/IWaveformDbLoader.java | 0 .../scviewer/database/IWaveformEvent.java | 0 .../database/InputFormatException.java | 0 .../scviewer/database/RelationType.java | 0 .../database/internal/WaveformDb.java | 0 .../database/internal/WaveformDbFactory.java | 0 .../.classpath | 0 .../.gitignore | 0 .../.project | 0 .../.settings/org.eclipse.jdt.core.prefs | 0 .../org.eclipse.ltk.core.refactoring.prefs | 0 .../.settings/org.eclipse.m2e.core.prefs | 0 .../.settings/org.eclipse.pde.core.prefs | 0 .../Application.e4xmi | 0 .../META-INF/MANIFEST.MF | 0 .../OSGI-INF/l10n/bundle.properties | 0 .../SilkCompanion1.txt | 0 .../build.properties | 0 .../css/default.css | 0 .../famfamfam_silk_icons_v013.txt | 0 .../icons/Minres_logo.png | Bin .../icons/SCViewer_logo.png | Bin .../icons/append_all_waves.png | Bin .../icons/append_wave.png | Bin .../icons/arrow_up.png | Bin .../icons/bullet_plus.png | Bin .../icons/cross.png | Bin .../icons/database.png | Bin .../icons/database_go.png | Bin .../icons/down_blue.png | Bin .../icons/empty.png | Bin .../icons/folder.png | Bin .../icons/folder_database.png | Bin .../icons/folder_page.png | Bin .../icons/insert_all_waves.png | Bin .../icons/insert_wave.png | Bin .../icons/lightbulb.png | Bin .../icons/magifier_zoom_out.png | Bin .../icons/magnifier.png | Bin .../icons/magnifier_zoom_in.png | Bin .../icons/page_white.png | Bin .../icons/play_blue.png | Bin .../icons/play_green.png | Bin .../icons/reverse_blue.png | Bin .../icons/reverse_green.png | Bin .../icons/save_edit.png | Bin .../icons/script_save.png | Bin .../icons/scviewer.png | Bin .../icons/signal.png | Bin .../icons/stream.png | Bin .../icons/tick.png | Bin .../icons/trash.png | Bin .../icons/up_blue.png | Bin .../icons/wave.png | Bin .../icons/zoom.png | Bin .../icons/zoom_in.png | Bin .../icons/zoom_out.png | Bin .../plugin.xml | 0 .../pom.xml | 4 +- .../scviewer/e4/application/AppModelId.java | 0 .../scviewer/e4/application/E4LifeCycle.java | 0 .../scviewer/e4/application/Messages.java | 0 .../elements/NavigateToolbarContribution.java | 0 .../elements/RelationTypeToolControl.java | 0 .../WaveformPopupMenuContribution.java | 0 .../e4/application/handlers/AboutHandler.java | 0 .../handlers/AddWaveformHandler.java | 0 .../handlers/ChangeValueDisplay.java | 0 .../handlers/ChangeWaveformDisplay.java | 0 .../handlers/DeleteWaveformHandler.java | 0 .../e4/application/handlers/EnableHover.java | 0 .../handlers/LoadStoreSettingsHandler.java | 0 .../handlers/MoveWaveformHandler.java | 0 .../application/handlers/NavigateEvent.java | 0 .../application/handlers/NavigateTrans.java | 0 .../e4/application/handlers/OpenHandler.java | 0 .../e4/application/handlers/QuitHandler.java | 0 .../e4/application/handlers/SaveHandler.java | 0 .../handlers/SelectAllHandler.java | 0 .../handlers/SetRelationTypeHandler.java | 0 .../application/handlers/ThemeSetHandler.java | 0 .../e4/application/handlers/ZoomHandler.java | 0 .../internal/status/HeapStatus.java | 0 .../internal/status/IHeapStatusConstants.java | 0 .../internal/status/StatusBarControl.java | 0 .../application/internal/status/TrimUtil.java | 0 .../internal/status/WaveStatusBarControl.java | 0 .../internal/util/FileMonitor.java | 0 .../internal/util/IFileChangeListener.java | 0 .../internal/util/IModificationChecker.java | 0 .../e4/application/messages.properties | 0 .../e4/application/options/OptionData.java | 0 .../e4/application/options/OptionSet.java | 0 .../e4/application/options/Options.java | 0 .../e4/application/parts/AboutDialog.java | 0 .../e4/application/parts/DesignBrowser.java | 0 .../application/parts/FileBrowserDialog.java | 0 .../application/parts/LoadingWaveformDb.java | 0 .../e4/application/parts/PartListener.java | 0 .../application/parts/TransactionDetails.java | 0 .../e4/application/parts/WaveformViewer.java | 0 .../preferences/DefaultValuesInitializer.java | 0 .../preferences/PreferenceConstants.java | 0 .../preferences/PreferencesStoreProvider.java | 0 .../preferences/SCViewerPreferencesPage.java | 0 .../preferences/WaveformPreferencesPage.java | 0 .../provider/TxDbContentProvider.java | 0 .../provider/TxDbLabelProvider.java | 0 .../provider/TxPropertiesContentProvider.java | 0 .../provider/TxPropertiesLabelProvider.java | 0 .../org/eclipse/wb/swt/ResourceManager.java | 0 .../eclipse/wb/swt/SWTResourceManager.java | 0 .../com.minres.scviewer.ui}/.classpath | 0 .../com.minres.scviewer.ui}/.gitignore | 0 .../com.minres.scviewer.ui}/.project | 0 .../.settings/org.eclipse.jdt.core.prefs | 0 .../org.eclipse.jdt.groovy.core.prefs | 0 .../.settings/org.eclipse.m2e.core.prefs | 0 .../META-INF/MANIFEST.MF | 0 .../OSGI-INF/component.xml | 0 .../SilkCompanion1.txt | 0 .../com.minres.scviewer.ui}/build.properties | 0 .../com.minres.scviewer.ui}/contexts.xml | 0 .../famfamfam_silk_icons_v013.txt | 0 .../com.minres.scviewer.ui}/plugin.xml | 0 .../com.minres.scviewer.ui}/pom.xml | 4 +- .../res/images/cross.png | Bin .../res/images/database.png | Bin .../res/images/folder.png | Bin .../res/images/next-green-d.png | Bin .../res/images/next-green.png | Bin .../res/images/previous-green-d.png | Bin .../res/images/previous-green.png | Bin .../res/images/scviewer.gif | Bin .../res/images/scviewer.png | Bin .../res/images/signal.png | Bin .../res/images/stream.png | Bin .../res/images/zoom.png | Bin .../res/images/zoom_in.png | Bin .../res/images/zoom_out.png | Bin .../src/com/minres/scviewer/ui/Hex.java | 0 .../ui/TxEditorActionBarContributor.java | 0 .../com/minres/scviewer/ui/TxEditorInput.java | 0 .../scviewer/ui/TxEditorInputFactory.java | 0 .../com/minres/scviewer/ui/TxEditorPart.java | 0 .../minres/scviewer/ui/TxEditorPlugin.java | 0 .../adapter/ITransactionPropertySource.java | 0 .../scviewer/ui/adapter/TxAdapterFactory.java | 0 .../minres/scviewer/ui/handler/GotoNext.java | 0 .../minres/scviewer/ui/handler/GotoPrev.java | 0 .../scviewer/ui/handler/RemoveHandler.java | 0 .../com/minres/scviewer/ui/handler/Zoom.java | 0 .../minres/scviewer/ui/handler/ZoomInOut.java | 0 .../scviewer/ui/views/SelectionTableView.java | 0 .../ui/views/TransactionPropertySheet.java | 0 .../scviewer/ui/views/TxOutlinePage.java | 0 .../provider/TxDbTreeContentProvider.java | 0 .../views/provider/TxDbTreeLabelProvider.java | 0 .../ui/views/sections/AttributeProperty.java | 0 .../ui/views/sections/RelatedProperty.java | 0 .../eclipse/wb/swt/SWTResourceManager.java | 0 com.minres.scviewer.parent/pom.xml => pom.xml | 28 +- .../.classpath | 0 .../.gitignore | 0 .../.project | 0 .../.settings/org.eclipse.jdt.core.prefs | 0 .../.settings/org.eclipse.m2e.core.prefs | 0 .../.settings/org.eclipse.pde.core.prefs | 0 .../DatabaseServicesTest.launch | 0 .../META-INF/MANIFEST.MF | 0 .../OSGI-INF/component.xml | 0 .../build.properties | 0 .../inputs/.gitignore | 0 .../inputs/my_db.txlog | 0 .../inputs/my_db.vcd | 0 .../inputs/my_db_truncated.txlog | 0 .../inputs/my_ldb.txldb/000005.sst | Bin .../inputs/my_ldb.txldb/000046.log | Bin .../inputs/my_ldb.txldb/CURRENT | 0 .../inputs/my_ldb.txldb/LOCK | 0 .../inputs/my_ldb.txldb/LOG | 0 .../inputs/my_ldb.txldb/MANIFEST-000045 | Bin .../inputs/my_ldb.vcd | 0 .../inputs/my_sqldb.txdb | Bin .../inputs/simple_system.vcd | 0 .../pom.xml | 4 +- .../database/test/DatabaseServicesTest.java | 0 374 files changed, 43 insertions(+), 390 deletions(-) delete mode 100644 com.minres.scviewer.parent/.gitignore delete mode 100644 com.minres.scviewer.parent/.project delete mode 100644 com.minres.scviewer.updateSite/.settings/org.eclipse.m2e.core.prefs delete mode 100644 com.opcoach.e4.preferences/src/com/opcoach/e4/preferences/internal/E4PreferenceRegistry.java rename {com.minres.scviewer.feature => features/com.minres.scviewer.feature}/.gitignore (100%) rename {com.minres.scviewer.feature => features/com.minres.scviewer.feature}/.project (100%) rename {com.minres.scviewer.database.sqlite => features/com.minres.scviewer.feature}/.settings/org.eclipse.m2e.core.prefs (100%) rename {com.minres.scviewer.feature => features/com.minres.scviewer.feature}/build.properties (100%) rename {com.minres.scviewer.feature => features/com.minres.scviewer.feature}/feature.properties (100%) rename {com.minres.scviewer.feature => features/com.minres.scviewer.feature}/feature.xml (100%) rename {com.minres.scviewer.feature => features/com.minres.scviewer.feature}/pom.xml (88%) rename {com.minres.scviewer.updateSite => p2repositories/com.minres.scviewer.updateSite}/.gitignore (100%) rename {com.minres.scviewer.updateSite => p2repositories/com.minres.scviewer.updateSite}/.project (100%) rename {com.minres.scviewer.database.test => p2repositories/com.minres.scviewer.updateSite}/.settings/org.eclipse.m2e.core.prefs (100%) rename {com.minres.scviewer.updateSite => p2repositories/com.minres.scviewer.updateSite}/category.xml (100%) rename {com.minres.scviewer.updateSite => p2repositories/com.minres.scviewer.updateSite}/pom.xml (90%) rename {com.minres.scviewer.updateSite => p2repositories/com.minres.scviewer.updateSite}/src/main/resources/index.html (100%) rename {com.minres.scviewer.updateSite => p2repositories/com.minres.scviewer.updateSite}/src/main/resources/web/site.css (100%) rename {com.minres.scviewer.updateSite => p2repositories/com.minres.scviewer.updateSite}/src/main/resources/web/site.xsl (100%) rename {com.minres.scviewer.database.leveldb => plugins/com.minres.scviewer.database.leveldb}/.classpath (100%) rename {com.minres.scviewer.database.leveldb => plugins/com.minres.scviewer.database.leveldb}/.gitignore (100%) rename {com.minres.scviewer.database.leveldb => plugins/com.minres.scviewer.database.leveldb}/.project (100%) rename {com.minres.scviewer.database.leveldb => plugins/com.minres.scviewer.database.leveldb}/.settings/org.eclipse.jdt.core.prefs (100%) rename {com.minres.scviewer.database.leveldb => plugins/com.minres.scviewer.database.leveldb}/.settings/org.eclipse.pde.core.prefs (100%) rename {com.minres.scviewer.database.leveldb => plugins/com.minres.scviewer.database.leveldb}/.settings/org.eclipse.pde.ds.annotations.prefs (100%) rename {com.minres.scviewer.database.leveldb => plugins/com.minres.scviewer.database.leveldb}/META-INF/MANIFEST.MF (100%) rename {com.minres.scviewer.database.leveldb => plugins/com.minres.scviewer.database.leveldb}/OSGI-INF/component.xml (100%) rename {com.minres.scviewer.database.leveldb => plugins/com.minres.scviewer.database.leveldb}/build.properties (100%) rename {com.minres.scviewer.database.leveldb => plugins/com.minres.scviewer.database.leveldb}/json-20180813-sources.jar (100%) rename {com.minres.scviewer.database.leveldb => plugins/com.minres.scviewer.database.leveldb}/json-20180813.jar (100%) rename {com.minres.scviewer.database.leveldb => plugins/com.minres.scviewer.database.leveldb}/leveldb-0.11-SNAPSHOT-sources.jar (100%) rename {com.minres.scviewer.database.leveldb => plugins/com.minres.scviewer.database.leveldb}/leveldb-0.11-SNAPSHOT-uber.jar (100%) rename {com.minres.scviewer.database.leveldb => plugins/com.minres.scviewer.database.leveldb}/pom.xml (88%) rename {com.minres.scviewer.database.leveldb => plugins/com.minres.scviewer.database.leveldb}/src/com/minres/scviewer/database/leveldb/LevelDBLoader.java (100%) rename {com.minres.scviewer.database.leveldb => plugins/com.minres.scviewer.database.leveldb}/src/com/minres/scviewer/database/leveldb/StringDbIterator.java (100%) rename {com.minres.scviewer.database.leveldb => plugins/com.minres.scviewer.database.leveldb}/src/com/minres/scviewer/database/leveldb/Tx.java (100%) rename {com.minres.scviewer.database.leveldb => plugins/com.minres.scviewer.database.leveldb}/src/com/minres/scviewer/database/leveldb/TxAttribute.java (100%) rename {com.minres.scviewer.database.leveldb => plugins/com.minres.scviewer.database.leveldb}/src/com/minres/scviewer/database/leveldb/TxDBWrapper.java (100%) rename {com.minres.scviewer.database.leveldb => plugins/com.minres.scviewer.database.leveldb}/src/com/minres/scviewer/database/leveldb/TxEvent.java (100%) rename {com.minres.scviewer.database.leveldb => plugins/com.minres.scviewer.database.leveldb}/src/com/minres/scviewer/database/leveldb/TxGenerator.java (100%) rename {com.minres.scviewer.database.leveldb => plugins/com.minres.scviewer.database.leveldb}/src/com/minres/scviewer/database/leveldb/TxRelation.java (100%) rename {com.minres.scviewer.database.leveldb => plugins/com.minres.scviewer.database.leveldb}/src/com/minres/scviewer/database/leveldb/TxStream.java (100%) rename {com.minres.scviewer.database.sqlite => plugins/com.minres.scviewer.database.sqlite}/.classpath (100%) rename {com.minres.scviewer.database.sqlite => plugins/com.minres.scviewer.database.sqlite}/.gitignore (100%) rename {com.minres.scviewer.database.sqlite => plugins/com.minres.scviewer.database.sqlite}/.project (100%) rename {com.minres.scviewer.database.sqlite => plugins/com.minres.scviewer.database.sqlite}/.settings/org.eclipse.jdt.core.prefs (100%) rename {com.minres.scviewer.database.text => plugins/com.minres.scviewer.database.sqlite}/.settings/org.eclipse.m2e.core.prefs (100%) rename {com.minres.scviewer.database.sqlite => plugins/com.minres.scviewer.database.sqlite}/.settings/org.eclipse.pde.core.prefs (100%) rename {com.minres.scviewer.database.sqlite => plugins/com.minres.scviewer.database.sqlite}/META-INF/MANIFEST.MF (100%) rename {com.minres.scviewer.database.sqlite => plugins/com.minres.scviewer.database.sqlite}/OSGI-INF/component.xml (100%) rename {com.minres.scviewer.database.sqlite => plugins/com.minres.scviewer.database.sqlite}/build.properties (100%) rename {com.minres.scviewer.database.sqlite => plugins/com.minres.scviewer.database.sqlite}/pom.xml (90%) rename {com.minres.scviewer.database.sqlite => plugins/com.minres.scviewer.database.sqlite}/sqlite-jdbc-3.8.7.jar (100%) rename {com.minres.scviewer.database.sqlite => plugins/com.minres.scviewer.database.sqlite}/src/com/minres/scviewer/database/sqlite/SQLiteDbLoader.java (100%) rename {com.minres.scviewer.database.sqlite => plugins/com.minres.scviewer.database.sqlite}/src/com/minres/scviewer/database/sqlite/Tx.java (100%) rename {com.minres.scviewer.database.sqlite => plugins/com.minres.scviewer.database.sqlite}/src/com/minres/scviewer/database/sqlite/TxAttribute.java (100%) rename {com.minres.scviewer.database.sqlite => plugins/com.minres.scviewer.database.sqlite}/src/com/minres/scviewer/database/sqlite/TxEvent.java (100%) rename {com.minres.scviewer.database.sqlite => plugins/com.minres.scviewer.database.sqlite}/src/com/minres/scviewer/database/sqlite/TxGenerator.java (100%) rename {com.minres.scviewer.database.sqlite => plugins/com.minres.scviewer.database.sqlite}/src/com/minres/scviewer/database/sqlite/TxRelation.java (100%) rename {com.minres.scviewer.database.sqlite => plugins/com.minres.scviewer.database.sqlite}/src/com/minres/scviewer/database/sqlite/TxStream.java (100%) rename {com.minres.scviewer.database.sqlite => plugins/com.minres.scviewer.database.sqlite}/src/com/minres/scviewer/database/sqlite/db/AbstractDatabaseHandler.java (100%) rename {com.minres.scviewer.database.sqlite => plugins/com.minres.scviewer.database.sqlite}/src/com/minres/scviewer/database/sqlite/db/IDatabase.java (100%) rename {com.minres.scviewer.database.sqlite => plugins/com.minres.scviewer.database.sqlite}/src/com/minres/scviewer/database/sqlite/db/SQLiteDatabase.java (100%) rename {com.minres.scviewer.database.sqlite => plugins/com.minres.scviewer.database.sqlite}/src/com/minres/scviewer/database/sqlite/db/SQLiteDatabaseInsertHandler.java (100%) rename {com.minres.scviewer.database.sqlite => plugins/com.minres.scviewer.database.sqlite}/src/com/minres/scviewer/database/sqlite/db/SQLiteDatabaseSelectHandler.java (100%) rename {com.minres.scviewer.database.sqlite => plugins/com.minres.scviewer.database.sqlite}/src/com/minres/scviewer/database/sqlite/tables/ScvGenerator.java (100%) rename {com.minres.scviewer.database.sqlite => plugins/com.minres.scviewer.database.sqlite}/src/com/minres/scviewer/database/sqlite/tables/ScvSimProps.java (100%) rename {com.minres.scviewer.database.sqlite => plugins/com.minres.scviewer.database.sqlite}/src/com/minres/scviewer/database/sqlite/tables/ScvStream.java (100%) rename {com.minres.scviewer.database.sqlite => plugins/com.minres.scviewer.database.sqlite}/src/com/minres/scviewer/database/sqlite/tables/ScvTx.java (100%) rename {com.minres.scviewer.database.sqlite => plugins/com.minres.scviewer.database.sqlite}/src/com/minres/scviewer/database/sqlite/tables/ScvTxAttribute.java (100%) rename {com.minres.scviewer.database.sqlite => plugins/com.minres.scviewer.database.sqlite}/src/com/minres/scviewer/database/sqlite/tables/ScvTxEvent.java (100%) rename {com.minres.scviewer.database.sqlite => plugins/com.minres.scviewer.database.sqlite}/src/com/minres/scviewer/database/sqlite/tables/ScvTxRelation.java (100%) rename {com.minres.scviewer.database.text => plugins/com.minres.scviewer.database.text}/.classpath (100%) rename {com.minres.scviewer.database.text => plugins/com.minres.scviewer.database.text}/.gitignore (100%) rename {com.minres.scviewer.database.text => plugins/com.minres.scviewer.database.text}/.project (100%) rename {com.minres.scviewer.database.text => plugins/com.minres.scviewer.database.text}/.settings/org.eclipse.jdt.core.prefs (100%) rename {com.minres.scviewer.database.text => plugins/com.minres.scviewer.database.text}/.settings/org.eclipse.jdt.groovy.core.prefs (100%) rename {com.minres.scviewer.database.ui.swt => plugins/com.minres.scviewer.database.text}/.settings/org.eclipse.m2e.core.prefs (100%) rename {com.minres.scviewer.database.text => plugins/com.minres.scviewer.database.text}/META-INF/MANIFEST.MF (100%) rename {com.minres.scviewer.database.text => plugins/com.minres.scviewer.database.text}/OSGI-INF/component.xml (100%) rename {com.minres.scviewer.database.text => plugins/com.minres.scviewer.database.text}/build.properties (100%) rename {com.minres.scviewer.database.text => plugins/com.minres.scviewer.database.text}/lib/eclipse-collections-9.2.0.jar (100%) rename {com.minres.scviewer.database.text => plugins/com.minres.scviewer.database.text}/lib/eclipse-collections-api-9.2.0.jar (100%) rename {com.minres.scviewer.database.text => plugins/com.minres.scviewer.database.text}/lib/eclipse-collections-forkjoin-9.2.0.jar (100%) rename {com.minres.scviewer.database.text => plugins/com.minres.scviewer.database.text}/lib/elsa-3.0.0-M5.jar (100%) rename {com.minres.scviewer.database.text => plugins/com.minres.scviewer.database.text}/lib/kotlin-stdlib-1.2.42.jar (100%) rename {com.minres.scviewer.database.text => plugins/com.minres.scviewer.database.text}/lib/lz4-1.3.0.jar (100%) rename {com.minres.scviewer.database.text => plugins/com.minres.scviewer.database.text}/lib/mapdb-3.0.7-javadoc.jar (100%) rename {com.minres.scviewer.database.text => plugins/com.minres.scviewer.database.text}/lib/mapdb-3.0.7-sources.jar (100%) rename {com.minres.scviewer.database.text => plugins/com.minres.scviewer.database.text}/lib/mapdb-3.0.7.jar (100%) rename {com.minres.scviewer.database.text => plugins/com.minres.scviewer.database.text}/pom.xml (95%) rename {com.minres.scviewer.database.text => plugins/com.minres.scviewer.database.text}/src/com/minres/scviewer/database/text/TextDbLoader.groovy (100%) rename {com.minres.scviewer.database.text => plugins/com.minres.scviewer.database.text}/src/com/minres/scviewer/database/text/Tx.groovy (100%) rename {com.minres.scviewer.database.text => plugins/com.minres.scviewer.database.text}/src/com/minres/scviewer/database/text/TxAttribute.groovy (100%) rename {com.minres.scviewer.database.text => plugins/com.minres.scviewer.database.text}/src/com/minres/scviewer/database/text/TxAttributeType.groovy (100%) rename {com.minres.scviewer.database.text => plugins/com.minres.scviewer.database.text}/src/com/minres/scviewer/database/text/TxAttributeTypeFactory.groovy (100%) rename {com.minres.scviewer.database.text => plugins/com.minres.scviewer.database.text}/src/com/minres/scviewer/database/text/TxEvent.groovy (100%) rename {com.minres.scviewer.database.text => plugins/com.minres.scviewer.database.text}/src/com/minres/scviewer/database/text/TxGenerator.groovy (100%) rename {com.minres.scviewer.database.text => plugins/com.minres.scviewer.database.text}/src/com/minres/scviewer/database/text/TxRelation.groovy (100%) rename {com.minres.scviewer.database.text => plugins/com.minres.scviewer.database.text}/src/com/minres/scviewer/database/text/TxStream.groovy (100%) rename {com.minres.scviewer.database.ui.swt => plugins/com.minres.scviewer.database.ui.swt}/.classpath (100%) rename {com.minres.scviewer.database.test => plugins/com.minres.scviewer.database.ui.swt}/.gitignore (100%) rename {com.minres.scviewer.database.ui.swt => plugins/com.minres.scviewer.database.ui.swt}/.project (100%) rename {com.minres.scviewer.database.ui.swt => plugins/com.minres.scviewer.database.ui.swt}/.settings/org.eclipse.jdt.core.prefs (100%) rename {com.minres.scviewer.database.vcd => plugins/com.minres.scviewer.database.ui.swt}/.settings/org.eclipse.m2e.core.prefs (100%) rename {com.minres.scviewer.database.test => plugins/com.minres.scviewer.database.ui.swt}/.settings/org.eclipse.pde.core.prefs (100%) rename {com.minres.scviewer.database.ui.swt => plugins/com.minres.scviewer.database.ui.swt}/META-INF/MANIFEST.MF (100%) rename {com.minres.scviewer.database.ui.swt => plugins/com.minres.scviewer.database.ui.swt}/build.properties (100%) rename {com.minres.scviewer.database.ui.swt => plugins/com.minres.scviewer.database.ui.swt}/pom.xml (88%) rename {com.minres.scviewer.database.ui.swt => plugins/com.minres.scviewer.database.ui.swt}/src/com/minres/scviewer/database/swt/Constants.java (100%) rename {com.minres.scviewer.database.ui.swt => plugins/com.minres.scviewer.database.ui.swt}/src/com/minres/scviewer/database/swt/DatabaseUiPlugin.java (100%) rename {com.minres.scviewer.database.ui.swt => plugins/com.minres.scviewer.database.ui.swt}/src/com/minres/scviewer/database/swt/ToolTipContentProvider.java (100%) rename {com.minres.scviewer.database.ui.swt => plugins/com.minres.scviewer.database.ui.swt}/src/com/minres/scviewer/database/swt/ToolTipHelpTextProvider.java (100%) rename {com.minres.scviewer.database.ui.swt => plugins/com.minres.scviewer.database.ui.swt}/src/com/minres/scviewer/database/swt/WaveformViewerFactory.java (100%) rename {com.minres.scviewer.database.ui.swt => plugins/com.minres.scviewer.database.ui.swt}/src/com/minres/scviewer/database/swt/internal/ArrowPainter.java (100%) rename {com.minres.scviewer.database.ui.swt => plugins/com.minres.scviewer.database.ui.swt}/src/com/minres/scviewer/database/swt/internal/CursorPainter.java (100%) rename {com.minres.scviewer.database.ui.swt => plugins/com.minres.scviewer.database.ui.swt}/src/com/minres/scviewer/database/swt/internal/IPainter.java (100%) rename {com.minres.scviewer.database.ui.swt => plugins/com.minres.scviewer.database.ui.swt}/src/com/minres/scviewer/database/swt/internal/IWaveformPainter.java (100%) rename {com.minres.scviewer.database.ui.swt => plugins/com.minres.scviewer.database.ui.swt}/src/com/minres/scviewer/database/swt/internal/ObservableList.java (100%) rename {com.minres.scviewer.database.ui.swt => plugins/com.minres.scviewer.database.ui.swt}/src/com/minres/scviewer/database/swt/internal/RelSelectionDialog.java (100%) rename {com.minres.scviewer.database.ui.swt => plugins/com.minres.scviewer.database.ui.swt}/src/com/minres/scviewer/database/swt/internal/RulerPainter.java (100%) rename {com.minres.scviewer.database.ui.swt => plugins/com.minres.scviewer.database.ui.swt}/src/com/minres/scviewer/database/swt/internal/SignalPainter.java (100%) rename {com.minres.scviewer.database.ui.swt => plugins/com.minres.scviewer.database.ui.swt}/src/com/minres/scviewer/database/swt/internal/StreamPainter.java (100%) rename {com.minres.scviewer.database.ui.swt => plugins/com.minres.scviewer.database.ui.swt}/src/com/minres/scviewer/database/swt/internal/ToolTipHandler.java (100%) rename {com.minres.scviewer.database.ui.swt => plugins/com.minres.scviewer.database.ui.swt}/src/com/minres/scviewer/database/swt/internal/TrackAreaPainter.java (100%) rename {com.minres.scviewer.database.ui.swt => plugins/com.minres.scviewer.database.ui.swt}/src/com/minres/scviewer/database/swt/internal/TrackPainter.java (100%) rename {com.minres.scviewer.database.ui.swt => plugins/com.minres.scviewer.database.ui.swt}/src/com/minres/scviewer/database/swt/internal/WaveformCanvas.java (100%) rename {com.minres.scviewer.database.ui.swt => plugins/com.minres.scviewer.database.ui.swt}/src/com/minres/scviewer/database/swt/internal/WaveformViewer.java (100%) rename {com.minres.scviewer.database.ui.swt => plugins/com.minres.scviewer.database.ui.swt}/src/org/eclipse/wb/swt/SWTResourceManager.java (100%) rename {com.minres.scviewer.database.ui => plugins/com.minres.scviewer.database.ui}/.classpath (100%) rename {com.minres.scviewer.database.ui.swt => plugins/com.minres.scviewer.database.ui}/.gitignore (100%) rename {com.minres.scviewer.database.ui => plugins/com.minres.scviewer.database.ui}/.project (100%) rename {com.minres.scviewer.database.ui => plugins/com.minres.scviewer.database.ui}/.settings/org.eclipse.jdt.core.prefs (100%) rename {com.minres.scviewer.database.ui.swt => plugins/com.minres.scviewer.database.ui}/.settings/org.eclipse.pde.core.prefs (100%) rename {com.minres.scviewer.database.ui => plugins/com.minres.scviewer.database.ui}/META-INF/MANIFEST.MF (100%) rename {com.minres.scviewer.database.ui => plugins/com.minres.scviewer.database.ui}/build.properties (100%) rename {com.minres.scviewer.database.ui => plugins/com.minres.scviewer.database.ui}/pom.xml (87%) rename {com.minres.scviewer.database.ui => plugins/com.minres.scviewer.database.ui}/src/com/minres/scviewer/database/ui/GotoDirection.java (100%) rename {com.minres.scviewer.database.ui => plugins/com.minres.scviewer.database.ui}/src/com/minres/scviewer/database/ui/ICursor.java (100%) rename {com.minres.scviewer.database.ui => plugins/com.minres.scviewer.database.ui}/src/com/minres/scviewer/database/ui/IWaveformViewer.java (100%) rename {com.minres.scviewer.database.ui => plugins/com.minres.scviewer.database.ui}/src/com/minres/scviewer/database/ui/IWaveformViewerFactory.java (100%) rename {com.minres.scviewer.database.ui => plugins/com.minres.scviewer.database.ui}/src/com/minres/scviewer/database/ui/TrackEntry.java (100%) rename {com.minres.scviewer.database.ui => plugins/com.minres.scviewer.database.ui}/src/com/minres/scviewer/database/ui/WaveformColors.java (100%) rename {com.minres.scviewer.database.vcd => plugins/com.minres.scviewer.database.vcd}/.classpath (100%) rename {com.minres.scviewer.database.ui => plugins/com.minres.scviewer.database.vcd}/.gitignore (100%) rename {com.minres.scviewer.database.vcd => plugins/com.minres.scviewer.database.vcd}/.project (100%) rename {com.minres.scviewer.database.vcd => plugins/com.minres.scviewer.database.vcd}/.settings/org.eclipse.jdt.core.prefs (100%) rename {com.minres.scviewer.database => plugins/com.minres.scviewer.database.vcd}/.settings/org.eclipse.m2e.core.prefs (100%) rename {com.minres.scviewer.database.ui => plugins/com.minres.scviewer.database.vcd}/.settings/org.eclipse.pde.core.prefs (100%) rename {com.minres.scviewer.database.vcd => plugins/com.minres.scviewer.database.vcd}/META-INF/MANIFEST.MF (100%) rename {com.minres.scviewer.database.vcd => plugins/com.minres.scviewer.database.vcd}/OSGI-INF/component.xml (100%) rename {com.minres.scviewer.database.vcd => plugins/com.minres.scviewer.database.vcd}/build.properties (100%) rename {com.minres.scviewer.database.vcd => plugins/com.minres.scviewer.database.vcd}/pom.xml (88%) rename {com.minres.scviewer.database.vcd => plugins/com.minres.scviewer.database.vcd}/src/com/minres/scviewer/database/vcd/IVCDDatabaseBuilder.java (100%) rename {com.minres.scviewer.database.vcd => plugins/com.minres.scviewer.database.vcd}/src/com/minres/scviewer/database/vcd/VCDDbLoader.java (100%) rename {com.minres.scviewer.database.vcd => plugins/com.minres.scviewer.database.vcd}/src/com/minres/scviewer/database/vcd/VCDFileParser.java (100%) rename {com.minres.scviewer.database.vcd => plugins/com.minres.scviewer.database.vcd}/src/com/minres/scviewer/database/vcd/VCDSignal.java (100%) rename {com.minres.scviewer.database => plugins/com.minres.scviewer.database}/.classpath (100%) rename {com.minres.scviewer.database => plugins/com.minres.scviewer.database}/.gitignore (100%) rename {com.minres.scviewer.database => plugins/com.minres.scviewer.database}/.project (100%) rename {com.minres.scviewer.database.test => plugins/com.minres.scviewer.database}/.settings/org.eclipse.jdt.core.prefs (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.database}/.settings/org.eclipse.m2e.core.prefs (100%) rename {com.minres.scviewer.database => plugins/com.minres.scviewer.database}/META-INF/MANIFEST.MF (100%) rename {com.minres.scviewer.database => plugins/com.minres.scviewer.database}/OSGI-INF/component.xml (100%) rename {com.minres.scviewer.database => plugins/com.minres.scviewer.database}/OSGI-INF/component2.xml (100%) rename {com.minres.scviewer.database => plugins/com.minres.scviewer.database}/build.properties (100%) rename {com.minres.scviewer.database => plugins/com.minres.scviewer.database}/pom.xml (88%) rename {com.minres.scviewer.database => plugins/com.minres.scviewer.database}/src/com/minres/scviewer/database/AssociationType.java (100%) rename {com.minres.scviewer.database => plugins/com.minres.scviewer.database}/src/com/minres/scviewer/database/BitValue.java (100%) rename {com.minres.scviewer.database => plugins/com.minres.scviewer.database}/src/com/minres/scviewer/database/BitVector.java (100%) rename {com.minres.scviewer.database => plugins/com.minres.scviewer.database}/src/com/minres/scviewer/database/DataType.java (100%) rename {com.minres.scviewer.database => plugins/com.minres.scviewer.database}/src/com/minres/scviewer/database/HierNode.java (100%) rename {com.minres.scviewer.database => plugins/com.minres.scviewer.database}/src/com/minres/scviewer/database/IHierNode.java (100%) rename {com.minres.scviewer.database => plugins/com.minres.scviewer.database}/src/com/minres/scviewer/database/ISignal.java (100%) rename {com.minres.scviewer.database => plugins/com.minres.scviewer.database}/src/com/minres/scviewer/database/ITx.java (100%) rename {com.minres.scviewer.database => plugins/com.minres.scviewer.database}/src/com/minres/scviewer/database/ITxAttribute.java (100%) rename {com.minres.scviewer.database => plugins/com.minres.scviewer.database}/src/com/minres/scviewer/database/ITxAttributeType.java (100%) rename {com.minres.scviewer.database => plugins/com.minres.scviewer.database}/src/com/minres/scviewer/database/ITxEvent.java (100%) rename {com.minres.scviewer.database => plugins/com.minres.scviewer.database}/src/com/minres/scviewer/database/ITxGenerator.java (100%) rename {com.minres.scviewer.database => plugins/com.minres.scviewer.database}/src/com/minres/scviewer/database/ITxRelation.java (100%) rename {com.minres.scviewer.database => plugins/com.minres.scviewer.database}/src/com/minres/scviewer/database/ITxStream.java (100%) rename {com.minres.scviewer.database => plugins/com.minres.scviewer.database}/src/com/minres/scviewer/database/IWaveform.java (100%) rename {com.minres.scviewer.database => plugins/com.minres.scviewer.database}/src/com/minres/scviewer/database/IWaveformDb.java (100%) rename {com.minres.scviewer.database => plugins/com.minres.scviewer.database}/src/com/minres/scviewer/database/IWaveformDbFactory.java (100%) rename {com.minres.scviewer.database => plugins/com.minres.scviewer.database}/src/com/minres/scviewer/database/IWaveformDbLoader.java (100%) rename {com.minres.scviewer.database => plugins/com.minres.scviewer.database}/src/com/minres/scviewer/database/IWaveformEvent.java (100%) rename {com.minres.scviewer.database => plugins/com.minres.scviewer.database}/src/com/minres/scviewer/database/InputFormatException.java (100%) rename {com.minres.scviewer.database => plugins/com.minres.scviewer.database}/src/com/minres/scviewer/database/RelationType.java (100%) rename {com.minres.scviewer.database => plugins/com.minres.scviewer.database}/src/com/minres/scviewer/database/internal/WaveformDb.java (100%) rename {com.minres.scviewer.database => plugins/com.minres.scviewer.database}/src/com/minres/scviewer/database/internal/WaveformDbFactory.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/.classpath (100%) rename {com.minres.scviewer.database.vcd => plugins/com.minres.scviewer.e4.application}/.gitignore (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/.project (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/.settings/org.eclipse.jdt.core.prefs (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/.settings/org.eclipse.ltk.core.refactoring.prefs (100%) rename {com.minres.scviewer.feature => plugins/com.minres.scviewer.e4.application}/.settings/org.eclipse.m2e.core.prefs (100%) rename {com.minres.scviewer.database.vcd => plugins/com.minres.scviewer.e4.application}/.settings/org.eclipse.pde.core.prefs (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/Application.e4xmi (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/META-INF/MANIFEST.MF (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/OSGI-INF/l10n/bundle.properties (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/SilkCompanion1.txt (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/build.properties (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/css/default.css (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/famfamfam_silk_icons_v013.txt (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/icons/Minres_logo.png (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/icons/SCViewer_logo.png (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/icons/append_all_waves.png (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/icons/append_wave.png (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/icons/arrow_up.png (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/icons/bullet_plus.png (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/icons/cross.png (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/icons/database.png (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/icons/database_go.png (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/icons/down_blue.png (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/icons/empty.png (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/icons/folder.png (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/icons/folder_database.png (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/icons/folder_page.png (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/icons/insert_all_waves.png (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/icons/insert_wave.png (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/icons/lightbulb.png (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/icons/magifier_zoom_out.png (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/icons/magnifier.png (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/icons/magnifier_zoom_in.png (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/icons/page_white.png (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/icons/play_blue.png (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/icons/play_green.png (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/icons/reverse_blue.png (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/icons/reverse_green.png (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/icons/save_edit.png (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/icons/script_save.png (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/icons/scviewer.png (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/icons/signal.png (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/icons/stream.png (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/icons/tick.png (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/icons/trash.png (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/icons/up_blue.png (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/icons/wave.png (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/icons/zoom.png (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/icons/zoom_in.png (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/icons/zoom_out.png (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/plugin.xml (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/pom.xml (87%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/AppModelId.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/E4LifeCycle.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/Messages.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/elements/NavigateToolbarContribution.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/elements/RelationTypeToolControl.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/elements/WaveformPopupMenuContribution.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/handlers/AboutHandler.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/handlers/AddWaveformHandler.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/handlers/ChangeValueDisplay.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/handlers/ChangeWaveformDisplay.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/handlers/DeleteWaveformHandler.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/handlers/EnableHover.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/handlers/LoadStoreSettingsHandler.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/handlers/MoveWaveformHandler.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/handlers/NavigateEvent.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/handlers/NavigateTrans.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/handlers/OpenHandler.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/handlers/QuitHandler.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/handlers/SaveHandler.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/handlers/SelectAllHandler.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/handlers/SetRelationTypeHandler.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/handlers/ThemeSetHandler.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/handlers/ZoomHandler.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/internal/status/HeapStatus.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/internal/status/IHeapStatusConstants.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/internal/status/StatusBarControl.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/internal/status/TrimUtil.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/internal/status/WaveStatusBarControl.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/internal/util/FileMonitor.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/internal/util/IFileChangeListener.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/internal/util/IModificationChecker.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/messages.properties (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/options/OptionData.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/options/OptionSet.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/options/Options.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/parts/AboutDialog.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/parts/DesignBrowser.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/parts/FileBrowserDialog.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/parts/LoadingWaveformDb.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/parts/PartListener.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/parts/TransactionDetails.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/parts/WaveformViewer.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/preferences/DefaultValuesInitializer.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/preferences/PreferenceConstants.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/preferences/PreferencesStoreProvider.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/preferences/SCViewerPreferencesPage.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/preferences/WaveformPreferencesPage.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/provider/TxDbContentProvider.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/provider/TxDbLabelProvider.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/provider/TxPropertiesContentProvider.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/com/minres/scviewer/e4/application/provider/TxPropertiesLabelProvider.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/org/eclipse/wb/swt/ResourceManager.java (100%) rename {com.minres.scviewer.e4.application => plugins/com.minres.scviewer.e4.application}/src/org/eclipse/wb/swt/SWTResourceManager.java (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/.classpath (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/.gitignore (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/.project (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/.settings/org.eclipse.jdt.core.prefs (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/.settings/org.eclipse.jdt.groovy.core.prefs (100%) rename {com.minres.scviewer.parent => plugins/com.minres.scviewer.ui}/.settings/org.eclipse.m2e.core.prefs (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/META-INF/MANIFEST.MF (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/OSGI-INF/component.xml (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/SilkCompanion1.txt (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/build.properties (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/contexts.xml (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/famfamfam_silk_icons_v013.txt (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/plugin.xml (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/pom.xml (87%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/res/images/cross.png (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/res/images/database.png (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/res/images/folder.png (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/res/images/next-green-d.png (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/res/images/next-green.png (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/res/images/previous-green-d.png (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/res/images/previous-green.png (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/res/images/scviewer.gif (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/res/images/scviewer.png (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/res/images/signal.png (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/res/images/stream.png (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/res/images/zoom.png (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/res/images/zoom_in.png (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/res/images/zoom_out.png (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/src/com/minres/scviewer/ui/Hex.java (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/src/com/minres/scviewer/ui/TxEditorActionBarContributor.java (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/src/com/minres/scviewer/ui/TxEditorInput.java (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/src/com/minres/scviewer/ui/TxEditorInputFactory.java (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/src/com/minres/scviewer/ui/TxEditorPart.java (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/src/com/minres/scviewer/ui/TxEditorPlugin.java (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/src/com/minres/scviewer/ui/adapter/ITransactionPropertySource.java (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/src/com/minres/scviewer/ui/adapter/TxAdapterFactory.java (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/src/com/minres/scviewer/ui/handler/GotoNext.java (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/src/com/minres/scviewer/ui/handler/GotoPrev.java (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/src/com/minres/scviewer/ui/handler/RemoveHandler.java (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/src/com/minres/scviewer/ui/handler/Zoom.java (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/src/com/minres/scviewer/ui/handler/ZoomInOut.java (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/src/com/minres/scviewer/ui/views/SelectionTableView.java (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/src/com/minres/scviewer/ui/views/TransactionPropertySheet.java (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/src/com/minres/scviewer/ui/views/TxOutlinePage.java (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/src/com/minres/scviewer/ui/views/provider/TxDbTreeContentProvider.java (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/src/com/minres/scviewer/ui/views/provider/TxDbTreeLabelProvider.java (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/src/com/minres/scviewer/ui/views/sections/AttributeProperty.java (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/src/com/minres/scviewer/ui/views/sections/RelatedProperty.java (100%) rename {com.minres.scviewer.ui => plugins/com.minres.scviewer.ui}/src/org/eclipse/wb/swt/SWTResourceManager.java (100%) rename com.minres.scviewer.parent/pom.xml => pom.xml (81%) rename {com.minres.scviewer.database.test => tests/com.minres.scviewer.database.test}/.classpath (100%) rename {com.minres.scviewer.e4.application => tests/com.minres.scviewer.database.test}/.gitignore (100%) rename {com.minres.scviewer.database.test => tests/com.minres.scviewer.database.test}/.project (100%) rename {com.minres.scviewer.database => tests/com.minres.scviewer.database.test}/.settings/org.eclipse.jdt.core.prefs (100%) rename {com.minres.scviewer.ui => tests/com.minres.scviewer.database.test}/.settings/org.eclipse.m2e.core.prefs (100%) rename {com.minres.scviewer.e4.application => tests/com.minres.scviewer.database.test}/.settings/org.eclipse.pde.core.prefs (100%) rename {com.minres.scviewer.database.test => tests/com.minres.scviewer.database.test}/DatabaseServicesTest.launch (100%) rename {com.minres.scviewer.database.test => tests/com.minres.scviewer.database.test}/META-INF/MANIFEST.MF (100%) rename {com.minres.scviewer.database.test => tests/com.minres.scviewer.database.test}/OSGI-INF/component.xml (100%) rename {com.minres.scviewer.database.test => tests/com.minres.scviewer.database.test}/build.properties (100%) rename {com.minres.scviewer.database.test => tests/com.minres.scviewer.database.test}/inputs/.gitignore (100%) rename {com.minres.scviewer.database.test => tests/com.minres.scviewer.database.test}/inputs/my_db.txlog (100%) rename {com.minres.scviewer.database.test => tests/com.minres.scviewer.database.test}/inputs/my_db.vcd (100%) rename {com.minres.scviewer.database.test => tests/com.minres.scviewer.database.test}/inputs/my_db_truncated.txlog (100%) rename {com.minres.scviewer.database.test => tests/com.minres.scviewer.database.test}/inputs/my_ldb.txldb/000005.sst (100%) rename {com.minres.scviewer.database.test => tests/com.minres.scviewer.database.test}/inputs/my_ldb.txldb/000046.log (100%) rename {com.minres.scviewer.database.test => tests/com.minres.scviewer.database.test}/inputs/my_ldb.txldb/CURRENT (100%) rename {com.minres.scviewer.database.test => tests/com.minres.scviewer.database.test}/inputs/my_ldb.txldb/LOCK (100%) rename {com.minres.scviewer.database.test => tests/com.minres.scviewer.database.test}/inputs/my_ldb.txldb/LOG (100%) rename {com.minres.scviewer.database.test => tests/com.minres.scviewer.database.test}/inputs/my_ldb.txldb/MANIFEST-000045 (100%) rename {com.minres.scviewer.database.test => tests/com.minres.scviewer.database.test}/inputs/my_ldb.vcd (100%) rename {com.minres.scviewer.database.test => tests/com.minres.scviewer.database.test}/inputs/my_sqldb.txdb (100%) rename {com.minres.scviewer.database.test => tests/com.minres.scviewer.database.test}/inputs/simple_system.vcd (100%) rename {com.minres.scviewer.database.test => tests/com.minres.scviewer.database.test}/pom.xml (91%) rename {com.minres.scviewer.database.test => tests/com.minres.scviewer.database.test}/src/com/minres/scviewer/database/test/DatabaseServicesTest.java (100%) diff --git a/com.minres.scviewer.e4.product/pom.xml b/com.minres.scviewer.e4.product/pom.xml index f87674d..99973ca 100644 --- a/com.minres.scviewer.e4.product/pom.xml +++ b/com.minres.scviewer.e4.product/pom.xml @@ -7,7 +7,7 @@ com.minres.scviewer com.minres.scviewer.parent 2.0.0-SNAPSHOT - ../com.minres.scviewer.parent + .. com.minres.scviewer.e4.product 2.6.0-SNAPSHOT diff --git a/com.minres.scviewer.parent/.gitignore b/com.minres.scviewer.parent/.gitignore deleted file mode 100644 index 9e440c0..0000000 --- a/com.minres.scviewer.parent/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/workspace/ diff --git a/com.minres.scviewer.parent/.project b/com.minres.scviewer.parent/.project deleted file mode 100644 index a68889f..0000000 --- a/com.minres.scviewer.parent/.project +++ /dev/null @@ -1,17 +0,0 @@ - - - com.minres.scviewer.parent - - - - - - org.eclipse.m2e.core.maven2Builder - - - - - - org.eclipse.m2e.core.maven2Nature - - diff --git a/com.minres.scviewer.target/com.minres.scviewer.target.target b/com.minres.scviewer.target/com.minres.scviewer.target.target index c2d147a..5242f57 100644 --- a/com.minres.scviewer.target/com.minres.scviewer.target.target +++ b/com.minres.scviewer.target/com.minres.scviewer.target.target @@ -3,7 +3,7 @@ - + @@ -12,11 +12,11 @@ - + - + diff --git a/com.minres.scviewer.target/pom.xml b/com.minres.scviewer.target/pom.xml index 459e328..d28de3c 100644 --- a/com.minres.scviewer.target/pom.xml +++ b/com.minres.scviewer.target/pom.xml @@ -13,7 +13,7 @@ com.minres.scviewer com.minres.scviewer.parent 2.0.0-SNAPSHOT - ../com.minres.scviewer.parent + .. - \ No newline at end of file + diff --git a/com.minres.scviewer.updateSite/.settings/org.eclipse.m2e.core.prefs b/com.minres.scviewer.updateSite/.settings/org.eclipse.m2e.core.prefs deleted file mode 100644 index f897a7f..0000000 --- a/com.minres.scviewer.updateSite/.settings/org.eclipse.m2e.core.prefs +++ /dev/null @@ -1,4 +0,0 @@ -activeProfiles= -eclipse.preferences.version=1 -resolveWorkspaceProjects=true -version=1 diff --git a/com.opcoach.e4.preferences/src/com/opcoach/e4/preferences/internal/E4PreferenceRegistry.java b/com.opcoach.e4.preferences/src/com/opcoach/e4/preferences/internal/E4PreferenceRegistry.java deleted file mode 100644 index de4baf8..0000000 --- a/com.opcoach.e4.preferences/src/com/opcoach/e4/preferences/internal/E4PreferenceRegistry.java +++ /dev/null @@ -1,325 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2014 OPCoach. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * OPCoach - initial API and implementation - *******************************************************************************/ -package com.opcoach.e4.preferences.internal; - -import java.util.ArrayList; -import java.util.Collection; -import java.util.Collections; -import java.util.HashMap; -import java.util.Map; - -import javax.inject.Inject; - -import org.eclipse.core.runtime.IConfigurationElement; -import org.eclipse.core.runtime.IExtensionRegistry; -import org.eclipse.core.runtime.preferences.InstanceScope; -import org.eclipse.e4.core.contexts.ContextInjectionFactory; -import org.eclipse.e4.core.contexts.IEclipseContext; -import org.eclipse.e4.core.di.annotations.Creatable; -import org.eclipse.e4.core.services.contributions.IContributionFactory; -import org.eclipse.e4.core.services.log.Logger; -import org.eclipse.jface.preference.IPreferenceNode; -import org.eclipse.jface.preference.IPreferenceStore; -import org.eclipse.jface.preference.PreferenceManager; -import org.eclipse.jface.preference.PreferenceNode; -import org.eclipse.jface.preference.PreferencePage; -import org.eclipse.swt.SWT; -import org.eclipse.swt.widgets.Composite; -import org.eclipse.swt.widgets.Control; -import org.eclipse.swt.widgets.Label; - -import com.opcoach.e4.preferences.IPreferenceStoreProvider; -import com.opcoach.e4.preferences.ScopedPreferenceStore; - -@SuppressWarnings("restriction") -@Creatable -public class E4PreferenceRegistry -{ - - public static final String PREFS_PAGE_XP = "com.opcoach.e4.preferences.e4PreferencePages"; // $NON-NLS-1$ - public static final String PREF_STORE_PROVIDER = "com.opcoach.e4.preferences.e4PreferenceStoreProvider"; // $NON-NLS-1$ - public static final String KEY_PREF_STORE_PROVIDERS = "com.opcoach.e4.preferences.e4PreferenceStoreProviders"; // $NON-NLS-1$ - protected static final String ELMT_PAGE = "page"; // $NON-NLS-1$ - protected static final String ATTR_ID = "id"; // $NON-NLS-1$ - protected static final String ATTR_CATEGORY = "category"; // $NON-NLS-1$ - protected static final String ATTR_CLASS = "class"; // $NON-NLS-1$ - protected static final String ATTR_NAME = "name"; // $NON-NLS-1$ - - protected static final String ATTR_PLUGIN_ID = "pluginId"; // $NON-NLS-1$ - protected static final String ATTR_ID_IN_WBCONTEXT = "idInWorkbenchContext"; // $NON-NLS-1$ - - @Inject - protected Logger logger; - - @Inject - protected IEclipseContext context; - - @Inject - protected IExtensionRegistry registry; - - private PreferenceManager pm = null; - - // A map of (pluginId, { IPreferenceStoreProvider, or key in wbcontext } - private Map psProviders; - - public PreferenceManager getPreferenceManager() - { - - // Remember of the unbounded nodes to order parent pages. - // Map (all nodes except root nodes) - Map> childrenNodes = new HashMap>(); - - if (pm != null) - return pm; - - pm = new PreferenceManager(); - IContributionFactory factory = context.get(IContributionFactory.class); - - for (IConfigurationElement elmt : registry.getConfigurationElementsFor(PREFS_PAGE_XP)) - { - String bundleId = elmt.getNamespaceIdentifier(); - if (!elmt.getName().equals(ELMT_PAGE)) - { - logger.warn("unexpected element: {0}", elmt.getName()); - continue; - } else if (isEmpty(elmt.getAttribute(ATTR_ID)) || isEmpty(elmt.getAttribute(ATTR_NAME))) - { - logger.warn("missing id and/or name: {}", bundleId); - continue; - } - PreferenceNode pn = null; - if (elmt.getAttribute(ATTR_CLASS) != null) - { - PreferencePage page = null; - try - { - String prefPageURI = getClassURI(bundleId, elmt.getAttribute(ATTR_CLASS)); - Object object = factory.create(prefPageURI, context); - if (!(object instanceof PreferencePage)) - { - logger.error("Expected instance of PreferencePage: {0}", elmt.getAttribute(ATTR_CLASS)); - continue; - } - page = (PreferencePage) object; - setPreferenceStore(bundleId, page); - - } catch (ClassNotFoundException e) - { - logger.error(e); - continue; - } - ContextInjectionFactory.inject(page, context); - if ((page.getTitle() == null || page.getTitle().isEmpty()) && elmt.getAttribute(ATTR_NAME) != null) - { - page.setTitle(elmt.getAttribute(ATTR_NAME)); - } - - pn = new PreferenceNode(elmt.getAttribute(ATTR_ID), page); - } else - { - pn = new PreferenceNode(elmt.getAttribute(ATTR_ID), new EmptyPreferencePage(elmt.getAttribute(ATTR_NAME))); - } - - // Issue 2 : Fix bug on order (see : - // https://github.com/opcoach/e4Preferences/issues/2) - // Add only pages at root level and remember of child pages for - // categories - String category = elmt.getAttribute(ATTR_CATEGORY); - if (isEmpty(category)) - { - pm.addToRoot(pn); - } else - { - /* - * IPreferenceNode parent = findNode(pm, category); if (parent - * == null) { // No parent found, but may be the extension has - * not been read yet. So remember of it unboundedNodes.put(pn, - * category); } else { parent.add(pn); } - */ - // Check if this category is already registered. - Collection children = childrenNodes.get(category); - if (children == null) - { - children = new ArrayList(); - childrenNodes.put(category, children); - } - children.add(pn); - } - } - - // Must now bind pages that has not been added in nodes (depends on the - // preference page read order) - // Iterate on all possible categories - Collection categoriesDone = new ArrayList(); - - while (!childrenNodes.isEmpty()) - { - for (String cat : Collections.unmodifiableSet(childrenNodes.keySet())) - { - // Is this category already in preference manager ? If not add - // it later... - IPreferenceNode parent = findNode(pm, cat); - if (parent != null) - { - // Can add the list of children to this parent page... - for (IPreferenceNode pn : childrenNodes.get(cat)) - { - parent.add(pn); - } - // Ok This parent page is done. Can remove it from map - // outside of this loop - categoriesDone.add(cat); - } - } - - for (String keyToRemove : categoriesDone) - childrenNodes.remove(keyToRemove); - categoriesDone.clear(); - - } - - return pm; - } - - private void setPreferenceStore(String bundleId, PreferencePage page) - { - // Affect preference store to this page if this is a - // PreferencePage, else, must manage it internally - // Set the issue#1 on github : - // https://github.com/opcoach/e4Preferences/issues/1 - // And manage the extensions of IP - initialisePreferenceStoreProviders(); - - IPreferenceStore store = null; - - // Get the preference store according to policy. - Object data = psProviders.get(bundleId); - if (data != null) - { - if (data instanceof IPreferenceStore) - store = (IPreferenceStore) data; - else if (data instanceof IPreferenceStoreProvider) - store = ((IPreferenceStoreProvider) data).getPreferenceStore(); - else if (data instanceof String) - store = (IPreferenceStore) context.get((String) data); - - } else - { - // Default behavior : create a preference store for this bundle and remember of it - store = new ScopedPreferenceStore(InstanceScope.INSTANCE, bundleId); - psProviders.put(bundleId, store); - } - - - if (store != null) - page.setPreferenceStore(store); - else - { - logger.warn("Unable to set the preferenceStore for page " + page.getTitle() + " defined in bundle " + bundleId); - } - - } - - /** Read the e4PreferenceStoreProvider extension point */ - private void initialisePreferenceStoreProviders() - { - if (psProviders == null) - { - IContributionFactory factory = context.get(IContributionFactory.class); - - psProviders = new HashMap(); - IExtensionRegistry registry = context.get(IExtensionRegistry.class); - - // Read extensions and fill the map... - for (IConfigurationElement elmt : registry.getConfigurationElementsFor(PREF_STORE_PROVIDER)) - { - String declaringBundle = elmt.getNamespaceIdentifier(); - String pluginId = elmt.getAttribute(ATTR_PLUGIN_ID); - if (isEmpty(pluginId)) - { - logger.warn("missing plugin Id in extension " + PREF_STORE_PROVIDER + " check the plugin " + declaringBundle); - continue; - } - - String classname = elmt.getAttribute(ATTR_CLASS); - String objectId = elmt.getAttribute(ATTR_ID_IN_WBCONTEXT); - - if ((isEmpty(classname) && isEmpty(objectId)) || (((classname != null) && classname.length() > 0) && ((objectId != null) && objectId.length() > 0))) - { - logger.warn("In extension " + PREF_STORE_PROVIDER + " only one of the two attributes (pluginId or idInWorkbenchContext) must be set. Check the plugin " - + declaringBundle); - continue; - } - - // Ok can now work with data... - Object data = objectId; - if (classname != null) - { - data = factory.create("bundleclass://"+declaringBundle+"/"+classname, context); - if (!(data instanceof IPreferenceStoreProvider)) - { - logger.warn("In extension " + PREF_STORE_PROVIDER + " the class must implements IPreferenceStoreProvider. Check the plugin " + declaringBundle); - continue; - } - } - - psProviders.put(pluginId, data); - - } - - context.set(KEY_PREF_STORE_PROVIDERS, psProviders); - } - } - - private IPreferenceNode findNode(PreferenceManager pm, String categoryId) - { - for (Object o : pm.getElements(PreferenceManager.POST_ORDER)) - { - if (o instanceof IPreferenceNode && ((IPreferenceNode) o).getId().equals(categoryId)) - { - return (IPreferenceNode) o; - } - } - return null; - } - - private String getClassURI(String definingBundleId, String spec) throws ClassNotFoundException - { - if (spec.startsWith("platform:")) - { - return spec; - } // $NON-NLS-1$ - return "bundleclass://" + definingBundleId + '/' + spec; - } - - private boolean isEmpty(String value) - { - return value == null || value.trim().isEmpty(); - } - - static class EmptyPreferencePage extends PreferencePage - { - - public EmptyPreferencePage(String title) - { - setTitle(title); - noDefaultAndApplyButton(); - } - - @Override - protected Control createContents(Composite parent) - { - return new Label(parent, SWT.NONE); - } - - } - -} diff --git a/com.minres.scviewer.feature/.gitignore b/features/com.minres.scviewer.feature/.gitignore similarity index 100% rename from com.minres.scviewer.feature/.gitignore rename to features/com.minres.scviewer.feature/.gitignore diff --git a/com.minres.scviewer.feature/.project b/features/com.minres.scviewer.feature/.project similarity index 100% rename from com.minres.scviewer.feature/.project rename to features/com.minres.scviewer.feature/.project diff --git a/com.minres.scviewer.database.sqlite/.settings/org.eclipse.m2e.core.prefs b/features/com.minres.scviewer.feature/.settings/org.eclipse.m2e.core.prefs similarity index 100% rename from com.minres.scviewer.database.sqlite/.settings/org.eclipse.m2e.core.prefs rename to features/com.minres.scviewer.feature/.settings/org.eclipse.m2e.core.prefs diff --git a/com.minres.scviewer.feature/build.properties b/features/com.minres.scviewer.feature/build.properties similarity index 100% rename from com.minres.scviewer.feature/build.properties rename to features/com.minres.scviewer.feature/build.properties diff --git a/com.minres.scviewer.feature/feature.properties b/features/com.minres.scviewer.feature/feature.properties similarity index 100% rename from com.minres.scviewer.feature/feature.properties rename to features/com.minres.scviewer.feature/feature.properties diff --git a/com.minres.scviewer.feature/feature.xml b/features/com.minres.scviewer.feature/feature.xml similarity index 100% rename from com.minres.scviewer.feature/feature.xml rename to features/com.minres.scviewer.feature/feature.xml diff --git a/com.minres.scviewer.feature/pom.xml b/features/com.minres.scviewer.feature/pom.xml similarity index 88% rename from com.minres.scviewer.feature/pom.xml rename to features/com.minres.scviewer.feature/pom.xml index 8da4db3..309086f 100644 --- a/com.minres.scviewer.feature/pom.xml +++ b/features/com.minres.scviewer.feature/pom.xml @@ -6,7 +6,7 @@ com.minres.scviewer com.minres.scviewer.parent 2.0.0-SNAPSHOT - ../com.minres.scviewer.parent + ../.. 1.0.0-SNAPSHOT - \ No newline at end of file + diff --git a/com.minres.scviewer.updateSite/.gitignore b/p2repositories/com.minres.scviewer.updateSite/.gitignore similarity index 100% rename from com.minres.scviewer.updateSite/.gitignore rename to p2repositories/com.minres.scviewer.updateSite/.gitignore diff --git a/com.minres.scviewer.updateSite/.project b/p2repositories/com.minres.scviewer.updateSite/.project similarity index 100% rename from com.minres.scviewer.updateSite/.project rename to p2repositories/com.minres.scviewer.updateSite/.project diff --git a/com.minres.scviewer.database.test/.settings/org.eclipse.m2e.core.prefs b/p2repositories/com.minres.scviewer.updateSite/.settings/org.eclipse.m2e.core.prefs similarity index 100% rename from com.minres.scviewer.database.test/.settings/org.eclipse.m2e.core.prefs rename to p2repositories/com.minres.scviewer.updateSite/.settings/org.eclipse.m2e.core.prefs diff --git a/com.minres.scviewer.updateSite/category.xml b/p2repositories/com.minres.scviewer.updateSite/category.xml similarity index 100% rename from com.minres.scviewer.updateSite/category.xml rename to p2repositories/com.minres.scviewer.updateSite/category.xml diff --git a/com.minres.scviewer.updateSite/pom.xml b/p2repositories/com.minres.scviewer.updateSite/pom.xml similarity index 90% rename from com.minres.scviewer.updateSite/pom.xml rename to p2repositories/com.minres.scviewer.updateSite/pom.xml index b3a3c1e..3634c3d 100644 --- a/com.minres.scviewer.updateSite/pom.xml +++ b/p2repositories/com.minres.scviewer.updateSite/pom.xml @@ -7,7 +7,7 @@ com.minres.scviewer com.minres.scviewer.parent 2.0.0-SNAPSHOT - ../com.minres.scviewer.parent + ../.. + + + + + org.eclipse.tycho tycho-p2-plugin @@ -115,29 +141,6 @@ - - org.eclipse.tycho.extras - tycho-source-feature-plugin - ${tycho-version} - - - - source-feature - package - - source-feature - - - - - - - - - - - - diff --git a/tests/com.minres.scviewer.database.test/inputs/.gitignore b/tests/com.minres.scviewer.database.test/inputs/.gitignore index e89429b..947900c 100644 --- a/tests/com.minres.scviewer.database.test/inputs/.gitignore +++ b/tests/com.minres.scviewer.database.test/inputs/.gitignore @@ -1,2 +1,4 @@ /.scviewer.* -/.my_db.txlog* \ No newline at end of file +/.my_db.txlog* +/EyeQ6_mem_platform.txlog +/EyeQ6_mem_platform.vcd From 35ccc71f102f1188fddd76f876958a8b68f2506f Mon Sep 17 00:00:00 2001 From: eyck Date: Thu, 11 Jun 2020 10:51:59 +0200 Subject: [PATCH 15/15] fix TransactionDetails handling of attributes --- .../com.minres.scviewer.e4.feature/.gitignore | 1 + .../application/parts/TransactionDetails.java | 162 ++++++++++++------ 2 files changed, 112 insertions(+), 51 deletions(-) create mode 100644 features/com.minres.scviewer.e4.feature/.gitignore diff --git a/features/com.minres.scviewer.e4.feature/.gitignore b/features/com.minres.scviewer.e4.feature/.gitignore new file mode 100644 index 0000000..b83d222 --- /dev/null +++ b/features/com.minres.scviewer.e4.feature/.gitignore @@ -0,0 +1 @@ +/target/ diff --git a/plugins/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/parts/TransactionDetails.java b/plugins/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/parts/TransactionDetails.java index 48118da..17bf32f 100644 --- a/plugins/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/parts/TransactionDetails.java +++ b/plugins/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/parts/TransactionDetails.java @@ -12,9 +12,13 @@ package com.minres.scviewer.e4.application.parts; import java.util.AbstractMap; import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; import java.util.Map; +import java.util.Objects; import java.util.TreeMap; import java.util.Vector; +import java.util.function.Function; import java.util.regex.PatternSyntaxException; import java.util.stream.Collectors; @@ -34,6 +38,7 @@ import org.eclipse.jface.viewers.DelegatingStyledCellLabelProvider; import org.eclipse.jface.viewers.DelegatingStyledCellLabelProvider.IStyledLabelProvider; import org.eclipse.jface.viewers.DoubleClickEvent; import org.eclipse.jface.viewers.IDoubleClickListener; +import org.eclipse.jface.viewers.IElementComparer; import org.eclipse.jface.viewers.ISelection; import org.eclipse.jface.viewers.IStructuredSelection; import org.eclipse.jface.viewers.ITreeContentProvider; @@ -42,6 +47,7 @@ import org.eclipse.jface.viewers.LabelProvider; import org.eclipse.jface.viewers.StructuredSelection; import org.eclipse.jface.viewers.StyledString; import org.eclipse.jface.viewers.TreeExpansionEvent; +import org.eclipse.jface.viewers.TreePath; import org.eclipse.jface.viewers.TreeViewer; import org.eclipse.jface.viewers.TreeViewerColumn; import org.eclipse.jface.viewers.Viewer; @@ -146,16 +152,19 @@ public class TransactionDetails { @Override public void treeCollapsed(TreeExpansionEvent event) { + Object o = event.getElement(); + TreePath[] paths = treeViewer.getExpandedTreePaths(); treeViewer.getSelection(); } @Override public void treeExpanded(TreeExpansionEvent event) { + Object o = event.getElement(); + TreePath[] paths = treeViewer.getExpandedTreePaths(); treeViewer.getSelection(); } }); - // Set up the table Tree tree = treeViewer.getTree(); tree.setLayoutData(new GridData(GridData.FILL_BOTH)); @@ -273,77 +282,110 @@ public class TransactionDetails { this.waveformViewerPart=part; } + class ViewSettings { + public ViewSettings(List names, TreePath[] paths) { + super(); + this.names = names; + this.paths = paths; + } + public List names; + public TreePath[] paths; + } + HashMap settings = new HashMap<>(); + public void setInput(Object object) { if(object instanceof ITx){ - ArrayList names = new ArrayList<>(); - int indexInParent=getTopItemHier(names); - ArrayList states = getExpandedState(treeViewer.getTree().getItems()); + Object oldInput = treeViewer.getInput(); + if(oldInput!=null) { + final Integer hash = getAttrNameHash(oldInput); + final List names = getTopItemHier(treeViewer.getTree().getTopItem()); + final TreePath[] paths = treeViewer.getInput()!=null?treeViewer.getExpandedTreePaths():null; + settings.put(hash, new ViewSettings(names, paths)); + } treeViewer.setInput(object); - setExpandedState(treeViewer.getTree().getItems(), states); - setTopItemFromHier(names, indexInParent); + final Integer newHash = getAttrNameHash(object); + final ViewSettings newSettings = settings.get(newHash); + if(newSettings!=null) { + setExpandedState(newSettings.paths); + setTopItemFromHier(newSettings.names, treeViewer.getTree().getItems()); + } else + setExpandedState(null); } else { treeViewer.setInput(null); } } - private void setExpandedState(TreeItem[] treeItems, ArrayList states) { - for (int i = 0; i < treeItems.length; i++) { - treeItems[i].setExpanded(states.size()>i?states.get(i):true); - } - } + int getAttrNameHash(Object o) { + if(o instanceof ITx) { + ITx tx = (ITx) o; + List attr_names = tx.getAttributes().stream().map(a -> a.getName()).collect(Collectors.toList()); + return Objects.hash(attr_names); + } else + return o.hashCode(); - private ArrayList getExpandedState(TreeItem[] items){ - ArrayList ret = new ArrayList<>(); - for (TreeItem treeItem : items) - ret.add(treeItem.getItemCount()>0?treeItem.getExpanded():true); - return ret; } - - private int getTopItemHier(ArrayList names){ - int indexInParent=-1; - TreeItem obj = treeViewer.getTree().getTopItem(); - if(obj!=null) { - names.add(0, obj.getText(0)); - if(obj.getParentItem()!=null) { - TreeItem pobj=obj.getParentItem(); - names.add(0, pobj.getText(0)); - TreeItem[] items = pobj.getItems(); - for (int i = 0; i < items.length; i++) { - if(items[i]==obj) { - indexInParent=i; + + private void setExpandedState(TreePath[] paths) { + if(paths==null) + treeViewer.setAutoExpandLevel(2); + else { + TransactionTreeContentProvider cp = (TransactionTreeContentProvider) treeViewer.getContentProvider(); + Object[] elems = cp.getElements(treeViewer.getInput()); + for(TreePath path: paths) { + TreeNode firstSeg = (TreeNode)path.getFirstSegment(); + for(Object elem : elems) { + if(((TreeNode)elem).type == firstSeg.type) { + treeViewer.setExpandedState(elem, true); + if(firstSeg.type==TransactionDetails.Type.ATTRS && path.getSegmentCount()>1) + expandSubNodes(path, 1, (TreeNode)elem); break; } } } } - return indexInParent; } - private void setTopItemFromHier(ArrayList names, int indexInParent) { - if(indexInParent<0 || names.size()==0 ) return; - TreeItem selItem=null; - for (TreeItem item : treeViewer.getTree().getItems()) { // find item from category - if(item.getText(0).equals(names.get(0))) { - if(names.size()>1) { // if we had an attribute as top item - TreeItem[] subItems=item.getItems(); - for(TreeItem it : subItems) { // try to align by name - if(it.getText(0).equals(names.get(1))) { - selItem=it; - break; - } - } - if(selItem==null && indexInParent>=0 && subItems.length>0) // name based match failed so try to use position - selItem=subItems[subItems.length>indexInParent?indexInParent:subItems.length-1]; + private void expandSubNodes(TreePath path, int level, TreeNode elem) { + if(level==path.getSegmentCount()) return; + TransactionTreeContentProvider cp = (TransactionTreeContentProvider) treeViewer.getContentProvider(); + Object[] childs = cp.getChildren(elem); + TreeNode nextSeg = (TreeNode)path.getSegment(level); + for(Object child:childs) { + if(child instanceof TreeNode) { + TreeNode node = (TreeNode) child; + if(nextSeg.toString().equals(node.toString())) { + treeViewer.setExpandedState(node, true); + expandSubNodes(path, level+1, node); + break; } - if(selItem==null) // no match in attributes so set the category as top item - selItem=item; - break; } } - if(selItem!=null) - treeViewer.getTree().setTopItem(selItem); } + + List getTopItemHier(TreeItem node){ + if(node == null) { + return new ArrayList(); + } else { + List elems = getTopItemHier(node.getParentItem()); + elems.add(node.getText(0)); + return elems; + } + } + + private void setTopItemFromHier(List names, TreeItem [] items) { + for (TreeItem item : items) { // find item from category + if(item.getText(0).equals(names.get(0))) { + if(names.size()==1 || item.getItemCount()==0) { + treeViewer.getTree().setTopItem(item); + } else { + setTopItemFromHier(names.subList(1, names.size()), item.getItems()); + } + return; + } + } + } + /** * Sets the selection. * @@ -513,7 +555,7 @@ public class TransactionDetails { /** * The Class TreeNode. */ - class TreeNode{ + class TreeNode implements Comparable{ /** The type. */ public Type type; @@ -576,6 +618,24 @@ public class TransactionDetails { } private Object[] childs=null; + + @Override + public boolean equals(Object o) { + if(o instanceof TreeNode) { + TreeNode t = (TreeNode) o; + return type==t.type && hier_path.equals(t.hier_path); + } + return false; + } + + @Override + public int compareTo(TreeNode o) { + int res1 = type.compareTo(o.type); + if(res1==0) { + return hier_path.compareTo(o.hier_path); + } else + return res1; + } } /**