Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace internal SWTEventListener directly with java.util.EventListener #1101

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions binaries/org.eclipse.swt.cocoa.macosx.aarch64/.project
Expand Up @@ -37,6 +37,11 @@
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/.classpath_cocoa</locationURI>
</link>
<link>
<name>.settings/.api_filters</name>
<type>1</type>
<locationURI>PROJECT_LOC/.settings/.api_filters</locationURI>
</link>
<link>
<name>.settings</name>
<type>2</type>
Expand Down
Expand Up @@ -8,4 +8,12 @@
</message_arguments>
</filter>
</resource>
<resource path="Eclipse SWT/common/org/eclipse/swt/widgets/TypedListener.java" type="org.eclipse.swt.widgets.TypedListener">
<filter comment="Class declared as internal in its JavaDoc since ever." id="336744520">
<message_arguments>
<message_argument value="@noextend"/>
<message_argument value="org.eclipse.swt.widgets.TypedListener"/>
</message_arguments>
</filter>
</resource>
</component>
5 changes: 5 additions & 0 deletions binaries/org.eclipse.swt.cocoa.macosx.x86_64/.project
Expand Up @@ -37,6 +37,11 @@
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/.classpath_cocoa</locationURI>
</link>
<link>
<name>.settings/.api_filters</name>
<type>1</type>
<locationURI>PROJECT_LOC/.settings/.api_filters</locationURI>
</link>
<link>
<name>.settings</name>
<type>2</type>
Expand Down
Expand Up @@ -8,4 +8,12 @@
</message_arguments>
</filter>
</resource>
<resource path="Eclipse SWT/common/org/eclipse/swt/widgets/TypedListener.java" type="org.eclipse.swt.widgets.TypedListener">
<filter comment="Class declared as internal in its JavaDoc since ever." id="336744520">
<message_arguments>
<message_argument value="@noextend"/>
<message_argument value="org.eclipse.swt.widgets.TypedListener"/>
</message_arguments>
</filter>
</resource>
</component>
5 changes: 5 additions & 0 deletions binaries/org.eclipse.swt.gtk.linux.aarch64/.project
Expand Up @@ -37,6 +37,11 @@
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/.classpath_gtk</locationURI>
</link>
<link>
<name>.settings/.api_filters</name>
<type>1</type>
<locationURI>PROJECT_LOC/.settings/.api_filters</locationURI>
</link>
<link>
<name>.settings</name>
<type>2</type>
Expand Down
11 changes: 11 additions & 0 deletions binaries/org.eclipse.swt.gtk.linux.aarch64/.settings/.api_filters
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<component id="org.eclipse.swt.gtk.linux.aarch64" version="2">
<resource path="Eclipse SWT/common/org/eclipse/swt/widgets/TypedListener.java" type="org.eclipse.swt.widgets.TypedListener">
<filter comment="Class declared as internal in its JavaDoc since ever." id="336744520">
<message_arguments>
<message_argument value="@noextend"/>
<message_argument value="org.eclipse.swt.widgets.TypedListener"/>
</message_arguments>
</filter>
</resource>
</component>
5 changes: 5 additions & 0 deletions binaries/org.eclipse.swt.gtk.linux.loongarch64/.project
Expand Up @@ -37,6 +37,11 @@
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/.classpath_gtk</locationURI>
</link>
<link>
<name>.settings/.api_filters</name>
<type>1</type>
<locationURI>PROJECT_LOC/.settings/.api_filters</locationURI>
</link>
<link>
<name>.settings</name>
<type>2</type>
Expand Down
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<component id="org.eclipse.swt.gtk.linux.loongarch64" version="2">
<resource path="Eclipse SWT/common/org/eclipse/swt/widgets/TypedListener.java" type="org.eclipse.swt.widgets.TypedListener">
<filter comment="Class declared as internal in its JavaDoc since ever." id="336744520">
<message_arguments>
<message_argument value="@noextend"/>
<message_argument value="org.eclipse.swt.widgets.TypedListener"/>
</message_arguments>
</filter>
</resource>
</component>
5 changes: 5 additions & 0 deletions binaries/org.eclipse.swt.gtk.linux.ppc64le/.project
Expand Up @@ -37,6 +37,11 @@
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/.classpath_gtk</locationURI>
</link>
<link>
<name>.settings/.api_filters</name>
<type>1</type>
<locationURI>PROJECT_LOC/.settings/.api_filters</locationURI>
</link>
<link>
<name>.settings</name>
<type>2</type>
Expand Down
11 changes: 11 additions & 0 deletions binaries/org.eclipse.swt.gtk.linux.ppc64le/.settings/.api_filters
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<component id="org.eclipse.swt.gtk.linux.ppc64le" version="2">
<resource path="Eclipse SWT/common/org/eclipse/swt/widgets/TypedListener.java" type="org.eclipse.swt.widgets.TypedListener">
<filter comment="Class declared as internal in its JavaDoc since ever." id="336744520">
<message_arguments>
<message_argument value="@noextend"/>
<message_argument value="org.eclipse.swt.widgets.TypedListener"/>
</message_arguments>
</filter>
</resource>
</component>
5 changes: 5 additions & 0 deletions binaries/org.eclipse.swt.gtk.linux.x86_64/.project
Expand Up @@ -37,6 +37,11 @@
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/.classpath_gtk</locationURI>
</link>
<link>
<name>.settings/.api_filters</name>
<type>1</type>
<locationURI>PROJECT_LOC/.settings/.api_filters</locationURI>
</link>
<link>
<name>.settings</name>
<type>2</type>
Expand Down
11 changes: 11 additions & 0 deletions binaries/org.eclipse.swt.gtk.linux.x86_64/.settings/.api_filters
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<component id="org.eclipse.swt.gtk.linux.x86_64" version="2">
<resource path="Eclipse SWT/common/org/eclipse/swt/widgets/TypedListener.java" type="org.eclipse.swt.widgets.TypedListener">
<filter comment="Class declared as internal in its JavaDoc since ever." id="336744520">
<message_arguments>
<message_argument value="@noextend"/>
<message_argument value="org.eclipse.swt.widgets.TypedListener"/>
</message_arguments>
</filter>
</resource>
</component>
5 changes: 5 additions & 0 deletions binaries/org.eclipse.swt.win32.win32.x86_64/.project
Expand Up @@ -37,6 +37,11 @@
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/.classpath_win32</locationURI>
</link>
<link>
<name>.settings/.api_filters</name>
<type>1</type>
<locationURI>PROJECT_LOC/.settings/.api_filters</locationURI>
</link>
<link>
<name>.settings</name>
<type>2</type>
Expand Down
11 changes: 11 additions & 0 deletions binaries/org.eclipse.swt.win32.win32.x86_64/.settings/.api_filters
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<component id="org.eclipse.swt.win32.win32.x86_64" version="2">
<resource path="Eclipse SWT/common/org/eclipse/swt/widgets/TypedListener.java" type="org.eclipse.swt.widgets.TypedListener">
<filter comment="Class declared as internal in its JavaDoc since ever." id="336744520">
<message_arguments>
<message_argument value="@noextend"/>
<message_argument value="org.eclipse.swt.widgets.TypedListener"/>
</message_arguments>
</filter>
</resource>
</component>
Expand Up @@ -13,7 +13,7 @@
*******************************************************************************/
package org.eclipse.swt.accessibility;

