|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface INgProjectBuilder
Provides access to members that control the graphic project builder.
The project builder interface's members let you define your schematic application components (diagram types, element types, behaviors...).
INgProject| Method Summary | |
|---|---|
INgBehavior |
createBehavior(String evtName,
int metaType,
String objectType)
Creates the behavior to respond to the event 'evtName' on the metatype 'metaType' for the object type named 'objectType'. |
INgDiagramType |
createDiagramType(String diagTypeName,
INgDiagramType parent)
Creates a new diagram type named 'diagTypeName'. |
INgElementType |
createElementType(String eltTypeName,
int type,
INgElementType parent,
boolean createGroup)
Creates a new element type named 'eltTypeName' whose type is 'Type'. |
INgFlagModel |
createFlagModel(String flagModelName)
Creates a new flag mode named 'flagModelName' for the project. |
INgPatternModel |
createPatternModel(String patternModelName,
int type,
String text)
Creates a new pattern model named 'patternModelName' for the project. |
void |
deleteAttributeSets()
Deletes all the attribute sets associated with the project. |
void |
deleteDataSources()
Deletes all the data sources associated with the project. |
void |
deleteProcedureSets()
Deletes all the procedure sets associated with the project. |
INgBehaviors |
getBehaviors()
List of the behaviors defined for the project. |
INgBehaviors |
getBehaviors2(int metaType,
String objTypeName)
Returns the list of the behaviors defined for the metatype 'metaType'. |
void |
getColorIndex(short red,
short green,
short blue,
int[] colorIndex)
Returns the color index corresponding to the specified RGB values in the project. |
void |
getFontIndex(String fontName,
int[] fontIndex)
Returns the font index corresponding to font named 'fontName' in the project. |
void |
reloadSymbol(String symbolName)
Reloads the symbol named 'symbolName' in the project. |
void |
replaceDataSource(INgDataSource oldDataSource,
INgDataSource newDataSource)
Changes the specified old datasource by the specified new datasource in the project. |
void |
save(String projectFilePath,
String projectFileName)
Saves all the parameters that define the project. |
| Method Detail |
|---|
INgBehaviors getBehaviors()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgProjectBuilder.getBehaviors()
INgFlagModel createFlagModel(String flagModelName)
throws IOException,
AutomationException
flagModelName - The flagModelName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgProject.getFlagModels()
INgPatternModel createPatternModel(String patternModelName,
int type,
String text)
throws IOException,
AutomationException
patternModelName - The patternModelName (in)type - A com.esri.arcgis.schematic.esriNgPatternType constant (in)text - The text (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgProject.getPatternModels()
INgElementType createElementType(String eltTypeName,
int type,
INgElementType parent,
boolean createGroup)
throws IOException,
AutomationException
This element type can inherit the ‘parent’ element type (optional parameter). The createGroup parameter specifies if the associated element group must be created or not. The default value for the createGroup parameter is True; that is by default, all newly created element type is directly related to its own graphic group.
eltTypeName - The eltTypeName (in)type - A com.esri.arcgis.schematic.esriNgElementTypeEnum constant (in)parent - A reference to a com.esri.arcgis.schematic.INgElementType (in, optional, pass 0 if not required)createGroup - The createGroup (in, optional, pass true if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgProject.getElementTypes()
INgDiagramType createDiagramType(String diagTypeName,
INgDiagramType parent)
throws IOException,
AutomationException
diagTypeName - The diagTypeName (in)parent - A reference to a com.esri.arcgis.schematic.INgDiagramType (in, optional, pass 0 if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgProject.getDiagramTypes()
INgBehavior createBehavior(String evtName,
int metaType,
String objectType)
throws IOException,
AutomationException
evtName - The evtName (in)metaType - A com.esri.arcgis.schematic.esriNgMetaType constant (in)objectType - The objectType (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgProjectBuilder.getBehaviors()
void save(String projectFilePath,
String projectFileName)
throws IOException,
AutomationException
The parameters projectFilePath and projectFileName are optional. By default if they are not specified, Schematics overwrites the current session's parameters file.
Note that the specified projectFilePath must already exist because Schematics does not create nonexistent folders.
projectFilePath - The projectFilePath (in, optional, pass if not required)projectFileName - The projectFileName (in, optional, pass if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
INgBehaviors getBehaviors2(int metaType,
String objTypeName)
throws IOException,
AutomationException
metaType - A com.esri.arcgis.schematic.esriNgMetaType constant (in)objTypeName - The objTypeName (in, optional, pass if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void deleteDataSources()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgProjectBuilder.replaceDataSource(com.esri.arcgis.schematic.INgDataSource, com.esri.arcgis.schematic.INgDataSource),
INgProject.addDataSource(com.esri.arcgis.schematic.INgDataSource)
void deleteAttributeSets()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgProject.addUserAttributes(java.lang.Object, String)
void deleteProcedureSets()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgProject.addUserProcedures(java.lang.Object, String)
void replaceDataSource(INgDataSource oldDataSource,
INgDataSource newDataSource)
throws IOException,
AutomationException
oldDataSource - A reference to a com.esri.arcgis.schematic.INgDataSource (in)newDataSource - A reference to a com.esri.arcgis.schematic.INgDataSource (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgProjectBuilder.deleteDataSources(),
INgProject.addDataSource(com.esri.arcgis.schematic.INgDataSource)
void getColorIndex(short red,
short green,
short blue,
int[] colorIndex)
throws IOException,
AutomationException
red - The red (in)green - The green (in)blue - The blue (in)colorIndex - The colorIndex (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void getFontIndex(String fontName,
int[] fontIndex)
throws IOException,
AutomationException
fontName - The fontName (in)fontIndex - The fontIndex (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void reloadSymbol(String symbolName)
throws IOException,
AutomationException
symbolName - The symbolName (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 | ||||||||