From: <aki...@us...> - 2008-08-16 07:09:13
|
Revision: 4878 http://gridarta.svn.sourceforge.net/gridarta/?rev=4878&view=rev Author: akirschbaum Date: 2008-08-16 07:09:21 +0000 (Sat, 16 Aug 2008) Log Message: ----------- Move code to common code base. Modified Paths: -------------- trunk/crossfire/src/cfeditor/CMainControl.java trunk/daimonin/src/daieditor/CMainControl.java trunk/src/app/net/sf/gridarta/AbstractMainControl.java Modified: trunk/crossfire/src/cfeditor/CMainControl.java =================================================================== --- trunk/crossfire/src/cfeditor/CMainControl.java 2008-08-16 07:04:55 UTC (rev 4877) +++ trunk/crossfire/src/cfeditor/CMainControl.java 2008-08-16 07:09:21 UTC (rev 4878) @@ -127,7 +127,6 @@ import net.sf.japi.swing.ActionMethod; import net.sf.japi.swing.prefs.PreferencesGroup; import net.sf.japi.swing.prefs.PreferencesPane; -import net.sf.japi.swing.tod.TipOfTheDayManager; import net.sf.japi.util.ThrowableHandler; import net.sf.japi.util.filter.file.EndingFileFilter; import org.apache.log4j.Logger; @@ -531,14 +530,6 @@ PreferencesPane.showPreferencesDialog(mainView, prefsGroup, false); } - /** - * Invoked to show the next tip of the day or bring the tip of the day to - * front. - */ - public void tod() { - TipOfTheDayManager.show(mainView); - } - /** {@inheritDoc} */ public void reloadFaces() { } Modified: trunk/daimonin/src/daieditor/CMainControl.java =================================================================== --- trunk/daimonin/src/daieditor/CMainControl.java 2008-08-16 07:04:55 UTC (rev 4877) +++ trunk/daimonin/src/daieditor/CMainControl.java 2008-08-16 07:09:21 UTC (rev 4878) @@ -147,7 +147,6 @@ import net.sf.japi.swing.misc.ConsoleProgress; import net.sf.japi.swing.prefs.PreferencesGroup; import net.sf.japi.swing.prefs.PreferencesPane; -import net.sf.japi.swing.tod.TipOfTheDayManager; import net.sf.japi.util.ThrowableHandler; import net.sf.japi.util.filter.file.EndingFileFilter; import net.sf.japi.util.filter.file.Factory; @@ -713,14 +712,6 @@ PreferencesPane.showPreferencesDialog(mainView, prefsGroup, false); } - /** - * Invoked to show the next tip of the day or bring the tip of the day to - * front. - */ - public void tod() { - TipOfTheDayManager.show(mainView); - } - /** {@inheritDoc} */ public void reloadFaces() { FaceObjectProviders.reloadAll(); Modified: trunk/src/app/net/sf/gridarta/AbstractMainControl.java =================================================================== --- trunk/src/app/net/sf/gridarta/AbstractMainControl.java 2008-08-16 07:04:55 UTC (rev 4877) +++ trunk/src/app/net/sf/gridarta/AbstractMainControl.java 2008-08-16 07:09:21 UTC (rev 4878) @@ -46,6 +46,7 @@ import net.sf.gridarta.updater.UpdaterManager; import net.sf.japi.swing.ActionFactory; import net.sf.japi.swing.ActionMethod; +import net.sf.japi.swing.tod.TipOfTheDayManager; import net.sf.japi.util.filter.file.EndingFileFilter; import org.apache.log4j.Logger; import org.jetbrains.annotations.NotNull; @@ -260,4 +261,12 @@ new Help(getMainView(), null).setVisible(true); } + /** + * Invoked to show the next tip of the day or bring the tip of the day to + * front. + */ + public void tod() { + TipOfTheDayManager.show(getMainView()); + } + } // class AbstractMainControl This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |