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

Add Namespaces to id for extensions of org.locationtech.udig.ui.objectProperty #391

Open
fgdrf opened this issue Jul 3, 2020 · 0 comments

Comments

@fgdrf
Copy link
Contributor

fgdrf commented Jul 3, 2020

E.g. of GeometryType property, right now implementation of an extension would look like this:

         <enablement>
            <or>
              <property
                propertyId="GeometryType"
                expectedValue="org.locationtech.jts.geom.Point">
              </property>
              <property
                propertyId="GeometryType"
                expectedValue="org.locationtech.jts.geom.MultiPoint">
              </property>
            </or>
         </enablement>

and should look like this

         <enablement>
            <or>
              <property
                propertyId="org.locationtech.udig.project.ui.GeometryType"
                expectedValue="org.locationtech.jts.geom.Point">
              </property>
              <property
                propertyId="org.locationtech.udig.project.ui.GeometryType"
                expectedValue="org.locationtech.jts.geom.MultiPoint">
              </property>
            </or>
         </enablement>

Note maybe its possible to resolve TODO in classe org.locationtech.udig.project.ui.internal.tool.display.GeometryProperty as well

other extensions:

  • org.locationtech.udig.project.ui
    • hasSelection
    • GeometryType
    • OpenMap
  • org.locationtech.udig.project
    • FeatureStoreResourceProperty
    • InteractionProperty
    • FeatureSourceResourceProperty
  • org.locationtech.udig.tools.edit
    • CurrentShape.ShapeType
  • org.locationtech.udig.tools.select
    • layerHasSelectionProperty
  • org.locationtech.udig.ui
    • aoiStrategy

@fgdrf fgdrf changed the title Add Namespace to property GeometryType for uniqueness Add Namespaces to id for extensions of org.locationtech.udig.ui.objectProperty Jul 6, 2020
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

No branches or pull requests

1 participant