org.eclipse.swt.browser.LocationListener Java Examples

The following examples show how to use org.eclipse.swt.browser.LocationListener. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: BrowserWrapperFake.java    From BiglyBT with GNU General Public License v2.0 5 votes vote down vote up
@Override
public void
addLocationListener(
	LocationListener		l )
{
	location_listeners.add( l );
}
 
Example #2
Source File: BrowserWrapperFake.java    From BiglyBT with GNU General Public License v2.0 5 votes vote down vote up
@Override
public void
removeLocationListener(
	LocationListener		l )
{
	location_listeners.remove( l );
}
 
Example #3
Source File: BrowserWrapperSWT.java    From BiglyBT with GNU General Public License v2.0 5 votes vote down vote up
@Override
public void
addLocationListener(
	LocationListener		l )
{
	browser.addLocationListener( l );
}
 
Example #4
Source File: BrowserWrapperSWT.java    From BiglyBT with GNU General Public License v2.0 5 votes vote down vote up
@Override
public void
removeLocationListener(
	LocationListener		l )
{
	browser.removeLocationListener( l );
}
 
Example #5
Source File: HoverLocationListener.java    From typescript.java with MIT License 4 votes vote down vote up
public static void addLinkListener(final BrowserInformationControl control,
		LocationListener listener) {
	control.addLocationListener(listener);
}
 
Example #6
Source File: SpoonTabsDelegate.java    From pentaho-kettle with Apache License 2.0 4 votes vote down vote up
public boolean addSpoonBrowser( String name, String urlString, boolean isURL, LocationListener listener, boolean showControls ) {
  return addSpoonBrowser( name, urlString, isURL, listener, null, showControls );
}
 
Example #7
Source File: SpoonTabsDelegate.java    From pentaho-kettle with Apache License 2.0 4 votes vote down vote up
public boolean addSpoonBrowser( String name, String urlString, boolean isURL, LocationListener listener ) {
  return addSpoonBrowser( name, urlString, isURL, listener, true );
}
 
Example #8
Source File: SpoonTabsDelegate.java    From pentaho-kettle with Apache License 2.0 4 votes vote down vote up
public boolean addSpoonBrowser( String name, String urlString, LocationListener listener, boolean showControls ) {
  return addSpoonBrowser( name, urlString, true, listener, showControls );
}
 
Example #9
Source File: SpoonTabsDelegate.java    From pentaho-kettle with Apache License 2.0 4 votes vote down vote up
public boolean addSpoonBrowser( String name, String urlString, LocationListener listener ) {
  return addSpoonBrowser( name, urlString, true, listener, true );
}
 
Example #10
Source File: SpoonBrowser.java    From pentaho-kettle with Apache License 2.0 4 votes vote down vote up
public void addLocationListener( LocationListener listener ) {
  browser.addLocationListener( listener );
}
 
Example #11
Source File: SpoonBrowser.java    From pentaho-kettle with Apache License 2.0 4 votes vote down vote up
public SpoonBrowser( Composite parent, final Spoon spoon, final String stringUrl, boolean isURL,
  LocationListener listener ) throws SWTError {
  this( parent, spoon, stringUrl, isURL, true, listener );
}
 
Example #12
Source File: WebKitBrowser4Mac.java    From APICloud-Studio with GNU General Public License v3.0 4 votes vote down vote up
public void removeLocationListener(LocationListener listener) {
	super.removeLocationListener(listener);
}
 
Example #13
Source File: WebKitBrowser4Mac.java    From APICloud-Studio with GNU General Public License v3.0 4 votes vote down vote up
public void addLocationListener(LocationListener listener) {
	super.addLocationListener(listener);
}
 
Example #14
Source File: WebKitBrowser.java    From APICloud-Studio with GNU General Public License v3.0 4 votes vote down vote up
public void removeLocationListener(LocationListener listener) {
	m_llList.remove(listener);
}
 
Example #15
Source File: WebKitBrowser.java    From APICloud-Studio with GNU General Public License v3.0 4 votes vote down vote up
public void addLocationListener(LocationListener listener) {
	m_llList.add(listener);
}
 
Example #16
Source File: HtmlDialog.java    From nebula with Eclipse Public License 2.0 4 votes vote down vote up
/**
 * Add listener to browser widget.
 */
public void addLocationListener(LocationListener listener) {
   this.listener = listener;
}
 
Example #17
Source File: XbaseElementLinks.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public LocationListener createLocationListener(IXbaseLinkHandler handler) {
	return new XbaseLinkAdapter(handler);
}
 
Example #18
Source File: XtextElementLinks.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public LocationListener createLocationListener(final ILinkHandler handler) {
	return new XtextLinkAdapter(handler);
}
 
Example #19
Source File: XtextBrowserInformationControlAdapter.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
@Override
public void addLocationListener(LocationListener createLocationListener) {
	control.addLocationListener(createLocationListener);
}
 
Example #20
Source File: BrowserWrapper.java    From BiglyBT with GNU General Public License v2.0 4 votes vote down vote up
public abstract void
removeLocationListener(
	LocationListener		l );
 
Example #21
Source File: BrowserWrapper.java    From BiglyBT with GNU General Public License v2.0 4 votes vote down vote up
public abstract void
addLocationListener(
	LocationListener		l );
 
Example #22
Source File: CustomBrowserInformationControl.java    From APICloud-Studio with GNU General Public License v3.0 2 votes vote down vote up
/**
 * Adds the listener to the collection of listeners who will be notified when the current location has changed or is
 * about to change.
 * 
 * @param listener
 *            the location listener
 * @since 3.4
 */
public void addLocationListener(LocationListener listener)
{
	fBrowser.addLocationListener(listener);
}
 
Example #23
Source File: XbaseInformationControl.java    From xtext-eclipse with Eclipse Public License 2.0 2 votes vote down vote up
/**
 * Adds the listener to the collection of listeners who will be notified when the current location has changed or is
 * about to change.
 * 
 * @param listener
 *            the location listener
 * @since 3.4
 */
@Override
public void addLocationListener(LocationListener listener) {
	fBrowser.addLocationListener(listener);
}
 
Example #24
Source File: IXtextBrowserInformationControl.java    From xtext-eclipse with Eclipse Public License 2.0 votes vote down vote up
public void addLocationListener(LocationListener createLocationListener);