com.im.ijc.core/1 5.9.4

com.im.ijc.core.api.ui
Interface SchemaSelector


public interface SchemaSelector


Field Summary
static String PROP_ERROR_MESSAGE
          This property is fired whenever error message changes
static String PROP_SCHEMA
          This property is fired whenever schema changes
static String PROP_VALID
          This property is fired whenever component's valid property changes
 
Method Summary
 void addPropertyChangeListener(PropertyChangeListener pcl)
          Adds a PropertyChangeListener which are notified after changes of any property.
 JComponent getComponent()
          Gets the SchemaSelector component
 String getErrorMessage()
          Gets an error message for SchemaSelector
 SchemaProviderCookie getSelectedSchemaProvider()
          Gets selected SchemaProviderCookie or null.
 boolean isSelectOnlyWritableSchema()
          Gets whether only writeable schema allowed to be selected.
 boolean isValidSelector()
          Gets whether this component is 'valid'.
 void removePropertyChangeListener(PropertyChangeListener pcl)
          Removes a PropertyChangeListener
 void setFinalMessageOnConnected(String msg)
          Enables to set an additional message to display when schema connected.
 void setVisibleCreateProjectButton(boolean visible)
          Show/hide Create New project button.
 void setVisibleOpenProjectsButton(boolean visible)
          Show/hide Open project button.
 void updateConnection(SchemaProviderCookie schemaCookie)
          Used to update the connection e.g.
 

Field Detail

PROP_VALID

static final String PROP_VALID
This property is fired whenever component's valid property changes

See Also:
Constant Field Values

PROP_ERROR_MESSAGE

static final String PROP_ERROR_MESSAGE
This property is fired whenever error message changes

See Also:
Constant Field Values

PROP_SCHEMA

static final String PROP_SCHEMA
This property is fired whenever schema changes

See Also:
Constant Field Values
Method Detail

getComponent

JComponent getComponent()
Gets the SchemaSelector component


getErrorMessage

String getErrorMessage()
Gets an error message for SchemaSelector


isValidSelector

boolean isValidSelector()
Gets whether this component is 'valid'.


isSelectOnlyWritableSchema

boolean isSelectOnlyWritableSchema()
Gets whether only writeable schema allowed to be selected.


getSelectedSchemaProvider

SchemaProviderCookie getSelectedSchemaProvider()
Gets selected SchemaProviderCookie or null.


setFinalMessageOnConnected

void setFinalMessageOnConnected(String msg)
Enables to set an additional message to display when schema connected. Used usually for some hint like press 'Next' button.


addPropertyChangeListener

void addPropertyChangeListener(PropertyChangeListener pcl)
Adds a PropertyChangeListener which are notified after changes of any property.


removePropertyChangeListener

void removePropertyChangeListener(PropertyChangeListener pcl)
Removes a PropertyChangeListener


updateConnection

void updateConnection(SchemaProviderCookie schemaCookie)
Used to update the connection e.g. from saved settings.


setVisibleCreateProjectButton

void setVisibleCreateProjectButton(boolean visible)
Show/hide Create New project button. Button is shown at default


setVisibleOpenProjectsButton

void setVisibleOpenProjectsButton(boolean visible)
Show/hide Open project button. Button is shown at default


com.im.ijc.core/1 5.9.4