List of usage examples for org.eclipse.jface.resource ImageDescriptor createFromImage
public static ImageDescriptor createFromImage(Image img)
From source file:org.iviPro.editors.annotationeditor.components.contenteditors.richtext.actions.InsertEditImageAction.java
License:Open Source License
public InsertEditImageAction(HtmlComposer composer) { super("Insert/Edit Image", IAction.AS_PUSH_BUTTON, composer); //$NON-NLS-1$ setImageDescriptor(ImageDescriptor .createFromImage((Image) images.get(ActionImages.ActionImage_InsertEditImageAction))); }
From source file:org.iviPro.editors.annotationeditor.components.contenteditors.richtext.actions.InsertEditLinkAction.java
License:Open Source License
public InsertEditLinkAction(HtmlComposer composer) { super("Insert/Edit Link", IAction.AS_PUSH_BUTTON, composer); //$NON-NLS-1$ setImageDescriptor(/* w w w . j a v a 2 s.c o m*/ ImageDescriptor.createFromImage((Image) images.get(ActionImages.ActionImage_InsertEditLinkAction))); }
From source file:org.iviPro.editors.annotationeditor.components.contenteditors.richtext.actions.InsertEditTableAction.java
License:Open Source License
public InsertEditTableAction(HtmlComposer composer) { super("Insert/Edit Image", IAction.AS_PUSH_BUTTON, composer); //$NON-NLS-1$ setImageDescriptor(ImageDescriptor .createFromImage((Image) images.get(ActionImages.ActionImage_InsertEditTableAction))); }
From source file:org.iviPro.editors.annotationeditor.components.contenteditors.richtext.actions.InsertHrAction.java
License:Open Source License
public InsertHrAction(HtmlComposer composer) { super("Insert horizontal rule", IAction.AS_PUSH_BUTTON, composer); //$NON-NLS-1$ setImageDescriptor(// ww w. j ava 2 s. c o m ImageDescriptor.createFromImage((Image) images.get(ActionImages.ActionImage_InsertHrAction))); }
From source file:org.iviPro.editors.annotationeditor.components.contenteditors.richtext.actions.ItalicAction.java
License:Open Source License
public ItalicAction(HtmlComposer composer) { super("Italic", IAction.AS_CHECK_BOX, composer); //$NON-NLS-1$ setImageDescriptor(// ww w.j a v a 2s. c o m ImageDescriptor.createFromImage((Image) images.get(ActionImages.ActionImage_ItalicAction))); }
From source file:org.iviPro.editors.annotationeditor.components.contenteditors.richtext.actions.JustifyBlockAction.java
License:Open Source License
public JustifyBlockAction(HtmlComposer composer) { super("Justifiy block", IAction.AS_CHECK_BOX, composer); //$NON-NLS-1$ setImageDescriptor(/*from w ww . j av a 2 s. co m*/ ImageDescriptor.createFromImage((Image) images.get(ActionImages.ActionImage_JustifyBlockAction))); }
From source file:org.iviPro.editors.annotationeditor.components.contenteditors.richtext.actions.JustifyCenterAction.java
License:Open Source License
public JustifyCenterAction(HtmlComposer composer) { super("Justifiy center", IAction.AS_CHECK_BOX, composer); //$NON-NLS-1$ setImageDescriptor(//from w w w . j a va 2 s. c om ImageDescriptor.createFromImage((Image) images.get(ActionImages.ActionImage_JustifyCenterAction))); }
From source file:org.iviPro.editors.annotationeditor.components.contenteditors.richtext.actions.JustifyLeftAction.java
License:Open Source License
public JustifyLeftAction(HtmlComposer composer) { super("Justifiy left", IAction.AS_CHECK_BOX, composer); //$NON-NLS-1$ setImageDescriptor(//from ww w. j a va2s . c o m ImageDescriptor.createFromImage((Image) images.get(ActionImages.ActionImage_JustifyLeftAction))); }
From source file:org.iviPro.editors.annotationeditor.components.contenteditors.richtext.actions.JustifyRightAction.java
License:Open Source License
public JustifyRightAction(HtmlComposer composer) { super("Justifiy right", IAction.AS_CHECK_BOX, composer); //$NON-NLS-1$ setImageDescriptor(/*from w w w . j a va 2 s .co m*/ ImageDescriptor.createFromImage((Image) images.get(ActionImages.ActionImage_JustifyRightAction))); }
From source file:org.iviPro.editors.annotationeditor.components.contenteditors.richtext.actions.NumlistAction.java
License:Open Source License
public NumlistAction(HtmlComposer composer) { super("Numbered list", IAction.AS_CHECK_BOX, composer); //$NON-NLS-1$ setImageDescriptor(//from w w w . ja v a2s . c om ImageDescriptor.createFromImage((Image) images.get(ActionImages.ActionImage_NumlistAction))); }