Class MdExtendedWysiwygHtmlPage
- java.lang.Object
-
- org.eclipse.swt.widgets.Widget
-
- org.eclipse.swt.widgets.Control
-
- org.eclipse.swt.widgets.Scrollable
-
- org.eclipse.swt.widgets.Composite
-
- com._1c.g5.v8.dt.html.ui.editor.WysiwygHtmlPage
-
- com._1c.g5.v8.dt.md.ui.editor.html.MdExtendedWysiwygHtmlPage
-
- All Implemented Interfaces:
IWysiwygHtmlPage
,org.eclipse.swt.graphics.Drawable
public class MdExtendedWysiwygHtmlPage extends WysiwygHtmlPage
Metadata Wysiwyg html page
-
-
Field Summary
Fields Modifier and Type Field Description static String
INSERT_LINK_COMMAND_ID
static String
INSERT_LINK_COMMAND_NAME
static String
INSERT_PICTURE_COMMAND_NAME
-
Fields inherited from class com._1c.g5.v8.dt.html.ui.editor.WysiwygHtmlPage
browser, WYSIWYG_PAGE
-
-
Constructor Summary
Constructors Constructor Description MdExtendedWysiwygHtmlPage(org.eclipse.swt.widgets.Composite parent, Version version, org.eclipse.core.resources.IProject project, IColorProvider colorProvider, IV8ProjectManager projectManager, IMdObjectByTypeProvider objectByTypeProvider, String location, int style)
Create instance of extendedWysiwygHtmlPage
for editing dt helps
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Optional<String>
executeCommandConstructor(String commandName, String... args)
Construct command for execute in wysiwyg page browser-
Methods inherited from class com._1c.g5.v8.dt.html.ui.editor.WysiwygHtmlPage
addWysiwygHtmlChangeListener, createWysiwygCommonCommand, executeCommand, getWysiwygHtmlSelection, restoreSelection, updateHtml, updateSelection
-
Methods inherited from class org.eclipse.swt.widgets.Composite
changed, checkSubclass, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList
-
Methods inherited from class org.eclipse.swt.widgets.Scrollable
computeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBar
-
Methods inherited from class org.eclipse.swt.widgets.Control
addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getTextDirection, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, requestLayout, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setTextDirection, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, update
-
Methods inherited from class org.eclipse.swt.widgets.Widget
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toString
-
-
-
-
Field Detail
-
INSERT_LINK_COMMAND_ID
public static final String INSERT_LINK_COMMAND_ID
- See Also:
- Constant Field Values
-
INSERT_LINK_COMMAND_NAME
public static final String INSERT_LINK_COMMAND_NAME
- See Also:
- Constant Field Values
-
INSERT_PICTURE_COMMAND_NAME
public static final String INSERT_PICTURE_COMMAND_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MdExtendedWysiwygHtmlPage
public MdExtendedWysiwygHtmlPage(org.eclipse.swt.widgets.Composite parent, Version version, org.eclipse.core.resources.IProject project, IColorProvider colorProvider, IV8ProjectManager projectManager, IMdObjectByTypeProvider objectByTypeProvider, String location, int style)
Create instance of extendedWysiwygHtmlPage
for editing dt helps- Parameters:
parent
- a widget which will be the parent of the new instance, cannot be null, cannot benull
version
- the 1C:Enterprise runtime version, cannot benull
project
- the project context, cannot benull
colorProvider
- the color provider, cannot benull
projectManager
- the instance ofIV8ProjectManager
service, cannot benull
objectByTypeProvider
- the instance ofIMdObjectByTypeProvider
service, cannot benull
location
- the wysiwyg initiate location, cannot benull
style
- the style of widget to construct, cannot benull
- See Also:
WysiwygHtmlPage#WysiwygHtmlPage(Composite, int)
-
-
Method Detail
-
executeCommandConstructor
protected Optional<String> executeCommandConstructor(String commandName, String... args)
Description copied from class:WysiwygHtmlPage
Construct command for execute in wysiwyg page browser
Subclasses may extend and must call super implementation.
- Overrides:
executeCommandConstructor
in classWysiwygHtmlPage
- Parameters:
commandName
- the command name, cannot benull
args
- the command arguments sequence, cannot benull
- Returns:
- string command for execute in SWT Browser
-
-