JMinor Application Framework

As simple as possible but not simpler

User Tools

Site Tools


documentation:tutorials:empdept

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
documentation:tutorials:empdept [2018/10/26 16:16]
darri
documentation:tutorials:empdept [2019/08/19 11:06] (current)
darri [Main application panel]
Line 104: Line 104:
 <source org/​jminor/​framework/​demos/​empdept/​client/​ui/​EmpDeptAppPanel.java #33-64> <source org/​jminor/​framework/​demos/​empdept/​client/​ui/​EmpDeptAppPanel.java #33-64>
 Next we add a method for importing a JSON text file, which we'll call via an action initialized in the next section. Next we add a method for importing a JSON text file, which we'll call via an action initialized in the next section.
-<source org/​jminor/​framework/​demos/​empdept/​client/​ui/​EmpDeptAppPanel.java #65-72>+<source org/​jminor/​framework/​demos/​empdept/​client/​ui/​EmpDeptAppPanel.java #64-71>
 We override **getToolsControlSet()** to add our import action to the Tools menu. We override **getToolsControlSet()** to add our import action to the Tools menu.
-<source org/​jminor/​framework/​demos/​empdept/​client/​ui/​EmpDeptAppPanel.java #73-77>+<source org/​jminor/​framework/​demos/​empdept/​client/​ui/​EmpDeptAppPanel.java #72-76>
 We implement **initializeApplicationModel()** by returning an instance of the **EmpDeptApplicationModel** class, which we'll create later. We implement **initializeApplicationModel()** by returning an instance of the **EmpDeptApplicationModel** class, which we'll create later.
-<source org/​jminor/​framework/​demos/​empdept/​client/​ui/​EmpDeptAppPanel.java #78-85>+<source org/​jminor/​framework/​demos/​empdept/​client/​ui/​EmpDeptAppPanel.java #77-84>
 We create a **main()** method for configuring and running the application. We create a **main()** method for configuring and running the application.
 <source org/​jminor/​framework/​demos/​empdept/​client/​ui/​EmpDeptAppPanel.java #86-92> <source org/​jminor/​framework/​demos/​empdept/​client/​ui/​EmpDeptAppPanel.java #86-92>
 We then create the **EmpDeptApplicationModel** class by extending **SwingEntityApplicationModel**. We then create the **EmpDeptApplicationModel** class by extending **SwingEntityApplicationModel**.
-<source org/​jminor/​framework/​demos/​empdept/​client/​ui/​EmpDeptAppPanel.java #93-104>+<source org/​jminor/​framework/​demos/​empdept/​client/​ui/​EmpDeptAppPanel.java #92-103>
 We then create a **EmployeeModelProvider** by extending **SwingEntityModelProvider**,​ in order to configure the table model after initialization. We then create a **EmployeeModelProvider** by extending **SwingEntityModelProvider**,​ in order to configure the table model after initialization.
-<source org/​jminor/​framework/​demos/​empdept/​client/​ui/​EmpDeptAppPanel.java #105-116>+<source org/​jminor/​framework/​demos/​empdept/​client/​ui/​EmpDeptAppPanel.java #104-115>
 We create a **EmployeePanelProvider** by extending **EntityPanelProvider**,​ in order to configure the table panel after initialization. We create a **EmployeePanelProvider** by extending **EntityPanelProvider**,​ in order to configure the table panel after initialization.
 See [[documentation:​technical:​client#​configuration|client configuration]] for what is required for running the client. See [[documentation:​technical:​client#​configuration|client configuration]] for what is required for running the client.
documentation/tutorials/empdept.txt ยท Last modified: 2019/08/19 11:06 by darri