@OpenApiAll public class PatternPropertiesPanel extends AbstractPanelContainer
BORDER_COMPOUND, BORDER_EMPTY, PROPERTIES_BORDER
Constructor and Description |
---|
PatternPropertiesPanel()
Constructs new panel.
|
Modifier and Type | Method and Description |
---|---|
void |
applyChangesToProperties(AbstractPatternProperties properties)
Does nothing here.
|
javax.swing.JComponent |
getAdditionalPanel(int index)
Returns null, because this implementation does not provide any additional panel.
|
int |
getAdditionalPanelCount()
Returns 0, because this implementation does not provide any additional panel.
|
javax.swing.JComponent |
getPropertiesPanel()
Returns main panel as pattern properties panel.
|
com.nomagic.magicdraw.properties.ui.jideui.JIDEPropertyPanel |
getPropPanel() |
void |
reset()
Removes all components from the main panel.
|
void |
setPatternProperties(AbstractPatternProperties properties)
Sets a context of the main pattern panel.
|
createBorderPane
public void setPatternProperties(AbstractPatternProperties properties)
setPatternProperties
in class AbstractPanelContainer
properties
- the pattern properties.public com.nomagic.magicdraw.properties.ui.jideui.JIDEPropertyPanel getPropPanel()
public void reset()
reset
in class AbstractPanelContainer
public javax.swing.JComponent getPropertiesPanel()
getPropertiesPanel
in class AbstractPanelContainer
public int getAdditionalPanelCount()
getAdditionalPanelCount
in class AbstractPanelContainer
public javax.swing.JComponent getAdditionalPanel(int index)
getAdditionalPanel
in class AbstractPanelContainer
index
- not used here.public void applyChangesToProperties(AbstractPatternProperties properties)
applyChangesToProperties
in class AbstractPanelContainer
properties
- the pattern properties.