Interface HyperlinkEditor
- All Known Implementing Classes:
 HyperlinkEditorPanel
@OpenApiAll
public interface HyperlinkEditor
Hyperlink editor.
- 
Method Summary
Modifier and TypeMethodDescriptionGet editor component.getHyperlink(String text) Get edited hyperlink.getTitle()Get editor title.booleanIf edited hyperlink is of project scope.voidsetFavorites(List<Hyperlink> favorites) Deprecated.voidsetHyperlink(Hyperlink link) Set hyperlink to edit.default voidsetOptions(HyperlinkEditorOptions options) Set options which can be used in editor editor; 
- 
Method Details
- 
getTitle
String getTitle()Get editor title.- Returns:
 - title string.
 
 - 
getComponent
Component getComponent()Get editor component.- Returns:
 - component.
 
 - 
getHyperlink
Get edited hyperlink.- Parameters:
 text- hyperlink text.- Returns:
 - hyperlink.
 
 - 
setHyperlink
Set hyperlink to edit.- Parameters:
 link- hyperlink.
 - 
setFavorites
Deprecated.Set favorite hyperlinks. Editor can show favorite hyperlinks.Deprecated Use
setOptions(com.nomagic.magicdraw.hyperlinks.ui.HyperlinkEditorOptions)- Parameters:
 favorites- favorite hyperlinks.
 - 
setOptions
Set options which can be used in editor editor;- Parameters:
 options- hyperlink editor options
 - 
isProjectScope
boolean isProjectScope()If edited hyperlink is of project scope. Used to calculate favorite hyperlinks storage - project hyperlink is stored in project, non project hyperlink is stored in environment.- Returns:
 - true if hyperlink is project specific, false - environment specific.
 
 
 -