public LayoutPreferenceModel( DockProperties properties ){ super( properties.getController() ); add( tabPlacement = new TabPlacementPreference( properties, new Path( "dock.layout.tabplacement" ))); add( tabContentFilter = new TabContentFilterPreference( properties, new Path( "dock.layout.tabcontentfilter" ))); }
/** * Creates a new model. * @param controller the controller whose preferences this model should * represent * @param combiner how to create preference paths for nested preferences */ public DockingFramesPreference( DockController controller, PathCombiner combiner ){ super( combiner, controller ); putLinked( new Path( "shortcuts" ), "preference.shortcuts", new KeyStrokePreferenceModel( controller.getProperties() ) ); putLinked( new Path( "buttonContent" ), "preference.buttonContent", new ButtonContentPreferenceModel( controller ) ); putLinked( new Path( "layout" ), "preference.layout", new LayoutPreferenceModel( controller.getProperties() )); putLinked( new Path( "theme.BubbleTheme" ), "theme.bubble", new BubbleThemePreferenceModel( controller.getProperties() )); putLinked( new Path( "theme.EclipseTheme" ), "theme.eclipse", new EclipseThemePreferenceModel( controller.getProperties() )); }
public LayoutPreferenceModel( DockProperties properties ){ super( properties.getController() ); add( tabPlacement = new TabPlacementPreference( properties, new Path( "dock.layout.tabplacement" ))); add( tabContentFilter = new TabContentFilterPreference( properties, new Path( "dock.layout.tabcontentfilter" ))); }