本文整理汇总了Java中org.eclipse.jface.resource.JFaceResources.getBannerFont方法的典型用法代码示例。如果您正苦于以下问题:Java JFaceResources.getBannerFont方法的具体用法?Java JFaceResources.getBannerFont怎么用?Java JFaceResources.getBannerFont使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.eclipse.jface.resource.JFaceResources
的用法示例。
在下文中一共展示了JFaceResources.getBannerFont方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: DictionaryEditorDialog
import org.eclipse.jface.resource.JFaceResources; //导入方法依赖的package包/类
/***************************************************************************
* Constructor
*
* @param shell
* The parent shell
**************************************************************************/
public DictionaryEditorDialog(Shell shell, IProcedure model, String containerName, boolean canMergeFiles ) throws ContextError
{
super(shell);
// Obtain the image for the dialog icon
ImageDescriptor descr = Activator.getImageDescriptor("icons/dlg_exec.png");
m_image = descr.createImage();
m_font = JFaceResources.getBannerFont();
m_procId = model.getProcId();
m_dictionaryName = containerName;
m_canMergeFiles = canMergeFiles;
m_varTable = null;
m_fileTable = null;
m_readOnly = (!model.getRuntimeInformation().getClientMode().equals(ClientMode.CONTROL));
if (m_readOnly) m_canMergeFiles = false;
loadData(false);
m_fileContainer = new DataContainer(model.getProcId(), "");
}
示例2: InputFileViewerDialog
import org.eclipse.jface.resource.JFaceResources; //导入方法依赖的package包/类
/***************************************************************************
* Constructor
*
* @param shell
* The parent shell
**************************************************************************/
public InputFileViewerDialog(Shell shell)
{
super(shell);
// Obtain the image for the dialog icon
ImageDescriptor descr = Activator.getImageDescriptor("icons/dlg_exec.png");
m_image = descr.createImage();
m_font = JFaceResources.getBannerFont();
m_container = new DataContainer("<none>", "");
}
示例3: ControlInfoDialog
import org.eclipse.jface.resource.JFaceResources; //导入方法依赖的package包/类
/***************************************************************************
* Constructor
*
* @param shell
* The parent shell
**************************************************************************/
public ControlInfoDialog(Shell shell, IProcedure proc)
{
super(shell);
// Obtain the image for the dialog icon
ImageDescriptor descr = Activator.getImageDescriptor("icons/dlg_exec.png");
m_image = descr.createImage();
m_font = JFaceResources.getBannerFont();
m_proc = proc;
}