Added popup menus; Version 2.0.0

This commit is contained in:
mmk2410 2015-08-20 15:50:40 +02:00
parent b549c99096
commit 95cb753508
4 changed files with 443 additions and 113 deletions

View File

@ -9,13 +9,9 @@
</artifacts-to-build>
</component>
<component name="ChangeListManager">
<list default="true" id="1951d34a-0996-4ab0-85f5-7d06399bd374" name="Default" comment="">
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/engine/DecodeWrittenMorseManager.java" afterPath="$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/engine/DecodeWrittenMorseManager.java" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/engine/EncodeNormalMorseManager.java" afterPath="$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/engine/EncodeNormalMorseManager.java" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/engine/EncodeWrittenMorseManager.java" afterPath="$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/engine/EncodeWrittenMorseManager.java" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/META-INF/MANIFEST.MF" afterPath="$PROJECT_DIR$/src/META-INF/MANIFEST.MF" />
<list default="true" id="1951d34a-0996-4ab0-85f5-7d06399bd374" name="Default" comment="Added popup menus; Version 2.0.0">
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/Main.form" afterPath="$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/Main.form" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/Main.java" afterPath="$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/Main.java" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/update/UpdateDialog.java" afterPath="$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/update/UpdateDialog.java" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/text.properties" afterPath="$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/text.properties" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/text_de.properties" afterPath="$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/text_de.properties" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
@ -45,29 +41,46 @@
<leaf>
<file leaf-file-name="Main.form" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/Main.form">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
<provider selected="true" editor-type-id="ui-designer">
<state />
</provider>
</entry>
</file>
<file leaf-file-name="Main.java" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/Main.java">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0">
<caret line="32" column="21" selection-start-line="32" selection-start-column="21" selection-end-line="32" selection-end-column="21" />
<folding />
<state vertical-scroll-proportion="0.4121014">
<caret line="263" column="55" selection-start-line="263" selection-start-column="55" selection-end-line="263" selection-end-column="55" />
<folding>
<element signature="imports" expanded="true" />
<element signature="e#3587#3588#0" expanded="true" />
<element signature="e#3646#3647#0" expanded="true" />
<element signature="e#4275#4276#0" expanded="true" />
<element signature="e#4321#4322#0" expanded="true" />
<element signature="e#6709#6710#0" expanded="true" />
<element signature="e#6769#6770#0" expanded="true" />
<element signature="e#7232#7233#0" expanded="true" />
<element signature="e#7294#7295#0" expanded="true" />
<element signature="e#8189#8190#0" expanded="true" />
<element signature="e#8248#8249#0" expanded="true" />
<element signature="e#8695#8696#0" expanded="true" />
<element signature="e#8756#8757#0" expanded="true" />
<element signature="e#11008#11009#0" expanded="true" />
<element signature="e#11047#11048#0" expanded="true" />
<element signature="e#11557#11558#0" expanded="true" />
<element signature="e#11637#11638#0" expanded="true" />
<element signature="e#12541#12542#0" expanded="true" />
<element signature="e#12578#12579#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="text_de.properties" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/text_de.properties">
<file leaf-file-name="text.properties" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/text.properties">
<provider editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0">
<caret line="9" column="0" selection-start-line="9" selection-start-column="0" selection-end-line="9" selection-end-column="0" />
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
@ -81,7 +94,17 @@
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0">
<caret line="81" column="107" selection-start-line="81" selection-start-column="107" selection-end-line="81" selection-end-column="107" />
<folding />
<folding>
<element signature="imports" expanded="false" />
<element signature="e#2013#2014#0" expanded="false" />
<element signature="e#2051#2052#0" expanded="false" />
<element signature="e#2183#2184#0" expanded="false" />
<element signature="e#2225#2226#0" expanded="false" />
<element signature="e#2445#2446#0" expanded="false" />
<element signature="e#2487#2488#0" expanded="false" />
<element signature="e#2660#2661#0" expanded="false" />
<element signature="e#2702#2703#0" expanded="false" />
</folding>
</state>
</provider>
</entry>
@ -136,16 +159,6 @@
</provider>
</entry>
</file>
<file leaf-file-name="WrittenMorseCodeRecognization.java" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/intelligentCodeRecognization/WrittenMorseCodeRecognization.java">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0">
<caret line="59" column="0" selection-start-line="59" selection-start-column="0" selection-end-line="59" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
</file>
</leaf>
</component>
<component name="FileTemplateManagerImpl">
@ -183,12 +196,12 @@
<option value="$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/update/UpdateDialog.form" />
<option value="$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/engine/DecodeWrittenMorseManager.java" />
<option value="$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/engine/DecodeNormalMorseManager.java" />
<option value="$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/text.properties" />
<option value="$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/Main.form" />
<option value="$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/engine/EncodeWrittenMorseManager.java" />
<option value="$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/engine/EncodeNormalMorseManager.java" />
<option value="$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/update/UpdateDialog.java" />
<option value="$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/text_de.properties" />
<option value="$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/Main.form" />
<option value="$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/text.properties" />
<option value="$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/Main.java" />
</list>
</option>
@ -207,8 +220,9 @@
<order />
</component>
<component name="ProjectFrameBounds">
<option name="width" value="1920" />
<option name="height" value="1080" />
<option name="y" value="48" />
<option name="width" value="3840" />
<option name="height" value="2112" />
</component>
<component name="ProjectLevelVcsManager" settingsEditedManually="true">
<OptionsSetting value="true" id="Add" />
@ -233,7 +247,7 @@
<sortByType />
</navigator>
<panes>
<pane id="Scratches" />
<pane id="Scope" />
<pane id="ProjectPane">
<subPane>
<PATH>
@ -283,30 +297,8 @@
<option name="myItemId" value="morseconverter" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="de.marcelkapfer.c.morseconverter" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="de.marcelkapfer.c.morseconverter" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="src" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="morseconverter" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="update" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="UpdateDialog" />
<option name="myItemId" value="Main" />
<option name="myItemType" value="com.intellij.uiDesigner.projectView.FormNode" />
</PATH_ELEMENT>
</PATH>
@ -328,18 +320,36 @@
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="update" />
<option name="myItemId" value="Resource Bundle 'text'" />
<option name="myItemType" value="com.intellij.lang.properties.projectView.ResourceBundleNode" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="de.marcelkapfer.c.morseconverter" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="de.marcelkapfer.c.morseconverter" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="src" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="morseconverter" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
</subPane>
</pane>
<pane id="Scratches" />
<pane id="PackagesPane" />
<pane id="Scope" />
</panes>
</component>
<component name="PropertiesComponent">
<property name="settings.editor.selected.configurable" value="reference.settingsdialog.IDE.editor.colors.Font" />
<property name="settings.editor.selected.configurable" value="editor.preferences.appearance" />
<property name="settings.editor.splitter.proportion" value="0.2" />
<property name="dynamic.classpath" value="false" />
<property name="recentsLimit" value="5" />
@ -352,6 +362,8 @@
<property name="FullScreen" value="false" />
<property name="full.screen.before.presentation.mode" value="false" />
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
<property name="UI_DESIGNER_EDITOR_MODE.UIDesignerToolWindowManager.WIDTH" value="643" />
<property name="UI_DESIGNER_EDITOR_MODE.PaletteManager.WIDTH" value="479" />
</component>
<component name="RecentsManager">
<key name="MoveFile.RECENT_KEYS">
@ -579,36 +591,42 @@
<option name="project" value="LOCAL" />
<updated>1433840210547</updated>
</task>
<option name="localTasksCounter" value="8" />
<task id="LOCAL-00008" summary="Windows fixes in update dialog, Version 1.9.3 beta">
<created>1438264240701</created>
<option name="number" value="00008" />
<option name="project" value="LOCAL" />
<updated>1438264240701</updated>
</task>
<option name="localTasksCounter" value="9" />
<servers />
</component>
<component name="ToolWindowManager">
<frame x="0" y="0" width="1920" height="1080" extended-state="0" />
<editor active="false" />
<frame x="0" y="48" width="3840" height="2112" extended-state="6" />
<editor active="true" />
<layout>
<window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.29090908" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" />
<window_info id="Palette&#9;" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="11" side_tool="true" content_ui="tabs" />
<window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32985973" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32967836" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.32085562" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="10" side_tool="false" content_ui="tabs" />
<window_info id="Designer" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
<window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.16075157" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.13489583" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32967836" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="UI Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="true" content_ui="tabs" />
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.28216705" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.2909232" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" />
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3212121" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32967836" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.28216705" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
</layout>
</component>
<component name="Vcs.Log.UiProperties">
@ -630,7 +648,10 @@
<MESSAGE value="Added line break support" />
<MESSAGE value="Documented the update class" />
<MESSAGE value="&quot;Germanization&quot;" />
<option name="LAST_COMMIT_MESSAGE" value="&quot;Germanization&quot;" />
<MESSAGE value="Windows fixes in update dialog, Version 1.9.3 beta" />
<MESSAGE value="Added popup menus; Version 2.0.0" />
<option name="LAST_COMMIT_MESSAGE" value="Added popup menus; Version 2.0.0" />
<option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="true" />
</component>
<component name="XDebuggerManager">
<breakpoint-manager>
@ -708,17 +729,6 @@
<option name="FILTER_TARGETS" value="false" />
</component>
<component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/text.properties">
<provider editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
<provider selected="true" editor-type-id="ResourceBundle">
<state />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/engine/EncodeNormalMorseManager.java">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0">
@ -737,7 +747,27 @@
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0">
<caret line="90" column="25" selection-start-line="90" selection-start-column="25" selection-end-line="90" selection-end-column="25" />
<folding />
<folding>
<element signature="imports" expanded="true" />
<element signature="e#3587#3588#0" expanded="true" />
<element signature="e#3646#3647#0" expanded="true" />
<element signature="e#4275#4276#0" expanded="true" />
<element signature="e#4321#4322#0" expanded="true" />
<element signature="e#6709#6710#0" expanded="true" />
<element signature="e#6769#6770#0" expanded="true" />
<element signature="e#7232#7233#0" expanded="true" />
<element signature="e#7294#7295#0" expanded="true" />
<element signature="e#8189#8190#0" expanded="true" />
<element signature="e#8248#8249#0" expanded="true" />
<element signature="e#8695#8696#0" expanded="true" />
<element signature="e#8756#8757#0" expanded="true" />
<element signature="e#11008#11009#0" expanded="true" />
<element signature="e#11047#11048#0" expanded="true" />
<element signature="e#11557#11558#0" expanded="true" />
<element signature="e#11637#11638#0" expanded="true" />
<element signature="e#12541#12542#0" expanded="true" />
<element signature="e#12578#12579#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
@ -799,7 +829,27 @@
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
<folding>
<element signature="imports" expanded="true" />
<element signature="e#3587#3588#0" expanded="true" />
<element signature="e#3646#3647#0" expanded="true" />
<element signature="e#4275#4276#0" expanded="true" />
<element signature="e#4321#4322#0" expanded="true" />
<element signature="e#6709#6710#0" expanded="true" />
<element signature="e#6769#6770#0" expanded="true" />
<element signature="e#7232#7233#0" expanded="true" />
<element signature="e#7294#7295#0" expanded="true" />
<element signature="e#8189#8190#0" expanded="true" />
<element signature="e#8248#8249#0" expanded="true" />
<element signature="e#8695#8696#0" expanded="true" />
<element signature="e#8756#8757#0" expanded="true" />
<element signature="e#11008#11009#0" expanded="true" />
<element signature="e#11047#11048#0" expanded="true" />
<element signature="e#11557#11558#0" expanded="true" />
<element signature="e#11637#11638#0" expanded="true" />
<element signature="e#12541#12542#0" expanded="true" />
<element signature="e#12578#12579#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
@ -864,7 +914,27 @@
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0">
<caret line="23" column="72" selection-start-line="23" selection-start-column="72" selection-end-line="23" selection-end-column="72" />
<folding />
<folding>
<element signature="imports" expanded="true" />
<element signature="e#3587#3588#0" expanded="true" />
<element signature="e#3646#3647#0" expanded="true" />
<element signature="e#4275#4276#0" expanded="true" />
<element signature="e#4321#4322#0" expanded="true" />
<element signature="e#6709#6710#0" expanded="true" />
<element signature="e#6769#6770#0" expanded="true" />
<element signature="e#7232#7233#0" expanded="true" />
<element signature="e#7294#7295#0" expanded="true" />
<element signature="e#8189#8190#0" expanded="true" />
<element signature="e#8248#8249#0" expanded="true" />
<element signature="e#8695#8696#0" expanded="true" />
<element signature="e#8756#8757#0" expanded="true" />
<element signature="e#11008#11009#0" expanded="true" />
<element signature="e#11047#11048#0" expanded="true" />
<element signature="e#11557#11558#0" expanded="true" />
<element signature="e#11637#11638#0" expanded="true" />
<element signature="e#12541#12542#0" expanded="true" />
<element signature="e#12578#12579#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
@ -926,7 +996,27 @@
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
<folding>
<element signature="imports" expanded="true" />
<element signature="e#3587#3588#0" expanded="true" />
<element signature="e#3646#3647#0" expanded="true" />
<element signature="e#4275#4276#0" expanded="true" />
<element signature="e#4321#4322#0" expanded="true" />
<element signature="e#6709#6710#0" expanded="true" />
<element signature="e#6769#6770#0" expanded="true" />
<element signature="e#7232#7233#0" expanded="true" />
<element signature="e#7294#7295#0" expanded="true" />
<element signature="e#8189#8190#0" expanded="true" />
<element signature="e#8248#8249#0" expanded="true" />
<element signature="e#8695#8696#0" expanded="true" />
<element signature="e#8756#8757#0" expanded="true" />
<element signature="e#11008#11009#0" expanded="true" />
<element signature="e#11047#11048#0" expanded="true" />
<element signature="e#11557#11558#0" expanded="true" />
<element signature="e#11637#11638#0" expanded="true" />
<element signature="e#12541#12542#0" expanded="true" />
<element signature="e#12578#12579#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
@ -984,23 +1074,9 @@
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0">
<caret line="90" column="97" selection-start-line="90" selection-start-column="97" selection-end-line="90" selection-end-column="97" />
<folding>
<element signature="imports" expanded="false" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/text.properties">
<provider editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
<provider selected="true" editor-type-id="ResourceBundle">
<state />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/res/icon-xxxhdpi.png">
<provider selected="true" editor-type-id="images">
<state />
@ -1058,6 +1134,24 @@
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0">
<caret line="81" column="107" selection-start-line="81" selection-start-column="107" selection-end-line="81" selection-end-column="107" />
<folding>
<element signature="imports" expanded="false" />
<element signature="e#2013#2014#0" expanded="false" />
<element signature="e#2051#2052#0" expanded="false" />
<element signature="e#2183#2184#0" expanded="false" />
<element signature="e#2225#2226#0" expanded="false" />
<element signature="e#2445#2446#0" expanded="false" />
<element signature="e#2487#2488#0" expanded="false" />
<element signature="e#2660#2661#0" expanded="false" />
<element signature="e#2702#2703#0" expanded="false" />
</folding>
</state>
</provider>
</entry>
<entry file="jar:///usr/lib/jvm/default/src.zip!/java/awt/event/MouseListener.java">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.33278823">
<caret line="56" column="17" selection-start-line="56" selection-start-column="17" selection-end-line="56" selection-end-column="17" />
<folding />
</state>
</provider>
@ -1065,7 +1159,18 @@
<entry file="file://$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/text_de.properties">
<provider editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0">
<caret line="9" column="0" selection-start-line="9" selection-start-column="0" selection-end-line="9" selection-end-column="0" />
<caret line="12" column="0" selection-start-line="12" selection-start-column="0" selection-end-line="12" selection-end-column="0" />
<folding />
</state>
</provider>
<provider selected="true" editor-type-id="ResourceBundle">
<state />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/text.properties">
<provider editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
@ -1074,21 +1179,41 @@
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/Main.form">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<provider editor-type-id="text-editor">
<state vertical-scroll-proportion="0.25849214">
<caret line="8" column="25" selection-start-line="8" selection-start-column="25" selection-end-line="8" selection-end-column="25" />
<folding />
</state>
</provider>
<provider editor-type-id="ui-designer">
<provider selected="true" editor-type-id="ui-designer">
<state />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/de/marcelkapfer/c/morseconverter/Main.java">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0">
<caret line="32" column="21" selection-start-line="32" selection-start-column="21" selection-end-line="32" selection-end-column="21" />
<folding />
<state vertical-scroll-proportion="0.4121014">
<caret line="263" column="55" selection-start-line="263" selection-start-column="55" selection-end-line="263" selection-end-column="55" />
<folding>
<element signature="imports" expanded="true" />
<element signature="e#3587#3588#0" expanded="true" />
<element signature="e#3646#3647#0" expanded="true" />
<element signature="e#4275#4276#0" expanded="true" />
<element signature="e#4321#4322#0" expanded="true" />
<element signature="e#6709#6710#0" expanded="true" />
<element signature="e#6769#6770#0" expanded="true" />
<element signature="e#7232#7233#0" expanded="true" />
<element signature="e#7294#7295#0" expanded="true" />
<element signature="e#8189#8190#0" expanded="true" />
<element signature="e#8248#8249#0" expanded="true" />
<element signature="e#8695#8696#0" expanded="true" />
<element signature="e#8756#8757#0" expanded="true" />
<element signature="e#11008#11009#0" expanded="true" />
<element signature="e#11047#11048#0" expanded="true" />
<element signature="e#11557#11558#0" expanded="true" />
<element signature="e#11637#11638#0" expanded="true" />
<element signature="e#12541#12542#0" expanded="true" />
<element signature="e#12578#12579#0" expanded="true" />
</folding>
</state>
</provider>
</entry>

