Kaydet (Commit) 4b54503b authored tarafından Rüdiger Timm's avatar Rüdiger Timm

INTEGRATION: CWS scriptingf4 (1.2.4); FILE MERGED

2004/05/11 09:25:19 dfoster 1.2.4.1: #i26923#
Fixed renaming of scripts/parcels.
Issue number:
Submitted by:
Reviewed by:
üst 1dc2f151
......@@ -204,7 +204,9 @@ public abstract class Parcel implements XNameContainer
}
LogUtils.DEBUG("** have remove script source file " + Name );
}
LogUtils.DEBUG("about to remove entry from descriptor");
parcel.removeScriptEntry( script );
LogUtils.DEBUG("removed entry from descriptor");
}
else
{
......@@ -218,6 +220,12 @@ public abstract class Parcel implements XNameContainer
}
}
// rename parcel
public void rename( String name ) throws com.sun.star.lang.WrappedTargetException
{
this.name = name;
}
public ParcelContainer getParent() { return parent; }
protected abstract String getPathToParcel();
......
......@@ -97,6 +97,7 @@ abstract public class ParcelContainer implements XNameAccess
public abstract XNameContainer createParcel(String name) throws ElementExistException, com.sun.star.lang.WrappedTargetException;
public abstract boolean deleteParcel(String name) throws com.sun.star.container.NoSuchElementException, com.sun.star.lang.WrappedTargetException;
public abstract void renameParcel(String oldName, String newName) throws com.sun.star.container.NoSuchElementException, com.sun.star.lang.WrappedTargetException;
public abstract String getRootPath();
public String getLanguage() { return language; }
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment