Rogue Wave Server/Rogue Wave Views Integration > The Rogue Wave Views Component > Designing your Own V<smaller letters>IEWS Component
 
Designing your Own V<smaller letters>IEWS Component
In most situations, you will have to design your own Rogue Wave 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 V<smaller letters>IEWS component involves the following steps:
1. Initializing the communication layer;
2. Installing factories, if applicable;
3. Initializing the Views component via the function IlsSwComponent::Initialize;
4. Connecting to servers (you can also use the connection panel or command line options to open these connections);
5. Opening views;
6. Executing the graphical main loop.
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 Rogue Wave Views Script or Rogue Wave Views prototypes (see the source code of swcomp).

Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.