Class HyperlinkEditorOptions
- java.lang.Object
-
- com.nomagic.magicdraw.hyperlinks.ui.HyperlinkEditorOptions
-
@OpenApiAll public class HyperlinkEditorOptions extends java.lang.Object
Options for hyperlink editor.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.function.Predicate<HyperlinkEditor>
editorAvailable
Rule to specify is editor is availableprivate java.util.List<Hyperlink>
favorites
Favorite hyperlinks.private boolean
simpleMode
In case of true, show editor simplified.
-
Constructor Summary
Constructors Constructor Description HyperlinkEditorOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.function.Predicate<HyperlinkEditor>
getEditorAvailable()
java.util.List<Hyperlink>
getFavorites()
boolean
isSimpleMode()
void
setEditorAvailable(java.util.function.Predicate<HyperlinkEditor> editorAvailable)
void
setFavorites(java.util.List<Hyperlink> favorites)
void
setSimpleMode(boolean simpleMode)
-
-
-
Field Detail
-
favorites
private java.util.List<Hyperlink> favorites
Favorite hyperlinks. Editor can show favorite hyperlinks.
-
editorAvailable
private java.util.function.Predicate<HyperlinkEditor> editorAvailable
Rule to specify is editor is available
-
simpleMode
private boolean simpleMode
In case of true, show editor simplified.
-
-
Method Detail
-
getFavorites
public java.util.List<Hyperlink> getFavorites()
-
setFavorites
public void setFavorites(java.util.List<Hyperlink> favorites)
-
getEditorAvailable
public java.util.function.Predicate<HyperlinkEditor> getEditorAvailable()
-
setEditorAvailable
public void setEditorAvailable(java.util.function.Predicate<HyperlinkEditor> editorAvailable)
-
isSimpleMode
public boolean isSimpleMode()
-
setSimpleMode
public void setSimpleMode(boolean simpleMode)
-
-