]>
git.proxmox.com Git - mirror_edk2.git/blob - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/common/Identifications/OpeningFileType.java
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 java
.util
.LinkedHashSet
;
21 import javax
.swing
.tree
.TreePath
;
24 public class OpeningFileType
{
26 // Define class members
28 private boolean isSaved
= true;
30 private boolean isNew
= false;
32 private boolean isOpen
= false;
34 private Set
<TreePath
> treePath
= new LinkedHashSet
<TreePath
>();
36 public OpeningFileType() {
40 public boolean isNew() {
44 public void setNew(boolean isNew
) {
48 public boolean isSaved() {
52 public void setSaved(boolean isSaved
) {
53 this.isSaved
= isSaved
;
56 public boolean isOpen() {
60 public void setOpen(boolean isOpen
) {
64 public Set
<TreePath
> getTreePath() {
68 public void setTreePath(Set
<TreePath
> treePath
) {
69 this.treePath
= treePath
;