001: /*
002: * Copyright (C) 2001-2003 Robert MacGrogan
003: *
004: * This library is free software; you can redistribute it and/or
005: * modify it under the terms of the GNU Lesser General Public
006: * License as published by the Free Software Foundation; either
007: * version 2.1 of the License, or (at your option) any later version.
008: *
009: * This library is distributed in the hope that it will be useful,
010: * but WITHOUT ANY WARRANTY; without even the implied warranty of
011: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
012: * Lesser General Public License for more details.
013: *
014: * You should have received a copy of the GNU Lesser General Public
015: * License along with this library; if not, write to the Free Software
016: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
017: *
018: *
019: * $Archive: SourceJammer$
020: * $FileName: AddFileProcessInfo.java$
021: * $FileID: 4151$
022: *
023: * Last change:
024: * $AuthorName: Rob MacGrogan$
025: * $Date: 4/23/03 5:11 PM$
026: * $Comment: Replaced GPL header with LGPL header.$
027: */
028: package org.sourcejammer.client.gui.process.info;
029:
030: import java.io.File;
031:
032: import org.sourcejammer.project.view.SJRequest;
033:
034: /**
035: * Title: $FileName: AddFileProcessInfo.java$
036: * @version $VerNum: 3$
037: * @author $AuthorName: Rob MacGrogan$<br><br>
038: *
039: * $Description: $<br>
040: * $KeyWordsOff: $<br>
041: */
042: public class AddFileProcessInfo {
043:
044: private SJRequest request = null;
045:
046: public AddFileProcessInfo() {
047: }
048:
049: String[] selectedFiles;
050:
051: public String[] getSelectedFiles() {
052: return selectedFiles;
053: }
054:
055: public void setSelectedFiles(String[] selectedFiles) {
056: this .selectedFiles = selectedFiles;
057: }
058:
059: long parentProjectID;
060:
061: public long getParentProjectID() {
062: return parentProjectID;
063: }
064:
065: public void setParentProjectID(long parentProjectID) {
066: this .parentProjectID = parentProjectID;
067: }
068:
069: String description;
070:
071: public String getDescription() {
072: return description;
073: }
074:
075: public void setDescription(String description) {
076: this .description = description;
077: }
078:
079: boolean overrideDefaultHistTypes = false;
080:
081: public boolean isOverrideDefaultHistTypes() {
082: return overrideDefaultHistTypes;
083: }
084:
085: public void setOverrideDefaultHistTypes(boolean b) {
086: overrideDefaultHistTypes = b;
087: }
088:
089: int fileType;
090:
091: public int getFileType() {
092: return fileType;
093: }
094:
095: public void setFileType(int fileType) {
096: this .fileType = fileType;
097: }
098:
099: int historyType;
100:
101: public int getHistoryType() {
102: return historyType;
103: }
104:
105: public void setHistoryType(int historyType) {
106: this .historyType = historyType;
107: }
108:
109: boolean recursive;
110:
111: public boolean getRecursive() {
112: return recursive;
113: }
114:
115: public void setRecursive(boolean recursive) {
116: this .recursive = recursive;
117: }
118:
119: File defaultDirectory;
120:
121: public File getDefaultDirectory() {
122: return defaultDirectory;
123: }
124:
125: public void setDefaultDirectory(File defaultDirectory) {
126: this .defaultDirectory = defaultDirectory;
127: }
128:
129: String afterAddAction = null;
130:
131: public void setAfterAddAction(String s) {
132: afterAddAction = s;
133: }
134:
135: public String getAfterAddAction() {
136: return afterAddAction;
137: }
138:
139: /**
140: * Returns the request.
141: * @return SJRequest
142: */
143: public SJRequest getRequest() {
144: return request;
145: }
146:
147: /**
148: * Sets the request.
149: * @param request The request to set
150: */
151: public void setRequest(SJRequest request) {
152: this.request = request;
153: }
154:
155: }
|