use of org.eclipse.sapphire.PropertyContentEvent in project liferay-ide by liferay.
the class SDKImportVersionDerivedValueService method initDerivedValueService.
@Override
protected void initDerivedValueService() {
super.initDerivedValueService();
_listener = new FilteredListener<PropertyContentEvent>() {
@Override
protected void handleTypedEvent(PropertyContentEvent event) {
refresh();
}
};
SDKProjectsImportOp op = _op();
op.property(SDKProjectsImportOp.PROP_SDK_LOCATION).attach(_listener);
}
use of org.eclipse.sapphire.PropertyContentEvent in project liferay-ide by liferay.
the class ArchetypeDefaultValueService method initDefaultValueService.
@Override
protected void initDefaultValueService() {
_listener = new FilteredListener<PropertyContentEvent>() {
@Override
protected void handleTypedEvent(PropertyContentEvent event) {
refresh();
}
};
NewLiferayPluginProjectOp op = _op();
op.property(NewLiferayPluginProjectOp.PROP_PORTLET_FRAMEWORK).attach(_listener);
op.property(NewLiferayPluginProjectOp.PROP_PORTLET_FRAMEWORK_ADVANCED).attach(_listener);
}
use of org.eclipse.sapphire.PropertyContentEvent in project liferay-ide by liferay.
the class NewLiferayProfileIdDefaultValueService method initDefaultValueService.
@Override
protected void initDefaultValueService() {
super.initDefaultValueService();
Listener listener = new FilteredListener<PropertyContentEvent>() {
@Override
protected void handleTypedEvent(PropertyContentEvent event) {
refresh();
}
};
NewLiferayProfile profile = _newLiferayProfile();
profile.getRuntimeName().attach(listener);
}
use of org.eclipse.sapphire.PropertyContentEvent in project liferay-ide by liferay.
the class ModuleProjectGroupIdDefaultValueService method initDefaultValueService.
@Override
protected void initDefaultValueService() {
super.initDefaultValueService();
Listener listener = new FilteredListener<PropertyContentEvent>() {
@Override
protected void handleTypedEvent(PropertyContentEvent event) {
refresh();
}
};
NewLiferayModuleProjectOp op = _op();
op.getLocation().attach(listener);
op.getProjectName().attach(listener);
op.getPackageName().attach(listener);
}
use of org.eclipse.sapphire.PropertyContentEvent in project liferay-ide by liferay.
the class UserValidationService method initValidationService.
@Override
protected void initValidationService() {
User user = context(User.class);
if (user != null) {
_listener = new FilteredListener<PropertyContentEvent>() {
@Override
protected void handleTypedEvent(PropertyContentEvent event) {
refresh();
}
};
user.attach(_listener, "*");
}
}
Aggregations