summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/Forms
diff options
context:
space:
mode:
Diffstat (limited to 'odk/examples/DevelopersGuide/Forms')
-rw-r--r--odk/examples/DevelopersGuide/Forms/ControlLock.java2
-rw-r--r--odk/examples/DevelopersGuide/Forms/ControlValidation.java1
-rw-r--r--odk/examples/DevelopersGuide/Forms/DataAwareness.java6
-rw-r--r--odk/examples/DevelopersGuide/Forms/HsqlDatabase.java1
-rw-r--r--odk/examples/DevelopersGuide/Forms/SpreadsheetValueBinding.java1
-rw-r--r--odk/examples/DevelopersGuide/Forms/TableCellTextBinding.java1
-rw-r--r--odk/examples/DevelopersGuide/Forms/ValueBinding.java1
-rw-r--r--odk/examples/DevelopersGuide/Forms/WaitForInput.java1
8 files changed, 14 insertions, 0 deletions
diff --git a/odk/examples/DevelopersGuide/Forms/ControlLock.java b/odk/examples/DevelopersGuide/Forms/ControlLock.java
index efce0c990462..b917039bf242 100644
--- a/odk/examples/DevelopersGuide/Forms/ControlLock.java
+++ b/odk/examples/DevelopersGuide/Forms/ControlLock.java
@@ -60,6 +60,7 @@ class LockControlModels extends ComponentTreeTraversal
}
/* ------------------------------------------------------------------ */
+ @Override
protected boolean shouldStepInto( XIndexContainer xContainer ) throws com.sun.star.uno.Exception
{
if ( !super.shouldStepInto( xContainer ) )
@@ -75,6 +76,7 @@ class LockControlModels extends ComponentTreeTraversal
}
/* ------------------------------------------------------------------ */
+ @Override
public void handle( Object aFormComponent ) throws com.sun.star.uno.Exception
{
// entering this nesting level
diff --git a/odk/examples/DevelopersGuide/Forms/ControlValidation.java b/odk/examples/DevelopersGuide/Forms/ControlValidation.java
index ea92c1c3ca8f..0ef0702eba20 100644
--- a/odk/examples/DevelopersGuide/Forms/ControlValidation.java
+++ b/odk/examples/DevelopersGuide/Forms/ControlValidation.java
@@ -29,6 +29,7 @@ public class ControlValidation extends DocumentBasedExample
/* ------------------------------------------------------------------ */
/* public test methods */
/* ------------------------------------------------------------------ */
+ @Override
protected void prepareDocument() throws com.sun.star.uno.Exception, java.lang.Exception
{
super.prepareDocument();
diff --git a/odk/examples/DevelopersGuide/Forms/DataAwareness.java b/odk/examples/DevelopersGuide/Forms/DataAwareness.java
index 749c8c900195..494591853f72 100644
--- a/odk/examples/DevelopersGuide/Forms/DataAwareness.java
+++ b/odk/examples/DevelopersGuide/Forms/DataAwareness.java
@@ -73,6 +73,7 @@ class PrintComponentTree extends ComponentTreeTraversal
m_sPrefix = new String();
}
+ @Override
public void handle( Object aFormComponent ) throws com.sun.star.uno.Exception
{
// the name of the child
@@ -117,6 +118,7 @@ class RevokeButtons extends ComponentTreeTraversal
m_aOperator = aOperator;
}
+ @Override
public void handle( Object aFormComponent ) throws com.sun.star.uno.Exception
{
// check if it's a button
@@ -343,6 +345,7 @@ public class DataAwareness extends DocumentBasedExample implements XPropertyChan
/* ------------------------------------------------------------------ */
// XEventListener overridables
/* ------------------------------------------------------------------ */
+ @Override
public void disposing( EventObject aEvent )
{
// simply disambiguate
@@ -681,6 +684,7 @@ public class DataAwareness extends DocumentBasedExample implements XPropertyChan
/* ------------------------------------------------------------------ */
/** creates our sample document
*/
+ @Override
protected void prepareDocument() throws com.sun.star.uno.Exception, java.lang.Exception
{
super.prepareDocument();
@@ -887,6 +891,7 @@ public class DataAwareness extends DocumentBasedExample implements XPropertyChan
}
/* ------------------------------------------------------------------ */
+ @Override
protected void onFormsAlive()
{
m_aOperator.onFormsAlive();
@@ -895,6 +900,7 @@ public class DataAwareness extends DocumentBasedExample implements XPropertyChan
/* ------------------------------------------------------------------ */
/** performs any cleanup before exiting the program
*/
+ @Override
protected void cleanUp( ) throws java.lang.Exception
{
// remove the listeners at the buttons
diff --git a/odk/examples/DevelopersGuide/Forms/HsqlDatabase.java b/odk/examples/DevelopersGuide/Forms/HsqlDatabase.java
index 0a4e46e48e3b..e349892d3ea9 100644
--- a/odk/examples/DevelopersGuide/Forms/HsqlDatabase.java
+++ b/odk/examples/DevelopersGuide/Forms/HsqlDatabase.java
@@ -219,6 +219,7 @@ public class HsqlDatabase
return new RowSet( m_context, getDocumentURL(), _commandType, _command );
}
+ @Override
protected void finalize() throws Throwable
{
closeAndDelete();
diff --git a/odk/examples/DevelopersGuide/Forms/SpreadsheetValueBinding.java b/odk/examples/DevelopersGuide/Forms/SpreadsheetValueBinding.java
index e3555b308a0c..8baca5dca0d5 100644
--- a/odk/examples/DevelopersGuide/Forms/SpreadsheetValueBinding.java
+++ b/odk/examples/DevelopersGuide/Forms/SpreadsheetValueBinding.java
@@ -35,6 +35,7 @@ public class SpreadsheetValueBinding extends DocumentBasedExample
}
/* ------------------------------------------------------------------ */
+ @Override
protected void prepareDocument() throws com.sun.star.uno.Exception, java.lang.Exception
{
super.prepareDocument();
diff --git a/odk/examples/DevelopersGuide/Forms/TableCellTextBinding.java b/odk/examples/DevelopersGuide/Forms/TableCellTextBinding.java
index 4b9fc6b84cdf..3b47da5ebc86 100644
--- a/odk/examples/DevelopersGuide/Forms/TableCellTextBinding.java
+++ b/odk/examples/DevelopersGuide/Forms/TableCellTextBinding.java
@@ -127,6 +127,7 @@ public class TableCellTextBinding
/** runs the thread
*/
+ @Override
public void run()
{
try
diff --git a/odk/examples/DevelopersGuide/Forms/ValueBinding.java b/odk/examples/DevelopersGuide/Forms/ValueBinding.java
index 3cf649cce543..e86e6bc72372 100644
--- a/odk/examples/DevelopersGuide/Forms/ValueBinding.java
+++ b/odk/examples/DevelopersGuide/Forms/ValueBinding.java
@@ -35,6 +35,7 @@ public class ValueBinding extends DocumentBasedExample
}
/* ------------------------------------------------------------------ */
+ @Override
protected void prepareDocument() throws com.sun.star.uno.Exception, java.lang.Exception
{
super.prepareDocument();
diff --git a/odk/examples/DevelopersGuide/Forms/WaitForInput.java b/odk/examples/DevelopersGuide/Forms/WaitForInput.java
index bb5674fb07e9..55284d04ba15 100644
--- a/odk/examples/DevelopersGuide/Forms/WaitForInput.java
+++ b/odk/examples/DevelopersGuide/Forms/WaitForInput.java
@@ -31,6 +31,7 @@ class WaitForInput extends java.lang.Thread
return m_bDone;
}
+ @Override
public void run()
{
try