|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRPApplication
The IRPApplication interface represents the Rhapsody application, and its methods reflect many of the commands that you can access from the Rhapsody menu bar.
Nested Class Summary | |
---|---|
static class |
IRPApplication.AddToModel_Mode
This class holds constant values to be used with addToModelEx method. |
Method Summary | |
---|---|
IRPProject |
activeProject()
Returns an IRPProject object representing the project currently open in Rhapsody |
IRPUnit |
addProfileToModel(java.lang.String profileName)
addProfileToModel |
void |
addSelectedToFavorites()
Adds the currently selected item to the Favorites list. |
void |
addToModel(java.lang.String filename,
int withDescendant)
add To Model |
void |
addToModelByReference(java.lang.String filename)
add To Model by reference |
void |
addToModelEx(java.lang.String filename,
int addToModelMode,
int addSubUnits,
int addDependents)
Adds a unit to the model. |
void |
addToModelFromURL(java.lang.String purl)
add To Model From URL |
void |
allowBrowserRefresh(int shouldRefresh)
allowBrowserRefresh |
void |
allowGERefresh(int shouldRefresh)
allowGERefresh |
void |
applyNewTermsProfile(java.lang.String profileName)
Called to apply a NewTerms Profile to the active project |
void |
arcCheckOut(java.lang.String filename,
java.lang.String label,
int isLocked,
int isRecursive)
archive Check Out |
void |
bringWindowToTop()
bring window to top |
void |
build()
Builds an application using the active component and configuration. |
void |
buildEntireProject()
buildEntireProject |
void |
buildWithDependencies()
buildWithDependencies |
int |
canRedo()
Check if Redo action is available |
int |
canUndo()
Check if Undo action is available |
void |
checkIn(java.lang.String unitName,
java.lang.String label,
int isLocked,
int isRecursive,
java.lang.String description)
check In |
void |
checkModel()
check model |
void |
checkOut(java.lang.String unitName,
java.lang.String label,
int isLocked,
int isRecursive)
check Out |
void |
clean()
clean |
void |
clearOutputWindow(java.lang.String title)
clear output window |
void |
closeAllAnimatedSequenceDiagrams(int withSave)
Close All Animated Sequence diagrams without save |
void |
compareSequenceDiagram(IRPSequenceDiagram leftDiagram,
IRPSequenceDiagram rightDiagram)
Compares the two sequence diagrams specified as parameters. |
void |
connectToArchive(java.lang.String archivePath)
connect To Archive |
void |
connectToImportedModel(java.lang.String serverURL,
java.lang.String projectAreaName,
java.lang.String streamName)
Used to connect to an externally-managed model. |
void |
connectToTarget(java.lang.String targetName)
connectToTarget |
int |
createAndInsertProject(java.lang.String projectLocation,
java.lang.String projectName)
Create a new project and insert it into current workspace |
void |
createDomainFromProfile(IRPProfile profileArg,
java.lang.String serverURL)
Create Domain from Profile After Login |
IRPCollection |
createNewCollection()
creates a new Rhapsody collection object |
void |
createNewProject(java.lang.String projectLocation,
java.lang.String projectName)
Creates a new Rhapsody project |
void |
dbgCheckComIn(short i)
For debug - check communication in |
short |
dbgCheckComOut()
For debug - check communication out |
void |
deferredAddToModel(java.lang.String filename,
int withDescendants,
java.lang.String origPrjId,
int eraseDir)
Add Rhapsody unit to current project |
int |
deleteProjectFromList(java.lang.String projectName)
Delete specified project from current workspace |
void |
disconnectFromTarget()
disconnectFromTarget |
void |
dMRefreshRecursive(IRPUnit pUnit)
dMRefreshRecursive |
void |
dMSyncAndRefresh(IRPProject projectArg,
int sync,
int refresh)
dMSyncAndRefresh |
void |
downloadToTarget(java.lang.String filename)
downloadToTarget |
void |
endUndoTransaction()
end undo transaction |
void |
enterAnimationCommand(java.lang.String command)
enter Animation Command |
java.lang.String |
errorMessage()
Returns error message for last method called. |
void |
executeCommand(java.lang.String commandType,
IRPCollection pCommandInitialization,
IRPCollection pCommandResult)
method execute command |
int |
executeCommandLine(java.lang.String commandLine)
Execute command line |
void |
executeTransformationSequence(java.lang.String transformationSequence,
int showTransformedModelPackage)
executeTransformationSequence |
java.lang.String |
expandStringKeywords(java.lang.String theString)
expand environment-variable keywords in the provided string |
java.lang.String |
fixpack()
Get Rhapsody fixpack |
void |
forceOutput2Console(int val)
Force output to system console |
void |
forceRoundtrip()
forceRoundtrip |
void |
forceRoundtripElements(IRPCollection elements)
method forceRoundtripElements |
void |
generate()
Generates code for the entire project, using the active component and configuration. |
void |
generateElements(IRPCollection elements)
method generateElements |
void |
generateEntireProject()
generateEntireProject |
void |
generateMainAndMakeFiles()
Generate Main and Make Files |
void |
generateWithDependencies()
generateWithDependencies |
java.lang.String |
getApplicationConnectionString()
getApplicationConnectionString |
void |
getApplicationName(java.lang.String applicationName,
java.lang.String productRCPName)
Get application name |
int |
getApplicationStatus()
getApplicationStatus |
java.lang.String |
getBuildNo()
get property BuildNo |
IRPCodeGenSimplifiersRegistry |
getCodeGenSimplifiersRegistry()
get the code generation simplifiers registry |
IRPDiagram |
getDiagramOfSelectedElement()
get diagram of selected element |
IRPDiagSynthAPI |
getDiagSynthAPI(java.lang.String clientName)
for internal use |
int |
getDMBoolProperty(java.lang.String pKey)
Returns the value of the specified Design Manager boolean property |
java.lang.String |
getDMModelWorkspaceFolder()
Returns the path of the workspace folder used for the DM model. |
java.lang.String |
getDMProperty(java.lang.String pKey)
Returns the value of the specified Design Manager property |
java.lang.String |
getErrorMessage()
Returns error message for last method called. |
java.lang.String |
getExecutableFolder()
getExecutableFolder |
IRPExternalCheckRegistry |
getExternalCheckerRegistry()
get the External Checker registry |
IRPExternalIDERegistry |
getExternalIDERegistry(java.lang.String clientID)
get the External IDE registry |
IRPExternalRoundtripInvoker |
getExternalRoundtripInvoker()
getExternalRoundtripInvoker |
java.lang.String |
getIniFileParameterValue(java.lang.String sectionName,
java.lang.String paramName)
getIniFileParameterValue |
java.lang.String |
getInterfaceName()
get property interfaceName |
int |
getIsHiddenUI()
get property isHiddenUI |
int |
getIsLoadOnDemand()
get property isLoadOnDemand |
java.lang.String |
getLanguage()
get property Language |
IRPCollection |
getListOfFactoryProperties()
get list of factory properties |
IRPCollection |
getListOfSelectedElements()
get list of selected elements |
IRPCollection |
getListOfSiteProperties()
get list of site properties |
java.lang.String |
getLocaleName()
Returns the locale for the version of Rhapsody running. |
IRPModelElement |
getModelElementFromSource(java.lang.String sourceData,
int isSourceDataIsfileName,
int lineNumber)
Find model element from source code |
java.lang.String |
getOMROOT()
get property OMROOT |
java.lang.String |
getOutputWindowText()
Returns the text displayed in the output window. |
IRPowPaneMgr |
getOWPaneMgr(java.lang.String clientID)
For internal use only. |
IRPPlugInWindow |
getPlugInWindow(int nPlugInID,
int nWindowID,
int nCreateNew)
PlugIn window factory |
IRPCollection |
getProjects()
get property projects |
long |
getRhapsodyHandleErrorFunction()
getRhapsodyHandleErrorFunction |
long |
getRhapsodyHandleErrorFunctionLong()
getRhapsodyHandleErrorFunctionLong |
IRPSearchManager |
getSearchManager()
get Rhapsody search manager |
IRPModelElement |
getSelectedElement()
get selected element |
IRPCollection |
getSelectedGraphElements()
get selected graph elements |
IRPSelection |
getSelection()
Get Selection Interface |
java.lang.String |
getSerialNo()
get property SerialNo |
IRPCodeGenerator |
getTheCodeGeneratorInterface()
get codegeneration interface |
IRPExternalCodeGeneratorInvoker |
getTheExternalCodeGeneratorInvoker()
get external code generator invoker |
IRPIntegrator |
getTheIntegratorInterface()
get integrator interface |
IRPJavaPlugins |
getTheJavaPluginsInterface()
getTheJavaPluginsInterface |
IRPRoundTrip |
getTheRoundtripInterface()
get roundtrip interface |
java.lang.String |
getToolSet()
get property ToolSet |
void |
highlightByHandle(java.lang.String strHandle)
highlight by handle |
void |
highLightElement(IRPModelElement val)
highlight element |
void |
importClasses()
import Classes |
void |
importSyncSimulinkBlock2(IRPModelElement simulinkBlock,
java.lang.String matlabExePath,
java.lang.String simMdlFile,
java.lang.String simSrcFiles,
java.lang.String sampleTime)
Imports a Simulink model into a Rhapsody model. |
void |
importTlb(java.lang.String pPath)
import tlb |
IRPProject |
insertProject(java.lang.String filename)
Insert existing project into current workspace |
IRPProject |
insertProjectFromDesignManager(java.lang.String userName,
java.lang.String passwd,
java.lang.String serverURL,
java.lang.String projectAreaName,
java.lang.String streamName,
java.lang.String modelName)
insertProjectFromDesignManager |
void |
invokePluginsMethod(java.lang.String methodName)
invoke Plugins Method |
void |
invokeRPE()
Opens the IBM Rational Rhapsody Report Generator wizard. |
int |
isRhapsodyCL()
Is RhapsodyCL |
int |
isRhapsodyFileType(java.lang.String extension)
Check if specified extension corresponds to any Rhapsody unit type |
int |
loginToDesignManagerWithAlias(java.lang.String serverURL,
java.lang.String alias)
loginToDesignManagerWithAlias |
int |
loginToDesignManagerWithCertificate(java.lang.String serverURL,
java.lang.String certificateLocation,
java.lang.String password)
loginToDesignManagerWithCertificate |
int |
loginToDesignManagerWithUsername(java.lang.String serverURL,
java.lang.String userName,
java.lang.String password)
loginToDesignManagerWithUsername |
void |
make()
make |
void |
mergeElements(IRPModelElement left,
IRPModelElement right)
mergeElements |
IRPProject |
newProjectOnDesignManager(java.lang.String userName,
java.lang.String password,
java.lang.String serverURL,
java.lang.String projectAreaName,
java.lang.String streamName,
java.lang.String modelName)
Creates a new project on the Design Manager server. |
void |
notifyFileChanged(java.lang.String filename,
int contentChanged)
File change notification |
IRPAXViewCtrl |
openActiveXView(java.lang.String viewType,
IRPCollection pViewInitialization,
IRPCollection pExtra)
Open ActivexView |
void |
openAdvancedSearchAndReplaceDialog()
Open Advanced Search and Replace dialog |
IRPAXViewCtrl |
openDiagramView(IRPDiagram diagram)
method OpenDiagramView |
void |
openFileList(java.lang.String filename)
method openFileList |
IRPProject |
openProject(java.lang.String filename)
Opens an existing Rhapsody project |
IRPProject |
openProjectFromDesignManager(java.lang.String userName,
java.lang.String password,
java.lang.String serverURL,
java.lang.String projectAreaName,
java.lang.String streamName,
java.lang.String modelName)
openProjectFromDesignManager |
IRPProject |
openProjectFromDesignManagerAfterLogin(java.lang.String serverURL,
java.lang.String projectAreaName,
java.lang.String streamName,
java.lang.String modelName)
openProjectFromDesignManagerAfterLogin |
void |
openProjectFromURL(java.lang.String purl)
open Project From URL |
IRPProject |
openProjectWithLastSession(java.lang.String filename)
open project with last session |
IRPProject |
openProjectWithoutSubUnits(java.lang.String filename)
open project without subunits |
void |
quit()
quit application |
void |
rebuild()
rebuild |
void |
rebuildEntireProject()
rebuildEntireProject |
void |
rebuildWithDependencies()
rebuildWithDependencies |
int |
redo()
Perform Redo |
void |
refactorSelectedOperation(java.lang.String newName)
Changes the name of the currently-selected operation and updates any references to the operation accordingly. |
void |
refreshAllViews()
refresh all views |
void |
regenerate()
regenerate |
void |
regenerateElements(IRPCollection elements)
method regenerateElements |
void |
regenerateEntireProject()
regenerateEntireProject |
void |
regenerateWithDependencies()
regenerateWithDependencies |
void |
registerCOMClient(int processID,
java.lang.String clientFilename,
int magicNumber)
register COM client |
void |
report(java.lang.String format,
java.lang.String outputFileName)
report |
void |
rhpCheckinLicense(java.lang.String feature)
checkin license |
java.lang.String |
rhpCheckoutLicense(java.lang.String feature)
checkout license |
void |
roundtrip()
roundtrip |
void |
roundtripElements(IRPCollection elements)
method roundtripElements |
void |
runApplication()
Runs the application that was built for the project |
void |
runHelper(java.lang.String helperName)
runHelper |
void |
runHelperWithParameters(java.lang.String helperName,
java.lang.String params)
runHelperWithParameters |
void |
saveAll()
method saveAll |
void |
selectGraphElements(IRPCollection graphElements)
Selects multiple elements in the most recently opened diagram. |
void |
selectModelElements(IRPCollection modelElements)
Selects multiple items in the model browser. |
void |
setApplicationStatus(int nStatus)
setApplicationStatus |
void |
setComponent(java.lang.String component)
set Component |
void |
setConfiguration(java.lang.String configuration)
set Configuration |
void |
setDMBoolProperty(java.lang.String pKey,
int val)
Sets the value of the specified boolean Design Manager property |
void |
setDMProperty(java.lang.String pKey,
java.lang.String val)
Sets the value of the specified Design Manager property |
void |
setHiddenUI(boolean pVal)
set property hiddenUI |
void |
setIsLoadOnDemand(int isLoadOnDemand)
set property isLoadOnDemand |
void |
setLanguage(java.lang.String language)
set property Language |
void |
setLog(java.lang.String logFile)
set log file |
void |
setToolSet(java.lang.String toolSet)
set property ToolSet |
void |
setUpdateRecentFileList(int shouldUpdate)
setUpdateRecentFileList |
void |
startUndoTransaction()
start undo transaction |
void |
syncBuild()
syncBuild |
void |
terminateApplication()
Terminate the Application |
int |
undo()
Perform Undo |
void |
unloadFromTarget()
unloadFromTarget |
void |
unregisterCOMClient(int processID,
java.lang.String clientFilename,
int magicNumber)
unregister COM client |
java.lang.String |
version()
Get Rhapsody version |
java.lang.String |
versionNumberLong()
Get Rhapsody versionNumberLong |
void |
writeToOutputWindow(java.lang.String title,
java.lang.String outputStr)
Writes text to Rhapsody's Output window. |
Method Detail |
---|
void executeCommand(java.lang.String commandType, IRPCollection pCommandInitialization, IRPCollection pCommandResult)
RhapsodyRuntimeException
IRPPlugInWindow getPlugInWindow(int nPlugInID, int nWindowID, int nCreateNew)
RhapsodyRuntimeException
IRPAXViewCtrl openActiveXView(java.lang.String viewType, IRPCollection pViewInitialization, IRPCollection pExtra)
RhapsodyRuntimeException
IRPAXViewCtrl openDiagramView(IRPDiagram diagram)
RhapsodyRuntimeException
void rhpCheckinLicense(java.lang.String feature)
RhapsodyRuntimeException
java.lang.String rhpCheckoutLicense(java.lang.String feature)
RhapsodyRuntimeException
IRPProject activeProject()
IRPUnit addProfileToModel(java.lang.String profileName)
RhapsodyRuntimeException
void addSelectedToFavorites()
void addToModel(java.lang.String filename, int withDescendant)
RhapsodyRuntimeException
void addToModelByReference(java.lang.String filename)
RhapsodyRuntimeException
void addToModelEx(java.lang.String filename, int addToModelMode, int addSubUnits, int addDependents)
filename
- the full path to the file to add to the modeladdToModelMode
- how the unit should be added to the model - see IRPApplication.AddToModel_Mode
for the available valuesaddSubUnits
- use 1 if you want to also add the sub-units of the unit, 0 otherwise (this parameter is ignored if the addToModelMode parameter equals IRPApplication.AddToModel_Mode.AS_UNIT_WITHOUT_COPY)addDependents
- use 1 if you want to also add the units that elements in the specified unit are dependent upon, 0 otherwise (this parameter is ignored if the addToModelMode parameter equals IRPApplication.AddToModel_Mode.AS_UNIT_WITHOUT_COPY)void addToModelFromURL(java.lang.String purl)
RhapsodyRuntimeException
void allowBrowserRefresh(int shouldRefresh)
RhapsodyRuntimeException
void allowGERefresh(int shouldRefresh)
RhapsodyRuntimeException
void applyNewTermsProfile(java.lang.String profileName)
RhapsodyRuntimeException
void arcCheckOut(java.lang.String filename, java.lang.String label, int isLocked, int isRecursive)
RhapsodyRuntimeException
void bringWindowToTop()
RhapsodyRuntimeException
void build()
void buildEntireProject()
RhapsodyRuntimeException
void buildWithDependencies()
RhapsodyRuntimeException
int canRedo()
RhapsodyRuntimeException
int canUndo()
RhapsodyRuntimeException
void checkIn(java.lang.String unitName, java.lang.String label, int isLocked, int isRecursive, java.lang.String description)
RhapsodyRuntimeException
void checkModel()
RhapsodyRuntimeException
void checkOut(java.lang.String unitName, java.lang.String label, int isLocked, int isRecursive)
RhapsodyRuntimeException
void clean()
RhapsodyRuntimeException
void clearOutputWindow(java.lang.String title)
RhapsodyRuntimeException
void closeAllAnimatedSequenceDiagrams(int withSave)
RhapsodyRuntimeException
void compareSequenceDiagram(IRPSequenceDiagram leftDiagram, IRPSequenceDiagram rightDiagram)
leftDiagram
- the first diagram to use for the comparisonrightDiagram
- the second diagram to use for the comparisonvoid connectToArchive(java.lang.String archivePath)
RhapsodyRuntimeException
void connectToImportedModel(java.lang.String serverURL, java.lang.String projectAreaName, java.lang.String streamName)
serverURL
- - the URL of the Design Manager serverprojectAreaName
- - the name of the Project Area where the model is locatedstreamName
- the name of the Stream where the model is locatedvoid connectToTarget(java.lang.String targetName)
RhapsodyRuntimeException
int createAndInsertProject(java.lang.String projectLocation, java.lang.String projectName)
RhapsodyRuntimeException
void createDomainFromProfile(IRPProfile profileArg, java.lang.String serverURL)
RhapsodyRuntimeException
IRPCollection createNewCollection()
void createNewProject(java.lang.String projectLocation, java.lang.String projectName)
projectLocation
- the directory where the project should be saved, for example, "l:\\temp\\_sample_code"projectName
- the name to use for the project. This will be the name used for the .rpy file.void dMRefreshRecursive(IRPUnit pUnit)
RhapsodyRuntimeException
void dMSyncAndRefresh(IRPProject projectArg, int sync, int refresh)
RhapsodyRuntimeException
void dbgCheckComIn(short i)
RhapsodyRuntimeException
short dbgCheckComOut()
RhapsodyRuntimeException
void deferredAddToModel(java.lang.String filename, int withDescendants, java.lang.String origPrjId, int eraseDir)
RhapsodyRuntimeException
int deleteProjectFromList(java.lang.String projectName)
RhapsodyRuntimeException
void disconnectFromTarget()
RhapsodyRuntimeException
void downloadToTarget(java.lang.String filename)
RhapsodyRuntimeException
void endUndoTransaction()
RhapsodyRuntimeException
void enterAnimationCommand(java.lang.String command)
RhapsodyRuntimeException
java.lang.String errorMessage()
int executeCommandLine(java.lang.String commandLine)
RhapsodyRuntimeException
void executeTransformationSequence(java.lang.String transformationSequence, int showTransformedModelPackage)
RhapsodyRuntimeException
java.lang.String expandStringKeywords(java.lang.String theString)
RhapsodyRuntimeException
java.lang.String fixpack()
RhapsodyRuntimeException
void forceOutput2Console(int val)
RhapsodyRuntimeException
void forceRoundtrip()
RhapsodyRuntimeException
void forceRoundtripElements(IRPCollection elements)
RhapsodyRuntimeException
void generate()
void generateElements(IRPCollection elements)
RhapsodyRuntimeException
void generateEntireProject()
RhapsodyRuntimeException
void generateMainAndMakeFiles()
RhapsodyRuntimeException
void generateWithDependencies()
RhapsodyRuntimeException
java.lang.String getApplicationConnectionString()
RhapsodyRuntimeException
void getApplicationName(java.lang.String applicationName, java.lang.String productRCPName)
RhapsodyRuntimeException
int getApplicationStatus()
RhapsodyRuntimeException
java.lang.String getBuildNo()
RhapsodyRuntimeException
IRPCodeGenSimplifiersRegistry getCodeGenSimplifiersRegistry()
RhapsodyRuntimeException
int getDMBoolProperty(java.lang.String pKey)
pKey
- the name of the boolean property whose value should be returned
java.lang.String getDMModelWorkspaceFolder()
java.lang.String getDMProperty(java.lang.String pKey)
pKey
- the name of the property whose value should be returned
IRPDiagSynthAPI getDiagSynthAPI(java.lang.String clientName)
RhapsodyRuntimeException
IRPDiagram getDiagramOfSelectedElement()
RhapsodyRuntimeException
java.lang.String getErrorMessage()
java.lang.String getExecutableFolder()
RhapsodyRuntimeException
IRPExternalCheckRegistry getExternalCheckerRegistry()
RhapsodyRuntimeException
IRPExternalIDERegistry getExternalIDERegistry(java.lang.String clientID)
RhapsodyRuntimeException
IRPExternalRoundtripInvoker getExternalRoundtripInvoker()
RhapsodyRuntimeException
java.lang.String getIniFileParameterValue(java.lang.String sectionName, java.lang.String paramName)
RhapsodyRuntimeException
java.lang.String getInterfaceName()
RhapsodyRuntimeException
int getIsHiddenUI()
RhapsodyRuntimeException
int getIsLoadOnDemand()
RhapsodyRuntimeException
java.lang.String getLanguage()
RhapsodyRuntimeException
IRPCollection getListOfFactoryProperties()
RhapsodyRuntimeException
IRPCollection getListOfSelectedElements()
RhapsodyRuntimeException
IRPCollection getListOfSiteProperties()
RhapsodyRuntimeException
java.lang.String getLocaleName()
IRPModelElement getModelElementFromSource(java.lang.String sourceData, int isSourceDataIsfileName, int lineNumber)
RhapsodyRuntimeException
java.lang.String getOMROOT()
RhapsodyRuntimeException
IRPowPaneMgr getOWPaneMgr(java.lang.String clientID)
java.lang.String getOutputWindowText()
IRPCollection getProjects()
RhapsodyRuntimeException
long getRhapsodyHandleErrorFunction()
RhapsodyRuntimeException
long getRhapsodyHandleErrorFunctionLong()
RhapsodyRuntimeException
IRPSearchManager getSearchManager()
RhapsodyRuntimeException
IRPModelElement getSelectedElement()
RhapsodyRuntimeException
IRPCollection getSelectedGraphElements()
RhapsodyRuntimeException
IRPSelection getSelection()
RhapsodyRuntimeException
java.lang.String getSerialNo()
RhapsodyRuntimeException
IRPCodeGenerator getTheCodeGeneratorInterface()
RhapsodyRuntimeException
IRPExternalCodeGeneratorInvoker getTheExternalCodeGeneratorInvoker()
RhapsodyRuntimeException
IRPIntegrator getTheIntegratorInterface()
RhapsodyRuntimeException
IRPJavaPlugins getTheJavaPluginsInterface()
RhapsodyRuntimeException
IRPRoundTrip getTheRoundtripInterface()
RhapsodyRuntimeException
java.lang.String getToolSet()
RhapsodyRuntimeException
void highLightElement(IRPModelElement val)
RhapsodyRuntimeException
void highlightByHandle(java.lang.String strHandle)
RhapsodyRuntimeException
void importClasses()
RhapsodyRuntimeException
void importSyncSimulinkBlock2(IRPModelElement simulinkBlock, java.lang.String matlabExePath, java.lang.String simMdlFile, java.lang.String simSrcFiles, java.lang.String sampleTime)
simulinkBlock
- the SimulinkBlock element that you created in your model (Object with SimulinkBlock stereotype applied to it)matlabExePath
- the full path to the Matlab executablesimMdlFile
- the full path to the Simulink model filesimSrcFiles
- the full path for each of the .cpp files generated for the Simulink model (except for ert_main.cpp). If there is one then more source file, the paths should be separated by a semi-colon.sampleTime
- the interval (in milliseconds) at which Rational Rhapsody should activate the Simulink enginevoid importTlb(java.lang.String pPath)
RhapsodyRuntimeException
IRPProject insertProject(java.lang.String filename)
RhapsodyRuntimeException
IRPProject insertProjectFromDesignManager(java.lang.String userName, java.lang.String passwd, java.lang.String serverURL, java.lang.String projectAreaName, java.lang.String streamName, java.lang.String modelName)
RhapsodyRuntimeException
void invokePluginsMethod(java.lang.String methodName)
RhapsodyRuntimeException
void invokeRPE()
int isRhapsodyCL()
RhapsodyRuntimeException
int isRhapsodyFileType(java.lang.String extension)
RhapsodyRuntimeException
int loginToDesignManagerWithAlias(java.lang.String serverURL, java.lang.String alias)
RhapsodyRuntimeException
int loginToDesignManagerWithCertificate(java.lang.String serverURL, java.lang.String certificateLocation, java.lang.String password)
RhapsodyRuntimeException
int loginToDesignManagerWithUsername(java.lang.String serverURL, java.lang.String userName, java.lang.String password)
RhapsodyRuntimeException
void make()
RhapsodyRuntimeException
void mergeElements(IRPModelElement left, IRPModelElement right)
RhapsodyRuntimeException
IRPProject newProjectOnDesignManager(java.lang.String userName, java.lang.String password, java.lang.String serverURL, java.lang.String projectAreaName, java.lang.String streamName, java.lang.String modelName)
userName
- the username to use to log in to the DM serverpassword
- the password to use to log in to the DM serverserverURL
- the URL of the DM serverprojectAreaName
- the project area where the project should be createdstreamName
- the stream in which the project should be createdmodelName
- the name to use for the project
void notifyFileChanged(java.lang.String filename, int contentChanged)
RhapsodyRuntimeException
void openAdvancedSearchAndReplaceDialog()
RhapsodyRuntimeException
void openFileList(java.lang.String filename)
RhapsodyRuntimeException
IRPProject openProject(java.lang.String filename)
filename
- the name of the .rpy file, including the full path, for example, "l:\\temp\\_sample_code\\Class_Tricks.rpy"
IRPProject openProjectFromDesignManager(java.lang.String userName, java.lang.String password, java.lang.String serverURL, java.lang.String projectAreaName, java.lang.String streamName, java.lang.String modelName)
RhapsodyRuntimeException
IRPProject openProjectFromDesignManagerAfterLogin(java.lang.String serverURL, java.lang.String projectAreaName, java.lang.String streamName, java.lang.String modelName)
RhapsodyRuntimeException
void openProjectFromURL(java.lang.String purl)
RhapsodyRuntimeException
IRPProject openProjectWithLastSession(java.lang.String filename)
RhapsodyRuntimeException
IRPProject openProjectWithoutSubUnits(java.lang.String filename)
RhapsodyRuntimeException
void quit()
RhapsodyRuntimeException
void rebuild()
RhapsodyRuntimeException
void rebuildEntireProject()
RhapsodyRuntimeException
void rebuildWithDependencies()
RhapsodyRuntimeException
int redo()
RhapsodyRuntimeException
void refactorSelectedOperation(java.lang.String newName)
newName
- the new name to use for the operationvoid refreshAllViews()
RhapsodyRuntimeException
void regenerate()
RhapsodyRuntimeException
void regenerateElements(IRPCollection elements)
RhapsodyRuntimeException
void regenerateEntireProject()
RhapsodyRuntimeException
void regenerateWithDependencies()
RhapsodyRuntimeException
void registerCOMClient(int processID, java.lang.String clientFilename, int magicNumber)
RhapsodyRuntimeException
void report(java.lang.String format, java.lang.String outputFileName)
RhapsodyRuntimeException
void roundtrip()
RhapsodyRuntimeException
void roundtripElements(IRPCollection elements)
RhapsodyRuntimeException
void runApplication()
void runHelper(java.lang.String helperName)
RhapsodyRuntimeException
void runHelperWithParameters(java.lang.String helperName, java.lang.String params)
RhapsodyRuntimeException
void saveAll()
RhapsodyRuntimeException
void selectGraphElements(IRPCollection graphElements)
graphElements
- collection of the graphical elements that should be selectedvoid selectModelElements(IRPCollection modelElements)
modelElements
- collection of the model elements that should be selectedvoid setApplicationStatus(int nStatus)
RhapsodyRuntimeException
void setComponent(java.lang.String component)
RhapsodyRuntimeException
void setConfiguration(java.lang.String configuration)
RhapsodyRuntimeException
void setDMBoolProperty(java.lang.String pKey, int val)
pKey
- the name of the boolean property whose value should be setval
- the value to use for the property - use 0 for False, 1 for Truevoid setDMProperty(java.lang.String pKey, java.lang.String val)
pKey
- the name of the property whose value should be setval
- the value to use for the propertyvoid setHiddenUI(boolean pVal)
RhapsodyRuntimeException
void setIsLoadOnDemand(int isLoadOnDemand)
RhapsodyRuntimeException
void setLanguage(java.lang.String language)
RhapsodyRuntimeException
void setLog(java.lang.String logFile)
RhapsodyRuntimeException
void setToolSet(java.lang.String toolSet)
RhapsodyRuntimeException
void setUpdateRecentFileList(int shouldUpdate)
RhapsodyRuntimeException
void startUndoTransaction()
RhapsodyRuntimeException
void syncBuild()
RhapsodyRuntimeException
void terminateApplication()
RhapsodyRuntimeException
int undo()
RhapsodyRuntimeException
void unloadFromTarget()
RhapsodyRuntimeException
void unregisterCOMClient(int processID, java.lang.String clientFilename, int magicNumber)
RhapsodyRuntimeException
java.lang.String version()
RhapsodyRuntimeException
java.lang.String versionNumberLong()
RhapsodyRuntimeException
void writeToOutputWindow(java.lang.String title, java.lang.String outputStr)
title
- the name of the tab to which the text should be written. The possible values are Log, Build, Configuration Management, Animation.outputStr
- the text to display in the Output window
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |