]> git.proxmox.com Git - mirror_edk2.git/blob - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/common/Identifications/OpeningFileType.java
1. Restructure some folders and files
[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
26 private Identification id = null;
27
28 private boolean isSaved = true;
29
30 private boolean isNew = false;
31
32 private TreePath treePath = null;
33
34 public OpeningFileType() {
35
36 }
37
38 public OpeningFileType(Identification identification) {
39 this.id = identification;
40 }
41
42 public OpeningFileType(Identification identification, TreePath treePathValue) {
43 this.id = identification;
44 this.treePath = treePathValue;
45 }
46
47 public Identification getId() {
48 return id;
49 }
50
51 public void setId(Identification id) {
52 this.id = id;
53 }
54
55 public boolean isNew() {
56 return isNew;
57 }
58
59 public void setNew(boolean isNew) {
60 this.isNew = isNew;
61 }
62
63 public boolean isSaved() {
64 return isSaved;
65 }
66
67 public void setSaved(boolean isSaved) {
68 this.isSaved = isSaved;
69 }
70
71 public TreePath getTreePath() {
72 return treePath;
73 }
74
75 public void setTreePath(TreePath treePath) {
76 this.treePath = treePath;
77 }
78 }