aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/service/gui/UIService.java
diff options
context:
space:
mode:
authorscmerger <scmerger@java.net>2009-06-21 15:18:50 +0000
committerscmerger <scmerger@java.net>2009-06-21 15:18:50 +0000
commit96c3dfc420fed7aeae0fb2c8168be674845391b1 (patch)
treebd48ab60a14b14230da8d03b2df52e2f036211a2 /src/net/java/sip/communicator/service/gui/UIService.java
parent3e94381394152a42c501d8bb1b97a9ec1f6c23f1 (diff)
downloadjitsi-96c3dfc420fed7aeae0fb2c8168be674845391b1.zip
jitsi-96c3dfc420fed7aeae0fb2c8168be674845391b1.tar.gz
jitsi-96c3dfc420fed7aeae0fb2c8168be674845391b1.tar.bz2
Merge branch '1.0-local' into trunk-local
Diffstat (limited to 'src/net/java/sip/communicator/service/gui/UIService.java')
-rw-r--r--src/net/java/sip/communicator/service/gui/UIService.java38
1 files changed, 36 insertions, 2 deletions
diff --git a/src/net/java/sip/communicator/service/gui/UIService.java b/src/net/java/sip/communicator/service/gui/UIService.java
index d5c5601..175841f 100644
--- a/src/net/java/sip/communicator/service/gui/UIService.java
+++ b/src/net/java/sip/communicator/service/gui/UIService.java
@@ -105,7 +105,7 @@ public interface UIService
public void minimize();
/**
- * Mawimizes the main application window.
+ * Maximizes the main application window.
*/
public void maximize();
@@ -234,7 +234,6 @@ public interface UIService
*
* @param phoneNumber the phone number to enter.
*/
-
public void setCurrentPhoneNumber(String phoneNumber);
/**
@@ -340,9 +339,44 @@ public interface UIService
*/
public boolean isContainerSupported(Container containderID);
+ /**
+ * Determines whether the Mac OS X screen menu bar is being used by the UI
+ * for its main menu instead of the Windows-like menu bars at the top of the
+ * windows.
+ * <p>
+ * A common use of the returned indicator is for the purposes of
+ * platform-sensitive UI since Mac OS X employs a single screen menu bar,
+ * Windows and Linux/GTK+ use per-window menu bars and it is inconsistent on
+ * Mac OS X to have the Window-like menu bars.
+ * </p>
+ *
+ * @return <tt>true</tt> if the Mac OS X screen menu bar is being used by
+ * the UI for its main menu instead of the Windows-like menu bars at
+ * the top of the windows; otherwise, <tt>false</tt>
+ */
public boolean useMacOSXScreenMenuBar();
+ /**
+ * Invokes the UI action commonly associated with the "File &gt; Quit" menu
+ * item which begins the application shutdown procedure.
+ * <p>
+ * The method avoids duplication since the "File &gt; Quit" functionality
+ * may be invoked not only from the main application menu but also from the
+ * systray, for example.
+ * </p>
+ */
public void beginShutdown();
+ /**
+ * Shows or hides the "Tools &gt; Settings" configuration window.
+ * <p>
+ * The method hides the implementation-specific details of the configuration
+ * window from its clients and allows the UI to completely control, for
+ * example, how many instances of it are visible at one and the same time.
+ * <p>
+ *
+ * @param visible <tt>true</tt> to show the "Tools &gt; Settings"
+ * configuration window; <tt>false</tt> to hide it
+ */
public void setConfigurationWindowVisible(boolean visible);
}