Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

There are several utility methods to help instantiate these instances, named of the form, createConfigurationProperty.

Implement the following code to define the getAvailableProperties method:

public Set(IConfigurationProperty> getAvailableProperties (IDatasourceIdentifier identifier)
{

...

     Set<IConfigurationProperty> results = new HashSet<IConfigurationProperty>();

...

     for (EVersionProperties prop : EVersionProperties.values())
     {
          results.add (createCOnfigurationProperty (prop.getDisplayName(), prop.name(),"", prop.getType(), "" ));
     }
return results;
}

Because the EVersionProperties code cannot be resolved, you can add a Java enum to define the properties provided by the plugin.

Create a new file named EVersionProperties.java and implement the following code:

...