Package jadex.bpmn.model
Interface IModelContainer
public interface IModelContainer
Container for the current model.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addChangeListener
(ChangeListener listener) Adds a change listener.List
<jadex.common.ClassInfo> Get all classes.Returns the BPMN model.Gets the edit mode.getFile()
Gets the model file.List
<jadex.common.ClassInfo> Get the interfaces.Get parameter names of a method.Gets the project class loader.Returns the root for the project class loader.Gets the project root.Get the project task meta infos.Gets the property panel container.Get the return value name.List
<jadex.common.ClassInfo> Get the taskclasses.boolean
isDirty()
Tests if the state is dirty.void
removeChangeListener
(ChangeListener listener) void
setDirty
(boolean dirty) Sets the dirty model state.
-
Method Details
-
getTaskClasses
List<jadex.common.ClassInfo> getTaskClasses()Get the taskclasses.- Returns:
- The taskclasses.
-
getInterfaces
List<jadex.common.ClassInfo> getInterfaces()Get the interfaces.- Returns:
- The interfaces.
-
getAllClasses
List<jadex.common.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
File getProjectRoot()Gets the project root.- Returns:
- The project root.
-
getProjectClassLoaderRoot
File getProjectClassLoaderRoot()Returns the root for the project class loader.- Returns:
- The root of the project class loader.
-
getFile
File getFile()Gets the model file.- Returns:
- The model file.
-
getProjectClassLoader
ClassLoader getProjectClassLoader()Gets the project class loader.- Returns:
- The project class loader.
-
getProjectTaskMetaInfos
Map<String,TaskMetaInfo> getProjectTaskMetaInfos()Get the project task meta infos.- Returns:
- The meta infos.
-
getEditMode
String getEditMode()Gets the edit mode.- Returns:
- The edit mode.
-
getPropertypanelcontainer
JPanel getPropertypanelcontainer()Gets the property panel container.- Returns:
- The property panel container.
-
addChangeListener
Adds a change listener. Currently only reports dirty events.- Parameters:
listener
- The listener.
-
removeChangeListener
- Parameters:
listener
-
-
getParameterNames
Get parameter names of a method. -
getReturnValueName
Get the return value name.
-