Skip to content

Commit 9864803

Browse files
committed
Disable currently unavailable functionality
1 parent f43508f commit 9864803

File tree

2 files changed

+25
-31
lines changed

2 files changed

+25
-31
lines changed

bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/Button.java

+23-29
Original file line numberDiff line numberDiff line change
@@ -1045,35 +1045,29 @@ boolean isTabGroup() {
10451045
return b;
10461046
}
10471047

1048-
@Override
1049-
boolean setTabGroupFocus() {
1050-
boolean b = super.setTabGroupFocus();
1051-
return b;
1052-
}
1053-
1054-
@Override
1055-
boolean setTabItemFocus() {
1056-
1057-
if (isRadioButton()) {
1058-
1059-
for (Button b : getRadioGroup()) {
1060-
// we only tab on this element, if there is no other radio
1061-
// button which is selected.
1062-
// in case of another selected radio button, this other radio
1063-
// button should be tabbed.
1064-
// But if the other checked radio button has focus, then the
1065-
// tabbing should not be blocked.
1066-
if (!b.hasFocus() && b.isChecked() && b != this) {
1067-
return false;
1068-
}
1069-
1070-
}
1071-
1072-
}
1073-
1074-
boolean b = super.setTabItemFocus();
1075-
return b;
1076-
}
1048+
// @Override
1049+
// boolean setTabItemFocus() {
1050+
//
1051+
// if (isRadioButton()) {
1052+
//
1053+
// for (Button b : getRadioGroup()) {
1054+
// // we only tab on this element, if there is no other radio
1055+
// // button which is selected.
1056+
// // in case of another selected radio button, this other radio
1057+
// // button should be tabbed.
1058+
// // But if the other checked radio button has focus, then the
1059+
// // tabbing should not be blocked.
1060+
// if (!b.hasFocus() && b.isChecked() && b != this) {
1061+
// return false;
1062+
// }
1063+
//
1064+
// }
1065+
//
1066+
// }
1067+
//
1068+
// boolean b = super.setTabItemFocus();
1069+
// return b;
1070+
// }
10771071
//
10781072
@Override
10791073
boolean isTabItem() {

bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/CSimpleText.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@ public void copy() {
825825
checkWidget();
826826
if ((style & SWT.PASSWORD) != 0)// || echoCharacter != '\0')
827827
return;
828-
copyToClipboard(model.getSelectedText().toCharArray());
828+
// copyToClipboard(model.getSelectedText().toCharArray());
829829
}
830830

831831
public void cut() {
@@ -835,7 +835,7 @@ public void cut() {
835835

836836
public void paste() {
837837
checkWidget();
838-
String clipboardText = getClipboardText();
838+
String clipboardText = ""; // getClipboardText();
839839
model.insert(clipboardText);
840840
}
841841

0 commit comments

Comments
 (0)