Ejemplo n.º 1
0
 /** Binds {@link IUndoContext} to {@link UndoContext} in adaptable scope of {@link IDomain}. */
 protected void bindIUndoContext() {
   binder()
       .bind(IUndoContext.class)
       .to(UndoContext.class)
       .in(AdaptableScopes.typed(IDomain.class));
 }
Ejemplo n.º 2
0
 /** Binds {@link ViewportModel} in adaptable scope of {@link IViewer}. */
 protected void bindViewportModel() {
   binder().bind(ViewportModel.class).in(AdaptableScopes.typed(IViewer.class));
 }
Ejemplo n.º 3
0
 /**
  * Binds {@link IOperationHistory} to {@link DefaultOperationHistory} in adaptable scope of {@link
  * IDomain}.
  */
 protected void bindIOperationHistory() {
   binder()
       .bind(IOperationHistory.class)
       .to(DefaultOperationHistory.class)
       .in(AdaptableScopes.typed(IDomain.class));
 }