Skip to content
Snippets Groups Projects
Commit 2af76e62 authored by Konstantinos Giannoutakis's avatar Konstantinos Giannoutakis
Browse files

No commit message

No commit message
parent 07101516
No related branches found
No related tags found
No related merge requests found
Showing
with 0 additions and 727 deletions
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.ops4j.pax.runner.eclipse.ui.AALStudio.feature</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.pde.FeatureBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.FeatureNature</nature>
</natures>
</projectDescription>
bin.includes = feature.xml
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="org.ops4j.pax.runner.eclipse.ui.aalstudio.feature"
label="Pax Runner Plugin for Eclipse UI for AAL Studio"
version="1.7.5.201110181545"
provider-name="OPS4j.org">
<copyright url="http://www.ops4j.org">
Copyright 2009 Alin Dreghiciu.
Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied.
See the License for the specific language governing permissions and
limitations under the License.
</copyright>
<license url="http://www.apache.org/licenses/">
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
&quot;License&quot; shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
&quot;Licensor&quot; shall mean the copyright owner or entity authorized
by
the copyright owner that is granting the License.
&quot;Legal Entity&quot; shall mean the union of the acting entity and
all
other entities that control, are controlled by, or are under
common
control with that entity. For the purposes of this definition,
&quot;control&quot; means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of
the
outstanding shares, or (iii) beneficial ownership of such entity.
&quot;You&quot; (or &quot;Your&quot;) shall mean an individual or Legal Entity
exercising permissions granted by this License.
&quot;Source&quot; form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
&quot;Object&quot; form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
&quot;Work&quot; shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by
a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
&quot;Derivative Works&quot; shall mean any work, whether in Source or
Object
form, that is based on (or derived from) the Work and for which
the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the
purposes
of this License, Derivative Works shall not include works that
remain
separable from, or merely link (or bind by name) to the interfaces
of,
the Work and Derivative Works thereof.
&quot;Contribution&quot; shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright
owner
or by an individual or Legal Entity authorized to submit on behalf
of
the copyright owner. For the purposes of this definition, &quot;submitted&quot;
means any form of electronic, verbal, or written communication
sent
to the Licensor or its representatives, including but not limited
to
communication on electronic mailing lists, source code control
systems,
and issue tracking systems that are managed by, or on behalf
of, the
Licensor for the purpose of discussing and improving the Work,
but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as &quot;Not a Contribution.&quot;
&quot;Contributor&quot; shall mean Licensor and any individual or Legal
Entity
on behalf of whom a Contribution has been received by Licensor
and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions
of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute
the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions
of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have
made,
use, offer to sell, sell, import, and otherwise transfer the
Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If
You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of
the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a &quot;NOTICE&quot; text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications
and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications,
or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies
with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the
Work
by You to the Licensor shall be under the terms and conditions
of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or
modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use
the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing
the
origin of the Work and reproducing the content of the NOTICE
file.
7. Disclaimer of Warranty. Unless required by applicable law
or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an &quot;AS IS&quot; BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining
the
appropriateness of using or redistributing the Work and assume
any
risks associated with Your exercise of permissions under this
License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor
be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising
as a
result of this License or out of the use or inability to use
the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with
this
License. However, in accepting such obligations, You may act
only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by
reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets &quot;[]&quot;
replaced with your own identifying information. (Don&apos;t include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on
the
same &quot;printed page&quot; as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
or implied.
See the License for the specific language governing permissions
and
limitations under the License.
</license>
<url>
<update label="OPS4J Pax Eclipse Update Site" url="http://www.ops4j.org/eclipse/update"/>
</url>
<requires>
<import plugin="org.eclipse.pde.ui" version="3.6.1.v20110210_r362" match="greaterOrEqual"/>
<import feature="org.ops4j.pax.runner.eclipse.core.feature" version="1.7.5.201106072115"/>
</requires>
<plugin
id="org.ops4j.pax.runner.eclipse.ui.aalstudio"
download-size="0"
install-size="0"
version="0.0.0"
fragment="true"
unpack="false"/>
</feature>
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src/main/java"/>
<classpathentry kind="output" path="bin"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.ops4j.pax.runner.eclipse.ui</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
#Fri Oct 14 16:07:25 CEST 2011
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.6
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: OPS4J Pax Runner - Eclipse Plugin UI
Bundle-SymbolicName: org.ops4j.pax.runner.eclipse.ui.aalstudio;singleton:=true
Bundle-Version: 1.7.5.qualifier
Bundle-ClassPath: pax-runner-eclipse-ui,
src/main/,
.,
bin/org/ops4j/pax/cursor/ui/
Bundle-Vendor: OPS4J.org
Fragment-Host: org.eclipse.pde.ui;bundle-version="3.3.0"
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
org.eclipse.ui.forms,
org.eclipse.m2e.core.ui;bundle-version="1.0.0",
org.eclipse.m2e.core;bundle-version="1.0.0"
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Import-Package: org.eclipse.m2e.core,
org.eclipse.m2e.core.ui.internal,
org.slf4j;version="1.6.1"
File deleted
source.. = src/main/java/
output.. = target/classes/
bin.includes = META-INF/,\
.,\
fragment.xml,\
bin/org/ops4j/pax/cursor/ui/,\
images/,\
swt-grouplayout.jar,\
baseline.jar
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<fragment>
<extension
point="org.eclipse.debug.ui.launchConfigurationTabs">
<tab
class="org.ops4j.pax.cursor.ui.CursorTab"
group="org.eclipse.pde.ui.launcher.EquinoxLauncherTabGroup"
id="org.ops4j.pax.cursor.ui.CursorTabUAAL"
name="Pax Runner Eclipse Plugin Tab">
</tab>
</extension>
</fragment>
uAALRunner/org.ops4j.pax.runner.eclipse.ui/images/logo_32x32.png

908 B

uAALRunner/org.ops4j.pax.runner.eclipse.ui/images/noStart.jpg

538 B

uAALRunner/org.ops4j.pax.runner.eclipse.ui/images/start.jpg

654 B

uAALRunner/org.ops4j.pax.runner.eclipse.ui/images/uAAL.png

3.05 KiB

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.ops4j.pax.runner</groupId>
<artifactId>pax-runner-eclipse</artifactId>
<version>1.7.5-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>org.ops4j.pax.runner</groupId>
<artifactId>pax-runner-eclipse-ui</artifactId>
<packaging>eclipse-plugin</packaging>
<name>
OPS4J Pax Runner - Eclipse Plugin UI
</name>
<description>
OPS4J Pax Runner - Eclipse Plugin OSGi Frameworks Launch Configuration Tab
</description>
</project>
/*
* Copyright 2007 Alin Dreghiciu.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
* implied.
*
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.ops4j.pax.cursor.shared;
/**
* Pax Runner Eclipse Plugin configuration attributes names.
*
* @author Alin Dreghiciu
* @since 0.2.0, December 16, 2007
*/
public class Attribute
{
/**
* The name space of Pax Runner Eclipse Plugin configuration attributes.
*/
private static final String NAME_SPACE = "org.ops4j.pax.cursor";
/**
* Overwrite all bundles attribute. Value is a boolean.
*/
public static final String OVERWRITE_ALL = NAME_SPACE + ".overwrite";
/**
* Overwrite user bundles bundles attribute. Value is a boolean.
*/
public static final String OVERWRITE_USER = NAME_SPACE + ".overwriteUserBundles";
/**
* Overwrite system bundles attribute. Value is a boolean.
*/
public static final String OVERWRITE_SYSTEM = NAME_SPACE + ".overwriteSystemBundles";
/**
* Log level attribute. Value is a String.
*/
public static final String LOG_LEVEL = NAME_SPACE + ".logLevel";
/**
* Enable hot deployment of bundles. Value is a boolean.
*/
public static final String HOT_DEPLOYMENT = NAME_SPACE + ".hotDeployment";
/**
* Provisioning urls attribute. Value is a map where the key is the url to be provisioned and value is a "@"
* separated string of selected, start, start level, update options.
*/
public static final String PROVISION_ITEMS = NAME_SPACE + ".provisionItems";
/**
* Profiles attribute. Value is a list of profiles names.
*/
public static final String PROFILES = NAME_SPACE + ".profiles";
/**
* Pax Runner Arguments attribute. Value is a list of Pax Runner arguments that Pax Runner Eclipse Plugin sends them
* unchanged.
*/
public static final String RUN_ARGUMENTS = NAME_SPACE + ".runArguments";
}
/*
* Copyright 2007 Alin Dreghiciu.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
* implied.
*
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.ops4j.pax.cursor.ui;
import java.util.List;
import org.eclipse.debug.core.ILaunchConfiguration;
import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
import org.eclipse.debug.ui.ILaunchConfigurationTab;
import org.eclipse.jface.dialogs.Dialog;
import org.eclipse.pde.internal.ui.IHelpContextIds;
import org.eclipse.pde.internal.ui.PDEPluginImages;
import org.eclipse.pde.ui.launcher.AbstractLauncherTab;
import org.eclipse.swt.SWT;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.graphics.ImageData;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Display;
import org.eclipse.ui.PlatformUI;
import org.ops4j.pax.cursor.shared.Attribute;
/**
* Pax Runner Eclipse Plugin Tab is an extension on
* org.eclipse.debug.ui.launchConfigurationTabs that adds extra options for Pax
* Runner Eclipse Plugin. The extra options are lose coupled with Pax Runner
* Eclipse Plugin, as if this Cursor does not exist or is not installed it will
* have no influence on Pax Runner Eclipse Plugin. The only connection between
* the two is through a configuration attribute that is created by this tab on
* succesfull save (apply), atribute that contains a list of options that Pax
* Runner Eclipse Plugin will read and if present will send them unchanged to
* Pax Runner.
*
* @author Alin Dreghiciu
* @since 0.2.0, December 16, 2007
*/
public class CursorTab extends AbstractLauncherTab {
private ProvisionBlock m_provisionBlock;
private OptionsBlock m_optionsBlock;
private Image m_image;
private boolean m_initializing;
public CursorTab() {
m_initializing = false;
m_image = PDEPluginImages.DESC_PLUGINS_FRAGMENTS.createImage();
}
public void createControl(final Composite parent) {
Composite container = new Composite(parent, SWT.NONE);
final GridLayout gridLayout = new GridLayout();
gridLayout.verticalSpacing = 0;
gridLayout.marginWidth = 0;
gridLayout.marginHeight = 0;
container.setLayout(gridLayout);
container.setLayoutData(new GridData(GridData.FILL_BOTH));
m_optionsBlock = new OptionsBlock(container, SWT.NONE);
m_optionsBlock.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true,
false));
m_provisionBlock = new ProvisionBlock(container, SWT.NONE);
m_provisionBlock.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true,
true));
m_optionsBlock.setCursorTab(this);
m_provisionBlock.setCursorTab(this);
Dialog.applyDialogFont(container);
setControl(container);
// m_provisionBlock.initializeFrom2( configuration );
PlatformUI.getWorkbench().getHelpSystem()
.setHelp(getControl(), IHelpContextIds.LAUNCHER_CONFIGURATION);
}
/**
* @see ILaunchConfigurationTab#getName()
*/
public String getName() {
return "uAAL Pax Runner";
}
ILaunchConfiguration configuration;
/**
* Initialize by delegating to component blocks.
*
* @see ILaunchConfigurationTab#initializeFrom(ILaunchConfiguration)
*/
public void initializeFrom(final ILaunchConfiguration configuration) {
this.configuration = configuration;
m_initializing = true;
try {
m_optionsBlock.initializeFrom(configuration);
m_provisionBlock.initializeFrom(configuration);
} finally {
m_initializing = false;
}
}
/**
* Saves the configuration attributes by delegating to component blocks.
* First it will save a "null" Pax Runner Eclipse Plugin options so every
* block will have the chance to add it's own options.
*
* @see ILaunchConfigurationTab#performApply(ILaunchConfigurationWorkingCopy)
*/
public void performApply(final ILaunchConfigurationWorkingCopy configuration) {
// reset Pax Runner arguments
configuration.setAttribute(Attribute.RUN_ARGUMENTS, (List) null);
// delegate to each block
m_optionsBlock.performApply(configuration);
m_provisionBlock.performApply(configuration);
}
/**
* Does nothing, as there are no defaults to be set.
*
* @see ILaunchConfigurationTab#setDefaults(ILaunchConfigurationWorkingCopy)
*/
public void setDefaults(final ILaunchConfigurationWorkingCopy configuration) {
// no initial values
}
public Image getImage() {
ImageData ideaImage = new ImageData(getClass().getResourceAsStream(
"/images/uAAL.png"));
Image image = new Image(Display.getCurrent(), ideaImage);
final int width = image.getBounds().width;
final int height = image.getBounds().height;
final Image scaled050 = new Image(Display.getCurrent(), image
.getImageData().scaledTo((int) (width * 0.35),
(int) (height * 0.35)));
// return m_image;
return scaled050;
}
public void dispose() {
if (m_image != null) {
m_image.dispose();
}
}
public void updateLaunchConfigurationDialog() {
if (!m_initializing) {
super.updateLaunchConfigurationDialog();
}
}
/**
* Does nothing as there is no validation required. If URL's are wrong will
* be checked by pax Runner.
*
* @see AbstractLauncherTab#validateTab()
*/
public void validateTab() {
// no validation required
}
}
/*
* Copyright 2007 Alin Dreghiciu.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
* implied.
*
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.ops4j.pax.cursor.ui;
import org.eclipse.swt.widgets.Composite;
/**
* Base class for Pax Runner Eclipse Plugin blocks that adds easy to use notification for the Tab that something was
* changed so the Launch Dialog get's notified that it should apply (call) for changes.
*
* @author Alin Dreghiciu
* @since 0.2.0, December 16, 2007
*/
public class CursorTabBlock
extends Composite
{
/**
* Pax Runner Eclipse Plugin Tab.
*/
private CursorTab m_cursorTab;
/**
* @see Composite#Composite(Composite, int)
*/
public CursorTabBlock( final Composite parent, final int style )
{
super( parent, style );
}
/**
* Sets Pax Curstor Tab.
*
* @param cursorTab cursor tab
*/
public void setCursorTab( final CursorTab cursorTab )
{
this.m_cursorTab = cursorTab;
}
/**
* Notify that a change occured in this block. Delegates to Pax Runner Eclipse Plugin Tab.
*/
protected void notifyUpdate()
{
if( m_cursorTab != null )
{
m_cursorTab.updateLaunchConfigurationDialog();
}
}
}
\ No newline at end of file
package org.ops4j.pax.cursor.ui;
public class DeltaEvent {
protected Object actedUpon;
public DeltaEvent(Object receiver) {
actedUpon = receiver;
}
public Object receiver() {
return actedUpon;
}
}
package org.ops4j.pax.cursor.ui;
public interface IDeltaListener {
public void add(DeltaEvent event);
public void remove(DeltaEvent event);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment