com.esri.arcgis.arcmapui
Interface IDataConnectionPropertyPage

All Superinterfaces:
Serializable
All Known Implementing Classes:
DataConnectionPropertyPage

public interface IDataConnectionPropertyPage
extends Serializable

Provides access to members that control the Data connection property page.

Superseded By

IDataConnectionPropertyPage2

Product Availability

Available with ArcGIS Desktop.


Method Summary
 void attemptToDeleteExistingName()
          For save dialogs, attempt to delete the table/feature class.
 IName getName()
          User selected Name (ie, FeatureClassName, TableName).
 void setCallback(IDataConnectionCallback rhs1)
          Callback implementation (not mandatory).
 void setDefaultName(String rhs1)
          Default name when NewDataFile is true.
 void setEnabled(boolean rhs1)
          Indicates if all the window controls in the property page are enabled.
 void setNewDataFile(boolean rhs1)
          Indicates if the dialog is for new data.
 void setPromptName(String rhs1)
          Prompt name.
 void setSkipByRef(ITable rhs1)
          When NewDataFile is false, skip this table/featureclass in the ComboBox.
 void setType(int rhs1)
          Type of data we are getting or putting.
 

Method Detail

setEnabled

void setEnabled(boolean rhs1)
                throws IOException,
                       AutomationException
Indicates if all the window controls in the property page are enabled.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
rhs1 - The rhs1 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNewDataFile

void setNewDataFile(boolean rhs1)
                    throws IOException,
                           AutomationException
Indicates if the dialog is for new data.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
rhs1 - The rhs1 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDefaultName

void setDefaultName(String rhs1)
                    throws IOException,
                           AutomationException
Default name when NewDataFile is true.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
rhs1 - The rhs1 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPromptName

void setPromptName(String rhs1)
                   throws IOException,
                          AutomationException
Prompt name. Default is to use 'Save As:' for saving and 'Choose:' for loading.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
rhs1 - The rhs1 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setType

void setType(int rhs1)
             throws IOException,
                    AutomationException
Type of data we are getting or putting.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
rhs1 - A com.esri.arcgis.arcmapui.esriDCType constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getName

IName getName()
              throws IOException,
                     AutomationException
User selected Name (ie, FeatureClassName, TableName).

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Returns:
A reference to a com.esri.arcgis.system.IName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSkipByRef

void setSkipByRef(ITable rhs1)
                  throws IOException,
                         AutomationException
When NewDataFile is false, skip this table/featureclass in the ComboBox.

Product Availability

Available with ArcGIS Desktop.

Parameters:
rhs1 - A reference to a com.esri.arcgis.geodatabase.ITable (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

attemptToDeleteExistingName

void attemptToDeleteExistingName()
                                 throws IOException,
                                        AutomationException
For save dialogs, attempt to delete the table/feature class. Returns successfully if the object is delete, S_FALSE if the user requested no, or the delete error.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCallback

void setCallback(IDataConnectionCallback rhs1)
                 throws IOException,
                        AutomationException
Callback implementation (not mandatory).

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
rhs1 - A reference to a com.esri.arcgis.arcmapui.IDataConnectionCallback (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.