diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_api_overview.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_api_overview.htm index a81a49a5eb4..075cfdbf86f 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_api_overview.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_api_overview.htm @@ -1,12 +1,10 @@ - + - - - + + Overview of the p2 API @@ -132,7 +130,7 @@

Queries and Queriables

a query is a collection of all of the IUs that meet the criteria of the query.

Queries can be created in multiple ways. The simplest way is to create a query using the QueryUtil. The following snippet creates a query that -searches for all IUs that have the ID "org.eclipse.jdt": +searches for all IUs that have the ID "org.eclipse.jdt":

   QueryUtil.createIUQuery("org.eclipse.jdt"); diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_category_generation.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_category_generation.htm index e59d3079c07..4c09eefb307 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_category_generation.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_category_generation.htm @@ -1,12 +1,10 @@ - + - - - + + Content categorization @@ -26,7 +24,7 @@

Content Categorization

  • A p2.inf file
  • -

    Category Definition File

    +

    Category Definition File

    A category definition file is an XML file that describes which categories a feature should be listed in. The category definition file can be edited using the @@ -38,7 +36,7 @@

    Category Definition File

    category publisher.

    -

    The p2.inf File

    +

    The p2.inf File

    The p2.inf file is a properties file that can be used to customize capabilites, properties, and instructions. Information about this provisional file is available in the section diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_composite_repositories.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_composite_repositories.htm index c2157963252..0aed96aa4fe 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_composite_repositories.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_composite_repositories.htm @@ -1,11 +1,10 @@ - + - - - + + Composite repositories @@ -33,6 +32,7 @@

    Sample Composite Metadata Repository

    File: compositeContent.xml +

     <?xml version='1.0' encoding='UTF-8'?>
     <?compositeMetadataRepository version='1.0.0'?>
    @@ -48,13 +48,12 @@ 

    Sample Composite Metadata Repository

    </children> </repository>
    -

    Sample Composite Artifact Repository

    File: compositeArtifacts.xml - +

     <?xml version='1.0' encoding='UTF-8'?>
     <?compositeArtifactRepository version='1.0.0'?>
    @@ -70,7 +69,6 @@ 

    Sample Composite Artifact Repository

    </children> </repository>
    -

    Composite Repositories as Part of the Build

    diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_overview.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_overview.htm index 079a754b712..58c8cd3a95c 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_overview.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_overview.htm @@ -1,12 +1,9 @@ - + - - - - + Provisioning platform (p2) diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_publishingtasks.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_publishingtasks.htm index 170b4a86e44..aa565bc850a 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_publishingtasks.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_publishingtasks.htm @@ -1,11 +1,20 @@ - + - - - + + + Ant tasks for publishing p2 metadata @@ -14,26 +23,26 @@

    Ant Tasks for Publishing p2 Metadata

    in org.eclipse.equinox.p2.publisher. This bundles is part of the Eclipse SDK.

    - - -
    Default Attributes

    The p2.publish.* ant tasks outlined below all support the following attributes:

    - - - - - - - - - - - - +
    metadataRepositoryA URL specifying the metadata repository to publish to.
    artifactRepositoryA URL specifying the artifact repository to publish to.
    repositorySets both metadataRepository and artifactRepository.
    metadataRepositoryNameWhen creating a new metadata repository, sets the name.
    artifactRepositoryNameWhen creating a new artifact repository, sets the name.
    repositoryNameSets both metadataRepositoryName and artifactRepositoryName.
    appendWhether to append to the repository. (Default is "true")
    compressWhen creating a new repository, whether or not to compress the metadata. (Default is "false")
    publishArtifactsWhether or not to publish the artifacts. (Default is "true")
    reusePackedFilesWhether or not to include discovered Pack200 files in the repository. (Default is "false")
    <contextRepository>
    + +
    Default Attributes

    The p2.publish.* ant tasks outlined below all support the following attributes:

    + + + + + + + + + + + +
    metadataRepositoryA URL specifying the metadata repository to publish to.
    artifactRepositoryA URL specifying the artifact repository to publish to.
    repositorySets both metadataRepository and artifactRepository.
    metadataRepositoryNameWhen creating a new metadata repository, sets the name.
    artifactRepositoryNameWhen creating a new artifact repository, sets the name.
    repositoryNameSets both metadataRepositoryName and artifactRepositoryName.
    appendWhether to append to the repository. (Default is "true")
    compressWhen creating a new repository, whether or not to compress the metadata. (Default is "false")
    publishArtifactsWhether or not to publish the artifacts. (Default is "true")
    reusePackedFilesWhether or not to include discovered Pack200 files in the repository. (Default is "false")
    <contextRepository> Nested elements specifying context repositories, supports the following attributes: - - - - +
    locationA URL specifying the location of the repository.
    artifact"true" or "false": whether or not there is an artifact repository at this location.
    metadata"true" or "false": whether or not there is a metadata repository at this location.
    + + +
    locationA URL specifying the location of the repository.
    artifact"true" or "false": whether or not there is an artifact repository at this location.
    metadata"true" or "false": whether or not there is a metadata repository at this location.

    If a given context repository contains metadata for one of the features or bundles that are being published, then that metadata will be re-used instead of generating new metadata.

    @@ -42,34 +51,34 @@

    Ant Tasks for Publishing p2 Metadata


    - - +
    p2.publish.featuresAndBundles
    +
    p2.publish.featuresAndBundles

    This task will publish metadata for pre-existing binary features and plug-ins.

    This task supports the following attributes and elements:

    - - - - +
    sourceA folder containing plugins and features subfolders to publish.
    <features>A nested fileset element specifying the locations of binary features to publish.
    <bundles>A nested fileset element specifying the locations of binary plug-ins to publish.
    + + +
    sourceA folder containing plugins and features subfolders to publish.
    <features>A nested fileset element specifying the locations of binary features to publish.
    <bundles>A nested fileset element specifying the locations of binary plug-ins to publish.

    - - +
    p2.publish.product
    +
    p2.publish.product

    Publish a .product file. This task assumes everything included in the product already exists in the repository. (That is, all features and bundles have been previously published.)

    This task supports the following attributes:

    - - - - - diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_repositorytasks.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_repositorytasks.htm index 80bef1cdb6d..4d26f611b52 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_repositorytasks.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_repositorytasks.htm @@ -1,21 +1,27 @@ - - + + - - - + Ant tasks for managing repositories - @@ -23,10 +29,10 @@

    Ant Tasks for Managing Repositories

    -
    flavorSet the flavor for the p2 metadata, default is "tooling". Products should consider using a unique flavor if they have special requirements for bundle start levels.
    productFileThe location of the .product file describing the product.
    executablesThe location of the executables feature. This is the feature that is used for branding and publishing the executables.
    <config>Nested elements specifying configurations supported by this product. Config elements specify ws, os and arch: -
    <config ws="gtk" os="linux" arch="x86"/>
    - Use <config ws="ANY" os="ANY" arch="ANY"/> if the product can support any platform. + + + + + -
    flavorSet the flavor for the p2 metadata, default is "tooling". Products should consider using a unique flavor if they have special requirements for bundle start levels.
    productFileThe location of the .product file describing the product.
    executablesThe location of the executables feature. This is the feature that is used for branding and publishing the executables.
    <config>Nested elements specifying configurations supported by this product. Config elements specify ws, os and arch: +
    <config ws="gtk" os="linux" arch="x86"/>
    + Use <config ws="ANY" os="ANY" arch="ANY"/> if the product can support any platform.
    <advice>Nested elements specifying specifying additional advice to use when creating the product. Currently the accepted kinds of advice are "featureVersions" and "pluginVersions". -
    <advice kind="featureVersions" file="finalFeaturesVersions.properties" />
    <advice kind="pluginVersions" file="finalPluginsVersions.properties" />
    - PDE/Build will generate these version properties files when the builder sets the property generateVersionsLists". +
    <advice>Nested elements specifying specifying additional advice to use when creating the product. Currently the accepted kinds of advice are "featureVersions" and "pluginVersions". +
    <advice kind="featureVersions" file="finalFeaturesVersions.properties" />
    <advice kind="pluginVersions" file="finalPluginsVersions.properties" />
    + PDE/Build will generate these version properties files when the builder sets the property generateVersionsLists".
    +
    @@ -38,17 +44,17 @@

    can be specified in several different ways:

      -
    • A source attribute directly on the ant task. +
    • A source attribute directly on the ant task. The value is a URL to a location that contains both a metadata and artifact repository. For example:
      - <p2.mirror + <p2.mirror source="https://download.eclipse.org/releases/helios" .... - /> + />
    • -
    • A <source> element nested in the ant +
    • A <source> element nested in the ant task. This element is an ant fileset, with additional location and kind attributes.
        @@ -59,8 +65,8 @@

        attributes are ignored.
      • - kind: Either "metadata" or - "artifact". If not set, the repository is both + kind: Either "metadata" or + "artifact". If not set, the repository is both metadata and artifacts.
      • @@ -73,7 +79,7 @@

        <source location="https://download.eclipse.org/releases/helios" /> -
      • A <source> element containing a list of +
      • A <source> element containing a list of repositories. Each nested element is again a fileset with an additional kind attribute. For example:
        @@ -91,8 +97,7 @@ 

    @@ -104,19 +109,18 @@

    repositories can be specified in several different ways:

      -
    • A destination attribute directly on the ant +
    • A destination attribute directly on the ant task. The value is a URL to a location for both a metadata and artifact repository.
    • -
    • A <repository> element nested in the ant - task. (<destination> may also be used.) This +
    • A <repository> element nested in the ant + task. (<destination> may also be used.) This element supports the following attributes: -

    - Specifying + Specifying source repositories
    - Specifying destination + Specifying destination repositories
    +
    @@ -188,13 +192,12 @@

    - location + location A URL to the location of the repository @@ -125,17 +129,17 @@

    - kind + kind - Either "metadata" or "artifact". Default + Either "metadata" or "artifact". Default is both if not specified.
    - name + name A name to give the repository if the repository does not @@ -145,7 +149,7 @@

    - append + append Append to a repository that is already there. (Default is @@ -155,7 +159,7 @@

    - compressed + compressed Whether to compress the content/artifact xml into a jar @@ -164,7 +168,7 @@

    - format + format @@ -180,7 +184,7 @@

    - Specifying + Specifying Installable Units
    Some p2 tasks allow specifying installable units to work with. This - is done with nested <iu> elements which support the + is done with nested <iu> elements which support the following attributes: - +
    @@ -239,12 +242,12 @@

    Ant Tasks


    -
    - id + id @@ -203,7 +206,7 @@

    - version + version The version of the IU to match. If not specified, the highest @@ -213,21 +216,21 @@

    - query + query Matches all IUs satisfying the query. Currently only "property" queries are supported. The format of the query attribute is intended to be "xpath-like". Eg:
    - <iu + <iu query="property[@name='org.eclipse.equinox.p2.type.category']" - /> + />
    - <iu query="property[@name='my.property.name' - @value='specialValue']" /> + <iu query="property[@name='my.property.name' + @value='specialValue']" />
    +
    @@ -265,12 +268,11 @@

    This task supports the following attributes and elements:

    -

    - p2.mirror + p2.mirror

    +
    - source + source Source repositories, as outlined
    - destination + destination Destination repositories, as outlined
    - <iu> + <iu> Nested IU elements, as outlined
    - log + log A file to use for logging the results. @@ -311,7 +313,7 @@

    - ignoreErrors + ignoreErrors Whether or not to ignore errors. (Default is false) @@ -320,7 +322,7 @@

    - raw + raw Copy the exact artifact descriptors from source into the @@ -331,7 +333,7 @@

    - verbose + verbose Turn on verbose logging. @@ -339,7 +341,7 @@

    - validate + validate @@ -349,7 +351,7 @@

    - references + references @@ -358,7 +360,7 @@

    - <comparator> + <comparator> @@ -367,11 +369,10 @@

    the baseline, then the artifacts will be mirrored from the baseline instead of the source. This element supports the following attributes: - +
    - <baseline> + <baseline> A nested element specifying the baseline repository. See @@ -382,18 +383,17 @@

    - <exclude> + <exclude> A nested element specifying artifacts to exclude from the comparison. Contains nested <artifact> elements which support the following attributes: - +
    - id + id The artifact id. @@ -402,7 +402,7 @@

    - classifier + classifier The artifact classifier @@ -411,7 +411,7 @@

    - version + version The version to exclude. @@ -419,7 +419,7 @@

    - range; + range; @@ -428,7 +428,7 @@

    - <property> + <property> @@ -459,7 +459,7 @@

    - comparator + comparator Id of a comparator to use if the baseline artifacts @@ -487,7 +487,7 @@

    - comparatorLog + comparatorLog A log file for the results of the comparison. @@ -499,18 +499,17 @@

    - <slicingOptions> + <slicingOptions> A nested element for specifying how to slice the repositories to bring in additional IUs. This element supports the following attributes: - +
    - followStrict + followStrict Set to true if only strict dependencies should be @@ -522,7 +521,7 @@

    - includeOptional + includeOptional Whether or not to follow optional requirements. (Default @@ -532,7 +531,7 @@

    - includeNonGreedy + includeNonGreedy Whether or not to follow non-greedy requirements. @@ -541,7 +540,7 @@

    - includeFeatures + includeFeatures @@ -550,7 +549,7 @@

    - platformFilter + platformFilter @@ -561,7 +560,7 @@

    - filter + filter @@ -571,7 +570,7 @@

    - followOnlyFilteredRequirements + followOnlyFilteredRequirements Invert the filters, include only the IUs that @@ -581,7 +580,7 @@

    - latestVersionOnly + latestVersionOnly Set to "true" to filter the resulting set of IUs to only @@ -656,12 +655,12 @@

    </comparator> </p2.mirror> - +
    @@ -681,12 +680,11 @@

    This task supports the following attributes and elements:

    -

    - p2.repo2runnable + p2.repo2runnable

    +
    - source + source Source repositories, as outlined
    - desination + desination Destination repositories, as outlined
    - failOnError + failOnError Default is true. Set to "false" to ignore errors and complete @@ -716,7 +714,7 @@

    - <iu> + <iu> Nested IU elements, as outlined

    - +

    p2.process.artifacts

    @@ -754,12 +752,11 @@

    p2.process.artifacts

    This task supports the following attributes and elements:

    - +
    - repositoryPath + repositoryPath A URL to an artifact repository to process. This must be a @@ -768,7 +765,7 @@

    p2.process.artifacts

    - pack + pack @@ -777,7 +774,7 @@

    p2.process.artifacts

    - normalize + normalize @@ -788,17 +785,16 @@

    p2.process.artifacts

    - <sign> + <sign> A nested element to enable signing. This element supports the following attributes: - +
    - alias + alias The alias to sign with @@ -807,7 +803,7 @@

    p2.process.artifacts

    - keystore + keystore The location of the keystore. @@ -816,7 +812,7 @@

    p2.process.artifacts

    - keypass + keypass Password for the private key (if different). @@ -825,7 +821,7 @@

    p2.process.artifacts

    - storepass + storepass Password for the key store. @@ -834,7 +830,7 @@

    p2.process.artifacts

    - unsign + unsign Whether or not to strip any existing signatures before @@ -847,7 +843,7 @@

    p2.process.artifacts

    - <feature> + <feature> Nested elements specifying features IUs to process (see @@ -859,7 +855,7 @@

    p2.process.artifacts

    - <plugin> + <plugin> Nested elements specifying plugins IUs to process (see p2.process.artifacts

    - +

    p2.remove.iu

    @@ -893,12 +889,11 @@

    p2.remove.iu

    This task supports the following attributes and elements:

    - +
    - <repository> + <repository> Nested elements specifying metadata and artifact repositories @@ -911,7 +906,7 @@

    p2.remove.iu

    - <iu> + <iu> Nested IU elements, as outlined p2.remove.iu

    - +

    p2.composite.repository

    @@ -946,11 +941,10 @@

    p2.composite.repository

    This task supports the following attributes and elements:

    - +
    - failOnExists + failOnExists @@ -960,7 +954,7 @@

    p2.composite.repository

    - validate + validate @@ -986,7 +980,7 @@

    p2.composite.repository

    - <add> + <add> @@ -997,7 +991,7 @@

    p2.composite.repository

    - <remove> + <remove> @@ -1008,7 +1002,7 @@

    p2.composite.repository

    - destination + destination The destination repository to modify, defined as outlined above.
    @@ -1017,7 +1011,7 @@

    p2.composite.repository

    - source + source Optional source repositories, as outlined above.
    diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_startup.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_startup.htm index 6daa7256c3a..aeb92a4bd51 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_startup.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_startup.htm @@ -1,12 +1,10 @@ - + - - - - + + Forced update on startup @@ -20,7 +18,7 @@

    In this case, the update is not truly "headless," since a progress indicator is shown while searching for updates. The user may cancel the update, but otherwise cannot intervene with the update. If no updates are found, the user is notified.

    -

    Progress Indicator showing update search +

    Progress Indicator showing update search

    In this configuration, the p2 UI class libraries bundle (org.eclipse.equinox.p2.ui) is not needed at all. diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_ui.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_ui.htm index fab6aeabbfc..ccd0e6444f2 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_ui.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_ui.htm @@ -1,12 +1,9 @@ - + - - - - + Customizing the p2 UI diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_uipolicy.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_uipolicy.htm index f5301cb54cd..3c38d476937 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_uipolicy.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_uipolicy.htm @@ -1,25 +1,14 @@ - + - - - + Configuring the UI Policy -

    @@ -238,7 +227,7 @@

    - +

    @@ -277,7 +266,7 @@

    - +

    @@ -286,7 +275,7 @@

    items.

    - +

    diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_uireuse.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_uireuse.htm index 32593ae9cc2..f41929e33d1 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_uireuse.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_uireuse.htm @@ -1,12 +1,9 @@ - + - - - - + Reusing parts of the UI @@ -34,7 +31,7 @@

    Reusing the Eclipse SDK UI in Its Entirety

    A sample RCP Mail application which shows this kind of reuse can be found here.

    -

    Example RCP Application with p2 UI +

    Example RCP Application with p2 UI

    Reusing the Eclipse SDK UI Without Automatic Updating

    diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/preferences_prefs.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/preferences_prefs.htm index 564e8c3013d..5aa8892c13e 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/preferences_prefs.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/preferences_prefs.htm @@ -1,12 +1,9 @@ - + - - - - + Preference pages diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/preferences_prefs_contribute.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/preferences_prefs_contribute.htm index a82af3ea519..4091c1b4859 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/preferences_prefs_contribute.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/preferences_prefs_contribute.htm @@ -1,13 +1,10 @@ - + - - - - - + + Contributing a preference page @@ -42,7 +39,7 @@

    Contributing a Preference Page

    and their corresponding pages. This list can be initialized from information in the preferences service without running any plug-in code.

    -Workbench preferences page

    +Workbench preferences page

    The "Readme Example" preference is added to the top level of the preference tree on the left.  Why? Because a preference page contribution will be added as a root of the tree unless a diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/preferences_prefs_fieldeditors.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/preferences_prefs_fieldeditors.htm index 5ae9c707cf1..30ecc10f1ac 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/preferences_prefs_fieldeditors.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/preferences_prefs_fieldeditors.htm @@ -1,12 +1,9 @@ - + - - - - + Field editors diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/preferences_prefs_implement.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/preferences_prefs_implement.htm index e9ab3baee27..a4121be23ed 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/preferences_prefs_implement.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/preferences_prefs_implement.htm @@ -1,12 +1,9 @@ - + - - - - + Implementing a preference page @@ -69,7 +66,7 @@

    Most of the code in this method is concerned with creating and laying out the controls, so we won't dissect it here. Here is what the corresponding page looks like:

    -Readme tool preferences page

    +Readme tool preferences page

    The other primary responsibility of a preference page is to react to the performOk message. Typically, this method updates and stores the user preferences and, if necessary, updates any other plug-in objects to reflect the diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/preferences_prop_contribute.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/preferences_prop_contribute.htm index 4a99dc656df..b3a7cc2f3ce 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/preferences_prop_contribute.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/preferences_prop_contribute.htm @@ -1,12 +1,9 @@ - + - - - - + Contributing a property page @@ -54,7 +51,7 @@

    Contributing a Property Page

    Property pages look a lot like preference pages, except there is no hierarchy or categorization of property pages. In the dialog below, both readme property pages appear in the main list of pages.

    -Properties dialog with readme entries

    +Properties dialog with readme entries

    diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/preferences_prop_implement.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/preferences_prop_implement.htm index 8dafd88c0b2..8bd8d34266d 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/preferences_prop_implement.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/preferences_prop_implement.htm @@ -1,12 +1,9 @@ - + - - - - + Implementing a property page diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product.htm index 0e3aac4b718..95c5c4f88f1 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product.htm @@ -1,12 +1,9 @@ - + - - - - + Packaging and delivering Eclipse based products diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_config_install.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_config_install.htm index e2ea63987f6..aad212b6b62 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_config_install.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_config_install.htm @@ -1,12 +1,9 @@ - - + + - - - - + Product installation guidelines diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_configproduct.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_configproduct.htm index aae21085453..43c5927a27b 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_configproduct.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_configproduct.htm @@ -1,13 +1,10 @@ - + - - - - - + + Customizing a product @@ -28,7 +25,7 @@

    About Dialogs

    Help > About in the workbench menu.  

    -

    About dialog

    +

    About dialog

    The upper part of the about dialog shows product level information while the lower part details the features (if any) and plug-ins installed.  The feature details (branding if you will) are supplied using about.ini, about.properties and about.html @@ -76,7 +73,7 @@

    Welcome Page

    now discouraged in favor of the org.eclipse.ui.intro extension point. See Welcome/Intro support for more detail about the new welcome/intro mechanisms.

    -

    Preferences Defaults

    +

    Preferences Defaults

    The preferenceCustomization property can be used to specify a file containing default preference values for the product.

    @@ -89,9 +86,9 @@

    Preferences Defaults

    refer to preferences that are used by plug-ins but not defined formally in the API.  

    -

    Dialog Settings Defaults

    +

    Dialog Settings Defaults

    -

    If the custom preferences file is used as described above, setting the org.eclipse.ui/default_dialog_settings_rootUrl +

    If the custom preferences file is used as described above, setting the org.eclipse.ui/default_dialog_settings_rootUrl property in that file allows to specify a folder containing default dialog settings values for product plug-ins. The property value must be a valid URL.
    The preference can be set using the following URL schemes. @@ -103,15 +100,15 @@

    Dialog Settings Defaults

    The directory specified by this URL must contain folders with -dialog_settings.xml files for every plug-in to be customized, +dialog_settings.xml files for every plug-in to be customized, each directory with the symbolic name of concrete plug-in, -such as such as dialog_settings/org.eclipse.ui.ide/dialog_settings.xml, dialog_settings/org.eclipse.ui.navigator/dialog_sttings.xml, dialog_settings/my.company.bundle/dialog_settings.xml... -Those dialog_settings.xml files for each bundle can be retrieved from a running instance of the Eclipse Platform, under the folder ${workspace}/.metadata/.plugins. You can simply copy-paste those existing files into the directory set as value for the org.eclipse.ui/default_dialog_settings_rootUrl preference. +such as such as dialog_settings/org.eclipse.ui.ide/dialog_settings.xml, dialog_settings/org.eclipse.ui.navigator/dialog_sttings.xml, dialog_settings/my.company.bundle/dialog_settings.xml... +Those dialog_settings.xml files for each bundle can be retrieved from a running instance of the Eclipse Platform, under the folder ${workspace}/.metadata/.plugins. You can simply copy-paste those existing files into the directory set as value for the org.eclipse.ui/default_dialog_settings_rootUrl preference.

    Splash Screens

    -

    The product splash screen is specified in the config.ini which is - located underneath the product's configuration directory. The osgi.splashPath property +

    The product splash screen is specified in the config.ini which is + located underneath the product's configuration directory. The osgi.splashPath property in this file describes places to search for a file called splash.bmp. The osgi.splashLocation property identifes a complete and exact path to the splash screen file to use. Specifying a splash path allows @@ -119,7 +116,7 @@

    Splash Screens

    indicate several plug-ins or fragments to search as well as $nl$ style paths. See the platform - SDK's config.ini file + SDK's config.ini file for a complete description of properties that can be configured in this file. The image should be supplied in 24-bit color BMP format (RGB format) and should be approximately 500x330 pixels in size.

    diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_def.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_def.htm index 80f005b6228..c60cb950ca5 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_def.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_def.htm @@ -1,12 +1,9 @@ - + - - - - + Products and features diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_def_extpt.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_def_extpt.htm index 28cea1d39ef..0355bc237e5 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_def_extpt.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_def_extpt.htm @@ -1,12 +1,9 @@ - + - - - - + Products extension point @@ -73,7 +70,6 @@

    Products Extension Point

    IProductConstants. See the javadoc for a complete description of these properties and their values. We'll look at these further in Customizing a product. -

    Product customization properties are also used by other platform services such as to configure the Universal Welcome/Intro. diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_def_feature.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_def_feature.htm index 3c4d050a29c..02cba1ac27c 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_def_feature.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_def_feature.htm @@ -1,12 +1,9 @@ - + - - - - + Features diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_def_nl.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_def_nl.htm index 21b5e15094d..cde5365a057 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_def_nl.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_def_nl.htm @@ -1,12 +1,9 @@ - + - - - - + Locale specific files @@ -29,7 +26,7 @@

    Locale Specific Files

    It is important to understand which mechanism is used to access any given file that must be translated so that you'll know what to name the file and where to put it in the file system relative to the plug-in.

    -

    Platform Core Mechanism

    +

    Platform Core Mechanism

    The platform core defines a directory structure that uses locale-specific subdirectories for files that differ by locale.  Translated files are placed in a directory called nl under the plug-in.  For example, the diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_def_plugins.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_def_plugins.htm index 62423f71ebd..6974da8ea0e 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_def_plugins.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_def_plugins.htm @@ -1,12 +1,9 @@ - + - - - - + Plug-ins and fragments diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_extension.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_extension.htm index ab59002b0ee..6f0b2d778c9 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_extension.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_extension.htm @@ -1,13 +1,10 @@ - + - - - - - + + Product extensions diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_open_file.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_open_file.htm index a4552e21ff5..b06dcb1328e 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_open_file.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_open_file.htm @@ -1,12 +1,9 @@ - + - - - - + Open Files diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_update.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_update.htm index 1e91d737005..7b9bece7253 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_update.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/product_update.htm @@ -1,12 +1,9 @@ - + - - - - + Updating a product or extension diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/rcp.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/rcp.htm index 3f70140b7bc..4becfe77106 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/rcp.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/rcp.htm @@ -1,12 +1,9 @@ - + - - - - + Building a Rich Client Platform application diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/search.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/search.htm index 4919ca0b784..3c70ff0ec04 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/search.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/search.htm @@ -1,12 +1,9 @@ - + - - - - + Search support diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/search_page.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/search_page.htm index 5ef20db6039..3136684f4ae 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/search_page.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/search_page.htm @@ -1,12 +1,9 @@ - + - - - - + Contributing a search page @@ -57,7 +54,7 @@

    Implementing particular search implementation depends on your plug-in's function, but it is typical to open a results viewer in this method using the NewSearchUI -method activateSearchResultView().

    +method activateSearchResultView().

    Your plug-in is responsible for showing its results in the search result view.

    diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/search_result.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/search_result.htm index ff05aa830ec..699f719d1be 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/search_result.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/search_result.htm @@ -1,12 +1,9 @@ - + - - - - + Contributing a search result page diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/secure_storage.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/secure_storage.htm index a416bfa077a..f6b66a61cdb 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/secure_storage.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/secure_storage.htm @@ -1,12 +1,9 @@ - + - - - - + Secure storage diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/secure_storage_architecture.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/secure_storage_architecture.htm index 45635924ef2..bfa12b72acb 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/secure_storage_architecture.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/secure_storage_architecture.htm @@ -1,12 +1,10 @@ - + - - - - + + Secure Storage Architecture @@ -25,9 +23,9 @@

    Secure Storage Architecture

    "com.abc" could use the node "abc" under the node "com" under the root node. As in Preference's, the path to such node can be described as "/com/abc".

    -

    Logical organization of data in secure storage +

    Logical organization of data in secure storage

    -

    Picture 1. How the data is organized.

    +

    Picture 1. How the data is organized.

    The data is stored under the node as a key-value pair. The data can be stored in an encrypted form or as a clear text. The ability to store clear-text data is provided so that logically related information (such as @@ -56,9 +54,9 @@

    Secure Storage Architecture

    On the back end, secure storage can be thought of as a keyring. Each entry is associated with a password provider; only this password provider can be used in the future to decrypt the entry.

    -

    Secure storage entries and password providers +

    Secure storage entries and password providers

    -

    Picture 2. Relationship between entries and password providers.

    +

    Picture 2. Relationship between entries and password providers.

    Secure storage has provisions to obtain the master password from various sources described by password providers. Even more importantly for developers, the set of password providers is open and diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/secure_storage_dev.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/secure_storage_dev.htm index b665f63a4f0..cb791fdcfee 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/secure_storage_dev.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/secure_storage_dev.htm @@ -1,12 +1,9 @@ - + - - - - + Developing with Secure Storage @@ -28,7 +25,7 @@

    Central Classes and Interfaces

    SecurePreferencesFactory#getDefault() method will return default secure preference root node. If you prefer your secure storage to be isolated from the rest of the application, you can use - + SecurePreferencesFactory#open(URL location, Map options) method to open a secure storage corresponding to the location of your choice. This method also takes a map of optional hints that can be used to influence the behavior of this instance of secure storage.

    diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/secure_storage_providers.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/secure_storage_providers.htm index d530164f9f9..06e943e57e7 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/secure_storage_providers.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/secure_storage_providers.htm @@ -1,12 +1,9 @@ - + - - - - + Creating Password Providers @@ -70,18 +67,18 @@

    Implementing a Password Provider

    PasswordProvider class. The central point of that class is the - + getPassword() method that returns the master password for the provider for the current user. The method receives hints when a new password is expected to be created (as opposing to retrieving previously generated master password).

    If your password provider has user interaction or has alternative paths to obtain the master password, you might consider overriding the - + PasswordProvider#retryOnError() method to inform the secure storage that the provider might be able to obtain a "better" password. For example, consider a password provider with the master password entered by the user. If the password entered was invalid, then the - + PasswordProvider#retryOnError() method will be consulted to see if the password provider can obtain a correct password.

    diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/st_design.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/st_design.htm index 4a73fef1b95..e8e5eb66a18 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/st_design.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/st_design.htm @@ -1,22 +1,25 @@ - + - - - - + Structured Text Design + -

    Design Overview

    +

    Design Overview

    Terms and Abbreviations

    - +
    diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/st_structured_text.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/st_structured_text.htm index 49ec31a034a..556c3e1996e 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/st_structured_text.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/st_structured_text.htm @@ -1,12 +1,9 @@ - + - - - - +Structured Text Overview diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/st_text_types.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/st_text_types.htm index 420eeaf28d2..9cbb3312e34 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/st_text_types.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/st_text_types.htm @@ -1,12 +1,9 @@ - + - - - - +Supported Text Types @@ -40,7 +37,7 @@

    Supported Text Types

    RTL depending on its content and according to the Unicode Bidirectional Algorithm.

    (In the examples, "@" represents an LRM, "&" represents an RLM.)

    -

    Comma-delimited List (comma)

    +

    Comma-delimited List (comma)

    Pattern

    [first list item] , [second list item] @@ -62,7 +59,7 @@

    Detailed Design

    Display (without LRM): CBA,ED,HGF -

    Name or Path of File or Directory

    +

    Name or Path of File or Directory

    Patterns

    Windows full path: [drive letter]:\ [sub-path] \ @@ -114,7 +111,7 @@

    Detailed Design

    Display (without LRM): c:\1RID\2RID\ELIFYM.ext -

    Java Code

    +

    Java Code

    Requirement

    We can classify elements of a Java program as:

      @@ -151,7 +148,7 @@

      Detailed Design

      Display (without LRM): A = /*C+B*/ D; -

      Regular Expression

      +

      Regular Expression

      Requirement

      Preserve the relative order of the regular expression components identical to the order in which they appear when exclusively Latin characters are used.

      @@ -227,7 +224,7 @@

      Detailed Design

      Display (without LRM): IHG'FED'?(CBA -

      Compound Name with Underscores

      +

      Compound Name with Underscores

      Pattern

      [first part] _ [second part] _ @@ -246,7 +243,7 @@

      Detailed Design

      Display (without LRM): EGAKCAPYM_MARGORPYM -

      URL, URI, IRI

      +

      URL, URI, IRI

      Patterns

      http:// [domain label] . @@ -303,7 +300,7 @@

      Detailed Design

      Display (without LRM): www.COD.NIAMODYM.com\BEH\1NOSSEL.html -

      XPath

      +

      XPath

      Patterns

      / book / chapter

    Bidi Bidirectional