Class ChangeHeaderFooterOperation
- java.lang.Object
-
- org.eclipse.core.commands.operations.AbstractOperation
-
- com._1c.g5.v8.dt.moxel.ui.operations.BaseOperation
-
- com._1c.g5.v8.dt.moxel.ui.operations.ChangeHeaderFooterOperation
-
- All Implemented Interfaces:
org.eclipse.core.commands.operations.IUndoableOperation
public class ChangeHeaderFooterOperation extends BaseOperation
Операция изменения колонтитулов.
-
-
Field Summary
-
Fields inherited from class com._1c.g5.v8.dt.moxel.ui.operations.BaseOperation
sheet
-
-
Constructor Summary
Constructors Constructor Description ChangeHeaderFooterOperation(String label, org.eclipse.core.commands.operations.IUndoContext undoContext, SheetAccessor sheet_, boolean outputHeader_, int outputHeaderFrom_, VerticalAlignment headerVerticalAlign_, Font headerFont_, String headerLeftText_, String headerCenterText_, String headerRightText_, boolean outputFooter_, int outputFooterFrom_, VerticalAlignment footerVerticalAlign_, Font footerFont_, String footerLeftText_, String footerCenterText_, String footerRightText_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.core.runtime.IStatus
execute(org.eclipse.core.runtime.IProgressMonitor monitor, org.eclipse.core.runtime.IAdaptable info)
org.eclipse.core.runtime.IStatus
redo(org.eclipse.core.runtime.IProgressMonitor monitor, org.eclipse.core.runtime.IAdaptable info)
org.eclipse.core.runtime.IStatus
undo(org.eclipse.core.runtime.IProgressMonitor monitor, org.eclipse.core.runtime.IAdaptable info)
-
-
-
Constructor Detail
-
ChangeHeaderFooterOperation
public ChangeHeaderFooterOperation(String label, org.eclipse.core.commands.operations.IUndoContext undoContext, SheetAccessor sheet_, boolean outputHeader_, int outputHeaderFrom_, VerticalAlignment headerVerticalAlign_, Font headerFont_, String headerLeftText_, String headerCenterText_, String headerRightText_, boolean outputFooter_, int outputFooterFrom_, VerticalAlignment footerVerticalAlign_, Font footerFont_, String footerLeftText_, String footerCenterText_, String footerRightText_)
- Parameters:
label
-undoContext
-sheet_
-
-
-
Method Detail
-
execute
public org.eclipse.core.runtime.IStatus execute(org.eclipse.core.runtime.IProgressMonitor monitor, org.eclipse.core.runtime.IAdaptable info) throws org.eclipse.core.commands.ExecutionException
- Specified by:
execute
in interfaceorg.eclipse.core.commands.operations.IUndoableOperation
- Specified by:
execute
in classorg.eclipse.core.commands.operations.AbstractOperation
- Throws:
org.eclipse.core.commands.ExecutionException
-
redo
public org.eclipse.core.runtime.IStatus redo(org.eclipse.core.runtime.IProgressMonitor monitor, org.eclipse.core.runtime.IAdaptable info) throws org.eclipse.core.commands.ExecutionException
- Specified by:
redo
in interfaceorg.eclipse.core.commands.operations.IUndoableOperation
- Specified by:
redo
in classorg.eclipse.core.commands.operations.AbstractOperation
- Throws:
org.eclipse.core.commands.ExecutionException
-
undo
public org.eclipse.core.runtime.IStatus undo(org.eclipse.core.runtime.IProgressMonitor monitor, org.eclipse.core.runtime.IAdaptable info) throws org.eclipse.core.commands.ExecutionException
- Specified by:
undo
in interfaceorg.eclipse.core.commands.operations.IUndoableOperation
- Specified by:
undo
in classorg.eclipse.core.commands.operations.AbstractOperation
- Throws:
org.eclipse.core.commands.ExecutionException
-
-