本文整理匯總了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;
}