@Test public void testIsNode() { NodeImpl node = mock(NodeImpl.class); assertTrue(FormPropertiesWidget.isNode(node)); GraphImpl notNode = mock(GraphImpl.class); assertFalse(FormPropertiesWidget.isNode(notNode)); }
protected static boolean isNode(final Element<? extends Definition<?>> element) { return element instanceof Node; }
FormPropertiesWidget implements IsElement,
                                             FormPropertiesWidgetView.Presenter { protected static boolean isNode(final Element<? extends Definition<?>> element) { return element instanceof Node; } }
FormPropertiesWidget implements IsElement,
                                             FormPropertiesWidgetView.Presenter { protected static boolean isNode(final Element<? extends Definition<?>> element) { return element instanceof Node; } @Inject  FormPropertiesWidget(final FormPropertiesWidgetView view,
                                final DefinitionUtils definitionUtils,
                                final FormsCanvasSessionHandler formSessionHandler,
                                final Event<FormPropertiesOpened> propertiesOpenedEvent,
                                final FormsContainer formsContainer,
                                final FormsFlushManager formsFlushManager,
                                final TranslationService translationService); }
FormPropertiesWidget implements IsElement,
                                             FormPropertiesWidgetView.Presenter { protected static boolean isNode(final Element<? extends Definition<?>> element) { return element instanceof Node; } @Inject  FormPropertiesWidget(final FormPropertiesWidgetView view,
                                final DefinitionUtils definitionUtils,
                                final FormsCanvasSessionHandler formSessionHandler,
                                final Event<FormPropertiesOpened> propertiesOpenedEvent,
                                final FormsContainer formsContainer,
                                final FormsFlushManager formsFlushManager,
                                final TranslationService translationService); @PostConstruct @SuppressWarnings("unchecked") void init(); @Override HTMLElement getElement(); @Override HTMLElement getDisplayerElement(); FormsCanvasSessionHandler getFormSessionHandler(); @SuppressWarnings("unchecked") FormPropertiesWidget bind(final ClientSession session); @SuppressWarnings("unchecked") FormPropertiesWidget unbind(); @PreDestroy void destroy(); void show(); @SuppressWarnings("unchecked") void show(final Command callback); void resetLastElementRenderedCache(); boolean areLastPositionsForSameElementSame(final Element element); }
FormPropertiesWidget implements IsElement,
                                             FormPropertiesWidgetView.Presenter { protected static boolean isNode(final Element<? extends Definition<?>> element) { return element instanceof Node; } @Inject  FormPropertiesWidget(final FormPropertiesWidgetView view,
                                final DefinitionUtils definitionUtils,
                                final FormsCanvasSessionHandler formSessionHandler,
                                final Event<FormPropertiesOpened> propertiesOpenedEvent,
                                final FormsContainer formsContainer,
                                final FormsFlushManager formsFlushManager,
                                final TranslationService translationService); @PostConstruct @SuppressWarnings("unchecked") void init(); @Override HTMLElement getElement(); @Override HTMLElement getDisplayerElement(); FormsCanvasSessionHandler getFormSessionHandler(); @SuppressWarnings("unchecked") FormPropertiesWidget bind(final ClientSession session); @SuppressWarnings("unchecked") FormPropertiesWidget unbind(); @PreDestroy void destroy(); void show(); @SuppressWarnings("unchecked") void show(final Command callback); void resetLastElementRenderedCache(); boolean areLastPositionsForSameElementSame(final Element element);  }