2012-01-12 22:40:23 +00:00
|
|
|
from objp.util import pyref
|
2012-01-13 20:25:34 +00:00
|
|
|
from cocoa.inter import PyGUIObject, GUIObjectView
|
2011-09-21 20:02:13 +00:00
|
|
|
|
2012-01-12 22:40:23 +00:00
|
|
|
class PrioritizeDialogView(GUIObjectView):
|
|
|
|
pass
|
2011-09-21 20:02:13 +00:00
|
|
|
|
2012-01-13 19:43:43 +00:00
|
|
|
class PyPrioritizeDialog(PyGUIObject):
|
2012-01-12 22:40:23 +00:00
|
|
|
def categoryList(self) -> pyref:
|
|
|
|
return self.model.category_list
|
2011-09-21 20:02:13 +00:00
|
|
|
|
2012-01-12 22:40:23 +00:00
|
|
|
def criteriaList(self) -> pyref:
|
|
|
|
return self.model.criteria_list
|
2011-09-21 20:02:13 +00:00
|
|
|
|
2012-01-12 22:40:23 +00:00
|
|
|
def prioritizationList(self) -> pyref:
|
|
|
|
return self.model.prioritization_list
|
2011-09-21 20:02:13 +00:00
|
|
|
|
|
|
|
def addSelected(self):
|
2012-01-12 22:40:23 +00:00
|
|
|
self.model.add_selected()
|
2011-09-21 20:02:13 +00:00
|
|
|
|
|
|
|
def removeSelected(self):
|
2012-01-12 22:40:23 +00:00
|
|
|
self.model.remove_selected()
|
2011-09-21 20:02:13 +00:00
|
|
|
|
|
|
|
def performReprioritization(self):
|
2012-01-12 22:40:23 +00:00
|
|
|
self.model.perform_reprioritization()
|