001: /*
002: * Copyright (C) 2001-2003 Robert MacGrogan
003: *
004: * This program is free software; you can redistribute it and/or modify
005: * it under the terms of the GNU General Public License as published by
006: * the Free Software Foundation; either version 2 of the License, or
007: * (at your option) any later version.
008: *
009: * This program 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
012: * GNU General Public License for more details.
013: *
014: * You should have received a copy of the GNU General Public License
015: * along with this program; 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: GetLabeledVersionProcessInfo.java$
021: * $FileID: 4149$
022: *
023: * Last change:
024: * $AuthorName: Rob MacGrogan$
025: * $Date: 6/30/03 11:11 PM$
026: * $Comment: Fix frozen dialog bug. Pass VersionListDialog in to
027: * RepeatingResponse.$
028: */
029: package org.sourcejammer.client.gui.process.info;
030:
031: import java.awt.Component;
032: import java.io.File;
033:
034: /**
035: * Title: $FileName: GetLabeledVersionProcessInfo.java$
036: * @author $AuthorName: Rob MacGrogan$
037: * @version $VerNum: 3$<br><br>
038: *
039: * $Description: $
040: * $KeyWordsOff: $<br><br>
041: */
042: public class GetLabeledVersionProcessInfo {
043:
044: private String msLabelName = null;
045: private File mflToDirectory = null;
046: private boolean mbBuildSubDirs = false;
047: private int miEOLType = -1;
048: private long labelID = -1;
049: private int versionNumber = -1;
050: private boolean mbMakeReadOnly = false;
051: private Component parentComponent = null;
052:
053: public GetLabeledVersionProcessInfo() {
054: }
055:
056: public void setLabelID(long l) {
057: labelID = l;
058: }
059:
060: public long getLabelID() {
061: return labelID;
062: }
063:
064: public void setVersionNumber(int i) {
065: versionNumber = i;
066: }
067:
068: public int getVersionNumber() {
069: return versionNumber;
070: }
071:
072: public void setLabelName(String s) {
073: msLabelName = s;
074: }
075:
076: public String getLabelName() {
077: return msLabelName;
078: }
079:
080: public void setTargetDirectory(File f) {
081: mflToDirectory = f;
082: }
083:
084: public File getTargetDirectory() {
085: return mflToDirectory;
086: }
087:
088: public void setBuildSubDirs(boolean b) {
089: mbBuildSubDirs = b;
090: }
091:
092: public boolean isBuildSubDirs() {
093: return mbBuildSubDirs;
094: }
095:
096: public void setEOLType(int i) {
097: miEOLType = i;
098: }
099:
100: public int getEOLType() {
101: return miEOLType;
102: }
103:
104: public void setMakeReadOnly(boolean b) {
105: mbMakeReadOnly = b;
106: }
107:
108: public boolean isMakeReadOnly() {
109: return mbMakeReadOnly;
110: }
111:
112: /**
113: * Returns the parentComponent.
114: * @return Component
115: */
116: public Component getParentComponent() {
117: return parentComponent;
118: }
119:
120: /**
121: * Sets the parentComponent.
122: * @param parentComponent The parentComponent to set
123: */
124: public void setParentComponent(Component parentComponent) {
125: this.parentComponent = parentComponent;
126: }
127:
128: }
|