mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +01:00
for consistency, createDialog -> onCreateDialog
This commit is contained in:
parent
716109e979
commit
f386cd5c1b
8 changed files with 12 additions and 12 deletions
|
@ -39,7 +39,7 @@ public class BoardActivity extends Activity {
|
|||
{
|
||||
Dialog dialog = super.onCreateDialog( id );
|
||||
if ( null == dialog ) {
|
||||
dialog = m_dlgt.createDialog( id );
|
||||
dialog = m_dlgt.onCreateDialog( id );
|
||||
}
|
||||
return dialog;
|
||||
} // onCreateDialog
|
||||
|
|
|
@ -236,9 +236,9 @@ public class BoardDelegate extends DelegateBase
|
|||
}
|
||||
}
|
||||
|
||||
protected Dialog createDialog( int id )
|
||||
protected Dialog onCreateDialog( int id )
|
||||
{
|
||||
Dialog dialog = super.createDialog( id );
|
||||
Dialog dialog = super.onCreateDialog( id );
|
||||
if ( null == dialog ) {
|
||||
DialogInterface.OnClickListener lstnr;
|
||||
AlertDialog.Builder ab = makeAlertBuilder();
|
||||
|
|
|
@ -122,7 +122,7 @@ public class DelegateBase implements DlgDelegate.DlgClickNotify,
|
|||
m_delegate.showDialog( dlgID );
|
||||
}
|
||||
|
||||
protected Dialog createDialog( int id )
|
||||
protected Dialog onCreateDialog( int id )
|
||||
{
|
||||
return m_delegate.createDialog( id );
|
||||
}
|
||||
|
|
|
@ -87,7 +87,7 @@ public class DictsActivity extends ExpandableListActivity {
|
|||
{
|
||||
Dialog dialog = super.onCreateDialog( id );
|
||||
if ( null == dialog ) {
|
||||
dialog = m_dlgt.createDialog( id );
|
||||
dialog = m_dlgt.onCreateDialog( id );
|
||||
}
|
||||
return dialog;
|
||||
} // onCreateDialog
|
||||
|
|
|
@ -234,7 +234,7 @@ public class DictsDelegate extends DelegateBase
|
|||
m_activity = activity;
|
||||
}
|
||||
|
||||
protected Dialog createDialog( int id )
|
||||
protected Dialog onCreateDialog( int id )
|
||||
{
|
||||
OnClickListener lstnr, lstnr2;
|
||||
Dialog dialog;
|
||||
|
@ -341,7 +341,7 @@ public class DictsDelegate extends DelegateBase
|
|||
break;
|
||||
|
||||
default:
|
||||
dialog = super.createDialog( id );
|
||||
dialog = super.onCreateDialog( id );
|
||||
doRemove = false;
|
||||
break;
|
||||
}
|
||||
|
@ -351,7 +351,7 @@ public class DictsDelegate extends DelegateBase
|
|||
}
|
||||
|
||||
return dialog;
|
||||
} // createDialog
|
||||
} // onCreateDialog
|
||||
|
||||
protected void prepareDialog( int id, Dialog dialog )
|
||||
{
|
||||
|
|
|
@ -48,7 +48,7 @@ public class GamesListActivity extends ListActivity {
|
|||
{
|
||||
Dialog dialog = super.onCreateDialog( id );
|
||||
if ( null == dialog && null != m_dlgt ) {
|
||||
dialog = m_dlgt.createDialog( id );
|
||||
dialog = m_dlgt.onCreateDialog( id );
|
||||
}
|
||||
return dialog;
|
||||
} // onCreateDialog
|
||||
|
|
|
@ -127,7 +127,7 @@ public class GamesListDelegate extends DelegateBase
|
|||
m_activity = activity;
|
||||
}
|
||||
|
||||
protected Dialog createDialog( int id )
|
||||
protected Dialog onCreateDialog( int id )
|
||||
{
|
||||
Dialog dialog = null;
|
||||
DialogInterface.OnClickListener lstnr;
|
||||
|
@ -331,7 +331,7 @@ public class GamesListDelegate extends DelegateBase
|
|||
break;
|
||||
|
||||
default:
|
||||
dialog = super.createDialog( id );
|
||||
dialog = super.onCreateDialog( id );
|
||||
break;
|
||||
}
|
||||
return dialog;
|
||||
|
|
|
@ -75,7 +75,7 @@ public class StudyListActivity extends ListActivity {
|
|||
@Override
|
||||
protected Dialog onCreateDialog( int id )
|
||||
{
|
||||
Dialog dialog = m_dlgt.createDialog( id );
|
||||
Dialog dialog = m_dlgt.onCreateDialog( id );
|
||||
if ( null == dialog ) {
|
||||
dialog = super.onCreateDialog( id );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue