Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bonita
bonita-studio
Commits
601482eb
Commit
601482eb
authored
Sep 08, 2015
by
azara
Browse files
BS-14273 improve generation guidance
remove button field to make it local variable
parent
ec2c00d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
bundles/plugins/org.bonitasoft.studio.contract/src/org/bonitasoft/studio/contract/ui/wizard/CreateContractInputFromBusinessObjectWizardPage.java
View file @
601482eb
...
...
@@ -89,9 +89,6 @@ public class CreateContractInputFromBusinessObjectWizardPage extends WizardPage
private
String
rootName
;
private
final
Contract
contract
;
private
final
BusinessObjectModelRepositoryStore
businessObjectStore
;
private
Button
manuallyDefinedOperationButton
;
private
Button
autoGeneratedOperationButton
;
private
EMFDataBindingContext
dbc
;
private
final
GenerationOptions
generationOptions
;
private
SelectObservableValue
actionObservable
;
...
...
@@ -147,8 +144,8 @@ public class CreateContractInputFromBusinessObjectWizardPage extends WizardPage
final
Image
img
=
d
.
getSystemImage
(
SWT
.
ICON_WARNING
);
reminder
.
setImage
(
img
);
reminder
.
setLayoutData
(
GridDataFactory
.
fillDefaults
().
hint
(
600
,
SWT
.
DEFAULT
).
create
());
autoGeneratedOperationButton
=
new
Button
(
composite
,
SWT
.
RADIO
);
manuallyDefinedOperationButton
=
new
Button
(
composite
,
SWT
.
RADIO
);
final
Button
autoGeneratedOperationButton
=
new
Button
(
composite
,
SWT
.
RADIO
);
final
Button
manuallyDefinedOperationButton
=
new
Button
(
composite
,
SWT
.
RADIO
);
actionObservable
=
new
SelectObservableValue
(
Boolean
.
class
);
actionObservable
.
addOption
(
Boolean
.
TRUE
,
SWTObservables
.
observeSelection
(
autoGeneratedOperationButton
));
actionObservable
.
addOption
(
Boolean
.
FALSE
,
SWTObservables
.
observeSelection
(
manuallyDefinedOperationButton
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment