Mercurial > parpg-source
comparison gui/containergui_base.py @ 148:2241722311bf
Moved the action module into the entities package.
Removed the objects package.
author | KarstenBock@gmx.net |
---|---|
date | Sun, 09 Oct 2011 21:02:48 +0200 |
parents | c28e29056218 |
children |
comparison
equal
deleted
inserted
replaced
147:bb29d81d7ce6 | 148:2241722311bf |
---|---|
16 from fife import fife | 16 from fife import fife |
17 from fife.extensions import pychan | 17 from fife.extensions import pychan |
18 | 18 |
19 from parpg import vfs | 19 from parpg import vfs |
20 from parpg.gui import drag_drop_data as data_drag | 20 from parpg.gui import drag_drop_data as data_drag |
21 from parpg.objects.action import ACTIONS | 21 from parpg.entities.action import ACTIONS |
22 from parpg.entities import General | 22 from parpg.entities import General |
23 | 23 |
24 class ContainerGUIBase(object): | 24 class ContainerGUIBase(object): |
25 """ | 25 """ |
26 Base class for windows that show the content of a container | 26 Base class for windows that show the content of a container |
140 ) | 140 ) |
141 | 141 |
142 def executeMenuItem(self, action): | 142 def executeMenuItem(self, action): |
143 """Executes the items action | 143 """Executes the items action |
144 @param action: The action to run | 144 @param action: The action to run |
145 @type action: Class derived from parpg.objects.action.Action | 145 @type action: Class derived from parpg.entities.action.Action |
146 """ | 146 """ |
147 action.execute() | 147 action.execute() |
148 | 148 |
149 def updateImages(self): | 149 def updateImages(self): |
150 pass | 150 pass |