|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.editor.DimensionStyleImportDialog
public class DimensionStyleImportDialog
A dialog for importing dimension styles from on dimension feature class into another.
Constructor Summary | |
---|---|
DimensionStyleImportDialog()
Constructs a DimensionStyleImportDialog using ArcGIS Engine. |
|
DimensionStyleImportDialog(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. DimensionStyleImportDialog theDimensionStyleImportDialog = (DimensionStyleImportDialog) obj; |
Method Summary | |
---|---|
void |
addNameCheck(IDimensionStyles nameCheckStyles)
Adds a style collection that will be used to check names against. |
void |
doModalImport(IFeatureClass sourceClass,
IDimensionStyles destinationStyles,
int hWndParent)
Displays the dialog used to import dimension styles. |
IDimensionStyle |
doModalSelect(IFeatureClass sourceClass,
int hWndParent)
Displays the dialog used to import a single dimension style. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
hashCode()
the hashcode for this object |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public DimensionStyleImportDialog() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic DimensionStyleImportDialog(Object obj) throws IOException
DimensionStyleImportDialog theDimensionStyleImportDialog = (DimensionStyleImportDialog) obj;
obj
to DimensionStyleImportDialog
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void addNameCheck(IDimensionStyles nameCheckStyles) throws IOException, AutomationException
AddNameCheck should be called before IDimensionStyleImportDialog::DoModalImport to avoid conflicts in dimension style names.
addNameCheck
in interface IDimensionStyleImportDialog
nameCheckStyles
- A reference to a com.esri.arcgis.carto.IDimensionStyles (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void doModalImport(IFeatureClass sourceClass, IDimensionStyles destinationStyles, int hWndParent) throws IOException, AutomationException
SourceClass is used to populate the dialog with initial values. If SourceClass does not exist or is null then the dialog is initialized with no default workspace; the user must navigate to the location of the desired dimension feature class containing the style they wish to import. Use AddNameCheck before calling DoModalImport to avoid style name conflicts that will cause the import to fail. If conflicting names are found, the newly imported styles will have an underscore and number (i.e. "_1") appended to the style name.
doModalImport
in interface IDimensionStyleImportDialog
sourceClass
- A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)destinationStyles
- A reference to a com.esri.arcgis.carto.IDimensionStyles (in)hWndParent
- The hWndParent (A COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IDimensionStyle doModalSelect(IFeatureClass sourceClass, int hWndParent) throws IOException, AutomationException
SourceClass is used to populate the dialog with initial values. If SourceClass does not exist or is null then the dialog is initialized with no default workspace; the user must navigate to the location of the desired dimension feature class containing the style they wish to import.
doModalSelect
in interface IDimensionStyleImportDialog
sourceClass
- A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)hWndParent
- The hWndParent (A COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |