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
25 private boolean isSaved
= true;
27 private boolean isNew
= false;
29 private boolean isOpen
= false;
31 private TreePath treePath
= null;
33 public OpeningFileType() {
37 public OpeningFileType(TreePath treePathValue
) {
38 this.treePath
= treePathValue
;
41 public boolean isNew() {
45 public void setNew(boolean isNew
) {
49 public boolean isSaved() {
53 public void setSaved(boolean isSaved
) {
54 this.isSaved
= isSaved
;
57 public TreePath
getTreePath() {
61 public void setTreePath(TreePath treePath
) {
62 this.treePath
= treePath
;
65 public boolean isOpen() {
69 public void setOpen(boolean isOpen
) {