Skip to content

Conversation

@sschulz92
Copy link
Contributor

Within this PR I want to remove the following functions from the interface ILayer which are deprecated for quite a while:

  1. public boolean isSelectable();
  2. void setSelectable(boolean value);
  3. CoordinateReferenceSystem getCRS(IProgressMonitor monitor);

Comment on lines -248 to -266
* @return <code>true</code> if layer is selectable, <code>false</code> otherwise.
* @deprecated use getInteraction(Interaction.SELECT)
*/
@Deprecated
public boolean isSelectable();

/**
* Sets the value of the '{@link org.locationtech.udig.project.internal.Layer#isSelectable
* <em>Selectable</em>}' attribute. <!-- begin-user-doc --> Used by the user to control which
* layers are selectable, may be ignored for GeoResources that do not support editing. <!--
* end-user-doc -->
*
* @param value the new value of the '<em>Selectable</em>' attribute.
* @see #isSelectable()
* @deprecated use setInteraction(Interaction.SELECT, value)
*/
@Deprecated
void setSelectable(boolean value);

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these interface methods are generated from the model. I guess its necessary to remove these from EMF model and re-generate code usin EMF Toolset within Eclipse.

Maybe @egouge can support here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants