Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 181245 Details for
Bug 328201
Need StatusTextListener and Event
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
Patch
status_text_listener.java (text/plain), 4.24 KB, created by
Elias Volanakis
on 2010-10-19 22:50:22 EDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Elias Volanakis
Created:
2010-10-19 22:50:22 EDT
Size:
4.24 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rap.rwt >Index: src/org/eclipse/swt/browser/StatusTextEvent.java >=================================================================== >RCS file: src/org/eclipse/swt/browser/StatusTextEvent.java >diff -N src/org/eclipse/swt/browser/StatusTextEvent.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src/org/eclipse/swt/browser/StatusTextEvent.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,54 @@ >+/******************************************************************************* >+ * Copyright (c) 2003, 2009 IBM Corporation and others. >+ * All rights reserved. This program and the accompanying materials >+ * are made available under the terms of the Eclipse Public License v1.0 >+ * which accompanies this distribution, and is available at >+ * http://www.eclipse.org/legal/epl-v10.html >+ * >+ * Contributors: >+ * IBM Corporation - initial API and implementation >+ *******************************************************************************/ >+package org.eclipse.swt.browser; >+ >+import org.eclipse.swt.events.TypedEvent; >+import org.eclipse.swt.widgets.Widget; >+ >+/** >+ * A <code>StatusTextEvent</code> is sent by a {@link Browser} to >+ * {@link StatusTextListener}'s when the status text is changed. The status text >+ * is typically displayed in the status bar of a browser application. >+ * >+ * @see <a href="http://www.eclipse.org/swt/">Sample code and further >+ * information</a> >+ * @since 3.0 >+ */ >+public class StatusTextEvent extends TypedEvent { >+ >+ /** status text */ >+ public String text; >+ static final long serialVersionUID = 3258407348371600439L; >+ >+ /** >+ * Constructs a new instance of this class. >+ * >+ * @param widget the widget that fired the event >+ * @since 3.5 >+ */ >+ public StatusTextEvent( Widget widget ) { >+ super( widget ); >+ } >+ >+ /** >+ * Returns a string containing a concise, human-readable description of the >+ * receiver. >+ * >+ * @return a string representation of the event >+ */ >+ public String toString() { >+ String string = super.toString(); >+ return string.substring( 0, string.length() - 1 ) // remove trailing '}' >+ + " text=" >+ + text >+ + "}"; >+ } >+} >Index: src/org/eclipse/swt/browser/StatusTextListener.java >=================================================================== >RCS file: src/org/eclipse/swt/browser/StatusTextListener.java >diff -N src/org/eclipse/swt/browser/StatusTextListener.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src/org/eclipse/swt/browser/StatusTextListener.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,42 @@ >+/******************************************************************************* >+ * Copyright (c) 2003, 2005 IBM Corporation and others. >+ * All rights reserved. This program and the accompanying materials >+ * are made available under the terms of the Eclipse Public License v1.0 >+ * which accompanies this distribution, and is available at >+ * http://www.eclipse.org/legal/epl-v10.html >+ * >+ * Contributors: >+ * IBM Corporation - initial API and implementation >+ *******************************************************************************/ >+package org.eclipse.swt.browser; >+ >+import org.eclipse.swt.internal.SWTEventListener; >+ >+/** >+ * This listener interface may be implemented in order to receive a >+ * {@link StatusTextEvent} notification when the status text for a >+ * {@link Browser} is changed. >+ * >+ * @see Browser#addStatusTextListener(StatusTextListener) >+ * @see Browser#removeStatusTextListener(StatusTextListener) >+ * @since 3.0 >+ */ >+public interface StatusTextListener extends SWTEventListener { >+ >+ /** >+ * This method is called when the status text is changed. The status text is >+ * typically displayed in the status bar of a browser application. >+ * <p> >+ * <p> >+ * The following fields in the <code>StatusTextEvent</code> apply: >+ * <ul> >+ * <li>(in) text the modified status text >+ * <li>(in) widget the <code>Browser</code> whose status text is changed >+ * </ul> >+ * >+ * @param event the <code>StatusTextEvent</code> that contains the updated >+ * status description of a <code>Browser</code> >+ * @since 3.0 >+ */ >+ public void changed( StatusTextEvent event ); >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 328201
: 181245