errors | others warnings | infos | forbidden warnings | discouraged warnings |
top | others warnings | infos | forbidden warnings | discouraged warnings |
top | errors | infos | forbidden warnings | discouraged warnings |
errors | others warnings | forbidden warnings | discouraged warnings |
top | errors | infos | others warnings | discouraged warnings |
top | errors | infos | others warnings | forbidden warnings |
1. WARNING in /src/org/eclipse/jface/examples/databinding/contentprovider/test/TreeContentProviderTest.java (at line 23) import org.eclipse.jface.internal.databinding.provisional.viewers.ViewerLabelProvider; Discouraged access: The type 'ViewerLabelProvider' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.jface.databinding/target/classes') |
2. WARNING in /src/org/eclipse/jface/examples/databinding/contentprovider/test/TreeContentProviderTest.java (at line 146) IViewerLabelProvider labelProvider = new ViewerLabelProvider() { @Override public void updateLabel(ViewerLabel label, Object element) { if (element instanceof SimpleNode) { SimpleNode node = (SimpleNode) element; label.setText(node.getNodeName()); } if (element instanceof Integer) { Integer node = (Integer) element; label.setText("Integer " + node); } } }; Discouraged access: The constructor 'ViewerLabelProvider()' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.jface.databinding/target/classes') |
3. WARNING in /src/org/eclipse/jface/examples/databinding/contentprovider/test/TreeContentProviderTest.java (at line 146) IViewerLabelProvider labelProvider = new ViewerLabelProvider() { Discouraged access: The type 'ViewerLabelProvider' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.jface.databinding/target/classes') |
1. WARNING in /src/org/eclipse/jface/examples/databinding/snippets/Snippet015DelayTextModifyEvents.java (at line 20) import org.eclipse.jface.internal.databinding.provisional.swt.ControlUpdater; Discouraged access: The type 'ControlUpdater' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.jface.databinding/target/classes') |
2. WARNING in /src/org/eclipse/jface/examples/databinding/snippets/Snippet015DelayTextModifyEvents.java (at line 67) new ControlUpdater(field2) { @Override protected void updateControl() { boolean stale = ((Boolean) stale1.getValue()).booleanValue(); field2.setFont(stale ? italicFont : shellFont); } }; Discouraged access: The constructor 'ControlUpdater(Control)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.jface.databinding/target/classes') |
3. WARNING in /src/org/eclipse/jface/examples/databinding/snippets/Snippet015DelayTextModifyEvents.java (at line 67) new ControlUpdater(field2) { Discouraged access: The type 'ControlUpdater' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.jface.databinding/target/classes') |
4. WARNING in /src/org/eclipse/jface/examples/databinding/snippets/Snippet015DelayTextModifyEvents.java (at line 76) new ControlUpdater(field1) { @Override protected void updateControl() { boolean stale = ((Boolean) stale2.getValue()).booleanValue(); field1.setFont(stale ? italicFont : shellFont); } }; Discouraged access: The constructor 'ControlUpdater(Control)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.jface.databinding/target/classes') |
5. WARNING in /src/org/eclipse/jface/examples/databinding/snippets/Snippet015DelayTextModifyEvents.java (at line 76) new ControlUpdater(field1) { Discouraged access: The type 'ControlUpdater' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.jface.databinding/target/classes') |
1. WARNING in /src/org/eclipse/jface/examples/databinding/contentprovider/test/StructuredContentProviderTest.java (at line 27) import org.eclipse.jface.internal.databinding.provisional.swt.ControlUpdater; Discouraged access: The type 'ControlUpdater' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.jface.databinding/target/classes') |
2. WARNING in /src/org/eclipse/jface/examples/databinding/contentprovider/test/StructuredContentProviderTest.java (at line 28) import org.eclipse.jface.internal.databinding.provisional.viewers.ViewerLabelProvider; Discouraged access: The type 'ViewerLabelProvider' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.jface.databinding/target/classes') |
3. WARNING in /src/org/eclipse/jface/examples/databinding/contentprovider/test/StructuredContentProviderTest.java (at line 162) new ControlUpdater(sumLabel) { @Override protected void updateControl() { double sum = ((Double) sumOfOutputSet.getValue()) .doubleValue(); int size = outputSet.size(); sumLabel.setText("The sum of the above " + size //$NON-NLS-1$ + " doubles is " + sum); //$NON-NLS-1$ } }; Discouraged access: The constructor 'ControlUpdater(Control)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.jface.databinding/target/classes') |
4. WARNING in /src/org/eclipse/jface/examples/databinding/contentprovider/test/StructuredContentProviderTest.java (at line 162) new ControlUpdater(sumLabel) { Discouraged access: The type 'ControlUpdater' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.jface.databinding/target/classes') |
5. WARNING in /src/org/eclipse/jface/examples/databinding/contentprovider/test/StructuredContentProviderTest.java (at line 263) new ControlUpdater(button) { @Override protected void updateControl() { button.setSelection(model.getValue().equals(value)); } }; Discouraged access: The constructor 'ControlUpdater(Control)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.jface.databinding/target/classes') |
6. WARNING in /src/org/eclipse/jface/examples/databinding/contentprovider/test/StructuredContentProviderTest.java (at line 263) new ControlUpdater(button) { Discouraged access: The type 'ControlUpdater' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.jface.databinding/target/classes') |
7. WARNING in /src/org/eclipse/jface/examples/databinding/contentprovider/test/StructuredContentProviderTest.java (at line 278) listOfInts.setLabelProvider(new ViewerLabelProvider()); Discouraged access: The constructor 'ViewerLabelProvider()' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.jface.databinding/target/classes') |
8. WARNING in /src/org/eclipse/jface/examples/databinding/contentprovider/test/StructuredContentProviderTest.java (at line 278) listOfInts.setLabelProvider(new ViewerLabelProvider()); Discouraged access: The type 'ViewerLabelProvider' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.jface.databinding/target/classes') |
9. WARNING in /src/org/eclipse/jface/examples/databinding/contentprovider/test/StructuredContentProviderTest.java (at line 302) listOfInts.setLabelProvider(new ViewerLabelProvider()); Discouraged access: The constructor 'ViewerLabelProvider()' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.jface.databinding/target/classes') |
10. WARNING in /src/org/eclipse/jface/examples/databinding/contentprovider/test/StructuredContentProviderTest.java (at line 302) listOfInts.setLabelProvider(new ViewerLabelProvider()); Discouraged access: The type 'ViewerLabelProvider' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.jface.databinding/target/classes') |
11. WARNING in /src/org/eclipse/jface/examples/databinding/contentprovider/test/StructuredContentProviderTest.java (at line 333) new ControlUpdater(remove) { @Override protected void updateControl() { // This block demonstrates auto-listening. // When updateControl is running, the framework // remembers each // updatable that gets touched. Since we're calling // selectedInt.getValue() // here, this updator will be flagged as dependant on // selectedInt. This // means that whenever selectedInt changes, this block // of code will re-run // itself. // The result is that the remove button will recompute // its enablement // whenever the selection in the listbox changes, and it // was not necessary // to attach any listeners. remove.setEnabled(selectedInt.getValue() != null); } }; Discouraged access: The constructor 'ControlUpdater(Control)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.jface.databinding/target/classes') |
12. WARNING in /src/org/eclipse/jface/examples/databinding/contentprovider/test/StructuredContentProviderTest.java (at line 333) new ControlUpdater(remove) { Discouraged access: The type 'ControlUpdater' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.jface.databinding/target/classes') |
1. WARNING in /src/org/eclipse/jface/examples/databinding/snippets/Snippet012CompositeUpdater.java (at line 21) import org.eclipse.jface.internal.databinding.provisional.swt.CompositeUpdater; Discouraged access: The type 'CompositeUpdater' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.jface.databinding/target/classes') |
2. WARNING in /src/org/eclipse/jface/examples/databinding/snippets/Snippet012CompositeUpdater.java (at line 60) new CompositeUpdater(composite, list) { @Override protected Widget createWidget(int index) { Label label = new Label(composite, SWT.BORDER); //requestLayout(label); return label; } @Override protected void updateWidget(Widget widget, Object element) { ((Label) widget).setText(((Counter) element).getValue() + ""); requestLayout((Label)widget); } }; Discouraged access: The constructor 'CompositeUpdater(Composite, IObservableList)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.jface.databinding/target/classes') |
3. WARNING in /src/org/eclipse/jface/examples/databinding/snippets/Snippet012CompositeUpdater.java (at line 60) new CompositeUpdater(composite, list) { Discouraged access: The type 'CompositeUpdater' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.jface.databinding/target/classes') |
4. WARNING in /src/org/eclipse/jface/examples/databinding/snippets/Snippet012CompositeUpdater.java (at line 72) requestLayout((Label)widget); Discouraged access: The method 'CompositeUpdater.requestLayout(Control)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.jface.databinding/target/classes') |
1. WARNING in /src/org/eclipse/jface/examples/databinding/contentprovider/test/LabelProviderTest2.java (at line 98) fireChangeEvent(Collections.singleton(item)); Discouraged access: The method 'ViewerLabelProvider.fireChangeEvent(Collection<?>)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.jface.databinding/target/classes') |
1. WARNING in /src/org/eclipse/jface/examples/databinding/snippets/Snippet016TableUpdater.java (at line 18) import org.eclipse.jface.internal.databinding.provisional.swt.TableUpdater; Discouraged access: The type 'TableUpdater' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.jface.databinding/target/classes') |
2. WARNING in /src/org/eclipse/jface/examples/databinding/snippets/Snippet016TableUpdater.java (at line 74) new TableUpdater(t, list) { @Override protected void updateItem(int index, TableItem item, Object element) { item.setText(element.toString()); } }; Discouraged access: The constructor 'TableUpdater(Table, IObservableList)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.jface.databinding/target/classes') |
3. WARNING in /src/org/eclipse/jface/examples/databinding/snippets/Snippet016TableUpdater.java (at line 74) new TableUpdater(t, list) { Discouraged access: The type 'TableUpdater' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.jface.databinding/target/classes') |
1. WARNING in /src/org/eclipse/jface/examples/databinding/nestedselection/TestMasterDetail.java (at line 28) import org.eclipse.core.internal.databinding.conversion.ObjectToStringConverter; Discouraged access: The type 'ObjectToStringConverter' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.core.databinding/target/classes') |
2. WARNING in /src/org/eclipse/jface/examples/databinding/nestedselection/TestMasterDetail.java (at line 274) .setConverter(new ObjectToStringConverter())); Discouraged access: The constructor 'ObjectToStringConverter()' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.core.databinding/target/classes') |
3. WARNING in /src/org/eclipse/jface/examples/databinding/nestedselection/TestMasterDetail.java (at line 274) .setConverter(new ObjectToStringConverter())); Discouraged access: The type 'ObjectToStringConverter' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.core.databinding/target/classes') |
1. WARNING in /src/org/eclipse/jface/examples/databinding/snippets/Snippet023ConditionalVisibility.java (at line 19) import org.eclipse.jface.internal.databinding.provisional.swt.ControlUpdater; Discouraged access: The type 'ControlUpdater' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.jface.databinding/target/classes') |
2. WARNING in /src/org/eclipse/jface/examples/databinding/snippets/Snippet023ConditionalVisibility.java (at line 104) new ControlUpdater(oneOfTwo) { @Override protected void updateControl() { if (((Boolean) rangeSelected.getValue()).booleanValue()) { stackLayout.topControl = rangeGroup; oneOfTwo.layout(); } else if (((Boolean) textSelected.getValue()).booleanValue()) { stackLayout.topControl = textGroup; oneOfTwo.layout(); } } }; Discouraged access: The constructor 'ControlUpdater(Control)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.jface.databinding/target/classes') |
3. WARNING in /src/org/eclipse/jface/examples/databinding/snippets/Snippet023ConditionalVisibility.java (at line 104) new ControlUpdater(oneOfTwo) { Discouraged access: The type 'ControlUpdater' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.jface.databinding/target/classes') |
1. WARNING in /src/org/eclipse/jface/examples/databinding/snippets/Snippet006Spreadsheet.java (at line 24) import org.eclipse.jface.internal.databinding.provisional.swt.TableUpdater; Discouraged access: The type 'TableUpdater' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.jface.databinding/target/classes') |
2. WARNING in /src/org/eclipse/jface/examples/databinding/snippets/Snippet006Spreadsheet.java (at line 182) new TableUpdater(table, list) { @Override protected void updateItem(int rowIndex, TableItem item, Object element) { if (DEBUG_LEVEL >= 1) { System.out.println("updating row " + rowIndex); } for (int j = 0; j < NUM_COLUMNS; j++) { item.setText(j, (String) cellValues[rowIndex][j] .getValue()); } } }; Discouraged access: The constructor 'TableUpdater(Table, IObservableList)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.jface.databinding/target/classes') |
3. WARNING in /src/org/eclipse/jface/examples/databinding/snippets/Snippet006Spreadsheet.java (at line 182) new TableUpdater(table, list) { Discouraged access: The type 'TableUpdater' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.jface.databinding/target/classes') |
1. WARNING in /src/org/eclipse/jface/examples/databinding/snippets/Snippet005MenuUpdater.java (at line 20) import org.eclipse.jface.internal.databinding.provisional.swt.MenuUpdater; Discouraged access: The type 'MenuUpdater' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.jface.databinding/target/classes') |
2. WARNING in /src/org/eclipse/jface/examples/databinding/snippets/Snippet005MenuUpdater.java (at line 53) new MenuUpdater(submenu) { @Override protected void updateMenu() { System.out.println("updating menu"); MenuItem[] items = submenu.getItems(); int itemIndex = 0; for (Iterator it = menuItemStrings.iterator(); it .hasNext();) { MenuItem item; if (itemIndex < items.length) { item = items[itemIndex++]; } else { item = new MenuItem(submenu, SWT.NONE); } String string = (String) it.next(); item.setText(string); } while (itemIndex < items.length) { items[itemIndex++].dispose(); } } }; Discouraged access: The constructor 'MenuUpdater(Menu)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.jface.databinding/target/classes') |
3. WARNING in /src/org/eclipse/jface/examples/databinding/snippets/Snippet005MenuUpdater.java (at line 53) new MenuUpdater(submenu) { Discouraged access: The type 'MenuUpdater' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.jface.databinding/target/classes') |
1. WARNING in /src/org/eclipse/jface/examples/databinding/contentprovider/test/LabelProviderTest.java (at line 98) fireChangeEvent(Collections.singleton(item)); Discouraged access: The method 'ViewerLabelProvider.fireChangeEvent(Collection<?>)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.jface.databinding/target/classes') |