Exemplo 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));
 }
Exemplo n.º 2
0
 /** Binds {@link ViewportModel} in adaptable scope of {@link IViewer}. */
 protected void bindViewportModel() {
   binder().bind(ViewportModel.class).in(AdaptableScopes.typed(IViewer.class));
 }
Exemplo 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));
 }