Package org.eclipse.gef.palette

Examples of org.eclipse.gef.palette.CombinedTemplateCreationEntry


  public PaletteDrawer createPaletteDrawer(AbstractConfigGraphDiagram diagram, String namespaceUri) {
    PaletteDrawer drawer = new PaletteDrawer("", IntegrationImages.BADGE_SI_JMX); //$NON-NLS-1$
    List<PaletteEntry> entries = new ArrayList<PaletteEntry>();

    CombinedTemplateCreationEntry entry = new CombinedTemplateCreationEntry(
        IntJmxSchemaConstants.ELEM_ATTRIBUTE_POLLING_CHANNEL_ADAPTER,
        Messages.IntJmxPaletteFactory_ATTRIBUTE_POLLING_CHANNEL_ADAPTER_COMPONENT_DESCRIPTION,
        new ModelElementCreationFactory(AttributePollingChannelAdapterModelElement.class, diagram, namespaceUri),
        IntegrationImages.INBOUND_ADAPTER_SMALL, IntegrationImages.INBOUND_ADAPTER);
    entries.add(entry);

    entry = new CombinedTemplateCreationEntry(IntJmxSchemaConstants.ELEM_NOTIFICATION_LISTENING_CHANNEL_ADAPTER,
        Messages.IntJmxPaletteFactory_NOTIFICATION_LISTENING_CHANNEL_ADAPTER_COMPONENT_DESCRIPTION,
        new ModelElementCreationFactory(NotificationListeningChannelAdapterModelElement.class, diagram,
            namespaceUri), IntegrationImages.INBOUND_ADAPTER_SMALL, IntegrationImages.INBOUND_ADAPTER);
    entries.add(entry);

    entry = new CombinedTemplateCreationEntry(IntJmxSchemaConstants.ELEM_NOTIFICATION_PUBLISHING_CHANNEL_ADAPTER,
        Messages.IntJmxPaletteFactory_NOTIFICATION_PUBLISHING_CHANNEL_ADAPTER_COMPONENT_DESCRIPTION,
        new ModelElementCreationFactory(NotificationPublishingChannelAdapterModelElement.class, diagram,
            namespaceUri), IntegrationImages.OUTBOUND_ADAPTER_SMALL, IntegrationImages.OUTBOUND_ADAPTER);
    entries.add(entry);

    entry = new CombinedTemplateCreationEntry(IntJmxSchemaConstants.ELEM_OPERATION_INVOKING_CHANNEL_ADAPTER,
        Messages.IntJmxPaletteFactory_OPERATION_INVOKING_CHANNEL_ADAPTER_COMPONENT_DESCRIPTION,
        new ModelElementCreationFactory(OperationInvokingChannelAdapterModelElement.class, diagram,
            namespaceUri), IntegrationImages.OUTBOUND_ADAPTER_SMALL, IntegrationImages.OUTBOUND_ADAPTER);
    entries.add(entry);

    entry = new CombinedTemplateCreationEntry(IntJmxSchemaConstants.ELEM_OPERATION_INVOKING_OUTBOUND_GATEWAY,
        Messages.IntJmxPaletteFactory_OPERATION_INVOKING_OUTBOUND_GATEWAY_COMPONENT_DESCRIPTION, new ModelElementCreationFactory(
            OperationInvokingOutboundGatewayModelElement.class, diagram, namespaceUri),
        IntegrationImages.OUTBOUND_GATEWAY_SMALL, IntegrationImages.OUTBOUND_GATEWAY);
    entries.add(entry);
View Full Code Here


  public PaletteDrawer createPaletteDrawer(AbstractConfigGraphDiagram diagram, String namespaceUri) {
    PaletteDrawer drawer = new PaletteDrawer("", IntegrationImages.BADGE_SI_HTTPINVOKER); //$NON-NLS-1$
    List<PaletteEntry> entries = new ArrayList<PaletteEntry>();

    CombinedTemplateCreationEntry entry = new CombinedTemplateCreationEntry(
        IntHttpInvokerSchemaConstants.ELEM_INBOUND_GATEWAY, Messages.IntHttpInvokerPaletteFactory_INBOUND_GATEWAY_COMPONENT_DESCRIPTION,
        new ModelElementCreationFactory(InboundGatewayModelElement.class, diagram, namespaceUri),
        IntegrationImages.INBOUND_GATEWAY_SMALL, IntegrationImages.INBOUND_GATEWAY);
    entries.add(entry);

    entry = new CombinedTemplateCreationEntry(IntHttpInvokerSchemaConstants.ELEM_OUTBOUND_GATEWAY,
        Messages.IntHttpInvokerPaletteFactory_OUTBOUND_GATEWAY_COMPONENT_DESCRIPTION, new ModelElementCreationFactory(
            OutboundGatewayModelElement.class, diagram, namespaceUri),
        IntegrationImages.OUTBOUND_GATEWAY_SMALL, IntegrationImages.OUTBOUND_GATEWAY);
    entries.add(entry);
View Full Code Here

  public PaletteDrawer createPaletteDrawer(AbstractConfigGraphDiagram diagram, String namespaceUri) {
    PaletteDrawer drawer = new PaletteDrawer("", IntegrationImages.BADGE_SI_FEED); //$NON-NLS-1$
    List<PaletteEntry> entries = new ArrayList<PaletteEntry>();

    CombinedTemplateCreationEntry entry = new CombinedTemplateCreationEntry(
        IntEventSchemaConstants.ELEM_INBOUND_CHANNEL_ADAPTER,
        Messages.IntFeedPaletteFactory_INBOUND_CHANNEL_ADAPTER_COMPONENT_DESCRIPTION,
        new ModelElementCreationFactory(InboundChannelAdapterModelElement.class, diagram, namespaceUri),
        IntegrationImages.INBOUND_ADAPTER_SMALL, IntegrationImages.INBOUND_ADAPTER);
    entries.add(entry);
View Full Code Here

  public PaletteDrawer createPaletteDrawer(AbstractConfigGraphDiagram diagram, String namespaceUri) {
    PaletteDrawer drawer = new PaletteDrawer("", IntegrationImages.BADGE_SI_AMQP); //$NON-NLS-1$
    List<PaletteEntry> entries = new ArrayList<PaletteEntry>();

    CombinedTemplateCreationEntry entry = new CombinedTemplateCreationEntry(IntAmqpSchemaConstants.ELEM_CHANNEL,
        Messages.IntAmqpPaletteFactory_CHANNEL_COMPONENT_DESCRIPTION, new ModelElementCreationFactory(ChannelModelElement.class, diagram,
            namespaceUri), IntegrationImages.CHANNEL_SMALL, IntegrationImages.CHANNEL);
    entries.add(entry);

    entry = new CombinedTemplateCreationEntry(IntAmqpSchemaConstants.ELEM_INBOUND_CHANNEL_ADAPTER,
        Messages.IntAmqpPaletteFactory_INBOUND_CHANNEL_ADAPTER_COMPONENT_DESCRIPTION,
        new ModelElementCreationFactory(InboundChannelAdapterModelElement.class, diagram, namespaceUri),
        IntegrationImages.INBOUND_ADAPTER_SMALL, IntegrationImages.INBOUND_ADAPTER);
    entries.add(entry);

    entry = new CombinedTemplateCreationEntry(IntAmqpSchemaConstants.ELEM_INBOUND_GATEWAY,
        Messages.IntAmqpPaletteFactory_INBOUND_GATEWAY_COMPONENT_DESCRIPTION, new ModelElementCreationFactory(
            InboundGatewayModelElement.class, diagram, namespaceUri),
        IntegrationImages.INBOUND_GATEWAY_SMALL, IntegrationImages.INBOUND_GATEWAY);
    entries.add(entry);

    entry = new CombinedTemplateCreationEntry(IntAmqpSchemaConstants.ELEM_OUTBOUND_CHANNEL_ADAPTER,
        Messages.IntAmqpPaletteFactory_OUTBOUND_CHANNEL_ADAPTER_COMPONENT_DESCRIPTION,
        new ModelElementCreationFactory(OutboundChannelAdapterModelElement.class, diagram, namespaceUri),
        IntegrationImages.OUTBOUND_ADAPTER_SMALL, IntegrationImages.OUTBOUND_ADAPTER);
    entries.add(entry);

    entry = new CombinedTemplateCreationEntry(IntAmqpSchemaConstants.ELEM_OUTBOUND_GATEWAY,
        Messages.IntAmqpPaletteFactory_OUTBOUND_GATEWAY_COMPONENT_DESCRIPTION, new ModelElementCreationFactory(
            OutboundGatewayModelElement.class, diagram, namespaceUri),
        IntegrationImages.OUTBOUND_GATEWAY_SMALL, IntegrationImages.OUTBOUND_GATEWAY);
    entries.add(entry);

    entry = new CombinedTemplateCreationEntry(IntAmqpSchemaConstants.ELEM_PUBLISH_SUBSCRIBE_CHANNEL,
        Messages.IntAmqpPaletteFactory_PUBLISH_SUBSCRIBE_CHANNEL_COMPONENT_DESCRIPTION, new ModelElementCreationFactory(
            PublishSubscribeChannelModelElement.class, diagram, namespaceUri),
        IntegrationImages.PUBSUB_CHANNEL_SMALL, IntegrationImages.PUBSUB_CHANNEL);

    drawer.addAll(entries);
View Full Code Here

  public PaletteDrawer createPaletteDrawer(AbstractConfigGraphDiagram diagram, String namespaceUri) {
    PaletteDrawer drawer = new PaletteDrawer("", IntegrationImages.BADGE_SI_RMI); //$NON-NLS-1$
    List<PaletteEntry> entries = new ArrayList<PaletteEntry>();

    CombinedTemplateCreationEntry entry = new CombinedTemplateCreationEntry(
        IntRmiSchemaConstants.ELEM_INBOUND_GATEWAY, Messages.IntRmiPaletteFactory_INBOUND_GATEWAY_COMPONENT_DESCRIPTION,
        new ModelElementCreationFactory(InboundGatewayModelElement.class, diagram, namespaceUri),
        IntegrationImages.INBOUND_GATEWAY_SMALL, IntegrationImages.INBOUND_GATEWAY);
    entries.add(entry);

    entry = new CombinedTemplateCreationEntry(IntRmiSchemaConstants.ELEM_OUTBOUND_GATEWAY,
        Messages.IntRmiPaletteFactory_OUTBOUND_GATEWAY_COMPONENT_DESCRIPTION, new ModelElementCreationFactory(
            OutboundGatewayModelElement.class, diagram, namespaceUri),
        IntegrationImages.OUTBOUND_GATEWAY_SMALL, IntegrationImages.OUTBOUND_GATEWAY);
    entries.add(entry);
View Full Code Here

  public PaletteDrawer createPaletteDrawer(AbstractConfigGraphDiagram diagram, String namespaceUri) {
    PaletteDrawer drawer = new PaletteDrawer("", IntegrationImages.BADGE_SI_WS); //$NON-NLS-1$
    List<PaletteEntry> entries = new ArrayList<PaletteEntry>();

    CombinedTemplateCreationEntry entry = new CombinedTemplateCreationEntry(
        IntWsSchemaConstants.ELEM_HEADER_ENRICHER, Messages.IntWsPaletteFactory_HEADER_ENRICHER_COMPONENT_DESCRIPTION,
        new ModelElementCreationFactory(HeaderEnricherModelElement.class, diagram, namespaceUri),
        IntegrationImages.ENRICHER_SMALL, IntegrationImages.ENRICHER);
    entries.add(entry);

    entry = new CombinedTemplateCreationEntry(IntWsSchemaConstants.ELEM_INBOUND_GATEWAY,
        Messages.IntWsPaletteFactory_INBOUND_GATEWAY_COMPONENT_DESCRIPTION, new ModelElementCreationFactory(InboundGatewayModelElement.class,
            diagram, namespaceUri), IntegrationImages.INBOUND_GATEWAY_SMALL,
        IntegrationImages.INBOUND_GATEWAY);
    entries.add(entry);

    entry = new CombinedTemplateCreationEntry(IntWsSchemaConstants.ELEM_OUTBOUND_GATEWAY,
        Messages.IntWsPaletteFactory_OUTBOUND_GATEWAY_COMPONENT_DESCRIPTION, new ModelElementCreationFactory(
            OutboundGatewayModelElement.class, diagram, namespaceUri),
        IntegrationImages.OUTBOUND_GATEWAY_SMALL, IntegrationImages.OUTBOUND_GATEWAY);
    entries.add(entry);
View Full Code Here

  public PaletteDrawer createPaletteDrawer(AbstractConfigGraphDiagram diagram, String namespaceUri) {
    PaletteDrawer drawer = new PaletteDrawer("", IntegrationImages.BADGE_SI_STREAM); //$NON-NLS-1$
    List<PaletteEntry> entries = new ArrayList<PaletteEntry>();

    CombinedTemplateCreationEntry entry = new CombinedTemplateCreationEntry(
        IntStreamSchemaConstants.ELEM_STDERR_CHANNEL_ADAPTER, Messages.IntStreamPaletteFactory_STDERR_CHANNEL_ADAPTER_COMPONENT_DESCRIPTION,
        new ModelElementCreationFactory(StderrChannelAdapterModelElement.class, diagram, namespaceUri),
        IntegrationImages.OUTBOUND_ADAPTER_SMALL, IntegrationImages.OUTBOUND_ADAPTER);
    entries.add(entry);

    entry = new CombinedTemplateCreationEntry(IntStreamSchemaConstants.ELEM_STDIN_CHANNEL_ADAPTER,
        Messages.IntStreamPaletteFactory_STDIN_CHANNEL_ADAPTER_COMPONENT_DESCRIPTION, new ModelElementCreationFactory(
            StdinChannelAdapterModelElement.class, diagram, namespaceUri),
        IntegrationImages.INBOUND_ADAPTER_SMALL, IntegrationImages.INBOUND_ADAPTER);
    entries.add(entry);

    entry = new CombinedTemplateCreationEntry(IntStreamSchemaConstants.ELEM_STDOUT_CHANNEL_ADAPTER,
        Messages.IntStreamPaletteFactory_STDOUT_CHANNEL_ADAPTER_COMPONENT_DESCRIPTION, new ModelElementCreationFactory(
            StdoutChannelAdapterModelElement.class, diagram, namespaceUri),
        IntegrationImages.OUTBOUND_ADAPTER_SMALL, IntegrationImages.OUTBOUND_ADAPTER);
    entries.add(entry);
View Full Code Here

  public PaletteDrawer createPaletteDrawer(AbstractConfigGraphDiagram diagram, String namespaceUri) {
    PaletteDrawer drawer = new PaletteDrawer("", IntegrationImages.BADGE_SI_TWITTER); //$NON-NLS-1$
    List<PaletteEntry> entries = new ArrayList<PaletteEntry>();

    CombinedTemplateCreationEntry entry = new CombinedTemplateCreationEntry(
        IntTwitterSchemaConstants.ELEM_DM_INBOUND_CHANNEL_ADAPTER,
        Messages.IntTwitterPaletteFactory_DM_INBOUND_CHANNEL_ADAPTER_COMPONENT_DESCRIPTION,
        new ModelElementCreationFactory(DmInboundChannelAdapterModelElement.class, diagram, namespaceUri),
        IntegrationImages.INBOUND_ADAPTER_SMALL, IntegrationImages.INBOUND_ADAPTER);
    entries.add(entry);

    entry = new CombinedTemplateCreationEntry(IntTwitterSchemaConstants.ELEM_DM_OUTBOUND_CHANNEL_ADAPTER,
        Messages.IntTwitterPaletteFactory_DM_OUTBOUND_CHANNEL_ADAPTER_COMPONENT_DESCRIPTION,
        new ModelElementCreationFactory(DmOutboundChannelAdapterModelElement.class, diagram, namespaceUri),
        IntegrationImages.OUTBOUND_ADAPTER_SMALL, IntegrationImages.OUTBOUND_ADAPTER);
    entries.add(entry);

    entry = new CombinedTemplateCreationEntry(IntTwitterSchemaConstants.ELEM_INBOUND_CHANNEL_ADAPTER,
        Messages.IntTwitterPaletteFactory_INBOUND_CHANNEL_ADAPTER_COMPONENT_DESCRIPTION,
        new ModelElementCreationFactory(InboundChannelAdapterModelElement.class, diagram, namespaceUri),
        IntegrationImages.INBOUND_ADAPTER_SMALL, IntegrationImages.INBOUND_ADAPTER);
    entries.add(entry);

    entry = new CombinedTemplateCreationEntry(
        IntTwitterSchemaConstants.ELEM_MENTIONS_INBOUND_CHANNEL_ADAPTER,
        Messages.IntTwitterPaletteFactory_MENTIONS_INBOUND_CHANNEL_ADAPTER_COMPONENT_DESCRIPTION,
        new ModelElementCreationFactory(MentionsInboundChannelAdapterModelElement.class, diagram, namespaceUri),
        IntegrationImages.INBOUND_ADAPTER_SMALL, IntegrationImages.INBOUND_ADAPTER);
    entries.add(entry);

    entry = new CombinedTemplateCreationEntry(IntTwitterSchemaConstants.ELEM_OUTBOUND_CHANNEL_ADAPTER,
        Messages.IntTwitterPaletteFactory_OUTBOUND_CHANNEL_ADAPTER_COMPONENT_DESCRIPTION,
        new ModelElementCreationFactory(OutboundChannelAdapterModelElement.class, diagram, namespaceUri),
        IntegrationImages.OUTBOUND_ADAPTER_SMALL, IntegrationImages.OUTBOUND_ADAPTER);
    entries.add(entry);

    entry = new CombinedTemplateCreationEntry(IntTwitterSchemaConstants.ELEM_SEARCH_INBOUND_CHANNEL_ADAPTER,
        Messages.IntTwitterPaletteFactory_SEARCH_INBOUND_CHANNEL_ADAPTER_COMPONENT_DESCRIPTION,
        new ModelElementCreationFactory(SearchInboundChannelAdapterModelElement.class, diagram, namespaceUri),
        IntegrationImages.INBOUND_ADAPTER_SMALL, IntegrationImages.INBOUND_ADAPTER);
    entries.add(entry);
View Full Code Here

  public PaletteDrawer createPaletteDrawer(AbstractConfigGraphDiagram diagram, String namespaceUri) {
    PaletteDrawer drawer = new PaletteDrawer("", IntegrationImages.BADGE_SI_HTTP); //$NON-NLS-1$
    List<PaletteEntry> entries = new ArrayList<PaletteEntry>();

    CombinedTemplateCreationEntry entry = new CombinedTemplateCreationEntry(
        IntHttpSchemaConstants.ELEM_INBOUND_CHANNEL_ADAPTER,
        Messages.IntHttpPaletteFactory_INBOUND_CHANNEL_ADAPTER_COMPONENT_DESCRIPTION,
        new ModelElementCreationFactory(InboundChannelAdapterModelElement.class, diagram, namespaceUri),
        IntegrationImages.INBOUND_ADAPTER_SMALL, IntegrationImages.INBOUND_ADAPTER);
    entries.add(entry);

    entry = new CombinedTemplateCreationEntry(IntHttpSchemaConstants.ELEM_INBOUND_GATEWAY,
        Messages.IntHttpPaletteFactory_INBOUND_GATEWAY_COMPONENT_DESCRIPTION, new ModelElementCreationFactory(
            InboundGatewayModelElement.class, diagram, namespaceUri),
        IntegrationImages.INBOUND_GATEWAY_SMALL, IntegrationImages.INBOUND_GATEWAY);
    entries.add(entry);

    entry = new CombinedTemplateCreationEntry(IntHttpSchemaConstants.ELEM_OUTBOUND_CHANNEL_ADAPTER,
        Messages.IntHttpPaletteFactory_OUTBOUND_CHANNEL_ADAPTER_COMPONENT_DESCRIPTION,
        new ModelElementCreationFactory(OutboundChannelAdapterModelElement.class, diagram, namespaceUri),
        IntegrationImages.OUTBOUND_ADAPTER_SMALL, IntegrationImages.OUTBOUND_ADAPTER);
    entries.add(entry);

    entry = new CombinedTemplateCreationEntry(IntHttpSchemaConstants.ELEM_OUTBOUND_GATEWAY,
        Messages.IntHttpPaletteFactory_OUTBOUND_GATEWAY_COMPONENT_DESCRIPTION, new ModelElementCreationFactory(
            OutboundGatewayModelElement.class, diagram, namespaceUri),
        IntegrationImages.OUTBOUND_GATEWAY_SMALL, IntegrationImages.OUTBOUND_GATEWAY);
    entries.add(entry);
View Full Code Here

  public PaletteDrawer createPaletteDrawer(AbstractConfigGraphDiagram diagram, String namespaceUri) {
    PaletteDrawer drawer = new PaletteDrawer("", IntegrationImages.BADGE_SI_XMPP); //$NON-NLS-1$
    List<PaletteEntry> entries = new ArrayList<PaletteEntry>();

    CombinedTemplateCreationEntry entry = new CombinedTemplateCreationEntry(
        IntXmppSchemaConstants.ELEM_HEADER_ENRICHER,
        Messages.getString("IntXmppPaletteFactory.HEADER_ENRICHER_COMPONENT_DESCRIPTION"), //$NON-NLS-1$
        new ModelElementCreationFactory(HeaderEnricherModelElement.class, diagram, namespaceUri),
        IntegrationImages.ENRICHER_SMALL, IntegrationImages.ENRICHER);
    entries.add(entry);

    entry = new CombinedTemplateCreationEntry(
        IntXmppSchemaConstants.ELEM_INBOUND_CHANNEL_ADAPTER,
        Messages.getString("IntXmppPaletteFactory.INBOUND_CHANNEL_ADAPTER_COMPONENT_DESCRIPTION"), new ModelElementCreationFactory( //$NON-NLS-1$
            InboundChannelAdapterModelElement.class, diagram, namespaceUri),
        IntegrationImages.INBOUND_ADAPTER_SMALL, IntegrationImages.INBOUND_ADAPTER);
    entries.add(entry);

    entry = new CombinedTemplateCreationEntry(
        IntXmppSchemaConstants.ELEM_OUTBOUND_CHANNEL_ADAPTER,
        Messages.getString("IntXmppPaletteFactory.OUTBOUND_CHANNEL_ADAPTER_COMPONENT_DESCRIPTION"), new ModelElementCreationFactory( //$NON-NLS-1$
            OutboundChannelAdapterModelElement.class, diagram, namespaceUri),
        IntegrationImages.OUTBOUND_ADAPTER_SMALL, IntegrationImages.OUTBOUND_ADAPTER);
    entries.add(entry);

    entry = new CombinedTemplateCreationEntry(
        IntXmppSchemaConstants.ELEM_PRESENCE_INBOUND_CHANNEL_ADAPTER,
        Messages.getString("IntXmppPaletteFactory.PRESENCE_INBOUND_CHANNEL_ADAPTER_COMPONENT_DESCRIPTION"), new ModelElementCreationFactory( //$NON-NLS-1$
            PresenceInboundChannelAdapterModelElement.class, diagram, namespaceUri),
        IntegrationImages.INBOUND_ADAPTER_SMALL, IntegrationImages.INBOUND_ADAPTER);
    entries.add(entry);

    entry = new CombinedTemplateCreationEntry(
        IntXmppSchemaConstants.ELEM_PRESENCE_OUTBOUND_CHANNEL_ADAPTER,
        Messages.getString("IntXmppPaletteFactory.PRESENCE_OUTBOUND_CHANNEL_ADAPTER_COMPONENT_DESCRIPTION"), new ModelElementCreationFactory( //$NON-NLS-1$
            PresenceOutboundChannelAdapterModelElement.class, diagram, namespaceUri),
        IntegrationImages.OUTBOUND_ADAPTER_SMALL, IntegrationImages.OUTBOUND_ADAPTER);
    entries.add(entry);
View Full Code Here

TOP

Related Classes of org.eclipse.gef.palette.CombinedTemplateCreationEntry

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.