Package com.nomagic.magicdraw.hyperlinks
Interface HyperlinkHandler
- All Superinterfaces:
ProtocolSupport
Handle the hyperlink. The handler should be registered in
HyperlinksHandlersRegistry
- See Also:
-
Method Summary
Methods inherited from interface com.nomagic.magicdraw.hyperlinks.ProtocolSupport
isSupportedProtocol
-
Method Details
-
getIcon
Get hyperlink icon.- Parameters:
link
- hyperlink- Returns:
- icon
-
create
@CheckForNull default Hyperlink create(@CheckForNull String text, String url, @CheckForNull Project context) Create hyperlink.- Parameters:
text
- hyperlink texturl
- hyperlink URLcontext
- project- Returns:
- created hyperlink
-
create
Deprecated.Create hyperlink.- Parameters:
text
- hyperlink texturl
- hyperlink URL- Returns:
- created hyperlink
-
getEditor
Get hyperlink editor.- Returns:
- hyperlink editor
-
activate
Activate given hyperlink.- Parameters:
element
- hyperlink ownerlink
- hyperlink to activate
-
create(String, String, Project)