[jboss-cvs] JBossAS SVN: r75401 - projects/docs/enterprise/4.3/Transactions/Programmers_Guide/de-DE.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Jul 4 19:12:22 EDT 2008


Author: jdimanos at jboss.com
Date: 2008-07-04 19:12:21 -0400 (Fri, 04 Jul 2008)
New Revision: 75401

Modified:
   projects/docs/enterprise/4.3/Transactions/Programmers_Guide/de-DE/Chapter_05.po
Log:
update

Modified: projects/docs/enterprise/4.3/Transactions/Programmers_Guide/de-DE/Chapter_05.po
===================================================================
--- projects/docs/enterprise/4.3/Transactions/Programmers_Guide/de-DE/Chapter_05.po	2008-07-04 23:11:25 UTC (rev 75400)
+++ projects/docs/enterprise/4.3/Transactions/Programmers_Guide/de-DE/Chapter_05.po	2008-07-04 23:12:21 UTC (rev 75401)
@@ -1,17 +1,20 @@
+# translation of Chapter_05.po to
 # Language de-DE translations for JBoss_TS_Programmers_Guide package.
+#
 # Automatically generated, 2008.
-#
+# Jasna Dimanoski <jdimanos at redhat.com>, 2008.
 msgid ""
 msgstr ""
-"Project-Id-Version: JBoss_TS_Programmers_Guide 1.0\n"
+"Project-Id-Version: Chapter_05\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2008-06-05 22:51+0000\n"
-"PO-Revision-Date: 2008-06-05 22:51+0000\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2008-07-05 09:12+1000\n"
+"Last-Translator: Jasna Dimanoski <jdimanos at redhat.com>\n"
+"Language-Team:  <de at li.org>\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
 
 #. Tag: title
 #: Chapter_05.xml:6
@@ -203,8 +206,7 @@
 #. Tag: para
 #: Chapter_05.xml:91
 #, no-c-format
-msgid ""
-"This arranges the windows in a diagonal line to you find a specific window."
+msgid "This arranges the windows in a diagonal line to you find a specific window."
 msgstr ""
 
 #. Tag: term
@@ -465,8 +467,7 @@
 #. Tag: para
 #: Chapter_05.xml:222
 #, no-c-format
-msgid ""
-"Once the method invocation has completed its return value will be displayed."
+msgid "Once the method invocation has completed its return value will be displayed."
 msgstr ""
 
 #. Tag: title
@@ -565,8 +566,7 @@
 #. Tag: code
 #: Chapter_05.xml:269
 #, no-c-format
-msgid ""
-"com.arjuna.ats.tools.objectstorebrowser.stateviewers.StateViewerInterface"
+msgid "com.arjuna.ats.tools.objectstorebrowser.stateviewers.StateViewerInterface"
 msgstr ""
 
 #. Tag: para
@@ -636,6 +636,59 @@
 "        }\n"
 "}"
 msgstr ""
+"public class SimpleRecord extends AbstractRecord\n"
+"{\n"
+"        private int _value = 0;\n"
+"        \n"
+"        .....\n"
+"        \n"
+"        public void increase()\n"
+"        {\n"
+"                _value++;\n"
+"        }\n"
+"        \n"
+"        public int get()\n"
+"        {\n"
+"                return _value;\n"
+"        }\n"
+"        \n"
+"        public String type()\n"
+"        {\n"
+"                return “/StateManager/AbstractRecord/SimpleRecord”;\n"
+"        }\n"
+"        \n"
+"        public boolean restore_state(InputObjectState os, int i)\n"
+"        {\n"
+"                boolean returnValue = true;\n"
+"        \n"
+"                try\n"
+"                {\n"
+"                        _value = os.unpackInt();\n"
+"                }\n"
+"                catch (java.io.IOException e)\n"
+"                {\n"
+"                        returnValue = false;\n"
+"                }\n"
+"        \n"
+"                return returnValue;\n"
+"        }\n"
+"        \n"
+"        public boolean save_state(OutputObjectState os, int i)\n"
+"        {\n"
+"                boolean returnValue = true;\n"
+"        \n"
+"                try\n"
+"                {\n"
+"                        os.packInt(_value);\n"
+"                }\n"
+"                catch (java.io.IOException e)\n"
+"                {\n"
+"                        returnValue = false;\n"
+"                }\n"
+"        \n"
+"                return returnValue;\n"
+"        }\n"
+"}"
 
 #. Tag: para
 #: Chapter_05.xml:275
