public class ViewModeDescriptor
extends java.lang.Object
Constructor and Description |
---|
ViewModeDescriptor(java.lang.String viewMode,
java.lang.String label,
org.eclipse.swt.graphics.Image icon)
Constructs a new ViewModeDescriptor
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.swt.graphics.Image |
getIcon()
Retrieves the icon to be used in the UI, such as the Tabs of the
CTabFolder
|
java.lang.String |
getLabel()
Retrieves the label to be used in the UI, such as the Tabs of the
CTabFolder
|
java.lang.String |
getViewMode()
Retrieves the view mode
|
public ViewModeDescriptor(java.lang.String viewMode, java.lang.String label, org.eclipse.swt.graphics.Image icon)
viewMode
- typelabel
- to be used in the UI, such as the Tabs of the CTabFoldericon
- to be used in the UI, such as the Tabs of the CTabFolderpublic java.lang.String getViewMode()
public java.lang.String getLabel()
public org.eclipse.swt.graphics.Image getIcon()