Update of /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv26112/src/net/sourceforge/bprocessor/gui
Modified Files:
GUI.java
Log Message:
Index: GUI.java
===================================================================
RCS file: /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/GUI.java,v
retrieving revision 1.114
retrieving revision 1.115
diff -C2 -d -r1.114 -r1.115
*** GUI.java 12 Nov 2009 15:27:24 -0000 1.114
--- GUI.java 13 Nov 2009 08:17:10 -0000 1.115
***************
*** 165,168 ****
--- 165,173 ----
}
+ /**
+ *
+ * @param message String
+ * @return result
+ */
public static int confirm(String message) {
Component parent = getInstance();
***************
*** 174,177 ****
--- 179,187 ----
return result;
}
+
+ /**
+ *
+ * @return result
+ */
public static int confirmSave() {
String message = "Do you want to save the changes you made in project \""
***************
*** 181,184 ****
--- 191,199 ----
}
+ /**
+ *
+ * @param message String
+ * @return result
+ */
public static File chooseFile(String message) {
String path = Project.getInstance().getDefaultPath();
***************
*** 193,196 ****
--- 208,216 ----
}
+ /**
+ *
+ * @return result
+ * @throws Exception Exception
+ */
public static boolean userSave() throws Exception {
if (Project.getInstance().getSavePath() == null) {
***************
*** 202,205 ****
--- 222,230 ----
}
+ /**
+ *
+ * @return result
+ * @throws Exception Exception
+ */
public static boolean userSaveAs() throws Exception {
File file = GUI.chooseFile("Save");
***************
*** 217,220 ****
--- 242,250 ----
}
+ /**
+ *
+ * @return result
+ * @throws Exception Exception
+ */
public static boolean userClose() throws Exception {
if (Project.getInstance().isDirty()) {
***************
*** 812,816 ****
}
!
public void doNew() {
--- 842,848 ----
}
! /**
! *
! */
public void doNew() {
|