public class PinAnalysisView extends AnalysisView
Modifier and Type | Class and Description |
---|---|
static class |
PinAnalysisView.AxialLevelWidget
This enum is used to determine the source of changes to the axial level.
|
Constructor and Description |
---|
PinAnalysisView(DataSource dataSource)
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
clickRing(Ring ring)
The PinAnalysisView listens for the MouseUp event on the PinFigure's
Rings.
|
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 |
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 PinAnalysisView(DataSource dataSource)
dataSource
- The data source associated with this view (input, reference,
comparison).public void clickRing(Ring ring)
ring
- The Ring that has been clicked.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.