@@ -711,6 +764,65 @@
 "        }\n"
 "}"
 msgstr ""
+"public class SimpleRecordOSVPlugin implements StateViewerInterface\n"
+"{\n"
+"        /**\n"
+"        * A uid node of the type this viewer is registered against has been "
+"expanded.\n"
+"        * @param os\n"
+"        * @param type\n"
+"        * @param manipulator\n"
+"        * @param node\n"
+"        * @throws ObjectStoreException\n"
+"        */\n"
+"        public void uidNodeExpanded(ObjectStore os,\n"
+"        String type,\n"
+"        ObjectStoreBrowserTreeManipulationInterface \n"
+"        manipulator,\n"
+"        UidNode node,\n"
+"        StatePanel infoPanel)\n"
+"        throws ObjectStoreException\n"
+"        {\n"
+"                // Do nothing\n"
+"        }\n"
+"        \n"
+"        /**\n"
+"        * An entry has been selected of the type this viewer is registered "
+"against.\n"
+"        *\n"
+"        * @param os\n"
+"        * @param type\n"
+"        * @param uid\n"
+"        * @param entry\n"
+"        * @param statePanel\n"
+"        * @throws ObjectStoreException\n"
+"        */\n"
+"        public void entrySelected(ObjectStore os,\n"
+"        String type,\n"
+"        Uid uid,\n"
+"        ObjectStoreViewEntry entry,\n"
+"        StatePanel statePanel) \n"
+"        throws ObjectStoreException\n"
+"        {\n"
+"                SimpleRecord rec = new SimpleRecord();\n"
+"        \n"
+"                if ( rec.restore_state( os.read_committed(uid, type), "
+"ObjectType.ANDPERSISTENT ) )\n"
+"                {\n"
+"                        statePanel.setData( “Value”, rec.getValue() );\n"
+"                }\n"
+"        }\n"
+"        \n"
+"        /**\n"
+"        * Get the type this state viewer is intended to be registered "
+"against.\n"
+"        * @return\n"
+"        */\n"
+"        public String getType()\n"
+"        {\n"
+"                return “/StateManager/AbstractRecord/SimpleRecord”;\n"
+"        }\n"
+"}"
 
 #. Tag: para
 #: Chapter_05.xml:279
@@ -791,6 +903,15 @@
 "        &lt;/manifest&gt;\n"
 "&lt;/jar&gt;"
 msgstr ""
+"&lt;jar jarfile=\"osbv-simplerecord.jar\"&gt;\n"
+"        &lt;fileset dir=\"build\" includes=\"*.class”/&gt;\n"
+"        &lt;manifest&gt;\n"
+"                &lt;section name=\"arjuna-tools-objectstorebrowser\"&gt;\n"
+"                        &lt;attribute name=\"plugin-classname-1\" value=\" "
+"SimpleRecordOSVPlugin \"/&gt;\n"
+"                &lt;/section&gt;\n"
+"        &lt;/manifest&gt;\n"
+"&lt;/jar&gt;"
 
 #. Tag: para
 #: Chapter_05.xml:306
@@ -800,3 +921,4 @@
 "file it just needs to be placed in the <emphasis>bin/tools/plugins</"
 "emphasis> directory."
 msgstr ""
+




More information about the jboss-cvs-commits mailing list