Class TemporaryModels


  • public class TemporaryModels
    extends Object
    This class is for creating temporary models. This is useful when one wants to write some code for further passing it to IDE instead of storing as source code. Temporary models should not be shown in project tree, find usages dialog, hierarchy view and all other views

    Temporary model is EditableSModel, could be modified, and dispatches change notifications. It's not possible to save temporary model as its data source is void. For the time being, there's a hack that the model doesn't report its changed state EditableSModel.isChanged().