MINOR Using renamed GridFieldDeleteAction and GridFieldEditAction

This commit is contained in:
Ingo Schommer 2012-03-08 16:34:14 +01:00
parent e313964668
commit d37bd9d306
2 changed files with 9 additions and 9 deletions

View File

@ -42,7 +42,7 @@ class Company extends DataObject {
$config->addComponent(new GridFieldDefaultColumns()); $config->addComponent(new GridFieldDefaultColumns());
$config->addComponent(new GridFieldSortableHeader()); $config->addComponent(new GridFieldSortableHeader());
$config->addComponent(new GridFieldPaginator()); $config->addComponent(new GridFieldPaginator());
$config->addComponent(new GridFieldAction_Edit()); $config->addComponent(new GridFieldDeleteAction());
$config->addComponent(new GridFieldRelationDelete()); $config->addComponent(new GridFieldRelationDelete());
$config->addComponent(new GridFieldPopupForms()); $config->addComponent(new GridFieldPopupForms());

View File

@ -36,8 +36,8 @@ class GridFieldTestPage extends Page {
$config->addComponent(new GridFieldSortableHeader()); $config->addComponent(new GridFieldSortableHeader());
$config->addComponent(new GridFieldPaginator); $config->addComponent(new GridFieldPaginator);
$config->addComponent(new GridFieldFilter()); $config->addComponent(new GridFieldFilter());
$config->addComponent(new GridFieldAction_Delete()); $config->addComponent(new GridFieldDeleteAction());
$config->addComponent(new GridFieldAction_Edit()); $config->addComponent(new GridFieldEditAction());
$config->addComponent($forms = new GridFieldPopupForms()); $config->addComponent($forms = new GridFieldPopupForms());
$grid = new GridField('Companies', 'Companies', new DataList('Company'),$config); $grid = new GridField('Companies', 'Companies', new DataList('Company'),$config);
$fields->addFieldToTab('Root.NoRelation', $grid); $fields->addFieldToTab('Root.NoRelation', $grid);
@ -47,8 +47,8 @@ class GridFieldTestPage extends Page {
$config->addComponent(new GridFieldSortableHeader()); $config->addComponent(new GridFieldSortableHeader());
$config->addComponent(new GridFieldPaginator); $config->addComponent(new GridFieldPaginator);
$config->addComponent(new GridFieldFilter()); $config->addComponent(new GridFieldFilter());
$config->addComponent(new GridFieldAction_Delete()); $config->addComponent(new GridFieldDeleteAction());
$config->addComponent(new GridFieldAction_Edit()); $config->addComponent(new GridFieldEditAction());
$config->addComponent(new GridFieldRelationAdd('Name')); $config->addComponent(new GridFieldRelationAdd('Name'));
$grid = new GridField('HasManyCompanies', 'HasManyCompanies', new DataList('Company'),$config); $grid = new GridField('HasManyCompanies', 'HasManyCompanies', new DataList('Company'),$config);
$fields->addFieldToTab('Root.HasMany', $grid); $fields->addFieldToTab('Root.HasMany', $grid);
@ -58,8 +58,8 @@ class GridFieldTestPage extends Page {
$config->addComponent(new GridFieldSortableHeader()); $config->addComponent(new GridFieldSortableHeader());
$config->addComponent(new GridFieldPaginator); $config->addComponent(new GridFieldPaginator);
$config->addComponent(new GridFieldFilter()); $config->addComponent(new GridFieldFilter());
$config->addComponent(new GridFieldAction_Delete()); $config->addComponent(new GridFieldDeleteAction());
$config->addComponent(new GridFieldAction_Edit()); $config->addComponent(new GridFieldEditAction());
$config->addComponent(new GridFieldRelationAdd('Name')); $config->addComponent(new GridFieldRelationAdd('Name'));
$grid = new GridField('ManyManyCompanies', 'ManyManyCompanies', new DataList('Company'),$config); $grid = new GridField('ManyManyCompanies', 'ManyManyCompanies', new DataList('Company'),$config);
$fields->addFieldToTab('Root.ManyMany', $grid); $fields->addFieldToTab('Root.ManyMany', $grid);
@ -91,8 +91,8 @@ class GridFieldTestPage_Controller extends Page_Controller {
$config->addComponent(new GridFieldSortableHeader()); $config->addComponent(new GridFieldSortableHeader());
$config->addComponent(new GridFieldPaginator); $config->addComponent(new GridFieldPaginator);
$config->addComponent(new GridFieldFilter()); $config->addComponent(new GridFieldFilter());
$config->addComponent(new GridFieldAction_Delete()); $config->addComponent(new GridFieldDeleteAction());
$config->addComponent(new GridFieldAction_Edit()); $config->addComponent(new GridFieldEditAction());
$config->addComponent(new GridFieldPopupForms()); $config->addComponent(new GridFieldPopupForms());
$grid = new GridField('Companies', 'Companies', new DataList('Company'),$config); $grid = new GridField('Companies', 'Companies', new DataList('Company'),$config);