Search in sources :

Example 1 with WholeEditPartFactory

use of org.whole.lang.ui.editparts.WholeEditPartFactory in project whole by wholeplatform.

the class E4GraphicalViewer method initialize.

@PostConstruct
protected void initialize() {
    if (domain == null)
        domain = new EntityEditDomain();
    partFocusListeners = new ArrayList<IPartFocusListener>();
    modelInputListeners = new ArrayList<IModelInputListener>();
    referencedResources = new HashSet<String>();
    createControl2(parent);
    domain.addViewer(this);
    setEditPartFactory(new WholeEditPartFactory());
    setRootEditPart(createRootEditPart());
    configureViewer(domain);
}
Also used : WholeEditPartFactory(org.whole.lang.ui.editparts.WholeEditPartFactory) IPartFocusListener(org.whole.lang.ui.editparts.IPartFocusListener) EntityEditDomain(org.whole.lang.ui.viewers.EntityEditDomain) IModelInputListener(org.whole.lang.ui.input.IModelInputListener) PostConstruct(javax.annotation.PostConstruct)

Aggregations

PostConstruct (javax.annotation.PostConstruct)1 IPartFocusListener (org.whole.lang.ui.editparts.IPartFocusListener)1 WholeEditPartFactory (org.whole.lang.ui.editparts.WholeEditPartFactory)1 IModelInputListener (org.whole.lang.ui.input.IModelInputListener)1 EntityEditDomain (org.whole.lang.ui.viewers.EntityEditDomain)1