Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Sternberg2008-07-02 12:43:20 +0000
committerRalf Sternberg2008-07-02 12:43:20 +0000
commit0cdd67ef9771d03f9a23ac1c1e317e407b6a3237 (patch)
tree38bd62317c74000bf07467454742cbdc2750ee1d /bundles/org.eclipse.rap.ui/schema
parent95dfdac2e484c33ab8e173666c5fa78a8af332e8 (diff)
downloadorg.eclipse.rap-0cdd67ef9771d03f9a23ac1c1e317e407b6a3237.tar.gz
org.eclipse.rap-0cdd67ef9771d03f9a23ac1c1e317e407b6a3237.tar.xz
org.eclipse.rap-0cdd67ef9771d03f9a23ac1c1e317e407b6a3237.zip
Fixed i18n bugs 223853 and 223854 as well as bug 207030: Provide programmatic support for exit confirmation dialog
https://bugs.eclipse.org/bugs/show_bug.cgi?id=207030
Diffstat (limited to 'bundles/org.eclipse.rap.ui/schema')
-rw-r--r--bundles/org.eclipse.rap.ui/schema/rap/branding.exsd45
1 files changed, 35 insertions, 10 deletions
diff --git a/bundles/org.eclipse.rap.ui/schema/rap/branding.exsd b/bundles/org.eclipse.rap.ui/schema/rap/branding.exsd
index a9ec2a7618..861bab2a16 100644
--- a/bundles/org.eclipse.rap.ui/schema/rap/branding.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/rap/branding.exsd
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.rap.ui">
+<schema targetNamespace="org.eclipse.rap.ui" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.rap.ui" id="branding" name="Branding"/>
@@ -11,6 +11,11 @@
</annotation>
<element name="extension">
+ <annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
+ </annotation>
<complexType>
<sequence minOccurs="1" maxOccurs="unbounded">
<element ref="branding"/>
@@ -114,12 +119,40 @@
<attribute name="exitConfirmation" type="string">
<annotation>
<documentation>
- The attribute &quot;exitConfirmation&quot; gives you the ability to set a message which will be shown when the user tries to close your application. This can happen when the browser is closed or the user just navigates to another URI.
+ Allows to show a confirmation dialog when the user tries to close the browser tab or window or to navigate away from the application.
+&lt;p&gt;
+If the argument is a non-empty string, a confirmation dialog will be shown that contains this message.
+The attribute exitConfirmation overrides this setting.
+&lt;/p&gt;
+&lt;p&gt;
+This attribute is &lt;b&gt;deprecated&lt;/b&gt;. Use &lt;code&gt;exitConfirmationClass&lt;/code&gt; instead.
+&lt;/p&gt;
&lt;p&gt;
&lt;b&gt;NOTE:&lt;/b&gt;
This will only work in browsers of the Mozilla family and Internet Explorer.
&lt;/p&gt;
</documentation>
+ <appInfo>
+ <meta.attribute deprecated="true"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ <attribute name="exitConfirmationClass" type="string">
+ <annotation>
+ <documentation>
+ Allows to show a confirmation dialog when the user tries to close the browser tab or window or to navigate away from the application.
+&lt;p&gt;
+The argument must be a class that implements the interface IExitConfirmation.
+This setting overrides the attribute exitConfirmation.
+&lt;/p&gt;
+&lt;p&gt;
+&lt;b&gt;NOTE:&lt;/b&gt;
+This will only work in browsers of the Mozilla family and Internet Explorer.
+&lt;/p&gt;
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="java" basedOn=":org.eclipse.rap.ui.branding.IExitConfirmation"/>
+ </appInfo>
</annotation>
</attribute>
</complexType>
@@ -286,14 +319,6 @@ This will only work in browsers of the Mozilla family and Internet Explorer.
</documentation>
</annotation>
- <annotation>
- <appInfo>
- <meta.section type="implementation"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
<annotation>
<appInfo>

Back to the top