-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathJGuiD.java
More file actions
51 lines (50 loc) · 1.12 KB
/
JGuiD.java
File metadata and controls
51 lines (50 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/**
*
* @author Aman
*/
import UI.*;
import Util.*;
import Session.*;
import java.io.File;
/**
* This is the mainclass were the show starts this class calls
* the Project Dialog and waits for user interaction
*/
public class JGuiD implements iJGuiD
{
/**
* This Constructor just calls the showProjectDialog() function
*/
public JGuiD()
{
showProjectDialog();
}
/**
*This creates an instance for the class GuiDProjectDialog
* Which show the Project Dialog
*/
public void showProjectDialog()
{
GuiDProjectDialog gpd = new GuiDProjectDialog(this);
}
/**
*function starts a new Project by sending the type of project to GuiDSession Object
*which Then start a session for new project
*/
public void startNewProject(String type)
{
GuiDSession prim = new GuiDSession(type,this);
}
/**
*function starts a existing Project by sending the project file to GuiDSession Object
*which Then start a session for specified project file
*/
public void openExistingProject(File f)
{
GuiDSession prim = new GuiDSession(f,this);
}
public static void main(String[] args)
{
JGuiD tg = new JGuiD();
}
}