public interface View
Modifier and Type | Method and Description |
---|---|
default Icon |
getIcon()
Returns the icon for the view.
|
default String |
getName()
The internationalized name of the view.
|
String |
getUniqueId()
The unique ID of the view.
|
void |
initializePanel(JPanel panel)
This method is used for initializing the contents inside the view.
|
default void |
onBasketSelectionChanged(Set<Component> oldSelection,
Set<Component> newSelection)
Action to take when a the selection basket contents change.
|
default void |
onCheckingEnded()
Action to take when checking has finished.
|
default void |
onCheckingStarted()
Action to take when checking is about to start.
|
default void |
onComponentChosen(Component component)
Action to take when the user chooses a component from the UI.
|
default void |
onComponentsHidden(Collection<Component> components)
Action to take when the user zooms hides some components from the UI.
|
default void |
onComponentsZoomedTo(Collection<Component> components)
Action to take when the user zooms to some components from the UI.
|
default void |
onItoFinished()
Action to take when information takeoff has finished.
|
default void |
onItoStarted()
Action to take when information takeoff has been triggered.
|
default void |
onModelLoaded(Model model)
Action to take when a model is loaded to the software.
|
default void |
onSettingsChanged()
Action to take when the setting have been changed.
|
String getUniqueId()
default String getName()
default Icon getIcon()
void initializePanel(JPanel panel)
panel
- the parent JPanel that holds the contentsdefault void onModelLoaded(Model model)
model
- the model that has been loadeddefault void onBasketSelectionChanged(Set<Component> oldSelection, Set<Component> newSelection)
oldSelection
- the components that were part of the old selectionnewSelection
- the components that are part of the new selectiondefault void onCheckingStarted()
default void onCheckingEnded()
default void onComponentChosen(Component component)
component
- the chosen componentdefault void onComponentsZoomedTo(Collection<Component> components)
components
- the zoomed componentsdefault void onComponentsHidden(Collection<Component> components)
components
- the hidden componentsdefault void onSettingsChanged()
default void onItoStarted()
default void onItoFinished()
Copyright © 2020 Solibri, Inc.. All rights reserved.