mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +01:00
cleanup: "Then" implies Action
This commit is contained in:
parent
c36adeebbd
commit
25823aec74
2 changed files with 5 additions and 5 deletions
|
@ -548,7 +548,7 @@ public class DelegateBase implements DlgClickNotify,
|
||||||
|
|
||||||
protected void showOKOnlyDialogThen( String msg, Action action )
|
protected void showOKOnlyDialogThen( String msg, Action action )
|
||||||
{
|
{
|
||||||
m_dlgDelegate.showOKOnlyDialog( msg, action );
|
m_dlgDelegate.showOKOnlyDialogThen( msg, action );
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void startProgress( int titleID, int msgID )
|
protected void startProgress( int titleID, int msgID )
|
||||||
|
|
|
@ -385,10 +385,10 @@ public class DlgDelegate {
|
||||||
|
|
||||||
public void showOKOnlyDialog( String msg )
|
public void showOKOnlyDialog( String msg )
|
||||||
{
|
{
|
||||||
showOKOnlyDialog( msg, Action.SKIP_CALLBACK );
|
showOKOnlyDialogThen( msg, Action.SKIP_CALLBACK );
|
||||||
}
|
}
|
||||||
|
|
||||||
public void showOKOnlyDialog( String msg, Action action )
|
public void showOKOnlyDialogThen( String msg, Action action )
|
||||||
{
|
{
|
||||||
// Assert.assertNull( m_dlgStates );
|
// Assert.assertNull( m_dlgStates );
|
||||||
DlgState state = new DlgState( DlgID.DIALOG_OKONLY, msg, action );
|
DlgState state = new DlgState( DlgID.DIALOG_OKONLY, msg, action );
|
||||||
|
@ -398,7 +398,7 @@ public class DlgDelegate {
|
||||||
|
|
||||||
public void showOKOnlyDialog( int msgID )
|
public void showOKOnlyDialog( int msgID )
|
||||||
{
|
{
|
||||||
showOKOnlyDialog( getString( msgID ), Action.SKIP_CALLBACK );
|
showOKOnlyDialogThen( getString( msgID ), Action.SKIP_CALLBACK );
|
||||||
}
|
}
|
||||||
|
|
||||||
public void showDictGoneFinish()
|
public void showDictGoneFinish()
|
||||||
|
@ -569,7 +569,7 @@ public class DlgDelegate {
|
||||||
post( new Runnable() {
|
post( new Runnable() {
|
||||||
public void run() {
|
public void run() {
|
||||||
if ( asDlg ) {
|
if ( asDlg ) {
|
||||||
showOKOnlyDialog( fmsg, Action.SKIP_CALLBACK );
|
showOKOnlyDialog( fmsg );
|
||||||
} else {
|
} else {
|
||||||
DbgUtils.showf( m_activity, fmsg );
|
DbgUtils.showf( m_activity, fmsg );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue