summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-10-02 10:43:00 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2015-10-02 08:45:48 +0000
commit34ab9e2e1790f053910a71cf7b8a7e2f054ddd34 (patch)
tree55ce5f002729e709ce4f8d105efa5d7e7d42a06d /odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment
parent4caaa09d4da0f7bd5aa0fae3233d66bd977f185e (diff)
Fix typos
Change-Id: I51ed2ccb06ba4ced15cd0b8e23e59a9609f07e93 Reviewed-on: https://gerrit.libreoffice.org/18961 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment')
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java6
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java14
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java6
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusView.java4
5 files changed, 16 insertions, 16 deletions
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java
index 1acb6eae6a40..c501396e3895 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java
@@ -166,7 +166,7 @@ public class CustomizeView extends JPanel
* We use our internal set dispatch objects to
* call it. This calls toogle the menu/object- or toolbar.
* Note: Because we are listener status events too - hopefully
- * we get a notification, if toogling was successfully or not.
+ * we get a notification, if toggling was successfully or not.
* We use this information to update our check boxes again.
* But such update doesn't force (hopefully) an action event. Otherwhise
* we can produce a never ending recursion!
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
index c02ec71aba69..718e23571b75 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
@@ -539,7 +539,7 @@ public class FunctionHelper
com.sun.star.frame.FrameSearchFlag.CHILDREN,
lProperties);
- // dont forget to restore old frame name ...
+ // don't forget to restore old frame name...
xFrame.setName(sOldName);
}
catch(com.sun.star.io.IOException exIO)
@@ -746,7 +746,7 @@ public class FunctionHelper
* It shows the possible interface to do so.
*
* @param xFrame
- * frame which should be clcosed
+ * frame which should be closed
*
* @return <TRUE/> in case frame could be closed
* <FALSE/> otherwise
@@ -766,7 +766,7 @@ public class FunctionHelper
if (xCloseable!=null)
{
// We deliver the ownership of this frame not to the (possible)
- // source which throw a CloseVetoException. We whishto have it
+ // source which throw a CloseVetoException. We wish to have it
// under our own control.
try
{
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java
index c7dc00d6bedc..21f3e6704a55 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java
@@ -32,14 +32,14 @@
*
*************************************************************************/
-// __________ Imports __________
+// Imports
import java.util.ArrayList;
import com.sun.star.frame.FrameActionEvent;
import com.sun.star.uno.UnoRuntime;
-// __________ Implementation __________
+// Implementation
/**
* This class can be used to intercept dispatched URL's
@@ -190,7 +190,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener,
/**
- * call back for frame action events
+ * callback for frame action events
* We use it to update our interception. Because if a new component was loaded into
* the frame or another interceptor was registered, we should refresh our connection
* to the frame. Otherwhise we can't guarantee full functionality here.
@@ -284,7 +284,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener,
/**
- * Internal call back for frame action events, triggered by the used
+ * Internal callback for frame action events, triggered by the used
* OnewayExecutor thread we started in frameAction().
* We use it to update our interception on the internal saved frame.
*
@@ -523,7 +523,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener,
/**
* Notification of status listener isn't guaranteed (instead of listener on XNotifyingDispatch interface).
- * So this interceptor doesn't support that really ...
+ * So this interceptor doesn't support that really...
*/
public /*ONEWAY*/ void addStatusListener(/*IN*/ com.sun.star.frame.XStatusListener xListener,/*IN*/ com.sun.star.util.URL aURL)
{
@@ -538,7 +538,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener,
null);
if (xListener!=null)
{
- System.out.println("interceptor disable SavAs by listener notify");
+ System.out.println("interceptor disable SaveAs by listener notify");
xListener.statusChanged(aEvent);
}
}*/
@@ -572,7 +572,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener,
/**
* This class listen on the intercepted frame to free all used resources on closing.
* We forget the reference to the frame only here. Deregistration
- * isn't necessary here - because this frame dies and wish to forgoten.
+ * isn't necessary here - because this frame dies and wish to be forgotten.
*
* @param aSource
* must be our internal saved frame, on which we listen for frame action events
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java
index 63eecd630a5f..3ab36b6d8bb7 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java
@@ -241,9 +241,9 @@ class StatusListener implements com.sun.star.frame.XStatusListener,
if (m_bDead)
return;
- // enable/dsiable th control.
- // Means: If the feature isn't available currently - we can't show an status really here.
- // Then we should colorize it gray ...
+ // enable/disable the control.
+ // Means: if the feature isn't available currently - we can't show an status really here.
+ // Then we should colorize it gray...
m_rControl.setEnabled(aEvent.IsEnabled);
// Only if status is enabled we can look for his value!
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusView.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusView.java
index c4eb32ed4adb..b78bf869920a 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusView.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusView.java
@@ -203,12 +203,12 @@ public class StatusView extends JPanel
/**
- * Set new frame for this view and start listening for events imedatly.
+ * Set new frame for this view and start listening for events immediately.
* We create one status listener for every control we wish to update.
* And because the environment of the frame can be changed - these
* listener refresh himself internally for frame action events too.
* So we register it as such frame action listener only here.
- * Rest is done automatically ...
+ * Rest is done automatically...
*
* @param xFrame
* will be used as source of possible status events