3 The file is used to define common opening file type
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
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.
16 package org
.tianocore
.frameworkwizard
.common
.Identifications
;
18 import javax
.swing
.tree
.TreePath
;
21 public class OpeningFileType
{
23 // Define class members
26 private Identification id
= null;
28 private boolean isSaved
= true;
30 private boolean isNew
= false;
32 private TreePath treePath
= null;
34 public OpeningFileType() {
38 public OpeningFileType(Identification identification
) {
39 this.id
= identification
;
42 public OpeningFileType(Identification identification
, TreePath treePathValue
) {
43 this.id
= identification
;
44 this.treePath
= treePathValue
;
47 public Identification
getId() {
51 public void setId(Identification id
) {
55 public boolean isNew() {
59 public void setNew(boolean isNew
) {
63 public boolean isSaved() {
67 public void setSaved(boolean isSaved
) {
68 this.isSaved
= isSaved
;
71 public TreePath
getTreePath() {
75 public void setTreePath(TreePath treePath
) {
76 this.treePath
= treePath
;