import org.eclipse.swt.internal.SWTEventListener;
import java.util.*;

/**
* Classes which implement this interface provide methods
Expand All @@ -30,7 +30,7 @@
*
* @since 3.6
*/
public interface AccessibleActionListener extends SWTEventListener {
public interface AccessibleActionListener extends EventListener {
/**
* Returns the number of accessible actions available in this object.
* <p>
Expand Down
Expand Up @@ -13,7 +13,7 @@
*******************************************************************************/
package org.eclipse.swt.accessibility;

import org.eclipse.swt.internal.SWTEventListener;
import java.util.*;

/**
* Classes which implement this interface provide methods
Expand All @@ -31,7 +31,7 @@
*
* @since 3.6
*/
public interface AccessibleAttributeListener extends SWTEventListener {
public interface AccessibleAttributeListener extends EventListener {
/**
* Returns attributes specific to this Accessible object.
*
Expand Down
Expand Up @@ -14,7 +14,7 @@
package org.eclipse.swt.accessibility;


import org.eclipse.swt.internal.*;
import java.util.*;

/**
* Classes that implement this interface provide methods
Expand Down Expand Up @@ -43,7 +43,7 @@
*
* @since 2.0
*/
public interface AccessibleControlListener extends SWTEventListener {
public interface AccessibleControlListener extends EventListener {

/**
* Sent when an accessibility client requests the identifier
Expand Down
Expand Up @@ -13,7 +13,7 @@
*******************************************************************************/
package org.eclipse.swt.accessibility;

import org.eclipse.swt.internal.SWTEventListener;
import java.util.*;

/**
* Classes which implement this interface provide methods
Expand All @@ -31,7 +31,7 @@
*
* @since 3.7
*/
public interface AccessibleEditableTextListener extends SWTEventListener {
public interface AccessibleEditableTextListener extends EventListener {
/**
* Copies the substring beginning at the specified <code>start</code> offset
* and extending to the character at offset <code>end - 1</code> to the clipboard.
Expand Down
Expand Up @@ -13,7 +13,7 @@
*******************************************************************************/
package org.eclipse.swt.accessibility;

import org.eclipse.swt.internal.SWTEventListener;
import java.util.*;

/**
* Classes which implement this interface provide methods
Expand All @@ -30,7 +30,7 @@
*
* @since 3.6
*/
public interface AccessibleHyperlinkListener extends SWTEventListener {
public interface AccessibleHyperlinkListener extends EventListener {
/**
* Returns the anchor for the link at the specified index.
*
Expand Down
Expand Up @@ -14,10 +14,9 @@
package org.eclipse.swt.accessibility;


import java.util.*;
import java.util.function.*;

import org.eclipse.swt.internal.*;

/**
* Classes that implement this interface provide methods
* that deal with the events that are generated when an
Expand All @@ -41,7 +40,7 @@
*
* @since 2.0
*/
public interface AccessibleListener extends SWTEventListener {
public interface AccessibleListener extends EventListener {

/**
* Sent when an accessibility client requests the name
Expand Down
Expand Up @@ -13,7 +13,7 @@
*******************************************************************************/
package org.eclipse.swt.accessibility;

import org.eclipse.swt.internal.SWTEventListener;
import java.util.*;

/**
* Classes which implement this interface provide methods
Expand All @@ -30,7 +30,7 @@
*
* @since 3.6
*/
public interface AccessibleTableCellListener extends SWTEventListener {
public interface AccessibleTableCellListener extends EventListener {
/**
* Returns the number of columns occupied by this cell accessible.
* <p>
Expand Down
Expand Up @@ -13,7 +13,7 @@
*******************************************************************************/
package org.eclipse.swt.accessibility;

import org.eclipse.swt.internal.*;
import java.util.*;

/**
* Classes which implement this interface provide methods
Expand All @@ -35,7 +35,7 @@
*
* @since 3.6
*/
public interface AccessibleTableListener extends SWTEventListener {
public interface AccessibleTableListener extends EventListener {
/**
* Deselects one column, leaving other selected columns selected (if any).
*
Expand Down
Expand Up @@ -14,7 +14,7 @@
package org.eclipse.swt.accessibility;


import org.eclipse.swt.internal.*;
import java.util.*;

/**
* Classes that implement this interface provide methods
Expand Down Expand Up @@ -43,7 +43,7 @@
*
* @since 3.0
*/
public interface AccessibleTextListener extends SWTEventListener {
public interface AccessibleTextListener extends EventListener {

/**
* Sent when an accessibility client requests the current character offset
Expand Down
Expand Up @@ -13,7 +13,7 @@
*******************************************************************************/
package org.eclipse.swt.accessibility;

import org.eclipse.swt.internal.SWTEventListener;
import java.util.*;

/**
* Classes which implement this interface provide methods
Expand All @@ -30,7 +30,7 @@
*
* @since 3.6
*/
public interface AccessibleValueListener extends SWTEventListener {
public interface AccessibleValueListener extends EventListener {
/**
* Returns the value of this object as a number.
*
Expand Down
Expand Up @@ -13,7 +13,7 @@
*******************************************************************************/
package org.eclipse.swt.browser;

import org.eclipse.swt.internal.*;
import java.util.*;

/**
* This listener interface may be implemented in order to receive
Expand All @@ -26,7 +26,7 @@
* @since 3.5
*/
@FunctionalInterface
public interface AuthenticationListener extends SWTEventListener {
public interface AuthenticationListener extends EventListener {

/**
* This method is called when a page is navigated to that requires
Expand Down
Expand Up @@ -13,7 +13,7 @@
*******************************************************************************/
package org.eclipse.swt.browser;

import org.eclipse.swt.internal.*;
import java.util.*;

/**
* This listener interface may be implemented in order to receive
Expand All @@ -29,7 +29,7 @@
* @since 3.0
*/
@FunctionalInterface
public interface CloseWindowListener extends SWTEventListener {
public interface CloseWindowListener extends EventListener {

/**
* This method is called when the window hosting a {@link Browser} should be closed.
Expand Down