Beginning work on pit-swing
This commit is contained in:
@ -9,6 +9,13 @@ application {
|
||||
//frameClass = 'javax.swing.JFrame'
|
||||
}
|
||||
mvcGroups {
|
||||
// MVC Group for "com.jdbernard.pit.swing.PIT"
|
||||
'PIT' {
|
||||
model = 'com.jdbernard.pit.swing.PITModel'
|
||||
controller = 'com.jdbernard.pit.swing.PITController'
|
||||
view = 'com.jdbernard.pit.swing.PITView'
|
||||
}
|
||||
|
||||
// MVC Group for "pit-swing"
|
||||
'pit-swing' {
|
||||
model = 'PitSwingModel'
|
||||
|
@ -1,4 +1,6 @@
|
||||
class PitSwingController {
|
||||
package com.jdbernard.pit.swing
|
||||
|
||||
class PITController {
|
||||
// these will be injected by Griffon
|
||||
def model
|
||||
def view
|
@ -1,5 +0,0 @@
|
||||
import groovy.beans.Bindable
|
||||
|
||||
class PitSwingModel {
|
||||
// @Bindable String propName
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
package com.jdbernard.pit.swing
|
||||
|
||||
import com.jdbernard.pit.Project
|
||||
import groovy.beans.Bindable
|
||||
|
||||
class PITModel {
|
||||
@Bindable Project rootProject
|
||||
}
|
@ -1,4 +1,9 @@
|
||||
application(title:'pit-swing',
|
||||
package com.jdbernard.pit.swing
|
||||
|
||||
import net.miginfocom.swing.MigLayout
|
||||
|
||||
frame = application(title:'Personal Issue Tracker',
|
||||
locationRelativeTo: null,
|
||||
//size:[320,480],
|
||||
pack:true,
|
||||
//location:[50,50],
|
||||
@ -8,6 +13,8 @@ application(title:'pit-swing',
|
||||
imageIcon('/griffon-icon-32x32.png').image,
|
||||
imageIcon('/griffon-icon-16x16.png').image]
|
||||
) {
|
||||
// add content here
|
||||
label('Content Goes Here') // deleteme
|
||||
// MENU GOES HERE
|
||||
panel(layout: new MigLayout('insets 5 5 5 5')) {
|
||||
scrollPane()
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user