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