@Portable public class DataModelerEvent extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
contextId |
protected DataObject |
currentDataObject |
protected ObjectProperty |
currentField |
protected DataModel |
currentModel |
protected org.guvnor.common.services.project.model.Project |
currentProject |
static String |
DATA_MODEL_BREAD_CRUMB |
static String |
DATA_MODEL_BROWSER |
static String |
DATA_OBJECT_BROWSER |
static String |
DATA_OBJECT_EDITOR |
static String |
DATA_OBJECT_FIELD_EDITOR |
static String |
NEW_DATA_OBJECT_POPUP |
protected String |
source |
| Constructor and Description |
|---|
DataModelerEvent() |
DataModelerEvent(org.guvnor.common.services.project.model.Project currentProject,
DataObject currentDataObject) |
DataModelerEvent(String source,
DataModel currentModel,
DataObject currentDataObject) |
DataModelerEvent(String contextId,
org.guvnor.common.services.project.model.Project currentProject,
DataObject currentDataObject) |
DataModelerEvent(String contextId,
String source,
DataModel currentModel,
DataObject currentDataObject) |
DataModelerEvent(String contextId,
String source,
DataModel currentModel,
DataObject currentDataObject,
ObjectProperty currentField) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContextId() |
DataObject |
getCurrentDataObject() |
ObjectProperty |
getCurrentField() |
DataModel |
getCurrentModel() |
org.guvnor.common.services.project.model.Project |
getCurrentProject() |
String |
getSource() |
boolean |
isFrom(DataModel dataModel) |
boolean |
isFrom(org.guvnor.common.services.project.model.Project project) |
boolean |
isFrom(String source) |
boolean |
isFromContext(String contextId) |
void |
setContextId(String contextId) |
void |
setCurrentDataObject(DataObject currentDataObject) |
void |
setCurrentField(ObjectProperty currentField) |
void |
setCurrentModel(DataModel currentModel) |
void |
setCurrentProject(org.guvnor.common.services.project.model.Project currentProject) |
void |
setSource(String source) |
protected DataModel currentModel
protected DataObject currentDataObject
protected ObjectProperty currentField
protected org.guvnor.common.services.project.model.Project currentProject
protected String source
protected String contextId
public static final String DATA_MODEL_BROWSER
public static final String DATA_MODEL_BREAD_CRUMB
public static final String DATA_OBJECT_BROWSER
public static final String DATA_OBJECT_FIELD_EDITOR
public static final String DATA_OBJECT_EDITOR
public static final String NEW_DATA_OBJECT_POPUP
public DataModelerEvent()
public DataModelerEvent(String contextId, String source, DataModel currentModel, DataObject currentDataObject)
public DataModelerEvent(String source, DataModel currentModel, DataObject currentDataObject)
public DataModelerEvent(String contextId, String source, DataModel currentModel, DataObject currentDataObject, ObjectProperty currentField)
public DataModelerEvent(String contextId, org.guvnor.common.services.project.model.Project currentProject, DataObject currentDataObject)
public DataModelerEvent(org.guvnor.common.services.project.model.Project currentProject,
DataObject currentDataObject)
public DataModel getCurrentModel()
public void setCurrentModel(DataModel currentModel)
public DataObject getCurrentDataObject()
public void setCurrentDataObject(DataObject currentDataObject)
public ObjectProperty getCurrentField()
public void setCurrentField(ObjectProperty currentField)
public String getSource()
public void setSource(String source)
public org.guvnor.common.services.project.model.Project getCurrentProject()
public void setCurrentProject(org.guvnor.common.services.project.model.Project currentProject)
public boolean isFrom(DataModel dataModel)
public boolean isFrom(org.guvnor.common.services.project.model.Project project)
public boolean isFrom(String source)
public boolean isFromContext(String contextId)
public String getContextId()
public void setContextId(String contextId)
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.