public class BoundaryConditionSection
extends org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
ISection
for displaying the information of an
BoundaryCondition
in a modifiable manner.Constructor and Description |
---|
BoundaryConditionSection(org.eclipse.eavp.viz.service.mesh.properties.BoundaryConditionSection.Type type,
int otherIndex,
int id)
The default constructor for a BoundaryConditionSection.
|
Modifier and Type | Method and Description |
---|---|
void |
createControls(org.eclipse.swt.widgets.Composite parent,
org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage aTabbedPropertySheetPage)
Creates the controls displayed in the section.
|
void |
dispose() |
void |
refresh() |
void |
setInput(org.eclipse.ui.IWorkbenchPart part,
org.eclipse.jface.viewers.ISelection selection)
This should get a BoundaryCondition instance from the current selection
and set
condition . |
public BoundaryConditionSection(org.eclipse.eavp.viz.service.mesh.properties.BoundaryConditionSection.Type type, int otherIndex, int id)
type
- The type of boundary condition, e.g., fluid, thermal, or
passive scalar.otherIndex
- The index of the boundary condition if the type is other
(passive scalar).id
- The ID of the associated Polygon or the index of the
associated Edge in the selected polygon.public void createControls(org.eclipse.swt.widgets.Composite parent, org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage aTabbedPropertySheetPage)
createControls
in interface org.eclipse.ui.views.properties.tabbed.ISection
createControls
in class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
public void setInput(org.eclipse.ui.IWorkbenchPart part, org.eclipse.jface.viewers.ISelection selection)
condition
.setInput
in interface org.eclipse.ui.views.properties.tabbed.ISection
setInput
in class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
public void dispose()
dispose
in interface org.eclipse.ui.views.properties.tabbed.ISection
dispose
in class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
public void refresh()
refresh
in interface org.eclipse.ui.views.properties.tabbed.ISection
refresh
in class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection