org.eclipse.emf.emfstore.internal.client.ui.dialogs.merge.ui
Class OptionComponentImpl

java.lang.Object
  extended by org.eclipse.emf.emfstore.internal.client.ui.dialogs.merge.ui.OptionComponentImpl
All Implemented Interfaces:
MergeComponent, OptionComponent

public class OptionComponentImpl
extends Object
implements OptionComponent

This component of the decision box dynamically displays the possible options.

Author:
wesendon

Constructor Summary
OptionComponentImpl()
          Default cosntructor.
 
Method Summary
 void init(org.eclipse.swt.widgets.Composite parent, DecisionBox decisionBox, VisualConflict visualConflict)
          Initializes this component.
 void refreshButtonColor()
          Updates the color of the buttons.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptionComponentImpl

public OptionComponentImpl()
Default cosntructor.

Method Detail

init

public void init(org.eclipse.swt.widgets.Composite parent,
                 DecisionBox decisionBox,
                 VisualConflict visualConflict)
Initializes this component.

Specified by:
init in interface MergeComponent
See Also:
MergeComponent.init(org.eclipse.swt.widgets.Composite, org.eclipse.emf.emfstore.internal.client.ui.dialogs.merge.ui.DecisionBox, org.eclipse.emf.emfstore.internal.client.model.changeTracking.merging.conflict.VisualConflict)

refreshButtonColor

public void refreshButtonColor()
Updates the color of the buttons.

Specified by:
refreshButtonColor in interface OptionComponent


Copyright © 2015. All Rights Reserved.