setDefaultProject(ElementInfo elementInfo) Sets the default Describe project to the project that owns the Describe
model element specified by the given ElementInfo, and calls the IDE
manager to activate the appropriate IDE project.
Sets the default Describe project to the project that owns the Describe
model element specified by the given ElementInfo, and calls the IDE
manager to activate the appropriate IDE project. The IDE manager may
choose to veto the roundtrip event here.
Parameters: elementInfo - The ElementInfo that we're firing an event for.
public static void setEventsBlocked(boolean blocked)(Code)
setProjectSwitchingEnabled
public static void setProjectSwitchingEnabled(boolean enabled)(Code)
Sets whether switching of the default project during roundtrip is
enabled. If enabled, before each model-source event, the default project
will be set to the project where changes to the model have occurred.
Parameters: enabled - true to turn on default project switching.Default project switching is disabled by default.