Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Eclipse warns about deprecated methods(...which are not deprecated instead.)
Eclipse warns about deprecated methods [message #1620748] Tue, 17 February 2015 11:58 Go to next message
Piero Campalani is currently offline Piero CampalaniFriend
Messages: 110
Registered: January 2015
Senior Member

Dear experts,

Eclipse is warning me about deprecated methods which do not seem to be deprecated as by API javadoc (for Luna).

These methods are:



I am using this method (suggested by Lars&Co.) to bind a JFace Tableviewer with a collection (ArrayList) of objects:

ViewerSupport.bind(
        <<myTableViewer>>,
        <<observableCollectionElements>>,
        BeanProperties.values(new String[] {
                <<MyConstants.FIELD_A>>,
                <<MyConstants.FIELD_B>>,
                <<MyConstants.FIELD_C>>
        })
);


I am attaching a screenshot too.

**Thanks** for helping,
-Piero

[Updated on: Tue, 17 February 2015 12:00]

Report message to a moderator

Re: Eclipse warns about deprecated methods [message #1690660 is a reply to message #1620748] Mon, 30 March 2015 13:00 Go to previous message
Damian Schade is currently offline Damian SchadeFriend
Messages: 1
Registered: March 2015
Junior Member
Dear all,

I have the same problem like piero campalani.
Is there another way to use this method?
Maybe this one: bind(AbstractTreeViewer viewer, Object input, IListProperty childrenProperty, IValueProperty labelProperty) ?
Or what can i do that the message
"The method bind(StructuredViewer, IObservableList<?>, IValueProperty[]) from the type ViewerSupport is deprecated"
is not shown anymore?

Thanks for help.
Damian
Previous Topic:Custom window heading
Next Topic:Injecting preferences
Goto Forum:
  


Current Time: Sun Sep 24 03:27:24 GMT 2017

Powered by FUDForum. Page generated in 0.02215 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software