Designing your Own Views Component
In most situations, you will have to design your own Views component either because you want to have your own panel and your own user type, or because you want to implement application-specific semantics.
Designing an Views component involves the following steps:
-
Initializing the communication layer;
-
Installing factories, if applicable;
-
Initializing the Views component via the function IlsSwComponent::Initialize;
-
Connecting to servers (you can also use the connection panel or command line options to open these connections);
-
Opening views;
You can use the following member functions to control the behavior of your component:
-
IlsSwComponent::SetDefaultBlockingMode: This function must be called after the call to IlsSwComponent::Initialize.
-
IlsSwComponent::SetNoConnectionPanel: This function must be called before the call to IlsSwComponent::Initialize.
-
IlsSwComponent::HideConnectionPanelAtInit: This function must be called before the call to IlsSwComponent::Initialize.
-
IlsSwComponent::SetUseDragDropInteractor: This function must be called before the graphic panels are created.
-
IlsSwComponent::SetUseDragDropInteractorFlags: This function must be called before the graphic panels are created.
-
IlsSwComponent::DeclInFormConverter: This function must be called before any representations are created.
-
IlsSwComponent::DeclServerConverter: This function must be called before any representations are created.
Your component can also be configured to use Views Script or Views prototypes (see the source code of swcomp).






