In the middle of updating pit-swing.
This commit is contained in:
@ -0,0 +1,14 @@
|
||||
package com.jdbernard.pit.swing
|
||||
|
||||
import com.jdbernard.pit.Category
|
||||
import com.jdbernard.pit.Status
|
||||
import groovy.beans.Bindable
|
||||
|
||||
class NewIssueDialogModel {
|
||||
|
||||
@Bindable boolean accept
|
||||
String text
|
||||
Category category
|
||||
Status status
|
||||
int priority
|
||||
}
|
@ -8,27 +8,20 @@ import com.jdbernard.pit.Status
|
||||
import groovy.beans.Bindable
|
||||
|
||||
class PITModel {
|
||||
@Bindable Project rootProject
|
||||
|
||||
// cache the ListModels
|
||||
def projectListModels = [:]
|
||||
|
||||
// filter for projects and issues
|
||||
Filter filter = new Filter(categories: [],
|
||||
status: [Status.NEW, Status.VALIDATION_REQUIRED])
|
||||
|
||||
@Bindable Project popupProject = null
|
||||
|
||||
@Bindable Project selectedProject = null
|
||||
|
||||
@Bindable Issue popupIssue = null
|
||||
|
||||
// configurable exntension points
|
||||
// ==============================
|
||||
|
||||
@Bindable def issueListRenderer
|
||||
def issueListRenderer
|
||||
|
||||
// map of category -> issue template
|
||||
def templates = [:]
|
||||
|
||||
def categoryIcons = [:]
|
||||
def statusIcons = [:]
|
||||
|
||||
def newIssueDialogMVC
|
||||
def projectPanelMVCs = [:]
|
||||
|
||||
def projectIdMap = [:]
|
||||
}
|
||||
|
@ -0,0 +1,30 @@
|
||||
package com.jdbernard.pit.swing
|
||||
|
||||
import com.jdbernard.pit.Filter
|
||||
import com.jdbernard.pit.Issue
|
||||
import com.jdbernard.pit.Project
|
||||
import groovy.beans.Bindable
|
||||
|
||||
class ProjectPanelModel {
|
||||
def mainMVC
|
||||
|
||||
@Bindable Project rootProject
|
||||
|
||||
// cache the ListModels
|
||||
def projectListModels = [:]
|
||||
|
||||
@Bindable Project popupProject = null
|
||||
|
||||
@Bindable Project selectedProject = null
|
||||
|
||||
@Bindable Issue popupIssue = null
|
||||
|
||||
// filter for projects and issues
|
||||
Filter filter
|
||||
|
||||
def newIssueDialogMVC
|
||||
|
||||
String id
|
||||
|
||||
def issueCellRenderer
|
||||
}
|
Reference in New Issue
Block a user