489490491492493494495496497498
} public static class TitleBarButtonsInstanceCreator implements InstanceCreator { public Object createComponent(Object... args) { return new DefaultTitleBarButtons( (ToolWindowDescriptor) args[0], (DockedContainer) args[1] ); }
609610611612613614615616617618
public static class TitleBarButtonsInstanceCreator implements ObjectCreator { public Object create(Context context) { return new DefaultTitleBarButtons( context.get(ToolWindowDescriptor.class), context.get(ToolWindowContainer.class) ); }
555556557558559560561562563564
public static class TitleBarButtonsInstanceCreator implements InstanceCreator { public Object createComponent(Object... args) { return new DefaultTitleBarButtons( (ToolWindowDescriptor) args[0], (DockedContainer) args[1] ); }