diff --git a/com.wudsn.ide.tst/.classpath b/com.wudsn.ide.tst/.classpath
index 6e16b23d..f0a28895 100644
--- a/com.wudsn.ide.tst/.classpath
+++ b/com.wudsn.ide.tst/.classpath
@@ -2,6 +2,15 @@
-
+
+
+
+
+
+
+
+
+
+
diff --git a/com.wudsn.ide.tst/META-INF/MANIFEST.MF b/com.wudsn.ide.tst/META-INF/MANIFEST.MF
index 3aa01875..a9639c2f 100644
--- a/com.wudsn.ide.tst/META-INF/MANIFEST.MF
+++ b/com.wudsn.ide.tst/META-INF/MANIFEST.MF
@@ -7,12 +7,14 @@ Bundle-Activator: com.wudsn.ide.tst.Activator
Bundle-Vendor: WUDSN IDE Test Plugin
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
- org.eclipse.jface.text,
- org.eclipse.ui.editors,
org.eclipse.core.resources,
- org.eclipse.ui.workbench,
- org.eclipse.ui.ide;bundle-version="3.9.1",
- org.eclipse.help
+ org.eclipse.ui.ide,
+ org.eclipse.ui.views,
+ com.wudsn.ide.base,
+ org.eclipse.jface.text,
+ org.eclipse.help,
+ org.eclipse.ui.editors
Bundle-RequiredExecutionEnvironment: JavaSE-11
Bundle-ActivationPolicy: lazy; exclude:="com.wudsn.ide.tst.contenttypes"
Automatic-Module-Name: com.wudsn.ide.tst
+Import-Package: org.eclipse.ui.editors.text
diff --git a/com.wudsn.ide.tst/context.xml b/com.wudsn.ide.tst/context.xml
new file mode 100644
index 00000000..3ece1d7b
--- /dev/null
+++ b/com.wudsn.ide.tst/context.xml
@@ -0,0 +1,6 @@
+
+
+ This is the sample context-sensitive help. There is a link to the help content below.
+
+
+
\ No newline at end of file
diff --git a/com.wudsn.ide.tst/help/toc.xml b/com.wudsn.ide.tst/help/toc.xml
new file mode 100644
index 00000000..03c45227
--- /dev/null
+++ b/com.wudsn.ide.tst/help/toc.xml
@@ -0,0 +1,2 @@
+
+TODO Have sections in TOC
\ No newline at end of file
diff --git a/com.wudsn.ide.tst/plugin.xml b/com.wudsn.ide.tst/plugin.xml
index 3656693c..cb302d44 100644
--- a/com.wudsn.ide.tst/plugin.xml
+++ b/com.wudsn.ide.tst/plugin.xml
@@ -8,7 +8,7 @@
contributorClass="org.eclipse.ui.texteditor.BasicTextEditorActionContributor"
icon="icons/atascii-16x16.png"
id="com.wudsn.ide.tst.editors.ATASCIIEditor"
- name="ATASCI Editor">
+ name="%com.wudsn.ide.tst.editors.ATASCIIEditor.name">
@@ -20,10 +20,32 @@
base-type="org.eclipse.core.runtime.text"
describer="com.wudsn.ide.tst.contenttypes.ATASCIIFileContentDescriber"
file-extensions="*"
- id="com.wudsn.ide.tst.editors.ATASCIIFile"
- name="ATASCII File"
+ id="com.wudsn.ide.tst.ATASCIIFile"
+ name="%com.wudsn.ide.tst.ATASCIIFile.name"
priority="high">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/com.wudsn.ide.tst/src/com/wudsn/ide/tst/editors/ATASCIIEditor.java b/com.wudsn.ide.tst/src/com/wudsn/ide/tst/editors/ATASCIIEditor.java
index 90bafd4f..6fcb5c00 100644
--- a/com.wudsn.ide.tst/src/com/wudsn/ide/tst/editors/ATASCIIEditor.java
+++ b/com.wudsn.ide.tst/src/com/wudsn/ide/tst/editors/ATASCIIEditor.java
@@ -1,19 +1,32 @@
package com.wudsn.ide.tst.editors;
-import org.eclipse.swt.graphics.Device;
-import org.eclipse.swt.widgets.Display;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.editors.text.TextEditor;
+import org.eclipse.ui.texteditor.AbstractDecoratedTextEditor;
+import org.eclipse.swt.graphics.Font;
+import com.wudsn.ide.base.hardware.HardwareCharacterSet;
-public class ATASCIIEditor extends TextEditor {
+public class ATASCIIEditor extends AbstractDecoratedTextEditor {
- public ATASCIIEditor() {
- super();
+ public ATASCIIEditor() {
+ super();
- Display display = Display.getDefault();
- Device device = display;
- device.loadFont("C:\\Users\\D025328\\Documents\\Eclipse\\workspace.jac\\com.wudsn.ide.hex\\fonts\\atari8\\ATARCC__.TTF");
- setDocumentProvider(new ATASCIDocumentProvider());
+ setDocumentProvider(new ATASCIDocumentProvider());
- }
+ }
+ /*
+ * @see
+ * org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(Composite)
+ */
+
+ @Override
+ public void createPartControl(Composite parent) {
+
+ super.createPartControl(parent);
+// Font font = HardwareCharacterSet.ATARI_ATASCII.getFont();
+// get
+// PlatformUI.getWorkbench().getHelpSystem().setHelp(parent, "message");
+ }
}