]> git.proxmox.com Git - mirror_edk2.git/blame - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/common/Identifications/OpeningFileType.java
Turned off the AUTO_RESIZE on the table so that it would work on a small display...
[mirror_edk2.git] / Tools / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / common / Identifications / OpeningFileType.java
CommitLineData
79cb6fdb 1/** @file\r
2 \r
3 The file is used to define common opening file type\r
4 \r
5 Copyright (c) 2006, Intel Corporation\r
6 All rights reserved. This program and the accompanying materials\r
7 are licensed and made available under the terms and conditions of the BSD License\r
8 which accompanies this distribution. The full text of the license may be found at\r
9 http://opensource.org/licenses/bsd-license.php\r
10 \r
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13 \r
14 **/\r
15\r
16package org.tianocore.frameworkwizard.common.Identifications;\r
17\r
18import javax.swing.tree.TreePath;\r
19\r
20\r
21public class OpeningFileType {\r
22 //\r
23 // Define class members\r
24 //\r
25 \r
26 private Identification id = null;\r
27 \r
28 private boolean isSaved = true;\r
29 \r
30 private boolean isNew = false;\r
31 \r
32 private TreePath treePath = null;\r
33 \r
34 public OpeningFileType() {\r
35 \r
36 }\r
37 \r
38 public OpeningFileType(Identification identification) {\r
39 this.id = identification;\r
40 }\r
41 \r
42 public OpeningFileType(Identification identification, TreePath treePathValue) {\r
43 this.id = identification;\r
44 this.treePath = treePathValue;\r
45 }\r
46\r
47 public Identification getId() {\r
48 return id;\r
49 }\r
50\r
51 public void setId(Identification id) {\r
52 this.id = id;\r
53 }\r
54\r
55 public boolean isNew() {\r
56 return isNew;\r
57 }\r
58\r
59 public void setNew(boolean isNew) {\r
60 this.isNew = isNew;\r
61 }\r
62\r
63 public boolean isSaved() {\r
64 return isSaved;\r
65 }\r
66\r
67 public void setSaved(boolean isSaved) {\r
68 this.isSaved = isSaved;\r
69 }\r
70\r
71 public TreePath getTreePath() {\r
72 return treePath;\r
73 }\r
74\r
75 public void setTreePath(TreePath treePath) {\r
76 this.treePath = treePath;\r
77 }\r
78}\r