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