public IPanel <Form> Create([NotNull] IActionDefinition action) { var result = new MitigationListPanel(); if (_actions != null) { result.SetContextAwareActions(_actions); } return(result); }
public IPanel <Form> Create(IIdentity identity, out IActionDefinition action) { var result = new MitigationListPanel(); if (_actions != null) { result.SetContextAwareActions(_actions); } action = new ActionDefinition(result.Id, "MitigationList", "Mitigation\nList", Resources.mitigations_big, Resources.mitigations); return(result); }