diff options
author | cvs2svn <platform-releng-dev@eclipse.org> | 2001-07-03 15:38:56 +0000 |
---|---|---|
committer | cvs2svn <platform-releng-dev@eclipse.org> | 2001-07-03 15:38:56 +0000 |
commit | 72e364bf6bb97ed3aa747697721b02732cc96bc1 (patch) | |
tree | 391a8555811ab90e084b64da5e547c539301f20e /bundles | |
parent | 6c0e3d76ce668620fd159ac504e2b5d9a48852be (diff) | |
download | eclipse.platform.swt-72e364bf6bb97ed3aa747697721b02732cc96bc1.tar.gz eclipse.platform.swt-72e364bf6bb97ed3aa747697721b02732cc96bc1.tar.xz eclipse.platform.swt-72e364bf6bb97ed3aa747697721b02732cc96bc1.zip |
This commit was manufactured by cvs2svn to create branch 'R1_0NL'.
Sprout from master 2001-06-21 15:16:50 UTC Veronika Irvine <torres> 'init'
Cherrypick from master 2001-07-03 15:38:55 UTC Steve Northover <wadman> '*** empty log message ***':
bundles/org.eclipse.swt/Eclipse SWT/motif/library/cde.c
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/internal/photon/PgDisplaySettings_t.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/internal/photon/PgVideoModeInfo_t.java
examples/org.eclipse.swt.examples.paint/icons/linestyle_dash.gif
examples/org.eclipse.swt.examples.paint/icons/linestyle_dashdot.gif
examples/org.eclipse.swt.examples.paint/icons/linestyle_dot.gif
examples/org.eclipse.swt.examples.paint/icons/linestyle_solid.gif
examples/org.eclipse.swt.examples.paint/org/eclipse/swt/examples/paint/FigureDrawContext.java
examples/org.eclipse.swt.examples.paint/org/eclipse/swt/examples/paint/PointFigure.java
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/FigureDrawContext.java
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PointFigure.java
Cherrypick from versioning 2001-06-21 20:35:30 UTC Veronika Irvine <torres> 'init correction':
bundles/org.eclipse.swt/Eclipse SWT/motif/library/swt.c
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Button.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Label.java
bundles/org.eclipse.swt/ws/motif/libswt0125.so
Delete:
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TextChangedListener.java
bundles/org.eclipse.swt/Eclipse SWT Program/photon/org/eclipse/swt/program/ProgramSupport.java
bundles/org.eclipse.swt/Eclipse SWT/common/readme_swt.html
bundles/org.eclipse.swt/Eclipse SWT/motif/library/make_solaris.mak
bundles/org.eclipse.swt/Eclipse SWT/motif/libswt-gnome0105.so
bundles/org.eclipse.swt/Eclipse SWT/motif/libswt0105.so
bundles/org.eclipse.swt/Eclipse SWT/photon/libswt0104.so
bundles/org.eclipse.swt/Eclipse SWT/win32/swt0105.dll
examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/AlignableTab.java
examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/ButtonTab.java
examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/ComboTab.java
examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/DialogTab.java
examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/LabelTab.java
examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/ListTab.java
examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/ProgressBarTab.java
examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/RangeTab.java
examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/SashTab.java
examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/ScrollableTab.java
examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/ShellTab.java
examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/SliderTab.java
examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/Tab.java
examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/TableTab.java
examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/TextTab.java
examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/ToolBarTab.java
examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/TreeTab.java
examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/closedFolder.gif
examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/openFolder.gif
examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/target.gif
examples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/LaunchDelegate.java
examples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/ProgramLaunchDelegate.java
examples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/URLAsFileInputAdapter.java
examples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/ViewLaunchDelegate.java
examples/org.eclipse.swt.examples.ole.win32/src/org/eclipse/swt/examples/ole/win32/backward_nav.gif
examples/org.eclipse.swt.examples.ole.win32/src/org/eclipse/swt/examples/ole/win32/forward_nav.gif
examples/org.eclipse.swt.examples.ole.win32/src/org/eclipse/swt/examples/ole/win32/home_nav.gif
examples/org.eclipse.swt.examples.ole.win32/src/org/eclipse/swt/examples/ole/win32/refresh_nav.gif
examples/org.eclipse.swt.examples.ole.win32/src/org/eclipse/swt/examples/ole/win32/search_nav.gif
examples/org.eclipse.swt.examples.ole.win32/src/org/eclipse/swt/examples/ole/win32/stop_nav.gif
examples/org.eclipse.swt.examples.paint/icons/airbrush_tool.gif
examples/org.eclipse.swt.examples.paint/icons/ellipse_tool.gif
examples/org.eclipse.swt.examples.paint/icons/filledrectangle_tool.gif
examples/org.eclipse.swt.examples.paint/icons/line_tool.gif
examples/org.eclipse.swt.examples.paint/icons/pencil_tool.gif
examples/org.eclipse.swt.examples.paint/icons/polyline_tool.gif
examples/org.eclipse.swt.examples.paint/icons/rectangle_tool.gif
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/Assert.java
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/DragInteractivePaintSession.java
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/FilledRectangleTool.java
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PaintRenderer.java
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PaintStatus.java
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PaintViewAction.java
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/SegmentedInteractivePaintSession.java
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/SimplePaintSession.java
examples/org.eclipse.swt.examples/.classpath_motif
examples/org.eclipse.swt.examples/.classpath_win32
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/examples_addressbook.properties
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/examples_control.properties
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/examples_explorer.properties
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/examples_helloworld.properties
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/examples_hover.properties
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/examples_images.properties
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/examples_javaviewer.properties
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/examples_texteditor.properties
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/addressbook/AddressBook.java
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/addressbook/DataEntryDialog.java
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/addressbook/FindListener.java
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/addressbook/SearchDialog.java
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/controlexample/AlignableTab.java
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/controlexample/ButtonTab.java
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/controlexample/ComboTab.java
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/controlexample/ControlExample.java
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/controlexample/DialogTab.java
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/controlexample/Images.java
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/controlexample/LabelTab.java
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/controlexample/ListTab.java
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/controlexample/ProgressBarTab.java
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/controlexample/RangeTab.java
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/controlexample/SashTab.java
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/controlexample/ScrollableTab.java
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/controlexample/ShellTab.java
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/controlexample/SliderTab.java
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/controlexample/Tab.java
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/controlexample/TableTab.java
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/controlexample/TextTab.java
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/controlexample/ToolBarTab.java
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/controlexample/TreeTab.java
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/controlexample/folder.gif
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/controlexample/folderOpen.gif
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/controlexample/stop.gif
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/explorer/Explorer.java
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/explorer/Images.java
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/explorer/copy.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/explorer/copy_mask.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/explorer/cut.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/explorer/cut_mask.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/explorer/delete.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/explorer/delete_mask.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/explorer/details.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/explorer/details_mask.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/explorer/disconnect.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/explorer/disconnect_mask.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/explorer/drive.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/explorer/drive_mask.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/explorer/file.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/explorer/file_mask.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/explorer/folder.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/explorer/folder_mask.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/explorer/folderopen.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/explorer/folderopen_mask.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/explorer/largeicons.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/explorer/largeicons_mask.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/explorer/list.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/explorer/list_mask.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/explorer/mapnetwork.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/explorer/mapnetwork_mask.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/explorer/oti.ico
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/explorer/paste.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/explorer/paste_mask.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/explorer/properties.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/explorer/properties_mask.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/explorer/smallicons.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/explorer/smallicons_mask.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/explorer/undo.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/explorer/undo_mask.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/explorer/up.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/explorer/up_mask.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/helloworld/HelloWorld1.java
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/helloworld/HelloWorld2.java
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/helloworld/HelloWorld3.java
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/helloworld/HelloWorld4.java
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/helloworld/HelloWorld5.java
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/hover/HoverHelpExample.java
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/imageexample/ImageAnalyzer.java
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/javaviewer/JavaLineStyler.java
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/javaviewer/JavaViewer.java
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/texteditor/ColorTextEditor.java
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/texteditor/Images.java
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/texteditor/blue.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/texteditor/blue_mask.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/texteditor/bold.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/texteditor/bold_mask.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/texteditor/erase.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/texteditor/erase_mask.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/texteditor/green.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/texteditor/green_mask.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/texteditor/red.bmp
examples/org.eclipse.swt.examples/Eclipse SWT Examples/common/org/eclipse/swt/examples/texteditor/red_mask.bmp
Diffstat (limited to 'bundles')
11 files changed, 301 insertions, 875 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TextChangedListener.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TextChangedListener.java deleted file mode 100755 index 3a523f1e2c..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TextChangedListener.java +++ /dev/null @@ -1,41 +0,0 @@ -package org.eclipse.swt.custom;
-/*
- * Licensed Materials - Property of IBM,
- * (c) Copyright IBM Corp 2000, 2001
- */
-
-/* Imports */
-import java.util.*;
-
-/**
- * The StyledText widget implements this listener to receive
- * notification when changes to the model occur.
- * It is not intended for use by users of the StyledText widget
- * or implementors of StyledTextContent. Users should listen to
- * the ModifyEvent or ExtendedModifyEvent that is sent by the StyledText
- * widget to receive text change notifications.
- */
-
-public interface TextChangedListener extends EventListener {
-/**
- * @param event.start replace start offset (input)
- * @param event.replacedText text being replaced (input)
- * @param event.replacedCharCount length of text being replaced (input)
- * @param event.newCharCount length of new text (input)
- * @param event.replacedLineCount number of lines replaced (input)
- * @param event.newLineCount number of new lines (input)
- */
-public void textReplaced(TextChangedEvent event);
-
-/**
- * @param event.start replace start offset (input)
- * @param event.replacedText text being replaced (input)
- * @param event.replacedCharCount length of text being replaced (input)
- * @param event.newCharCount length of new text (input)
- * @param event.replacedLineCount number of lines replaced (input)
- * @param event.newLineCount number of new lines (input)
- */
-public void textSet(TextChangedEvent event);
-}
-
-
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Program/photon/org/eclipse/swt/program/ProgramSupport.java b/bundles/org.eclipse.swt/Eclipse SWT Program/photon/org/eclipse/swt/program/ProgramSupport.java deleted file mode 100755 index 922bd382a0..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT Program/photon/org/eclipse/swt/program/ProgramSupport.java +++ /dev/null @@ -1,215 +0,0 @@ -package org.eclipse.swt.program;
-
-/*
- * Licensed Materials - Property of IBM,
- * WebSphere Studio Workbench
- * (c) Copyright IBM Corp 2000
- */
-import java.io.*;
-import java.util.*;
-import org.eclipse.swt.*;
-import org.eclipse.swt.graphics.*;
-import org.eclipse.swt.widgets.*;
-import org.eclipse.swt.internal.*;
-import org.eclipse.swt.internal.photon.*;
-
-/**
- * @deprecated see Java doc for Windows
- *
- * This class provides an OS independent interface to
- * functionality that is OS dependent
- */
-public final class ProgramSupport {
-
-static public String getWindowSystem() {
- // Same name as org.eclipse.swt.internal.motif
- return "motif";
-}
-
-/**
- * Convenience method to determine whether the current platform
- * has reparenting support.
- * @return boolean is reparenting supported
- */
-public static boolean isReparentable() {
- return false;
-}
-
-/**
- * Given a filename and registry index, this method will search
- * the platform registry and return the registered large image
- * associated with the filename. If the filename is not
- * registered null is returned. Note: if the platform does not
- * have registry support, null is always returned.
- * The caller is responsible for destroying the Image.
- * @param fileName name of exectuable file
- * @param index registry index
- * @return org.eclipse.swt.graphics.Image of registered icon or
- * <code>null</code> if not present
- */
-public static Image loadLargeIcon(Display display, String fileName, int index) {
- return loadSmallIcon(display, fileName, index);
-}
-
-/**
- * Given a filename and registry index, this method will search
- * the platform registry and return the registered small image
- * associated with the filename. If the filename is not
- * registered null is returned. Note: if the platform does not
- * have registry support, null is always returned.
- * The caller is responsible for destroying the Image.
- * @param fileName name of exectuable file
- * @param index registry index
- * @return org.eclipse.swt.graphics.Image of registered icon or
- * <code>null</code> if not present
- */
-public static Image loadSmallIcon(Display display, String fileName, int index) {
- return null;
-}
-
-/**
- * Given a RichText widget this method will attempt to print the
- * contents of the editor.
- * @param editor the widget that contains the text to be printed
- */
-public static void print(org.eclipse.swt.widgets.Control editor) {
-
-}
-
-/**
-* Answer the path, name and command line parameters registered
-* for a given extension.
-* <p>
-*
-* @param extension the extension to query. Must provide leading '.'
-*
-* @return the path, name and command line parameters registered for
-* the extension. Empty string if the extension is not registered.
-*/
-public static String queryExtension(String extension) {
- return null;
-}
-
-/**
- * Given a file extension (something like .html ) the function
- * returns the full path of the icon image registered to
- * the extension. The file name has a comma and index appended
- * to it. This is the offset into an icon registry of the image.
- * @param extension the string that appears after the last dot
- * of the file name
- * @return String full path of executable file registered to the
- * extension. If no extension has been registered an empty
- * string is returned. Appended to the end after a comma
- * is the offset of the image
- */
-public static String queryExtensionIcon(String extension) {
- return "";
-}
-
-/**
- * This function querys the registery for a list of all the
- * executable programs registered on the platform.
- * @return String[] an array of strings. Each string contains the
- * full path of the executable program. Duplicates may exist
- * since multiple extensions may be registered to the same program.
- */
-public static String[] queryRegisteredPrograms() {
- return new String[0];
-}
-
-/**
- * This method will change the parent of control to the composite.
- * @param control org.eclipse.swt.widgets.Control - control with parent to be changed
- * @param parent org.eclipse.swt.widgets.Widget - the new parent of control
- */
-public static void setParent(org.eclipse.swt.widgets.Control control, org.eclipse.swt.widgets.Composite parent) {
- SWT.error(SWT.ERROR_NOT_IMPLEMENTED);
-}
-
-/**
- * Attempts to open the specified file. The effect varies based on
- * the file type and underlying operating system. On win32, the effect
- * is to invoke the ShellExecute API with the command "open". On motif
- * the effect is to lookup the command to invoke using the underlying
- * o/s's mime table support.
- *
- * @param file String
- * a file to open.
- * @return boolean
- * true if successful, false otherwise.
- */
-public static boolean shellExecute(String file) {
- return shellExecute(file, null);
-}
-
-/**
- * Attempts to open the specified file. The effect varies based on
- * the file type and underlying operating system. On win32, the effect
- * is to invoke the ShellExecute API with the command "open". On motif
- * the effect is to lookup the command to invoke using the underlying
- * o/s's mime table support.
- *
- * Note: This method will be deprecated in the next release.
- *
- * @param file String
- * a file to open.
- * @param args String
- * a String to be passed when the file is opened.
- * @return boolean
- * true if successful, false otherwise.
- */
-public static boolean shellExecute(String file, String args) {
-// if (Desktop == DESKTOP_UNKNOWN) return false;
-
- int startIndex = file.lastIndexOf('.');
- if (startIndex > -1) {
- String extension = file.substring(startIndex + 1);
- String command = queryExtension(extension);
- int index = command.indexOf("%f");
- if (index > -1) {
- command = command.substring(0, index) + file;
- if (args != null) {
- command += " "+args;
- }
- try {
- Runtime.getRuntime().exec(command);
- return true;
- } catch (IOException e) {
- return false;
- }
- }
- }
-
- return false;
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-public static String getFriendlyName(String programId) {
- SWT.error(SWT.ERROR_NOT_IMPLEMENTED);
- return null;
-}
-
-public static String queryExtensionProgramId(String extension) {
- SWT.error(SWT.ERROR_NOT_IMPLEMENTED);
- return null;
-}
-
-public static String[] queryInsertables() {
- SWT.error(SWT.ERROR_NOT_IMPLEMENTED);
- return null;
-}
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/common/readme_swt.html b/bundles/org.eclipse.swt/Eclipse SWT/common/readme_swt.html deleted file mode 100755 index 92796ff893..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT/common/readme_swt.html +++ /dev/null @@ -1,550 +0,0 @@ -<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <meta name="GENERATOR" content="Mozilla/4.5 [en] (Win98; I) [Netscape]">
- <meta name="Author" content="IBM">
- <title>Eclipse Platform Release Notes - SWT</title>
-</head>
-<body>
-
-<h1>
-Eclipse Platform Release Notes<br>
-SWT</h1>
-SWT Build 105 - Thursday May 10, 2001
-
-<h2><a NAME="Problem reports fixed"></a>Problem reports fixed</h2>
-<blockquote>
-1GDH5XA: SWT:Linux - Shell deactivate Event not fired
-<br>1GDGWW9: SWT:WIN2000 - Converter @param tags missing var name for terminate
-<br>1GDGN75: SWT:WIN2000 - Table should reset image list if no items
-<br>1GDCYE3: ITPJUI:WINNT - all perspectives corrupted
-<br>1GDCSRP: SWT:WINNT - Reading PNG streams having 2-bit image depth
-<br>1GD7UBX: SWT:WINNT - Trivial error in TableEditor class comment
-<br>1GD46XF: SWT:WIN2000 - Since build 048, Label widget has no left margin for text
-<br>1GBQ19X: SWT:WIN2000 - Problems with context menu lifecycle
-</blockquote>
-<h1>
-Eclipse Platform Release Notes<br>
-SWT</h1>
-SWT Build 104 - Monday May 7, 2001
-
-<h2><a NAME="What's new"></a>What's new in this drop</h2>
-
-<h3><a NAME="Behaviour Changes"></a>Behaviour Changes</h3>
-<ul>
-<li>StyledText was incorrectly changing the cursor to a busy cursor when performing a copy or paste. Setting the cursor is the responsibility of the application.
-</ul>
-
-<h3><a NAME="API Changes"></a>API Changes</h3>
-<ul>
-<li>StyledText.print() has been added.
-<li>Printer support has been added.
-</ul>
-
-<h2><a NAME="Problem reports fixed"></a>Problem reports fixed</h2>
-<blockquote>
-1GD7MK9: SWT:WINNT - Cheese in label when setting a different size image and changing the bounds in the layout
-<br>1GD63XZ: SWT:WIN2000 - exit eclipse workbench throws exception
-<br>1GD5ZND: SWT:WINNT - Label ignoring setAlignment method call
-<br>1GD0LO7: ITPUI:Linux - External files given wrong path
-<br>1GD0BZR: SWT:Linux - StyledText: I-beam cursor cheese when scrolling
-<br>1GBPPQW: ITPJUI:WIN2000 - Tab width is 2 instead of 4
-<br>1GBOBBO: SWT:ALL - Should check in Display methods if display is disposed
-<br>1GBCXQA: SWT:Linux - Cannot paste to single-line Text widget
-<br>1GAP5O4: SWT:ALL - DCR: Printing API and implementation
-</blockquote>
-
-<h1>
-Eclipse Platform Release Notes<br>
-SWT</h1>
-SWT Build 103 - Thursday May 3, 2001
-
-<h2><a NAME="Problem reports fixed"></a>Problem reports fixed</h2>
-<blockquote>
-1GD4KNI: SWT:WIN2000 - TableEditor.setColumn(int) has off-by-one error
-<br>1GD45AU: SWT:Linux - UnsatisfiedLinkError gnome_mime_type
-<br>1GD3XC2: SWT:WIN - GC.dispose() doesn't fully clean up - leaves itself in image
-<br>1GD3M6G: ITPUI:WIN2000 - SWT Error when closing Workbench
-<br>1GD3LD6: ITPUI:WINNT - Exception closing a second workbench window
-<br>1GD3FWL: ITPJUI:WINNT - walkback on closing the workbench
-<br>1GCV0HC: SWT:WIN2000 - TreeItem::setExpanded does not trigger selection change?
-<br>1GBOADO: SWT:WIN - WIN - Clean up after RichText removal
-<br>1GCN531: SWT:WIN2000 - CTabFolder child's visibility is false on notification
-</blockquote>
-
-<h1>IBM Eclipse Platform Release Notes<br>SWT</h1>
-SWT Build 102 - Tuesday May 1, 2001
-
-<h2><a NAME="Problem reports fixed"></a>Problem reports fixed</h2>
-<blockquote>
-1GD0J8V: SWT:Linux - NPE setting background pixel on label
-<br>1GD0BTL: SWT:Linux - Cursor doesn't blink unless you move the mouse
-<br>1GCUT5I: SWT:ALL - ViewForm::setBorderVisible() does not draw properly
-<br>1GCUIH2: SWT:Linux - NPE on image dispose setting label background color
-<br>1GCPHMP: SWT:Linux - GC.copyArea results in X_ClearArea error when regions are disjoint
-<br>1GAZZ7F: SWT:ALL - package com.ibm.itp.os.* should be renamed
-</blockquote>
-
-<h1>IBM Eclipse Platform Release Notes<br>SWT</h1>
-SWT Build 100 - Thursday April 26, 2001
-
-<p><b>Renaming of packages and projects to org.eclipse version</b></p>
-
-<h1>IBM Eclipse Platform Release Notes<br>SWT</h1>
-SWT Build 075 - Thursday April 26, 2001
-
-<h2><a NAME="Problem reports fixed"></a>Problem reports fixed</h2>
-<blockquote>
-1GCQU7S: SWT:WINNT - Exception getting image pixel
-<br>1GCQPTX: SWT:WINNT - Gradient colour is black on WINNT
-<br>1GCQKWP: SWT:WINNT - ImageData corrupt for certain images
-<br>1GCP2JE: SWT:WINNT - Exception collapsing the parent of an item with a TreeEditor open
-<br>1GCP11O: SWT:WINNT - TreeEditor created too far left
-</blockquote>
-
-<h1>IBM Eclipse Platform Release Notes<br>SWT</h1>
-SWT Build 074 - Tuesday April 24, 2001
-
-<h2><a NAME="Problem reports fixed"></a>Problem reports fixed</h2>
-<blockquote>
-1GCGDPB: SWT:Linux - Table column resize
-<br>1GCGA89: SWT:ALL - CLabel tool tip does not always update properly
-<br>1GCG3O2: SWT:WIN - NullPointerException when closing window
-<br>1GCG1TY: SWT:WIN2000 - Label.setImage(null) doesn't work and background does not show through
-<br>1GCFUMC: SWT:ALL - CTabFolder X button not centered
-<br>1GBZEZ2: SWT:ALL - CTabItem is not showing tool tip.
-<br>1FVEUN9: SWT:Linux - Expand all problems operation in LF is slow
-<br>1FMRW6Q: SWT:UNIX - Tree/Table don't repaint on setForeground()
-</blockquote>
-
-<h1>IBM Eclipse Platform Release Notes<br>SWT</h1>
-SWT Build 073 - Thursday April 19, 2001
-
-<h2><a NAME="What's new"></a>What's new in this drop</h2>
-
-<h3><a NAME="Behaviour Changes"></a>Behaviour Changes</h3>
-<ul>
-<li>FocusIn and FocusOut events sent for OleControlSite and OleClientSite
-</ul>
-
-<h3><a NAME="API Changes"></a>API Changes</h3>
-
-<ul>
-<li>Support for the following system colors has been added:
- <ul>
- <li>SWT.COLOR_TITLE_FOREGROUND
- <li>SWT.COLOR_TITLE_BACKGROUND
- <li>SWT.COLOR_TITLE_BACKGROUND_GRADIENT
- <li>SWT.COLOR_TITLE_INACTIVE_FOREGROUND
- <li>SWT.COLOR_TITLE_INACTIVE_BACKGROUND
- <li>SWT.COLOR_TITLE_INACTIVE_BACKGROUND_GRADIENT
- </ul>
-<li>CTabFolder.setInsertMark(int index, boolean after) added
-<li>CTabFolder.setInsertMark(CTabItem item, boolean after) added
-<li>CTabFolder.setSelectionForeground(Color color) added
-<li>CTabFolder.setBackground(Image image) deprecated - use CTabFolder.setSelectionBackground(Image image)
-<li>CTabFolder.setBackground(Color[] colors, int[] percents) deprecated - use CTabFolder.setSelectionBackground(Color[] colors, int[] percents)
-</ul>
-
-<h2><a NAME="Problem reports fixed"></a>Problem reports fixed</h2>
-<blockquote>
-1GCC93K: SWT:ALL - Should SWT be issuing selection event when tab item added?
-<br>1GCC7G8: SWT:Linux - scrolled to far left when opening CTabFolder
-<br>1GCALVS: SWT:WIN - Button.computeSize() not correct for radio buttons w/ 48 point font
-<br>1GC3YIG: SWT:WIN - FileDialog chooses a bogus initial filterExtension
-<br>1GBPOYG: ITPJUI:WIN2000 - Editor tabs are changing size when switching between different tabs
-<br>1GB2373: SWT:WINNT - Menu help callback: widget is destroyed
-<br>1GAW5MX: SWT:WINNT - Shell calls saveFocus after firing deactivate event
-<br>1G9X2Z4: SWT:WINNT - GIF transparent color not transparent
-<br>1G3ESH6: SWT:ALL - GIFs with transparency problems
-<br>1G0V4WM: J9JCL:WINNT - Transparency index vs Transparency color...
-</blockquote>
-
-<h1>IBM Eclipse Platform Release Notes<br>SWT</h1>
-SWT Build 072 - Tuesday April 17, 2001
-
-<h2><a NAME="What's new"></a>What's new in this drop</h2>
-<h3><a NAME="API Changes"></a>API Changes</h3>
-
-<ul>
-<li>CLabel.setBackground(Image image) added
-<li>CTabFolder.setBackground(Image image) added
-</ul>
-
-<h2><a NAME="Problem reports fixed"></a>Problem reports fixed</h2>
-<blockquote>
-1GCA2T3: SWT:WINNT - Program.getImageData() has NumberFormatException
-<br>1GAJCZU: ITPJUI:WINNT - segmented viewer toolbar icon shows up in random places
-<br>1GBPGMO: ITPJUI:WINNT - Create package toolbar icon is wrong
-<br>1GBXHID: SWT:Linux - NullPointerException disposing Color
-<br>1GC1AEN: SWT:Linux - Walkback during shutdown on linux
-</blockquote>
-
-<h1>IBM Eclipse Platform Release Notes<br>SWT</h1>
-SWT Build 071 - Thursday April 12, 2001
-
-<h2><a NAME="What's new"></a>What's new in this drop</h2>
-<h3><a NAME="API Changes"></a>API Changes</h3>
-
-<ul>
-<li> Tracker.open() now returns a boolean - false when tracking cancelled.
-<li> added Display.getSyncThread() for core
-</ul>
-
-<h2><a NAME="Problem reports fixed"></a>Problem reports fixed</h2>
-
-<blockquote>
-1GC182H: SWT:Neutrino - Bug in error checking in GC.drawImage()
-<br>1GBXGV0: SWT:ALL - DCR: No api on Tracker to know escape key pressed
-<br>1GBRRGA: SWT:WIN2000 - TableTree: Mouse selection on text toggles checkbox
-<br>1GBPLGT: ITPJUI:WINNT - Can't enter umlauts in JavaEditor
-<br>1GBPI4O: SWT:WIN2000 - Losing close box of Editor
-<br>1GBOC3W: SWT:Linux - Problem with Mask when drawing on image
-<br>1GBADIS: SWT:ALL - minimumSize gives wrong size in Composite which result in wrong behavior of calculateSize() and pack()
-<br>1GALCDN: SWT:WIN98 - GC keeps line width set at 0
-<br>1G97CWG: SWT:Linux - Wiggly mouse
-<br>1G82MBI: IVJIDT:WIN98 - GPF (repeatable) - 3.5.3 - when terminating running java code - editing running code
-</blockquote>
-
-<h1>IBM Eclipse Platform Release Notes<br>SWT</h1>
-SWT Build 070 - Tuesday April 10, 2001
-
-<h2><a NAME="Problem reports fixed"></a>Problem reports fixed</h2>
-
-<blockquote>
-1GBR8U9: SWT:WIN2000 - SashForm.setMaximizedControl problem
-<br>1GBQ145: SWT:WIN2000 - broken implementation of ViewForm.layout
-<br>1GBM11E: SWT:WIN2000 - ViewForm border problems
-<br>1GBR6XI: SWT:WIN2000 - SashForm overrides wrong layout method
-<br>1GBRCNC: SWT:WIN2000 - Layout problems with SashForm & ViewForm
-<br>1G98NJQ: ITPJUI:WIN2000 - Outliner context menu disappears after empty selection
-<br>1GBM8SZ: SWT:WIN2000 - SashForm doesn't work in wizard pages
-<br>1GBKSNP: SWT:Linux - Control.setForeground does not redraw control
-<br>1GBLZDR: SWT:WIN2000 - Label text moves up when pane titlebar splits
-<br>1GBPPLT: ITPJUI:WIN2000 - Strange line spacing in Java Editor
-<br>1GBQ54Q: SWT:Linux - MenuItems are not added in the right position.
-<br>1GBRBTY: SWT:WIN2000 - SashForm clips bottom most control by one pixel
-<br>1GBRC0V: SWT:WIN2000 - ViewForm renders a "title bar" also none of the top controls are set
-<br>1GBRCGL: SWT:WIN2000 - Animated Progress shows up with slider in ProgressDialog
-<br>1GBX8G1: SWT:Neutrino - Default font support doesn't capture style, height
-<br>1GBX8LN: SWT:WIN2000 - Tree.getSelection() iterates over all items twice if selection is empty
-</blockquote>
-
-<h1>IBM Eclipse Platform Release Notes<br>SWT</h1>
-SWT Build 069 - Thursday April 5, 2001
-
-<h2><a NAME="What's new"></a>What's new in this drop</h2>
-<h3><a NAME="API Changes"></a>API Changes</h3>
-<ul>
-<li>The class RichText has been removed.
-Use com.ibm.swt.custom.StyledText instead.
-
-<li>
-The class com.ibm.itp.os.ProgramSupport has been deprecated because
-it was a random assortment of helper methods some of which Windows
-specific and could not be implemented on other platforms.
-The functionality has been redistributed as follows:
-<ul>
-<li>ProgramSupport.getWindowSystem - use SWT.getPlatform
-<li>ProgramSupport.isReparentable - use Control.isReparentable
-<li>ProgramSupport.print - RichText no longer exists
-<li>ProgramSupport.getFriendlyName - not used
-<li>ProgramSupport.loadLargeIcon - not used
-<li>ProgramSupport.loadSmallIcon - use Program.getImageData
-<li>ProgramSupport.queryExtension - use Program.findProgram
-<li>ProgramSupport.queryExtensionIcon - use Program.getImageData
-<li>ProgramSupport.queryExtensionProgramID - use OLE.findProgramID
-<li>ProgramSupport.queryInsertables - not used
-<li>ProgramSupport.queryRegisteredPrograms - use Program.getPrograms
-<li>ProgramSupport.shellExecute - use Program.launch
-</ul>
-
-<li>OleClientSite.containsOleInfo has been deprecated - use OLE.isOleFile
-
-<li>The methods Control.isValidWidget, Widget.isValidWidget and Menu.isValidWidget have been removed.
-
-</ul>
-
-<h2>
-<a NAME="Known deficiencies"></a>Known deficiencies</h2>
-
-<ul>
-<li>
-The support for running Swing and AWT widgets within SWT layouts only works
-on Windows. There are currently significant incompatibilities between the
-way AWT and SWT deal with Motif. There is no workaround at this time.</li>
-
-<li>
-TableEditors are not notified when the cell they are editing changes its
-dimensions. This can cause them to look odd when the underlying table (or
-one of its columns) is resized while they are open. This occurs on both
-Windows and Linux. In addition, because of the way XWindows handles child
-widgets, it is possible for TableEditors to lose focus on Linux in situations
-where they do not on Windows. Simply clicking on the TableEditor again,
-will return focus to it.</li>
-</ul>
-
-<h2><a NAME="Problem reports fixed"></a>Problem reports fixed</h2>
-
-<blockquote>
-1GBLZLL: SWT:WINNT - NegativeArraySizeException in SashForm
-<br>1GBKN67: SWT:WINNT - StyledText - paste replacing text does not show new text
-<br>1GBKERA: SWT:ALL - Typo in BusyIndicator.showWhile - 'Dusplay'
-<br>1GBKCLF: SWT:WINNT - StyledText - IllegalArgumentException in DefaultContent.getLine
-<br>1GBF77D: SWT:WINNT - getFontData().getHeight() discrepancy
-<br>1GBF74Z: SWT:ALL - CLabel::onPaint exception
-<br>1GBEI94: ITPUI:WIN2000 - Walkback in AnimatedProgress
-<br>1GBD9LZ: SWT:ALL - CTabFolder exception using scroll arrows
-<br>1GBD356: SWT:ALL - TabItem.setControl(null) throws NullPointerException
-<br>1GB9GZD: SWT:Linux - Motif - Color depth scaling
-<br>1FT97NJ: SWT:Linux - Tree/Table turns item grey when focus lost
-</blockquote>
-
-<h1>
-IBM Eclipse Platform Release Notes<br>
-SWT</h1>
-SWT Build 063 through SWT Build 068 - Thursday March 29, 2001
-
-<h2>
-<a NAME="What's new"></a>What's new in this drop</h2>
-
-<h3><a NAME="New Classes"></a>New Classes</h3>
-<ul>
-<li><b>SashForm</b> The SashForm lays out its children in a Row or Column arrangement (as specified
-by the orientation) and places a Sash between the children.
-One child may be maximized to occupy the entire size of the SashForm.
-The relative sizes of the children may be specfied using weights.
-
-<li><b>StackLayout</b> This Layout stacks all the controls one on top of the other and resizes all controls
-to have the same size and location. The control specified in topControl is visible and all other controls
-are not visible. Users must set the topControl value to flip between the visible items and the call
-layout() on the composite which has the StackLayout.
-</ul>
-
-<h3>
-<a NAME="API Changes"></a>API Changes</h3>
-<li>Widget.notifyListener deleted - Use Widget.notifyListeners
-<li>SelectionAdapter.widgetDoubleSelected deleted - Use SelectionAdapter.widgetDefaultSelected instead
-<li>SelectionListener.widgetDoubleSelected deleted - Use SelectionListener.widgetDefaultSelected instead
-<li>SWT.DoubleSelection deleted - Use SWT.DefaultSelection instead.
-<li>WidgetListener deleted - Use DisposeListener instead.
-<li>Widget.addWidgetListener deleted - Use Widget.addDisposeListener instead.
-<li>Widget.removeWidgetListener deleted - Use Widget.removeDisposeListener instead
-<li>SWT.ERROR_NO_COMMON_PARENT deleted
-<li>Clipboard.Clipboard() deleted - Use Clipboard.Clipboard(Display) instead
-<li>DragSource.startDrag() deleted - Use DragSourceListener.dragStart instead
-<li>GridLayout.id deleted
-<li>ImageData.DM_UNSPECIFIED deleted
-<li>ImageData.DM_FILL_NONE deleted
-<li>ImageData.DM_FILL_BACKGROUND deleted
-<li>ImageData.DM_FILL_PREVIOUS deleted
-<li>ImageData.isIcon() deleted
-<li>com.ibm.swt.custom.CustomLabel deleted - Use CLabel instead
-<li>com.ibm.swt.custom.CustomPane deleted - Use ViewForm instead
-<li>com.ibm.swt.custom.ScrollingComposite deleted - Use ScrolledComposite instead
-</ul>
-
-<p><b>***NOTE***</b> There has been some renaming of Interface methods, which will unavoidably
-break code while the rename is being done. In order to make it easier for
-yourself before we rename next week, you might want to do the rename in
-your copy of SWT after you get tomorrow's drop, and fix all breakage immediately.
-<br><b>***NOTE2***</b> in general, you always want to try to use an Adapter
-(when one exists) instead of implementing the corresponding Listener.
-This will insulate you from changes to the interface. Also, we have
-seen cases where an SWT event Listener interface is being implemented
-by a public class. This not only exposes your public class to interface
-changes, but it also forces your public class to bogusly provide the
-SWT Listener interface's methods as your public API. <em>Don't do that.</em>
-
-<h3>
-<a NAME="Styled Text changes"></a>Styled Text changes</h3>
-
-<ul>
-<li>StyledText
-<br>
-For those who are implementing StyledTextContent,
-the constructor for the TextChangedEvent class has changed.
-The TextChangedEvent() constructor no longer exists.
-Use the TextChangedEvent(StyledTextContent source) constructor instead.
-<b>NOTE:</b> The parameter to this constructor cannot be null.
-</ul>
-
-<p><b>These StyledText methods have been renamed:</b>
-<ul>
-<li>StyledText.getSelection() ==> use getSelectionRange() instead
-<li>StyledText.getText(int start, int length) ==> use getTextRange(int,int) instead
-<li>StyledTextContent.getText(int start, int length) ==> use getTextRange(int,int) instead
-<li>StyledText.redraw(int,int,boolean) ==> use redrawRange(int,int,boolean) instead
-<li>StyledText.replace(int start, int length) ==> use replaceTextRange(int,int) instead
-<li>StyledTextContent.replaceText(int start, int length) ==> use replaceTextRange(int,int) instead
-<li>StyledText.setSelection(int start, int length) ==> use setSelectionRange(int,int) instead
-</ul>
-
-<p><b>These methods have been introduced to maintain SWT API consistency.</b>
-<p>StyledText selection methods used to take (int start, int length) and now the parameters are (int start, int end).
-<p><b> WARNING</b>These names are the same as the old names, BUT the semantics have changed.
-Also note that in the case of setSelection(start,end) the behavior has also changed to be consistent with
-SWT (the selection is made visible):
-<ul>
-<li>StyledText.getSelection() ==> returns Point(start,end)
-<li>StyledText.getText(int start, int end)
-<li>StyledText.setSelection(int start, int end)
-</ul>
-
-<p>The compiler is not going to point these changes out automatically.
-You can decide whether to use the new "selection range" API with (start, length) semantics,
-or stick with the old method names and change your calling semantics to (start, end).
-We suggest you use the following trick to get the compiler to help you make the changes:
-<ol>
-<li>Make sure you have SWT 0.067 loaded.
-<li>Rename the 3 StyledText methods, getSelection, getText, and setSelection, to getSelection2,
- getText2, and setSelection2.
-<li>You will now have red x's everywhere you called those methods.
-<li>Make the changes (either change to call getSelectionRange/getTextRange/setSelectionRange,
- or change to use "start, end").
-<li>Replace the 3 StyledText methods with the released version.
-</ol>
-
-<p><b>These deprecated methods have been removed from StyledText:</b>
-<ul>
-<li>StyledText.getCaretLineNumber()
-<li>StyledText.getCaretLocation()
-<li>StyledText.getCaretPosition()
-<li>StyledText.getDelimiter()
-<li>StyledText.getDoubleClick()
-<li>StyledText.setDoubleClick(boolean)
-<li>StyledText.setSelectionForeground (Color color)
-<li>StyledText.setSelectionVisible(boolean visible)
-<li>StyledText.setText(String string, Color colors [], int [] ranges)
-</ul>
-
-<p><b>These deprecated methods have been undeprecated:</b>
-<ul>
-<li>StyledText.append (String string)
-<li>StyledText.insert (String string)
-<li>StyledText.getLineCount ()
-<li>StyledText.selectAll()
-<li>StyledText.getSelectionCount()
-<li>StyledText.setSelection (int start)
-<li>StyledText.setSelection(Point point)
-</ul>
-
-<p>The method invokeAction(int) is now public. You may use this method to support special key
-binding needs like multi-keystroke bindings or macro recording/playback.
-
-<h3>
-<a NAME="Other highlights"></a>Other highlights</h3>
-
-<ul>
-<li> The ability to set a Disabled image for use in the Toolbar has been added.
-<li> The ability to create a new gray scale image from a color image has been added.
-<pre>
- Image grayImage = new Image(getDisplay(), colorImage, SWT.IMAGE_GRAY)
-</pre>
-</ul>
-
-<h2>
-<a NAME="Known deficiencies"></a>Known deficiencies</h2>
-
-<ul>
-<li>
-The support for running Swing and AWT widgets within SWT layouts only works
-on Windows. There are currently significant incompatibilities between the
-way AWT and SWT deal with Motif. There is no workaround at this time.</li>
-
-<li>
-TableEditors are not notified when the cell they are editing changes its
-dimensions. This can cause them to look odd when the underlying table (or
-one of its columns) is resized while they are open. This occurs on both
-Windows and Linux. In addition, because of the way XWindows handles child
-widgets, it is possible for TableEditors to lose focus on Linux in situations
-where they do not on Windows. Simply clicking on the TableEditor again,
-will return focus to it.</li>
-</ul>
-
-<h2>
-<a NAME="Problem reports fixed"></a>Problem reports fixed</h2>
-
-<blockquote>
-<br><b>In 68:</b>
-<br>1GBCTBY: SWT:ALL - DCR: Make 3 border rgb color public
-<br>1GBCSHG: SWT:WIN2000 - TableTree should have getItem(Point point)
-<br>1GBB8NJ: SWT:ALL - StyledText - caret not updated when Modify is sent
-<br>1GB9FJB: SWT:ALL - DCR: CTabFolder close icon not "transparent"
-<br>1GB9F5O: SWT:ALL - DCR: Empty CTabFolder border drawing
-<br>1GB93QT: SWT:WIN - StyledText - blt problem when cutting text
-<br>1GAWIAP: SWT:WINNT - StyledText - key bindings - make doAction() public
-<br>1GAVQGI: SWT:ALL - Migrate remaining JFace widgets
-<br>1GAVQA6: SWT:ALL - Notebook custom widget
-<br>1GAJ9KP: SWT:ALL - TableTree class has no selection support for the SWT.CHECK style
-<br>1G5T37N: SWT:Linux - Table repaints excessively
-
-<br>
-<br>
-<br><b>In 67:</b>
-<br>1GB1VFN: SWT:Neutrino - Cannot "swipe select" text in Text (SINGLE style)
-<br>1GB0DAQ: SWT:Neutrino - Calling getText() on a Button of style CHECK causes an exception
-<br>1GAZU5I: SWT:ALL - TableTree - order of items is wrong when first opened
-<br>1GAXJIG: SWT:WIN2000 - Why does the new BusyIndiocator need a display passed in
-<br>1GAUU7N: SWT:ALL - StyledText - SWT API Compliance
-<br>1GAU7AO: SWT:ALL - Increase max VTable size
-<br>1GAQREA: SWT:ALL - DOC: Using SWT Layouts
-<br>1GAPCPB: SWT:ALL - StyledText: last line slurs when scrolling
-<br>1GAP7II: SWT:ALL - DCR - CTabItem visual enhancements
-<br>1G6ZJXO: SWT:WINNT - Changing the visibility of a Splitter's child doesn't work
-<br>1G54RZE: SWT:WINNT - GC.drawImage(Image, int, int) too slow
-<br>1G0I960: SWT:WINNT - GC.drawImage newing Objects, could be much faster
-
-<br>
-<br>
-<br><b>In 66:</b>
-<br>1GAX9NB: SWT:Neutrino - Combo dropdown erased when MouseEnter/Exit hooked on Container
-<br>1GAWHN7: SWT:WIN2000 - computeSize on toolbar makes it Visible
-<br>1GAW64X: SWT:WIN2000 - Most setters of ViewForm are broken
-<br>1GAUR6V: SWT:WIN - "Hot Images in ToolBar" does not work if items are disabled
-<br>1GAPCG7: SWT:ALL - StyledText: inefficiencies when redrawing multiple lines
-<br>1GAP46W: SWT:ALL - ViewForm activeBorder not always visible
-<br>1GAP36M: SWT:ALL - CLabel::setBackgroundGradient does not redraw
-<br>1G8VVLS: SWT:ALL - DCR: Need an API to get the color of a pixel at a point on the Desktop
-<br>1G2O4LD: SWT:ALL - Need API to take a screen snapshot
-
-<br>
-<br>
-<br><b>In 65:</b>
-<br>1GAUEK1: SWT:WIN2000 - Context menus get never removed from the shell
-<br>1GAP7DE: SWT:ALL - OLE editor go gray when deactivated
-<br>1GAP2VP: SWT:ALL - Background gradient api diff for CTabFolder & CLabel
-<br>1GAL0ES: SWT:WINNT - Menu item help callback does not occur until after menu is down
-<br>1GAJBTA: ITPJUI:WINNT - walkback when editing java file
-<br>1GAJ9GX: SWT:ALL - combo box never receives an event for an "enter" key
-<br>1G8IU7A: SWT:ALL - new alpha APIs on ImageData
-<br>1G8HBF8: SWT:Neutrino - Alpha problems with off-screen graphics
-<br>1G7YWTN: SWT:Neutrino - No KeyDown or KeyUp for multi-line text
-<br>1G7MIEJ: SWT:WINNT - notification of enter & double click
-<br>1G7GHRM: SWT:WIN98 - prop sheet - second column does not fit
-<br>1G7EQ69: SWT:Neutrino - No KeyUp messages sent
-<br>1G55SCR: SWT:Neutrino - List.getItemHeight() completely bogus
-<br>1G54XZT: SWT:WINNT - Combo box - can't tell if someone hits <Enter>
-<br>1FT06EX: SWT:ALL - FileDialog.setFilterExtensions() does not properly degrade on non Windows platforms
-<br>1FSY6QR: SWT:WINNT - DCR - FileDialog API should better balance platform function vs. portability
-<br>1FMGL58: SWT:WIN - Single-line TextEditor does not send event when <Enter> is pressed
-<br>1FBPLB5: SWT:ALL - List(SINGLE) - setSelection and selectAll inconsistent
-<br>1FBPKD9: SWT:WIN - List - selectAll() setSelection() inconsistancy when items repeat
-<br>1FBPKCY: SWT:WIN - List - inconsistent setSelection() behaviour
-
-<br>
-<br>
-<br><b>In 63:</b>
-<br>1GABZR5: SWT:Linux - Table cheese when removing last column
-<br>1G9XBWB: SWT:ALL - DOC: Layout class still has Smalltalk-style comments
-<br>1G7PMZX: SWT:ALL - notifyListener should be called notifyListeners
-<br>1G7AQDI: SWT:Neutrino - Font() constructor should use PfGenerateFontName()
-<br>1G4DGHG: SWT:Linux - Thumb drag scrolling causes cheese
-<br>1FZU2X2: SWT:ALL - Why is DisposeListener called "WidgetListener"?
-<br>1FVX5JS: SWT:WINNT - PaletteData.getPixel(RGB) needs to be fixed
-<br>1FT05NQ: SWT:ALL - DCR FileDialog.setFilterExtensions() doesn't support common Windows usage
-<br>1FCDRW0: SWT:AIX - TrackBar - setPageIncrement()
-</blockquote>
-</body>
-</html>
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/motif/library/cde.c b/bundles/org.eclipse.swt/Eclipse SWT/motif/library/cde.c new file mode 100644 index 0000000000..f0bb3fedb5 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT/motif/library/cde.c @@ -0,0 +1,263 @@ +/* + * (c) Copyright IBM Corp., 2000, 2001 + * All Rights Reserved. + */ + +/** + * SWT CDE natives implementation. + */ + +#include <jni.h> + +#include <stdio.h> +#include <assert.h> +#include <Dt/Dts.h> +#include <Dt/Action.h> + +/* + * Class: org_eclipse_swt_internal_motif_CDE + * Method: DtAppInitialize + * Signature: (III[B[B)Z + */ +JNIEXPORT jboolean JNICALL Java_org_eclipse_swt_internal_motif_CDE_DtAppInitialize + (JNIEnv *env, jclass that, jint appContext, jint display, jint topWidget, + jbyteArray appName, jbyteArray appClass) +{ + jbyte* appName1 = NULL; + jbyte* appClass1 = NULL; + jboolean status; + +#ifdef DEBUG_CALL_PRINTS + fprintf(stderr, "DtAppInitialize\n"); +#endif + + if (appName) appName1 = (*env)->GetByteArrayElements(env, appName, NULL); + if (appClass) appClass1 = (*env)->GetByteArrayElements(env, appClass, NULL); + + status = (jint) DtAppInitialize( (XtAppContext) appContext, + (Display*) display, (Widget) topWidget, appName1, appClass1 ); + + if (appClass) (*env)->ReleaseByteArrayElements(env, appClass, appClass1, 0); + if (appName) (*env)->ReleaseByteArrayElements(env, appName, appName1, 0); + return status; +} + +/* + * Class: org_eclipse_swt_internal_motif_CDE + * Method: DtDbLoad + * Signature: ()V + */ +JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_motif_CDE_DtDbLoad + (JNIEnv *env, jclass that ) +{ +#ifdef DEBUG_CALL_PRINTS + fprintf(stderr, "DtDbLoad\n"); +#endif + + DtDbLoad(); +} + +/* + * Class: org_eclipse_swt_internal_motif_CDE + * Method: DtDtsDataTypeNames + * Signature: ()I + */ +JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_motif_CDE_DtDtsDataTypeNames + (JNIEnv *env, jclass that) +{ + jint dataTypeList; + +#ifdef DEBUG_CALL_PRINTS + fprintf(stderr, "DtDtsDataTypeNames\n"); +#endif + + dataTypeList = (jint) DtDtsDataTypeNames(); + return dataTypeList; +} + +/* + * Class: org_eclipse_swt_internal_motif_CDE + * Method: DtDtsFileToDataType + * Signature: ([B)I + */ +JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_motif_CDE_DtDtsFileToDataType + (JNIEnv *env, jclass that, jbyteArray fileName) +{ + jbyte* fileName1 = NULL; + jint dataType; + +#ifdef DEBUG_CALL_PRINTS + fprintf(stderr, "DtDtsFileToDataType\n"); +#endif + + if (fileName) fileName1 = (*env)->GetByteArrayElements(env, fileName, NULL); + dataType = (jint) DtDtsFileToDataType( (char*) fileName1 ); + if (fileName) (*env)->ReleaseByteArrayElements(env, fileName, fileName1, 0); + return dataType; +} + +/* + * Class: org_eclipse_swt_internal_motif_CDE + * Method: DtDtsDataTypeIsAction + * Signature: ([B)Z + */ +JNIEXPORT jboolean JNICALL Java_org_eclipse_swt_internal_motif_CDE_DtDtsDataTypeIsAction + (JNIEnv *env, jclass that, jbyteArray dataType) +{ + jbyte* dataType1 = NULL; + jboolean isAction; + +#ifdef DEBUG_CALL_PRINTS + fprintf(stderr, "DtDtsDataTypeIsAction\n"); +#endif + + if (dataType) dataType1 = (*env)->GetByteArrayElements(env, dataType, NULL); + isAction = (jboolean) DtDtsDataTypeIsAction( (char*) dataType1 ); + if (dataType) (*env)->ReleaseByteArrayElements(env, dataType, dataType1, 0); + return isAction; +} + +/* + * Class: org_eclipse_swt_internal_motif_CDE + * Method: DtDtsDataTypeToAttributeValue + * Signature: ([B[B[B)I + */ +JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_motif_CDE_DtDtsDataTypeToAttributeValue + (JNIEnv *env, jclass that, jbyteArray dataType, jbyteArray attrName, jbyteArray optName) +{ + jbyte* dataType1 = NULL; + jbyte* attrName1 = NULL; + jbyte* optName1 = NULL; + jint attrValue; + +#ifdef DEBUG_CALL_PRINTS + fprintf(stderr, "DtDtsDataTypeToAttributeValue\n"); +#endif + + if (dataType) dataType1 = (*env)->GetByteArrayElements(env, dataType, NULL); + if (attrName) attrName1 = (*env)->GetByteArrayElements(env, attrName, NULL); + if (optName) optName1 = (*env)->GetByteArrayElements(env, optName, NULL); + + attrValue = (jint) DtDtsDataTypeToAttributeValue( (char*) dataType1, + (char*) attrName1, (char*) optName1 ); + + if (optName) (*env)->ReleaseByteArrayElements(env, optName, optName1, 0); + if (attrName) (*env)->ReleaseByteArrayElements(env, attrName, attrName1, 0); + if (dataType) (*env)->ReleaseByteArrayElements(env, dataType, dataType1, 0); + return attrValue; +} + +/* + * Class: org_eclipse_swt_internal_motif_CDE + * Method: DtDtsFreeDataType + * Signature: (I)V + */ +JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_motif_CDE_DtDtsFreeDataType + (JNIEnv *env, jclass that, jint dataType) +{ +#ifdef DEBUG_CALL_PRINTS + fprintf(stderr, "DtDtsFreeDataType\n"); +#endif + + DtDtsFreeDataType( (char*) dataType ); +} + +/* + * Class: org_eclipse_swt_internal_motif_CDE + * Method: DtDtsFreeDataTypeNames + * Signature: (I)V + */ +JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_motif_CDE_DtDtsFreeDataTypeNames + (JNIEnv *env, jclass that, jint dataTypeList) +{ +#ifdef DEBUG_CALL_PRINTS + fprintf(stderr, "DtDtsFreeDataTypeNames\n"); +#endif + + DtDtsFreeDataTypeNames( (char**) dataTypeList ); +} + +/* + * Class: org_eclipse_swt_internal_motif_CDE + * Method: DtDtsFreeAttributeValue + * Signature: (I)V + */ +JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_motif_CDE_DtDtsFreeAttributeValue + (JNIEnv *env, jclass that, jint attrValue) +{ +#ifdef DEBUG_CALL_PRINTS + fprintf(stderr, "DtDtsFreeAttributeValue\n"); +#endif + + DtDtsFreeAttributeValue( (char*) attrValue ); +} + +/* + * Class: org_eclipse_swt_internal_motif_CDE + * Method: DtActionInvoke + * Signature: (I[B[BI[B[B[BIII)I + */ +JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_motif_CDE_DtActionInvoke + (JNIEnv *env, jclass that, jint topWidget, jbyteArray action, + jbyteArray fileName, jint argCount, jbyteArray termOpts, jbyteArray execHost, + jbyteArray contextDir, jint useIndicator, jint callback, jint clientData) +{ + jbyte* action1 = NULL; + jbyte* fileName1 = NULL; + jbyte* termOpts1 = NULL; + jbyte* execHost1 = NULL; + jbyte* contextDir1 = NULL; + jint actionID; + DtActionArg arg; /* Action arguments should really be Java objects. */ + +#ifdef DEBUG_CALL_PRINTS + fprintf(stderr, "DtActionInvoke\n"); +#endif + + if (action) action1 = (*env)->GetByteArrayElements(env, action, NULL); + if (fileName) fileName1 = (*env)->GetByteArrayElements(env, fileName, NULL); + if (termOpts) termOpts1 = (*env)->GetByteArrayElements(env, termOpts, NULL); + if (execHost) execHost1 = (*env)->GetByteArrayElements(env, execHost, NULL); + if (contextDir) contextDir1 = (*env)->GetByteArrayElements(env, contextDir, NULL); + + /* TBD: DtActionArg should be a Java class and the third argument + * (fileName) should really be an array of DtActionArg. + * + * Create the action argument given the file name. This is the only type + * of action supported by the Program module of SWT. The argCount is + * ignored because only one file can be passed this way. + */ + arg.argClass = DtACTION_FILE; + arg.u.file.name = (char*) fileName1; + +/* + printf("Invoking action: %d %s %s 1 %X %X %X %X %X %X\n", topWidget, action1, fileName1, + termOpts1, execHost1, contextDir1, useIndicator, callback, clientData ); +*/ + actionID = (jint) DtActionInvoke( (Widget) topWidget, (char*) action1, + &arg, 1, (char*) termOpts1,(char*) execHost1, (char*) contextDir1, + useIndicator, (DtActionCallbackProc) callback, (XtPointer) clientData ); + + if (contextDir) (*env)->ReleaseByteArrayElements(env, contextDir, contextDir1, 0); + if (execHost) (*env)->ReleaseByteArrayElements(env, execHost, execHost1, 0); + if (termOpts) (*env)->ReleaseByteArrayElements(env, termOpts, termOpts1, 0); + if (fileName) (*env)->ReleaseByteArrayElements(env, fileName, fileName1, 0); + if (action) (*env)->ReleaseByteArrayElements(env, action, action1, 0); + + return actionID; +} + +/* Utility methods */ + + +/* + * Class: org_eclipse_swt_internal_motif_CDE + * Method: listElementAt + * Signature: (II)I + */ +JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_motif_CDE_listElementAt + (JNIEnv *env, jclass that, jint nameList, jint index) +{ + char** nameList1 = (char**) nameList; + return (jint) nameList1[ index ]; +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT/motif/library/make_solaris.mak b/bundles/org.eclipse.swt/Eclipse SWT/motif/library/make_solaris.mak deleted file mode 100755 index 89b698fa7b..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT/motif/library/make_solaris.mak +++ /dev/null @@ -1,69 +0,0 @@ -# Makefile for creating SWT libraries on Solaris -# -# The following environment variables are assumed to be defined: -# -# MAJOR_VER - the major version number -# MINOR_VER - the minor version number -# BUILD_NUM - the build number - -DLL_VERSION=$(MAJOR_VER)$(MINOR_VER) - - -# Define the installation directories for various products. -# JAVA_HOME - Sun's version of Java (JDK2) -# MOTIF_HOME - Motif includes and libraries -JAVA_HOME = /tools/java1.3 -MOTIF_HOME = /usr/dt -CDE_HOME = /usr/dt - - -# Define the various DLL (shared) libraries to be made. - -SWT_PREFIX = swt -SWT_DLL = lib$(SWT_PREFIX)$(DLL_VERSION).so -SWT_OBJ = callback.o globals.o library.o structs.o swt.o -SWT_LIB = -L$(MOTIF_HOME)/lib -L/usr/lib \ - -G -lXm -lXt -lX11 -lm - -CDE_PREFIX = swt-cde -CDE_DLL = lib$(CDE_PREFIX)$(DLL_VERSION).so -CDE_OBJ = -CDE_LIB = -G -L$(CDE_HOME) -L. -l$(SWT_PREFIX)$(DLL_VERSION) - - -# -# The following CFLAGS are for compiling both the SWT library and the CDE -# library. -# -# Note: -# The flag -xarch=generic ensure the compiled modules will be targeted -# for 32-bit architectures. If this flag is not -# -CFLAGS = -O -s \ - -xarch=generic \ - -DSWT_LIBRARY_MAJOR_VERSION=$(MAJOR_VER) \ - -DSWT_LIBRARY_MINOR_VERSION=$(MINOR_VER) \ - -DSOLARIS -DMOTIF -DCDE \ - -KPIC \ - -I./ \ - -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/solaris \ - -I$(MOTIF_HOME)/include \ - -I$(CDE_HOME)/include - - -all: make_swt make_cde - -make_swt: $(SWT_DLL) - -$(SWT_DLL): $(SWT_OBJ) - ld -o $@ $(SWT_OBJ) $(SWT_LIB) - - -make_cde: $(CDE_DLL) - -$(CDE_DLL): $(CDE_OBJ) - ld -o $@ $(CDE_OBJ) $(CDE_LIB) - - -clean: - rm -f $(SWT_OBJ) $(SWT_DLL) $(CDE_OBJ) $(CDE_DLL) diff --git a/bundles/org.eclipse.swt/Eclipse SWT/motif/libswt-gnome0105.so b/bundles/org.eclipse.swt/Eclipse SWT/motif/libswt-gnome0105.so Binary files differdeleted file mode 100755 index 3c3ba7ecda..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT/motif/libswt-gnome0105.so +++ /dev/null diff --git a/bundles/org.eclipse.swt/Eclipse SWT/motif/libswt0105.so b/bundles/org.eclipse.swt/Eclipse SWT/motif/libswt0105.so Binary files differdeleted file mode 100755 index 7b68c6d57a..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT/motif/libswt0105.so +++ /dev/null diff --git a/bundles/org.eclipse.swt/Eclipse SWT/photon/libswt0104.so b/bundles/org.eclipse.swt/Eclipse SWT/photon/libswt0104.so Binary files differdeleted file mode 100755 index 031b391dec..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT/photon/libswt0104.so +++ /dev/null diff --git a/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/internal/photon/PgDisplaySettings_t.java b/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/internal/photon/PgDisplaySettings_t.java new file mode 100644 index 0000000000..89c384775e --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/internal/photon/PgDisplaySettings_t.java @@ -0,0 +1,16 @@ +package org.eclipse.swt.internal.photon;
+
+/*
+ * (c) Copyright IBM Corp. 2000, 2001.
+ * All Rights Reserved
+ */
+
+public class PgDisplaySettings_t {
+ public int mode;
+ public int xres;
+ public int yres;
+ public int refresh;
+ public int flags;
+ public int [] reserved = new int [22];
+ public static final int sizeof = 108;
+} diff --git a/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/internal/photon/PgVideoModeInfo_t.java b/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/internal/photon/PgVideoModeInfo_t.java new file mode 100644 index 0000000000..61494500ac --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/internal/photon/PgVideoModeInfo_t.java @@ -0,0 +1,22 @@ +package org.eclipse.swt.internal.photon;
+
+/*
+ * (c) Copyright IBM Corp. 2000, 2001.
+ * All Rights Reserved
+ */
+
+public class PgVideoModeInfo_t {
+ public short width;
+ public short height;
+ public short bits_per_pixel;
+ public short bytes_per_scanline;
+ public int type;
+ public int mode_capabilities1;
+ public int mode_capabilities2;
+ public int mode_capabilities3;
+ public int mode_capabilities4;
+ public int mode_capabilities5;
+ public int mode_capabilities6;
+ public byte [] refresh_rates = new byte [20];
+ public static final int sizeof = 56;
+} diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/swt0105.dll b/bundles/org.eclipse.swt/Eclipse SWT/win32/swt0105.dll Binary files differdeleted file mode 100755 index b70a7757dc..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/swt0105.dll +++ /dev/null |