Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove several deprecated functions #650

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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