diff --git a/plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/meta/Property.java b/plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/meta/Property.java index f69a43948de8ad504a472e80835c064e639a1887..e898d99cfc4e252db28ad89ddafcb1ff24fdf226 100644 --- a/plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/meta/Property.java +++ b/plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/meta/Property.java @@ -106,6 +106,11 @@ public @interface Property */ boolean linkPossible() default false; + /** + * Hyperlink property + */ + boolean href() default false; + /** * Makes sense only for lazy properties. If set to true then this property value can be read * in non-lazy way with null progress monitor. In this case it will return "preview" value. diff --git a/plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/runtime/properties/ObjectPropertyDescriptor.java b/plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/runtime/properties/ObjectPropertyDescriptor.java index 83852032597da7ba114d397601e7067bff2d0f07..6225d9901453701a07bddaf8e3fdcdd6160dd80f 100644 --- a/plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/runtime/properties/ObjectPropertyDescriptor.java +++ b/plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/runtime/properties/ObjectPropertyDescriptor.java @@ -169,6 +169,10 @@ public class ObjectPropertyDescriptor extends ObjectAttributeDescriptor implemen return propInfo.linkPossible(); } + public boolean isHref() { + return propInfo.href(); + } + public boolean supportsPreview() { return propInfo.supportsPreview(); @@ -233,6 +237,7 @@ public class ObjectPropertyDescriptor extends ObjectAttributeDescriptor implemen if (this.isExpensive()) features.add("expensive"); if (this.isEditPossible()) features.add("editPossible"); if (this.isLinkPossible()) features.add("linkPossible"); + if (this.isHref()) features.add("href"); if (this.isViewable()) features.add("viewable"); if (this.isPassword()) features.add("password"); return features.toArray(new String[0]);