@OpenApiAll
public interface HyperlinkEditor
Modifier and Type | Method and Description |
---|---|
java.awt.Component |
getComponent()
Get editor component.
|
Hyperlink |
getHyperlink(java.lang.String text)
Get edited hyperlink.
|
java.lang.String |
getTitle()
Get editor title.
|
boolean |
isProjectScope()
If edited hyperlink is of project scope.
|
void |
setFavorites(java.util.List<Hyperlink> favorites)
Deprecated.
|
void |
setHyperlink(Hyperlink link)
Set hyperlink to edit.
|
default void |
setOptions(com.nomagic.magicdraw.hyperlinks.ui.HyperlinkEditorOptions options)
Set options which can be used in editor editor;
|
java.lang.String getTitle()
java.awt.Component getComponent()
@CheckForNull Hyperlink getHyperlink(java.lang.String text)
text
- hyperlink text.void setHyperlink(Hyperlink link)
link
- hyperlink.@Deprecated void setFavorites(java.util.List<Hyperlink> favorites)
Deprecated
Use setOptions(com.nomagic.magicdraw.hyperlinks.ui.HyperlinkEditorOptions)
favorites
- favorite hyperlinks.default void setOptions(@CheckForNull com.nomagic.magicdraw.hyperlinks.ui.HyperlinkEditorOptions options)
options
- hyperlink editor optionsboolean isProjectScope()