name
stringclasses
26 values
new_args
stringclasses
13 values
new_implementation
stringlengths
0
1.64k
new_return_type
stringlengths
2
39
new_signature
stringlengths
8
87
old_args
stringclasses
11 values
old_implementation
stringlengths
0
1.91k
old_return_type
stringlengths
2
48
old_signature
stringlengths
8
105
willuhn$hbci4java
return new ServiceLevelSDD(); * Create an instance of {@link PaymentIdentification1
ServiceLevelSDD
ServiceLevelSDD createServiceLevelSDD()
return new PersonIdentificationSchemeName1Choice(); * Create an instance of {@link RemittanceInformationSEPA1Choice
PersonIdentificationSchemeName1Choice
PersonIdentificationSchemeName1Choice createPersonIdentificationSchemeName1Choice()
willuhn$hbci4java
return new AccountIdentificationSDD(); * Create an instance of {@link OrganisationIdentificationSDDChoice
AccountIdentificationSDD
AccountIdentificationSDD createAccountIdentificationSDD()
return new PostalAddressSEPA(); * Create an instance of {@link CashAccountSEPA1
PostalAddressSEPA
PostalAddressSEPA createPostalAddressSEPA()
willuhn$hbci4java
return new CreditorReferenceInformationSDD(); * Create an instance of {@link GenericIdentificationSDD
CreditorReferenceInformationSDD
CreditorReferenceInformationSDD createCreditorReferenceInformationSDD()
return new PurposeSEPA(); * Create an instance of {@link CustomerCreditTransferInitiationV03
PurposeSEPA
PurposeSEPA createPurposeSEPA()
willuhn$hbci4java
return new CashAccountSDD2(); * Create an instance of {@link CashAccountSDD1
CashAccountSDD2
CashAccountSDD2 createCashAccountSDD2()
return new ServiceLevelSEPA(); * Create an instance of {@link CashAccountSEPA2
ServiceLevelSEPA
ServiceLevelSEPA createServiceLevelSEPA()
willuhn$hbci4java
return new MandateRelatedInformationSDD(); * Create an instance of {@link CreditorReferenceTypeSDD
MandateRelatedInformationSDD
MandateRelatedInformationSDD createMandateRelatedInformationSDD()
return new StructuredRemittanceInformationSEPA1(); * Create an instance of {@link CreditorReferenceInformationSEPA1
StructuredRemittanceInformationSEPA1
StructuredRemittanceInformationSEPA1 createStructuredRemittanceInformationSEPA1()
willuhn$hbci4java
return cstmrDrctDbtInitn; * Sets the value of the cstmrDrctDbtInitn property. * {@link CustomerDirectDebitInitiationV02
CustomerDirectDebitInitiationV02
CustomerDirectDebitInitiationV02 getCstmrDrctDbtInitn()
return cstmrCdtTrfInitn; * Sets the value of the cstmrCdtTrfInitn property. * {@link CustomerCreditTransferInitiationV03
CustomerCreditTransferInitiationV03
CustomerCreditTransferInitiationV03 getCstmrCdtTrfInitn()
nasa$certware
return cReferencesAssignment_13_1;
Assignment
Assignment getReferencesAssignment_13_1()
return cCommentsAssignment_13_1;
Assignment
Assignment getCommentsAssignment_13_1()
nasa$certware
return cDescriptionAssignment_11_1;
Assignment
Assignment getDescriptionAssignment_11_1()
return cCommentsAssignment_5_1;
Assignment
Assignment getCommentsAssignment_5_1()
nasa$certware
return cCommentsKeyword_14_0;
Keyword
Keyword getCommentsKeyword_14_0()
return cCommentsKeyword_13_0;
Keyword
Keyword getCommentsKeyword_13_0()
nasa$certware
return cArrivalRateMaximumKeyword_7_0;
Keyword
Keyword getArrivalRateMaximumKeyword_7_0()
return cCommentsKeyword_5_0;
Keyword
Keyword getCommentsKeyword_5_0()
nasa$certware
return cCommentsSTRINGTerminalRuleCall_14_1_0;
RuleCall
RuleCall getCommentsSTRINGTerminalRuleCall_14_1_0()
return cCommentsSTRINGTerminalRuleCall_13_1_0;
RuleCall
RuleCall getCommentsSTRINGTerminalRuleCall_13_1_0()
nasa$certware
return cStructureTriggerTableParserRuleCall_13_1_0;
RuleCall
RuleCall getStructureTriggerTableParserRuleCall_13_1_0()
return cCommentsSTRINGTerminalRuleCall_5_1_0;
RuleCall
RuleCall getCommentsSTRINGTerminalRuleCall_5_1_0()
nasa$certware
return cCompletionDeadlineKeyword_5_0;
Keyword
Keyword getCompletionDeadlineKeyword_5_0()
return cCompletionDeadlineKeyword_4_0;
Keyword
Keyword getCompletionDeadlineKeyword_4_0()
nasa$certware
return cCompletionExceptionKeyword_6_0;
Keyword
Keyword getCompletionExceptionKeyword_6_0()
return cCompletionExceptionKeyword_5_0;
Keyword
Keyword getCompletionExceptionKeyword_5_0()
nasa$certware
return cCompletionHandlingAssignment_6_1;
Assignment
Assignment getCompletionHandlingAssignment_6_1()
return cCompletionHandlingAssignment_5_1;
Assignment
Assignment getCompletionHandlingAssignment_5_1()
nasa$certware
return cCompletionHandlingSTRINGTerminalRuleCall_6_1_0;
RuleCall
RuleCall getCompletionHandlingSTRINGTerminalRuleCall_6_1_0()
return cCompletionHandlingSTRINGTerminalRuleCall_5_1_0;
RuleCall
RuleCall getCompletionHandlingSTRINGTerminalRuleCall_5_1_0()
nasa$certware
return cCommentsAssignment_14_1;
Assignment
Assignment getCommentsAssignment_14_1()
return cContentsAssignment_14_1;
Assignment
Assignment getContentsAssignment_14_1()
nasa$certware
return cContentsKeyword_15_0;
Keyword
Keyword getContentsKeyword_15_0()
return cContentsKeyword_14_0;
Keyword
Keyword getContentsKeyword_14_0()
nasa$certware
return cContentsSTRINGTerminalRuleCall_15_1_0;
RuleCall
RuleCall getContentsSTRINGTerminalRuleCall_15_1_0()
return cContentsSTRINGTerminalRuleCall_14_1_0;
RuleCall
RuleCall getContentsSTRINGTerminalRuleCall_14_1_0()
nasa$certware
return cDelayAssignment_4_1;
Assignment
Assignment getDelayAssignment_4_1()
return cDeadlineAssignment_4_1;
Assignment
Assignment getDeadlineAssignment_4_1()
nasa$certware
return cRateBigUnitValueParserRuleCall_3_1_0;
RuleCall
RuleCall getRateBigUnitValueParserRuleCall_3_1_0()
return cDeadlineBigUnitValueParserRuleCall_4_1_0;
RuleCall
RuleCall getDeadlineBigUnitValueParserRuleCall_4_1_0()
nasa$certware
return cRateAssignment_3_1;
Assignment
Assignment getRateAssignment_3_1()
return cDelayAssignment_3_1;
Assignment
Assignment getDelayAssignment_3_1()
nasa$certware
return cValueListValueListParserRuleCall_2_1_0;
RuleCall
RuleCall getValueListValueListParserRuleCall_2_1_0()
return cDelayBigUnitValueParserRuleCall_3_1_0;
RuleCall
RuleCall getDelayBigUnitValueParserRuleCall_3_1_0()
nasa$certware
return cFeebackHandlingAssignment_11_1;
Assignment
Assignment getFeebackHandlingAssignment_11_1()
return cFeebackHandlingAssignment_10_1;
Assignment
Assignment getFeebackHandlingAssignment_10_1()
nasa$certware
return cFeebackHandlingSTRINGTerminalRuleCall_11_1_0;
RuleCall
RuleCall getFeebackHandlingSTRINGTerminalRuleCall_11_1_0()
return cFeebackHandlingSTRINGTerminalRuleCall_10_1_0;
RuleCall
RuleCall getFeebackHandlingSTRINGTerminalRuleCall_10_1_0()
nasa$certware
return cFeedbackExceptionKeyword_11_0;
Keyword
Keyword getFeedbackExceptionKeyword_11_0()
return cFeedbackExceptionKeyword_10_0;
Keyword
Keyword getFeedbackExceptionKeyword_10_0()
nasa$certware
return cValueExceptionKeyword_3_0;
Keyword
Keyword getValueExceptionKeyword_3_0()
return cFullStopFullStopFullStopKeyword_1_0_3;
Keyword
Keyword getFullStopFullStopFullStopKeyword_1_0_3()
nasa$certware
return cGroup_1;
Group
Group getGroup_1()
return cGroup_1_0;
Group
Group getGroup_1_0()
nasa$certware
return cGroup_10;
Group
Group getGroup_10()
return cGroup_1_0;
Group
Group getGroup_1_0()
nasa$certware
return cGroup_11;
Group
Group getGroup_11()
return cGroup_1_1;
Group
Group getGroup_1_1()
nasa$certware
return cInitiationDelayKeyword_4_0;
Keyword
Keyword getInitiationDelayKeyword_4_0()
return cInitiationDelayKeyword_3_0;
Keyword
Keyword getInitiationDelayKeyword_3_0()
nasa$certware
return cReferencesKeyword_9_0;
Keyword
Keyword getReferencesKeyword_9_0()
return cLeftCurlyBracketKeyword_1_0_1;
Keyword
Keyword getLeftCurlyBracketKeyword_1_0_1()
nasa$certware
return cDescriptionKeyword_11_0;
Keyword
Keyword getDescriptionKeyword_11_0()
return cLeftCurlyBracketKeyword_1_1_1;
Keyword
Keyword getLeftCurlyBracketKeyword_1_1_1()
nasa$certware
return cRangeAssignment_1_1;
Assignment
Assignment getRangeAssignment_1_1()
return cLowerAssignment_1_0_2;
Assignment
Assignment getLowerAssignment_1_0_2()
nasa$certware
return cMinResponseBigUnitValueParserRuleCall_9_1_0;
RuleCall
RuleCall getMinResponseBigUnitValueParserRuleCall_9_1_0()
return cLowerBigDecimalTypeParserRuleCall_1_0_2_0;
RuleCall
RuleCall getLowerBigDecimalTypeParserRuleCall_1_0_2_0()
nasa$certware
return cRangeValueRangeParserRuleCall_1_1_0;
RuleCall
RuleCall getRangeValueRangeParserRuleCall_1_1_0()
return cLowerBigDecimalTypeParserRuleCall_1_0_2_0;
RuleCall
RuleCall getLowerBigDecimalTypeParserRuleCall_1_0_2_0()
nasa$certware
return cMinResponseAssignment_9_1;
Assignment
Assignment getMinResponseAssignment_9_1()
return cMaxResponseAssignment_9_1;
Assignment
Assignment getMaxResponseAssignment_9_1()
nasa$certware
return cDeadlineBigUnitValueParserRuleCall_5_1_0;
RuleCall
RuleCall getDeadlineBigUnitValueParserRuleCall_5_1_0()
return cMaxResponseBigUnitValueParserRuleCall_9_1_0;
RuleCall
RuleCall getMaxResponseBigUnitValueParserRuleCall_9_1_0()
nasa$certware
return cMaxResponseTimeKeyword_10_0;
Keyword
Keyword getMaxResponseTimeKeyword_10_0()
return cMaxResponseTimeKeyword_9_0;
Keyword
Keyword getMaxResponseTimeKeyword_9_0()
nasa$certware
return cRelationshipAssignment_8_1;
Assignment
Assignment getRelationshipAssignment_8_1()
return cMinResponseAssignment_8_1;
Assignment
Assignment getMinResponseAssignment_8_1()
nasa$certware
return cDelayBigUnitValueParserRuleCall_4_1_0;
RuleCall
RuleCall getDelayBigUnitValueParserRuleCall_4_1_0()
return cMinResponseBigUnitValueParserRuleCall_8_1_0;
RuleCall
RuleCall getMinResponseBigUnitValueParserRuleCall_8_1_0()
nasa$certware
return cMinResponseTimeKeyword_9_0;
Keyword
Keyword getMinResponseTimeKeyword_9_0()
return cMinResponseTimeKeyword_8_0;
Keyword
Keyword getMinResponseTimeKeyword_8_0()
nasa$certware
return cRangeKeyword_1_0;
Keyword
Keyword getRangeKeyword_1_0()
return cRangeKeyword_1_0_0;
Keyword
Keyword getRangeKeyword_1_0_0()
nasa$certware
return cValueListAssignment_2_1;
Assignment
Assignment getValueListAssignment_2_1()
return cRangeTypeAssignment_1_0_7;
Assignment
Assignment getRangeTypeAssignment_1_0_7()
nasa$certware
return cAppearsInSTRINGTerminalRuleCall_10_1_0;
RuleCall
RuleCall getAppearsInSTRINGTerminalRuleCall_10_1_0()
return cRangeTypeSTRINGTerminalRuleCall_1_0_7_0;
RuleCall
RuleCall getRangeTypeSTRINGTerminalRuleCall_1_0_7_0()
nasa$certware
return cCommentsAssignment_12_1;
Assignment
Assignment getCommentsAssignment_12_1()
return cRangeUnitsAssignment_1_0_9;
Assignment
Assignment getRangeUnitsAssignment_1_0_9()
nasa$certware
return cCommentsSTRINGTerminalRuleCall_12_1_0;
RuleCall
RuleCall getCommentsSTRINGTerminalRuleCall_12_1_0()
return cRangeUnitsSTRINGTerminalRuleCall_1_0_9_0;
RuleCall
RuleCall getRangeUnitsSTRINGTerminalRuleCall_1_0_9_0()
nasa$certware
return cReferencesAssignment_9_1;
Assignment
Assignment getReferencesAssignment_9_1()
return cRateAssignment_2_1;
Assignment
Assignment getRateAssignment_2_1()
nasa$certware
return cGranularityBigUnitValueParserRuleCall_4_1_0;
RuleCall
RuleCall getGranularityBigUnitValueParserRuleCall_4_1_0()
return cRateBigUnitValueParserRuleCall_2_1_0;
RuleCall
RuleCall getRateBigUnitValueParserRuleCall_2_1_0()
nasa$certware
return cArrivalRateAvgKeyword_5_0;
Keyword
Keyword getArrivalRateAvgKeyword_5_0()
return cRateKeyword_2_0;
Keyword
Keyword getRateKeyword_2_0()
nasa$certware
return cRateKeyword_3_0;
Keyword
Keyword getRateKeyword_3_0()
return cRateKeyword_2_0;
Keyword
Keyword getRateKeyword_2_0()
nasa$certware
return cReversedAssignment_12_1;
Assignment
Assignment getReversedAssignment_12_1()
return cReferencesAssignment_12_1;
Assignment
Assignment getReferencesAssignment_12_1()
nasa$certware
return cObsolescenceAssignment_8_1;
Assignment
Assignment getObsolescenceAssignment_8_1()
return cReferencesAssignment_4_1;
Assignment
Assignment getReferencesAssignment_4_1()
nasa$certware
return cReferencesKeyword_13_0;
Keyword
Keyword getReferencesKeyword_13_0()
return cReferencesKeyword_12_0;
Keyword
Keyword getReferencesKeyword_12_0()
nasa$certware
return cArrivalRateMinimumKeyword_6_0;
Keyword
Keyword getArrivalRateMinimumKeyword_6_0()
return cReferencesKeyword_4_0;
Keyword
Keyword getReferencesKeyword_4_0()
nasa$certware
return cReferencesSTRINGTerminalRuleCall_13_1_0;
RuleCall
RuleCall getReferencesSTRINGTerminalRuleCall_13_1_0()
return cReferencesSTRINGTerminalRuleCall_12_1_0;
RuleCall
RuleCall getReferencesSTRINGTerminalRuleCall_12_1_0()
nasa$certware
return cDescriptionSTRINGTerminalRuleCall_11_1_0;
RuleCall
RuleCall getDescriptionSTRINGTerminalRuleCall_11_1_0()
return cReferencesSTRINGTerminalRuleCall_4_1_0;
RuleCall
RuleCall getReferencesSTRINGTerminalRuleCall_4_1_0()
nasa$certware
return cVariablesAssignment_7_1;
Assignment
Assignment getVariablesAssignment_7_1()
return cRelationshipAssignment_7_1;
Assignment
Assignment getRelationshipAssignment_7_1()
nasa$certware
return cRelationshipKeyword_8_0;
Keyword
Keyword getRelationshipKeyword_8_0()
return cRelationshipKeyword_7_0;
Keyword
Keyword getRelationshipKeyword_7_0()
nasa$certware
return cRelationshipSTRINGTerminalRuleCall_8_1_0;
RuleCall
RuleCall getRelationshipSTRINGTerminalRuleCall_8_1_0()
return cRelationshipSTRINGTerminalRuleCall_7_1_0;
RuleCall
RuleCall getRelationshipSTRINGTerminalRuleCall_7_1_0()
nasa$certware
return cMaxResponseAssignment_10_1;
Assignment
Assignment getMaxResponseAssignment_10_1()
return cReversedAssignment_11_1;
Assignment
Assignment getReversedAssignment_11_1()
nasa$certware
return cReversedByKeyword_12_0;
Keyword
Keyword getReversedByKeyword_12_0()
return cReversedByKeyword_11_0;
Keyword
Keyword getReversedByKeyword_11_0()
nasa$certware
return cReversedSTRINGTerminalRuleCall_12_1_0;
RuleCall
RuleCall getReversedSTRINGTerminalRuleCall_12_1_0()
return cReversedSTRINGTerminalRuleCall_11_1_0;
RuleCall
RuleCall getReversedSTRINGTerminalRuleCall_11_1_0()
nasa$certware
return cGranularityKeyword_4_0;
Keyword
Keyword getGranularityKeyword_4_0()
return cRightCurlyBracketKeyword_1_0_5;
Keyword
Keyword getRightCurlyBracketKeyword_1_0_5()
nasa$certware
return cTriggeringKeyword_13_0;
Keyword
Keyword getTriggeringKeyword_13_0()
return cRightCurlyBracketKeyword_1_1_3;
Keyword
Keyword getRightCurlyBracketKeyword_1_1_3()
nasa$certware
return cContentsAssignment_15_1;
Assignment
Assignment getContentsAssignment_15_1()
return cTableAssignment_15_1;
Assignment
Assignment getTableAssignment_15_1()
nasa$certware
return cTableTriggerTableParserRuleCall_16_1_0;
RuleCall
RuleCall getTableTriggerTableParserRuleCall_16_1_0()
return cTableTriggerTableParserRuleCall_15_1_0;
RuleCall
RuleCall getTableTriggerTableParserRuleCall_15_1_0()
nasa$certware
return cTriggeringKeyword_16_0;
Keyword
Keyword getTriggeringKeyword_16_0()
return cTriggeringKeyword_15_0;
Keyword
Keyword getTriggeringKeyword_15_0()
nasa$certware
return cAppearsInKeyword_10_0;
Keyword
Keyword getAppearsInKeyword_10_0()
return cTypeKeyword_1_0_6;
Keyword
Keyword getTypeKeyword_1_0_6()
nasa$certware
return cCommentsKeyword_12_0;
Keyword
Keyword getCommentsKeyword_12_0()
return cUnitsKeyword_1_0_8;
Keyword
Keyword getUnitsKeyword_1_0_8()
nasa$certware
return cAppearsInAssignment_10_1;
Assignment
Assignment getAppearsInAssignment_10_1()
return cUpperAssignment_1_0_4;
Assignment
Assignment getUpperAssignment_1_0_4()
nasa$certware
return cMaxResponseBigUnitValueParserRuleCall_10_1_0;
RuleCall
RuleCall getMaxResponseBigUnitValueParserRuleCall_10_1_0()
return cUpperBigDecimalTypeParserRuleCall_1_0_4_0;
RuleCall
RuleCall getUpperBigDecimalTypeParserRuleCall_1_0_4_0()
nasa$certware
return cValueHandlingAssignment_3_1;
Assignment
Assignment getValueHandlingAssignment_3_1()
return cValuesAssignment_1_1_2;
Assignment
Assignment getValuesAssignment_1_1_2()
nasa$certware
return cValueListKeyword_2_0;
Keyword
Keyword getValueListKeyword_2_0()
return cValuesKeyword_1_1_0;
Keyword
Keyword getValuesKeyword_1_1_0()
nasa$certware
return cValueHandlingSTRINGTerminalRuleCall_3_1_0;
RuleCall
RuleCall getValueHandlingSTRINGTerminalRuleCall_3_1_0()
return cValuesSTRINGTerminalRuleCall_1_1_2_0;
RuleCall
RuleCall getValuesSTRINGTerminalRuleCall_1_1_2_0()
nasa$certware
return cStructureAssignment_13_1;
Assignment
Assignment getStructureAssignment_13_1()
return cVariablesAssignment_3_1;
Assignment
Assignment getVariablesAssignment_3_1()
nasa$certware
return cDeadlineAssignment_5_1;
Assignment
Assignment getDeadlineAssignment_5_1()
return cVariablesAssignment_6_1;
Assignment
Assignment getVariablesAssignment_6_1()
nasa$certware
return cObsolescenceKeyword_8_0;
Keyword
Keyword getObsolescenceKeyword_8_0()
return cVariablesKeyword_3_0;
Keyword
Keyword getVariablesKeyword_3_0()
nasa$certware
return cVariablesKeyword_7_0;
Keyword
Keyword getVariablesKeyword_7_0()
return cVariablesKeyword_6_0;
Keyword
Keyword getVariablesKeyword_6_0()
nasa$certware
return cReferencesSTRINGTerminalRuleCall_9_1_0;
RuleCall
RuleCall getReferencesSTRINGTerminalRuleCall_9_1_0()
return cVariablesSTRINGTerminalRuleCall_3_1_0;
RuleCall
RuleCall getVariablesSTRINGTerminalRuleCall_3_1_0()
nasa$certware
return cVariablesSTRINGTerminalRuleCall_7_1_0;
RuleCall
RuleCall getVariablesSTRINGTerminalRuleCall_7_1_0()
return cVariablesSTRINGTerminalRuleCall_6_1_0;
RuleCall
RuleCall getVariablesSTRINGTerminalRuleCall_6_1_0()
adangel$pmd
Report report = new Report(); ctx.setReport(report); report.addError( report.addError( report.addError( return report; public static void processFiles(int threadCount, RuleSetFactory ruleSetFactory, SourceType sourceType, List<DataSource> files, RuleContext ctx, Renderer renderer, String rulesets, boolean debugEnabled, final boolean shortNamesEnabled, final String inputPath, List<Future<Report>> tasks = new LinkedList<Future<Report>>(); Collections.sort(files, new Comparator<DataSource>() { public int compare(DataSource d1,DataSource d2) { String s1 = d1.getNiceFileName(shortNamesEnabled, inputPath); String s2 = d2.getNiceFileName(shortNamesEnabled, inputPath); return s1.compareTo(s2);
Report
Report call()
ctx.getReport().addError( ctx.getReport().addError( ctx.getReport().addError( context.setReport(new Report()); public static void processFiles(int threadCount, RuleSetFactory ruleSetFactory, SourceType sourceType, List<DataSource> files, RuleContext ctx, String rulesets, boolean debugEnabled, boolean shortNamesEnabled, String inputPath, Runnable r = new PmdRunnable(executor, dataSource, niceFileName, sourceType, debugEnabled, executor.execute(r); try { executor.awaitTermination(Long.MAX_VALUE, TimeUnit.NANOSECONDS);
void
void run()
google$truth
@Test public void testDeclaresField_public() { @Test public void testDeclaresField_nullSubject() { @Test public void testDeclaresField_private() { @Test public void testIsAssignableFrom_same() {
void
void testDeclaresField_noSuchField()
@Test public void testDeclaresField_Public() { @Test public void testDeclaresField_NullSubject() { @Test public void testDeclaresField_Private() { @Test public void testIsAssignableFromSame() {
void
void testDeclaresField_NoSuchField()
spring-projects$greenhouse
Model model
model.addAttribute(eventRepository.findUpcomingEvents()); return "events/list";
String
String upcomingEventsView(Model model)
Model model
model.addAttribute(eventsService.findEventsAfter(new Date())); return "events/list"; @RequestMapping(value="/{eventId
String
String listEvents(Model model)
obeonetwork$informationsystem
EObject newValue
referencedType.setSelection(new StructuredSelection(newValue)); referencedType.setSelection(new StructuredSelection()); //$NON-NLS-1$ boolean eefElementEditorReadOnlyState = isReadOnly(EnvironmentViewsRepository.Reference.Properties.referencedType); if (eefElementEditorReadOnlyState && referencedType.isEnabled()) { referencedType.setEnabled(false); referencedType.setToolTipText(EnvironmentMessages.Reference_ReadOnly);
void
void setReferencedType(EObject newValue)
EObject newValue
type.setSelection(new StructuredSelection(newValue)); type.setSelection(new StructuredSelection()); //$NON-NLS-1$ boolean eefElementEditorReadOnlyState = isReadOnly(EnvironmentViewsRepository.Reference.Properties.type); if (eefElementEditorReadOnlyState && type.isEnabled()) { type.setEnabled(false); type.setToolTipText(EnvironmentMessages.Reference_ReadOnly);
void
void setType(EObject newValue)
obeonetwork$informationsystem
Composite parent
createDescription(parent, EnvironmentViewsRepository.Reference.Properties.referencedType, EnvironmentMessages.ReferencePropertiesEditionPart_ReferencedTypeLabel); referencedType = new EObjectFlatComboViewer(parent, !propertiesEditionComponent.isRequired(EnvironmentViewsRepository.Reference.Properties.referencedType, EnvironmentViewsRepository.SWT_KIND)); referencedType.setLabelProvider(new AdapterFactoryLabelProvider(adapterFactory)); referencedType.addSelectionChangedListener(new ISelectionChangedListener() { propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(ReferencePropertiesEditionPartImpl.this, EnvironmentViewsRepository.Reference.Properties.referencedType, PropertiesEditionEvent.CHANGE, PropertiesEditionEvent.SET, null, getReferencedType())); GridData referencedTypeData = new GridData(GridData.FILL_HORIZONTAL); referencedType.setLayoutData(referencedTypeData); referencedType.setID(EnvironmentViewsRepository.Reference.Properties.referencedType); SWTUtils.createHelpButton(parent, propertiesEditionComponent.getHelpContent(EnvironmentViewsRepository.Reference.Properties.referencedType, EnvironmentViewsRepository.SWT_KIND), null); //$NON-NLS-1$ // Start of user code for createReferencedTypeFlatComboViewer protected Composite createIdentifierCheckbox(Composite parent) { identifier = new Button(parent, SWT.CHECK); identifier.setText(getDescription(EnvironmentViewsRepository.Reference.Properties.identifier, EnvironmentMessages.ReferencePropertiesEditionPart_IdentifierLabel)); identifier.addSelectionListener(new SelectionAdapter() { /** * {@inheritDoc
Composite
Composite createReferencedTypeFlatComboViewer(Composite parent)
Composite parent
createDescription(parent, EnvironmentViewsRepository.Reference.Properties.type, EnvironmentMessages.ReferencePropertiesEditionPart_TypeLabel); type = new EObjectFlatComboViewer(parent, !propertiesEditionComponent.isRequired(EnvironmentViewsRepository.Reference.Properties.type, EnvironmentViewsRepository.SWT_KIND)); type.setLabelProvider(new AdapterFactoryLabelProvider(adapterFactory)); type.addSelectionChangedListener(new ISelectionChangedListener() { propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(ReferencePropertiesEditionPartImpl.this, EnvironmentViewsRepository.Reference.Properties.type, PropertiesEditionEvent.CHANGE, PropertiesEditionEvent.SET, null, getType())); GridData typeData = new GridData(GridData.FILL_HORIZONTAL); type.setLayoutData(typeData); type.setID(EnvironmentViewsRepository.Reference.Properties.type); SWTUtils.createHelpButton(parent, propertiesEditionComponent.getHelpContent(EnvironmentViewsRepository.Reference.Properties.type, EnvironmentViewsRepository.SWT_KIND), null); //$NON-NLS-1$ // Start of user code for createTypeFlatComboViewer * @see org.obeonetwork.dsl.environment.parts.ReferencePropertiesEditionPart#getType() public EObject getType() { if (type.getSelection() instanceof StructuredSelection) { Object firstElement = ((StructuredSelection) type.getSelection()).getFirstElement(); * @see org.obeonetwork.dsl.environment.parts.ReferencePropertiesEditionPart#initType(EObjectFlatComboSettings) public void initType(EObjectFlatComboSettings settings) { type.setInput(settings); type.setSelection(new StructuredSelection(settings.getValue())); boolean eefElementEditorReadOnlyState = isReadOnly(EnvironmentViewsRepository.Reference.Properties.type); if (eefElementEditorReadOnlyState && type.isEnabled()) { type.setEnabled(false); type.setToolTipText(EnvironmentMessages.Reference_ReadOnly);
Composite
Composite createTypeFlatComboViewer(Composite parent)
nasa$certware
return cTypeNameAlternatives_0;
Alternatives
Alternatives getTypeNameAlternatives_0()
return cAlternatives;
Alternatives
Alternatives getAlternatives()
nasa$certware
return cTypeNameBasicKeyword_0_0;
Keyword
Keyword getTypeNameBasicKeyword_0_0()
return cBasicKeyword_0;
Keyword
Keyword getBasicKeyword_0()
nasa$certware
return cTypeNameBreakKeyword_0_2;
Keyword
Keyword getTypeNameBreakKeyword_0_2()
return cBreakKeyword_2;
Keyword
Keyword getBreakKeyword_2()
nasa$certware
return cTypeNameConditionKeyword_0_0;
Keyword
Keyword getTypeNameConditionKeyword_0_0()
return cConditionKeyword_0;
Keyword
Keyword getConditionKeyword_0()
nasa$certware
return cTypeNameConstraintKeyword_0_3;
Keyword
Keyword getTypeNameConstraintKeyword_0_3()
return cConstraintKeyword_3;
Keyword
Keyword getConstraintKeyword_3()
nasa$certware
return cTypeNameDesignKeyword_0_4;
Keyword
Keyword getTypeNameDesignKeyword_0_4()
return cDesignKeyword_4;
Keyword
Keyword getDesignKeyword_4()
nasa$certware
return cTypeNameEnvironmentKeyword_0_0;
Keyword
Keyword getTypeNameEnvironmentKeyword_0_0()
return cEnvironmentKeyword_0;
Keyword
Keyword getEnvironmentKeyword_0()
nasa$certware
return cTypeNameFigureKeyword_0_1;
Keyword
Keyword getTypeNameFigureKeyword_0_1()
return cFigureKeyword_1;
Keyword
Keyword getFigureKeyword_1()
nasa$certware
return cTypeNameFunctionKeyword_0_4;
Keyword
Keyword getTypeNameFunctionKeyword_0_4()
return cFunctionKeyword_4;
Keyword
Keyword getFunctionKeyword_4()
nasa$certware
return cTypeNameGoalKeyword_0_1;
Keyword
Keyword getTypeNameGoalKeyword_0_1()
return cGoalKeyword_1;
Keyword
Keyword getGoalKeyword_1()
nasa$certware
return cTypeNameHazardKeyword_0_2;
Keyword
Keyword getTypeNameHazardKeyword_0_2()
return cHazardKeyword_2;
Keyword
Keyword getHazardKeyword_2()
nasa$certware
return cNameAssignment_1;
Assignment
Assignment getNameAssignment_1()
return cIdAssignment_1;
Assignment
Assignment getIdAssignment_1()
nasa$certware
return cNameIDTerminalRuleCall_1_0;
RuleCall
RuleCall getNameIDTerminalRuleCall_1_0()
return cIdIDTerminalRuleCall_1_0;
RuleCall
RuleCall getIdIDTerminalRuleCall_1_0()
nasa$certware
return cTypeNameImplementationKeyword_0_5;
Keyword
Keyword getTypeNameImplementationKeyword_0_5()
return cImplementationKeyword_5;
Keyword
Keyword getImplementationKeyword_5()