|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.emfstore.internal.client.ui.dialogs.merge.util.UIDecisionUtil
public final class UIDecisionUtil
Class offering common methods for the merge dialog.
Method Summary | |
---|---|
static String |
cutString(String str,
int length,
boolean addPoints)
Cuts a text to certain length and adds "..." at the end if needed. |
static org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider |
getAdapterFactory()
Returns a label provider. |
static ChangePackageVisualizationHelper |
getChangePackageVisualizationHelper(DecisionManager decisionManager)
Returns the visualizationhelper. |
static org.eclipse.jface.resource.FontRegistry |
getFontRegistry()
Returns FontRegistry. |
static org.eclipse.swt.graphics.Image |
getImage(String path)
Fetches image by path. |
static org.eclipse.jface.resource.ImageDescriptor |
getImageDescriptor(String path)
Fetches image descriptor by path. |
static String |
stripNewLine(String text)
Strips line breaking characters from text. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static org.eclipse.swt.graphics.Image getImage(String path)
path
- path
public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(String path)
path
- path
ImageDescriptor
public static String cutString(String str, int length, boolean addPoints)
str
- textlength
- lengthaddPoints
- true, if ending dotts
public static String stripNewLine(String text)
text
- text
public static org.eclipse.jface.resource.FontRegistry getFontRegistry()
public static ChangePackageVisualizationHelper getChangePackageVisualizationHelper(DecisionManager decisionManager)
decisionManager
- instance of the decisionManager
public static org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider getAdapterFactory()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |