Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


oracle.javatools.compare
Class CompareViewFactory

java.lang.Object
  extended by oracle.javatools.compare.CompareViewFactory


public final class CompareViewFactory
extends java.lang.Object

Factory that can be used to obtain a compare view from a model without knowing specifically which viewer is being used.

Since:
10.0.3

Method Summary
static CompareView createCompareView(CompareModel model)
          Create a compare view suitable for displaying the specified model.
static CompareView createCompareView(CompareModel model, CompareViewBias bias)
          Create a compare view suitable for displaying the specified model.
static CompareView createMergeView(CompareModel model)
          Create a merge view suitable for displaying the specified model.
static CompareView createView(CompareModel model, CompareMode mode, java.lang.Class<? extends CompareView> viewClass)
          Create a view suitable for displaying the specified model.
static void registerCompareView(CompareType type, java.lang.Class<? extends CompareView> viewClass)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

registerCompareView

public static final void registerCompareView(CompareType type,
                                             java.lang.Class<? extends CompareView> viewClass)

createCompareView

public static CompareView createCompareView(CompareModel model)
Create a compare view suitable for displaying the specified model. The actual view used could depend on user preferences.
Parameters:
model - the model to display.
Returns:
a compare view for displaying the model.

createCompareView

public static CompareView createCompareView(CompareModel model,
                                            CompareViewBias bias)
Create a compare view suitable for displaying the specified model. The actual view used could depend on user preferences.
Parameters:
model - the model to display.
bias - the bias of the view.
Returns:
a compare view for displaying the model with the given bias.

createMergeView

public static CompareView createMergeView(CompareModel model)
Create a merge view suitable for displaying the specified model. The actual view used could depend on user preferences.
Parameters:
model - the model to display.
Returns:
a merge view for displaying the model.

createView

public static CompareView createView(CompareModel model,
                                     CompareMode mode,
                                     java.lang.Class<? extends CompareView> viewClass)
Create a view suitable for displaying the specified model. The actual view used could depend on user preferences.
Parameters:
model - the model to display.
mode - the mode of the view to create.
viewClass - the class of the view to instantiate.
Returns:
a view for displaying the model.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


Copyright © 1997, 2011, Oracle. All rights reserved.