| @@ 51-66 (lines=16) @@ | ||
| 48 | $this->translationsHelper = $context->getTranslationsHelper(); |
|
| 49 | } |
|
| 50 | ||
| 51 | protected function createManialink(Group $group) |
|
| 52 | { |
|
| 53 | $className = $this->className; |
|
| 54 | $manialink = new $className( |
|
| 55 | $this, |
|
| 56 | $group, |
|
| 57 | $this->translationsHelper, |
|
| 58 | $this->name, |
|
| 59 | $this->sizeX, |
|
| 60 | $this->sizeY, |
|
| 61 | $this->posX, |
|
| 62 | $this->posY |
|
| 63 | ); |
|
| 64 | ||
| 65 | return $manialink; |
|
| 66 | } |
|
| 67 | ||
| 68 | } |
|
| 69 | ||
| @@ 68-86 (lines=19) @@ | ||
| 65 | * |
|
| 66 | * @return Window |
|
| 67 | */ |
|
| 68 | protected function createManialink(Group $group, $hideable = true) |
|
| 69 | { |
|
| 70 | ||
| 71 | $className = $this->className; |
|
| 72 | $manialink = new $className( |
|
| 73 | $this, |
|
| 74 | $group, |
|
| 75 | $this->translationsHelper, |
|
| 76 | $this->widgetFrameFactory, |
|
| 77 | $this->name, |
|
| 78 | $this->sizeX, |
|
| 79 | $this->sizeY, |
|
| 80 | $this->posX, |
|
| 81 | $this->posY, |
|
| 82 | $hideable |
|
| 83 | ); |
|
| 84 | ||
| 85 | return $manialink; |
|
| 86 | } |
|
| 87 | ||
| 88 | /** |
|
| 89 | * @inheritdoc |
|