Package OpenCAGE.Layout_Masters.Models

Contains the model for the layout master: a list of layout factories.

Class Layout_Master_Model

A model that holds information about layouts.

Attributes

private OpenCAGE.Layout_Masters.Models.Layouts_Lists.List Layout_Factories 

all available layout factories

private OpenCAGE.Layout_Masters.Models.Layout_Master_Model_Observers_Lists.List Observers 

The observers that are attached to this model.

Operations

public Attach( OpenCAGE.Layout_Masters.Models.Layout_Master_Model_Observer Observer);

Attach the given observer to the list.

public Detach( OpenCAGE.Layout_Masters.Models.Layout_Master_Model_Observer Observer);

Remove the given observer from the list.

private Notify( OpenCAGE.Layout_Masters.Models.Layout_Master_Model_Message Message, OpenCAGE.Layouts.Factories.Factory L);

Notify all attached observers that something has changed

public Add_Layout_Factory( OpenCAGE.Layouts.Factories.Factory L);

Add the given layout factory to the model

public Remove_Layout_Factory( OpenCAGE.Layouts.Factories.Factory L);

Remove the given layout factory.

Class Layout_Master_Model_Message

the message that is given to layout master model observers

Class Layout_Master_Model_Observer

An observer that can be attached to the Layout_Master_Model.

Attributes

private OpenCAGE.Layout_Masters.Models.Layout_Master_Model LMM 

The observed Layout_Master_Model.

Operations

public Changed( OpenCAGE.Layout_Masters.Models.Layout_Master_Model_Message Message, OpenCAGE.Layouts.Factories.Factory L);

Is called by the observed Window_Master_Model when something has changed