Package jadex.bpmn.model
Interface IModelContainer
-
- All Known Implementing Classes:
ModelContainer
public interface IModelContainer
Container for the current model.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addChangeListener(javax.swing.event.ChangeListener listener)
Adds a change listener.java.util.List<ClassInfo>
getAllClasses()
Get all classes.MBpmnModel
getBpmnModel()
Returns the BPMN model.java.lang.String
getEditMode()
Gets the edit mode.java.io.File
getFile()
Gets the model file.java.util.List<ClassInfo>
getInterfaces()
Get the interfaces.java.util.List<java.lang.String>
getParameterNames(java.lang.reflect.Method m)
Get parameter names of a method.java.lang.ClassLoader
getProjectClassLoader()
Gets the project class loader.java.io.File
getProjectClassLoaderRoot()
Returns the root for the project class loader.java.io.File
getProjectRoot()
Gets the project root.java.util.Map<java.lang.String,TaskMetaInfo>
getProjectTaskMetaInfos()
Get the project task meta infos.javax.swing.JPanel
getPropertypanelcontainer()
Gets the property panel container.java.lang.String
getReturnValueName(java.lang.reflect.Method m)
Get the return value name.java.util.List<ClassInfo>
getTaskClasses()
Get the taskclasses.boolean
isDirty()
Tests if the state is dirty.void
removeChangeListener(javax.swing.event.ChangeListener listener)
void
setDirty(boolean dirty)
Sets the dirty model state.
-
-
-
Method Detail
-
getTaskClasses
java.util.List<ClassInfo> getTaskClasses()
Get the taskclasses.- Returns:
- The taskclasses.
-
getInterfaces
java.util.List<ClassInfo> getInterfaces()
Get the interfaces.- Returns:
- The interfaces.
-
getAllClasses
java.util.List<ClassInfo> getAllClasses()
Get all classes.- Returns:
- all classes.
-
getBpmnModel
MBpmnModel getBpmnModel()
Returns the BPMN model.- Returns:
- BPMN model.
-
setDirty
void setDirty(boolean dirty)
Sets the dirty model state.- Parameters:
dirty
- The dirty state.
-
isDirty
boolean isDirty()
Tests if the state is dirty.- Returns:
- True, if dirty.
-
getProjectRoot
java.io.File getProjectRoot()
Gets the project root.- Returns:
- The project root.
-
getProjectClassLoaderRoot
java.io.File getProjectClassLoaderRoot()
Returns the root for the project class loader.- Returns:
- The root of the project class loader.
-
getFile
java.io.File getFile()
Gets the model file.- Returns:
- The model file.
-
getProjectClassLoader
java.lang.ClassLoader getProjectClassLoader()
Gets the project class loader.- Returns:
- The project class loader.
-
getProjectTaskMetaInfos
java.util.Map<java.lang.String,TaskMetaInfo> getProjectTaskMetaInfos()
Get the project task meta infos.- Returns:
- The meta infos.
-
getEditMode
java.lang.String getEditMode()
Gets the edit mode.- Returns:
- The edit mode.
-
getPropertypanelcontainer
javax.swing.JPanel getPropertypanelcontainer()
Gets the property panel container.- Returns:
- The property panel container.
-
addChangeListener
void addChangeListener(javax.swing.event.ChangeListener listener)
Adds a change listener. Currently only reports dirty events.- Parameters:
listener
- The listener.
-
removeChangeListener
void removeChangeListener(javax.swing.event.ChangeListener listener)
- Parameters:
listener
-
-
getParameterNames
java.util.List<java.lang.String> getParameterNames(java.lang.reflect.Method m)
Get parameter names of a method.
-
getReturnValueName
java.lang.String getReturnValueName(java.lang.reflect.Method m)
Get the return value name.
-
-