View File

@ -36,17 +36,18 @@ import javax.swing.text.Element;
import javax.swing.text.html.HTMLDocument;
import javax.swing.text.html.HTMLEditorKit;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import java.awt.datatransfer.Clipboard;
import java.awt.datatransfer.DataFlavor;
import java.awt.datatransfer.StringSelection;
import java.awt.datatransfer.Transferable;
import java.awt.event.*;
import java.io.IOException;
import java.util.ResourceBundle;
public class Main extends JFrame {
// Version numbers for update check
public static final int currentVersion = 193;
public static final int currentVersion = 200;
public static int latestVersion = currentVersion;
public static ResourceBundle resourceBundle = ResourceBundle.getBundle("de.marcelkapfer.c.morseconverter.text");
@ -102,6 +103,153 @@ public class Main extends JFrame {
}
});
// Mouse listener for selecting text on left click in output text area
outputAreaWrittenMorse.addMouseListener(new MouseListener() {
@Override
public void mouseClicked(MouseEvent e) {
}
@Override
public void mousePressed(MouseEvent e) {
}
@Override
public void mouseReleased(MouseEvent e) {
if (e.getButton() == MouseEvent.BUTTON1) {
outputAreaWrittenMorse.requestFocus();
outputAreaWrittenMorse.selectAll();
}
}
@Override
public void mouseEntered(MouseEvent e) {
}
@Override
public void mouseExited(MouseEvent e) {
}
});
outputAreaNormalMorse.addMouseListener(new MouseListener() {
@Override
public void mouseClicked(MouseEvent e) {
}
@Override
public void mousePressed(MouseEvent e) {
}
@Override
public void mouseReleased(MouseEvent e) {
if (e.getButton() == MouseEvent.BUTTON1) {
outputAreaNormalMorse.requestFocus();
outputAreaNormalMorse.selectAll();
}
}
@Override
public void mouseEntered(MouseEvent e) {
}
@Override
public void mouseExited(MouseEvent e) {
}
});
// Popup Menus
// Popup Menu for writtenMorse input text field
JPopupMenu wInputPopup = new JPopupMenu();
addPopup(inputAreaWrittenMorse, wInputPopup);
// Item for paste
JMenuItem pasteWInput = new JMenuItem(resourceBundle.getString("paste"));
pasteWInput.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
onPaste(inputAreaWrittenMorse);
instantWrittenMorseConvert();
}
});
wInputPopup.add(pasteWInput);
// Item for clear
JMenuItem clearWInput = new JMenuItem(resourceBundle.getString("clear"));
clearWInput.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
clear(inputAreaWrittenMorse);
}
});
wInputPopup.add(clearWInput);
// Popup Menu for writtenMorse output text field
JPopupMenu wOutputPopup = new JPopupMenu();
addPopup(outputAreaWrittenMorse, wOutputPopup);
// Item for copy
JMenuItem copyWOutput = new JMenuItem(resourceBundle.getString("copy"));
copyWOutput.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
onCopy(outputAreaWrittenMorse);
}
});
wOutputPopup.add(copyWOutput);
// Popups for Normal Morse
// Popup for Normal Morse input text field
JPopupMenu nInputMenu = new JPopupMenu();
addPopup(inputAreaNormalMorse, nInputMenu);
// Item for paste
JMenuItem nPasteInput = new JMenuItem(resourceBundle.getString("paste"));
nPasteInput.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
onPaste(inputAreaNormalMorse);
instantNormalMorseConvert();
}
});
nInputMenu.add(nPasteInput);
// Item for clear
JMenuItem nClearInput = new JMenuItem(resourceBundle.getString("clear"));
nClearInput.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
clear(inputAreaNormalMorse);
}
});
nInputMenu.add(nClearInput);
// Popup for output text field
JPopupMenu nOutputMenu = new JPopupMenu();
addPopup(outputAreaNormalMorse, nOutputMenu);
// Menü item for copy
JMenuItem nCopyOutput = new JMenuItem(resourceBundle.getString("copy"));
nCopyOutput.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
onCopy(outputAreaNormalMorse);
}
});
nOutputMenu.add(nCopyOutput);
}
// The holy main method
public static void main(String[] args){
@ -114,7 +262,7 @@ public class Main extends JFrame {
// Starting the application
JFrame main = new JFrame("Main");
main.setContentPane(new Main().morseConverterPane);
main.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
main.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
// Title
main.setTitle(resourceBundle.getString("title"));
main.pack();
@ -158,4 +306,55 @@ public class Main extends JFrame {
UpdateDialog.main(null);
}
private static void addPopup(Component component, final JPopupMenu popup) {
component.addMouseListener(new MouseAdapter() {
public void mousePressed(MouseEvent e) {
if (e.isPopupTrigger()) {
showMenu(e);
}
}
public void mouseReleased(MouseEvent e) {
if (e.isPopupTrigger()) {
showMenu(e);
}
}
private void showMenu(MouseEvent e) {
popup.show(e.getComponent(), e.getX(), e.getY());
}
});
}
/*
* Past function
*/
private void onPaste(JTextArea tf) {
try {
Clipboard c = Toolkit.getDefaultToolkit().getSystemClipboard();
Transferable t = c.getContents(this);
if (t == null)
return;
try {
tf.setText((String) t.getTransferData(DataFlavor.stringFlavor));
} catch (Exception e) {
e.printStackTrace();
}// try
} catch (Exception e) {
e.printStackTrace();
}
}// onPaste
/*
* Copy function
*/
private void onCopy(JTextArea tf) {
StringSelection selection = new StringSelection(tf.getText());
Clipboard clipboard = Toolkit.getDefaultToolkit().getSystemClipboard();
clipboard.setContents(selection, selection);
}
private void clear(JTextArea jTextArea) {
jTextArea.setText("");
}
}

View File

@ -1,7 +1,10 @@
about=<body style\="font-family\: sans-serif">\n<p style\="margin-top\: 5px; margin-right\: 5px; margin-bottom\: 5px; margin-left\: 5px">\n<b>Version</b><br>1.9.3 beta\n</p>\n<p style\="margin-top\: 5px; margin-right\: 5px; margin-bottom\: 5px; margin-left\: 5px">\n<b>Developer</b><br>Marcel Michael Kapfer\n</p>\n<p style\="margin-top\: 5px; margin-right\: 5px; margin-bottom\: 5px; margin-left\: 5px">\n<b>Website</b><br>marcel-kapfer.de/writtenmorse\n</p>\n<p style\="margin-top\: 5px; margin-right\: 5px; margin-bottom\: 5px; margin-left\: 5px">\n<b>Contact</b><br>marcelmichaelkapfer@yahoo.co.nz\n</p>\n<p style\="margin-top\: 5px; margin-right\: 5px; margin-bottom\: 5px; margin-left\: 5px">\n<b>License</b><br>GNU GPL v3.0\n</p>\n<p style\="margin-top\: 5px; margin-right\: 5px; margin-bottom\: 5px; margin-left\: 5px">\n<b>Bug</b><br>If you found a bug, please write me a mail to marcelmichaelkapfer@yahoo.co.nz with a short description of the problem.\n</p>\n<p style\="margin-top\: 5px; margin-right\: 5px; margin-bottom\: 5px; margin-left\: 5px">\n<b>How to</b><br>You can find a detailed guide on marcel-kapfer.de/writtenmorse/\#howto_desktop\n<p style\="margin-top\: 5px; margin-right\: 5px; margin-bottom\: 5px; margin-left\: 5px">\n<b>Missing Code</b><br>If you discovered, that a code is missing, then write me a mail to marcelmichaelkapfer@yahoo.co.nz and tell me about it.\n</p>\n</p>\n</body>
about=<body style\="font-family\: sans-serif">\n<p style\="margin-top\: 5px; margin-right\: 5px; margin-bottom\: 5px; margin-left\: 5px">\n<b>Version</b><br>2.0.0\n</p>\n<p style\="margin-top\: 5px; margin-right\: 5px; margin-bottom\: 5px; margin-left\: 5px">\n<b>Developer</b><br>Marcel Michael Kapfer\n</p>\n<p style\="margin-top\: 5px; margin-right\: 5px; margin-bottom\: 5px; margin-left\: 5px">\n<b>Website</b><br>marcel-kapfer.de/writtenmorse\n</p>\n<p style\="margin-top\: 5px; margin-right\: 5px; margin-bottom\: 5px; margin-left\: 5px">\n<b>Contact</b><br>marcelmichaelkapfer@yahoo.co.nz\n</p>\n<p style\="margin-top\: 5px; margin-right\: 5px; margin-bottom\: 5px; margin-left\: 5px">\n<b>License</b><br>GNU GPL v3.0\n</p>\n<p style\="margin-top\: 5px; margin-right\: 5px; margin-bottom\: 5px; margin-left\: 5px">\n<b>Bug</b><br>If you found a bug, please write me a mail to marcelmichaelkapfer@yahoo.co.nz with a short description of the problem.\n</p>\n<p style\="margin-top\: 5px; margin-right\: 5px; margin-bottom\: 5px; margin-left\: 5px">\n<b>How to</b><br>You can find a detailed guide on marcel-kapfer.de/writtenmorse/\#howto_desktop\n<p style\="margin-top\: 5px; margin-right\: 5px; margin-bottom\: 5px; margin-left\: 5px">\n<b>Missing Code</b><br>If you discovered, that a code is missing, then write me a mail to marcelmichaelkapfer@yahoo.co.nz and tell me about it.\n</p>\n</p>\n</body>
aboutUpdateAvailable=Update available
aboutUpdateAvailableButton=Install Update
clear=Clear
copy=Copy
inputText=Enter your text
paste=Paste
tabAbout=About
tabNormalMorse=Normal Morse
title=Morse Converter

View File

@ -1,7 +1,10 @@
about=<body style\="font-family\: sans-serif">\n<p style\="margin-top\: 5px; margin-right\: 5px; margin-bottom\: 5px; margin-left\: 5px">\n<b>Version</b><br>1.9.3 beta\n</p>\n<p style\="margin-top\: 5px; margin-right\: 5px; margin-bottom\: 5px; margin-left\: 5px">\n<b>Entwickler</b><br>Marcel Michael Kapfer\n</p>\n<p style\="margin-top\: 5px; margin-right\: 5px; margin-bottom\: 5px; margin-left\: 5px">\n<b>Website</b><br>marcel-kapfer.de/writtenmorse\n</p>\n<p style\="margin-top\: 5px; margin-right\: 5px; margin-bottom\: 5px; margin-left\: 5px">\n<b>Kontakt</b><br>marcelmichaelkapfer@yahoo.co.nz\n</p>\n<p style\="margin-top\: 5px; margin-right\: 5px; margin-bottom\: 5px; margin-left\: 5px">\n<b>Lizenz</b><br>GNU GPL v3.0\n</p>\n<p style\="margin-top\: 5px; margin-right\: 5px; margin-bottom\: 5px; margin-left\: 5px">\n<b>Fehler</b><br>Wenn Du einen Fehler gefunden hast, schreibe mir bitte ein E-Mail an marcelmichaelkapfer@yahoo.co.nz\n</p>\n<p style\="margin-top\: 5px; margin-right\: 5px; margin-bottom\: 5px; margin-left\: 5px">\n<b>How to</b><br>Du kannst eine ausführliche Anleitung auf marcel-kapfer.de/writtenmorse/\#howto_android finden.\n<p style\="margin-top\: 5px; margin-right\: 5px; margin-bottom\: 5px; margin-left\: 5px">\n<b>Fehlender Code</b><br>Wenn Du auf einen fehlenden Code aufmerksam geworden bist, dann schreibe eine E-Mail an marcelmichaelkapfer@yahoo.co.nz.\n</p>\n</p>\n</body>
about=<body style\="font-family\: sans-serif">\n<p style\="margin-top\: 5px; margin-right\: 5px; margin-bottom\: 5px; margin-left\: 5px">\n<b>Version</b><br>2.0.0\n</p>\n<p style\="margin-top\: 5px; margin-right\: 5px; margin-bottom\: 5px; margin-left\: 5px">\n<b>Entwickler</b><br>Marcel Michael Kapfer\n</p>\n<p style\="margin-top\: 5px; margin-right\: 5px; margin-bottom\: 5px; margin-left\: 5px">\n<b>Website</b><br>marcel-kapfer.de/writtenmorse\n</p>\n<p style\="margin-top\: 5px; margin-right\: 5px; margin-bottom\: 5px; margin-left\: 5px">\n<b>Kontakt</b><br>marcelmichaelkapfer@yahoo.co.nz\n</p>\n<p style\="margin-top\: 5px; margin-right\: 5px; margin-bottom\: 5px; margin-left\: 5px">\n<b>Lizenz</b><br>GNU GPL v3.0\n</p>\n<p style\="margin-top\: 5px; margin-right\: 5px; margin-bottom\: 5px; margin-left\: 5px">\n<b>Fehler</b><br>Wenn Du einen Fehler gefunden hast, schreibe mir bitte ein E-Mail an marcelmichaelkapfer@yahoo.co.nz\n</p>\n<p style\="margin-top\: 5px; margin-right\: 5px; margin-bottom\: 5px; margin-left\: 5px">\n<b>How to</b><br>Du kannst eine ausführliche Anleitung auf marcel-kapfer.de/writtenmorse/\#howto_android finden.\n<p style\="margin-top\: 5px; margin-right\: 5px; margin-bottom\: 5px; margin-left\: 5px">\n<b>Fehlender Code</b><br>Wenn Du auf einen fehlenden Code aufmerksam geworden bist, dann schreibe eine E-Mail an marcelmichaelkapfer@yahoo.co.nz.\n</p>\n</p>\n</body>
aboutUpdateAvailable=Update verfügbar
aboutUpdateAvailableButton=Update installieren
clear=Bereinigen
copy=Kopieren
inputText=Geben Sie einen Text ein
paste=Einfügen
tabAbout=Über
tabNormalMorse=Normales Morse
title=Morse Umwandler