Package com.nomagic.magicdraw.ui.browser
Interface Browser.BrowserInitializer
- Enclosing class:
- Browser
@OpenApiAll
public static interface Browser.BrowserInitializer
Browser initializer is an extension point for browser creation. It may be used for adding new trees of panels into the browser.
It can be used for removing existing trees also. In such case initializer should return null as WindowComponentInfoRegistration.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Info registration data. -
Method Summary
Modifier and TypeMethodDescriptiongetInfo()
Provide info for a new browser tree.void
Init the browser.
-
Method Details
-
init
Init the browser. This method will be called during browser initialization. Implemented classes may add additional trees or panels into the browser using Browser.addTree() or Browser.addPanel(). Existing trees can be removed in this method also- Parameters:
browser
- the given browserproject
- current project
-
getInfo
Provide info for a new browser tree. This method is called during application startup and supposes return the same info as used during tree creation in let's say init() method.- Returns:
- browser component info or null
-