All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nasdanika.html.model.app.Link Maven / Gradle / Ivy

/**
 */
package org.nasdanika.html.model.app;

import org.nasdanika.html.model.bootstrap.Modal;


/**
 * 
 * A representation of the model object 'Link'.
 * 
 *
 * 

* The following features are supported: *

*
    *
  • {@link org.nasdanika.html.model.app.Link#getLocation Location}
  • *
  • {@link org.nasdanika.html.model.app.Link#getScript Script}
  • *
  • {@link org.nasdanika.html.model.app.Link#getModal Modal}
  • *
  • {@link org.nasdanika.html.model.app.Link#getName Name}
  • *
  • {@link org.nasdanika.html.model.app.Link#getConfirmation Confirmation}
  • *
  • {@link org.nasdanika.html.model.app.Link#getTarget Target}
  • *
* * @see org.nasdanika.html.model.app.AppPackage#getLink() * @model annotation="http://www.eclipse.org/emf/2002/Ecore constraints='activator'" * @generated */ public interface Link extends Label { /** * Returns the value of the 'Location' attribute. * * * * Link URL relative to the ancestor URL or ``base-uri``. * * ``${{{base-uri}}}`` token can be used in the activator to define the uri relative to the base generation URI (output folder) instead of the parent URI. * It might be useful it the parent URI is an absolute external URI. * ``${{{base-uri}}}`` ends with a slash, so there is no need to add a slash. E.g. ``${{{base-uri}}}index.html``. * * @return the value of the 'Location' attribute. * @see #setLocation(String) * @see org.nasdanika.html.model.app.AppPackage#getLink_Location() * @model * @generated */ String getLocation(); /** * Sets the value of the '{@link org.nasdanika.html.model.app.Link#getLocation Location}' attribute. * * * @param value the new value of the 'Location' attribute. * @see #getLocation() * @generated */ void setLocation(String value); /** * Returns the value of the 'Script' attribute. * * * * Script to execute on link click (activation). * * @return the value of the 'Script' attribute. * @see #setScript(String) * @see org.nasdanika.html.model.app.AppPackage#getLink_Script() * @model annotation="urn:org.nasdanika exclusive-with='location'" * @generated */ String getScript(); /** * Sets the value of the '{@link org.nasdanika.html.model.app.Link#getScript Script}' attribute. * * * @param value the new value of the 'Script' attribute. * @see #getScript() * @generated */ void setScript(String value); /** * Returns the value of the 'Modal' containment reference. * * * * Modal which opens on link activation. * * @return the value of the 'Modal' containment reference. * @see #setModal(Modal) * @see org.nasdanika.html.model.app.AppPackage#getLink_Modal() * @model containment="true" * annotation="urn:org.nasdanika homogenous='true' exclusive-with='location script'" * @generated */ Modal getModal(); /** * Sets the value of the '{@link org.nasdanika.html.model.app.Link#getModal Modal}' containment reference. * * * @param value the new value of the 'Modal' containment reference. * @see #getModal() * @generated */ void setModal(Modal value); /** * Returns the value of the 'Confirmation' attribute. * * * * Confirmation to display in a confirmation dialog before action activation to give the user an opportunity to cancel the action. E.g. confirmation of deletion. * * @return the value of the 'Confirmation' attribute. * @see #setConfirmation(String) * @see org.nasdanika.html.model.app.AppPackage#getLink_Confirmation() * @model * @generated */ String getConfirmation(); /** * Sets the value of the '{@link org.nasdanika.html.model.app.Link#getConfirmation Confirmation}' attribute. * * * @param value the new value of the 'Confirmation' attribute. * @see #getConfirmation() * @generated */ void setConfirmation(String value); /** * Returns the value of the 'Name' attribute. * * * * Link name attribute if not blank for referencing sections. * * @return the value of the 'Name' attribute. * @see #setName(String) * @see org.nasdanika.html.model.app.AppPackage#getLink_Name() * @model annotation="urn:org.nasdanika exclusive-with='script modal location'" * @generated */ String getName(); /** * Sets the value of the '{@link org.nasdanika.html.model.app.Link#getName Name}' attribute. * * * @param value the new value of the 'Name' attribute. * @see #getName() * @generated */ void setName(String value); /** * Returns the value of the 'Target' attribute. * * * * Link name attribute if not blank for referencing sections. * * @return the value of the 'Target' attribute. * @see #setTarget(String) * @see org.nasdanika.html.model.app.AppPackage#getLink_Target() * @model annotation="urn:org.nasdanika exclusive-with='script modal location'" * @generated */ String getTarget(); /** * Sets the value of the '{@link org.nasdanika.html.model.app.Link#getTarget Target}' attribute. * * * @param value the new value of the 'Target' attribute. * @see #getTarget() * @generated */ void setTarget(String value); } // Link




© 2015 - 2025 Weber Informatics LLC | Privacy Policy