Package com._1c.g5.v8.dt.bsl.ui.event
Class EventDirectiveButtonComposite
- java.lang.Object
-
- com._1c.g5.v8.dt.bsl.ui.event.EventDirectiveButtonComposite
-
public class EventDirectiveButtonComposite extends Object
Special class for creating and processing buttons for different composites which defines compilation directives of the procedures for event handler in bsl form module
-
-
Constructor Summary
Constructors Constructor Description EventDirectiveButtonComposite(boolean isRussian, boolean isAllowedServerCall)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createRadioButtonGroup(org.eclipse.swt.widgets.Composite composite)
Creates buttons on compositeorg.eclipse.swt.widgets.Button
getClientButton()
Gets client directive radio buttonString
getProcedureDirective()
Gets procedure directive for chosen eventorg.eclipse.swt.widgets.Button
getServerButton()
Gets server directive radio buttonorg.eclipse.swt.widgets.Button
getServerNoContextButton()
Gets server without context directive radio button
-
-
-
Method Detail
-
getProcedureDirective
public String getProcedureDirective()
Gets procedure directive for chosen event- Returns:
- procedure directive for chosen event, or empty string if there is no procedure for chosen event
-
createRadioButtonGroup
public void createRadioButtonGroup(org.eclipse.swt.widgets.Composite composite)
Creates buttons on composite- Parameters:
composite
- parentComposite
, can't benull
-
getClientButton
public org.eclipse.swt.widgets.Button getClientButton()
Gets client directive radio button- Returns:
- client directive radio button, or
null
if methodcreateRadioButtonGroup(Composite)
wasn't call
-
getServerButton
public org.eclipse.swt.widgets.Button getServerButton()
Gets server directive radio button- Returns:
- server directive radio button , or
null
if methodcreateRadioButtonGroup(Composite)
wasn't call
-
getServerNoContextButton
public org.eclipse.swt.widgets.Button getServerNoContextButton()
Gets server without context directive radio button- Returns:
- server without context directive radio button, or
null
if methodcreateRadioButtonGroup(Composite)
wasn't call
-
-