public class PinAssemblyAnalysisView extends AnalysisView implements IGridListener
AnalysisView.selectionProvider
.Modifier and Type | Class and Description |
---|---|
static class |
PinAssemblyAnalysisView.Symmetry
An enum describing the allowed symmetries for the assembly view.
|
Constructor and Description |
---|
PinAssemblyAnalysisView(DataSource dataSource)
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
clickCell(int index)
Sends an update to
selectionProvider when a cell has been clicked. |
void |
createViewContent(org.eclipse.swt.widgets.Composite container)
Fills out the parent Composite with information and widgets related to
this particular IAnalysisView.
|
java.lang.String |
getDescription()
Gets a brief description of this type of analysis view.
|
java.lang.String |
getName()
Gets the name for this type of analysis view.
|
void |
registerKeys()
Registers any keys of interest with the current broker.
|
void |
selectCell(int index)
Sends an update to
broker when a cell has
been selected. |
void |
unregisterKeys()
Unregisters any keys from the current broker.
|
void |
update(java.lang.String key,
java.lang.Object value)
This is called by the broker when a key of interest has changed.
|
dispose, getComposite, getToolBarContributions, setBroker, setData, setSelectionProvider
public PinAssemblyAnalysisView(DataSource dataSource)
dataSource
- The data source associated with this view (input, reference,
comparison).public void selectCell(int index)
broker
when a cell has
been selected.selectCell
in interface IGridListener
index
- The location of the selected cell.public void clickCell(int index)
selectionProvider
when a cell has been clicked.clickCell
in interface IGridListener
index
- The location of the clicked cell.public void createViewContent(org.eclipse.swt.widgets.Composite container)
createViewContent
in interface IAnalysisView
createViewContent
in class AnalysisView
container
- The Composite containing this IAnalysisView.public java.lang.String getName()
getName
in interface IAnalysisView
getName
in class AnalysisView
public java.lang.String getDescription()
getDescription
in interface IAnalysisView
getDescription
in class AnalysisView
public void registerKeys()
registerKeys
in interface IStateListener
registerKeys
in class AnalysisView
public void unregisterKeys()
unregisterKeys
in interface IStateListener
unregisterKeys
in class AnalysisView
public void update(java.lang.String key, java.lang.Object value)
update
in interface IStateListener
update
in class AnalysisView
key
- The key of the changed value.value
- The new value.